Opened 10 years ago

Closed 10 years ago

#47116 closed defect (worksforme)

ffmpeg @2.6_0: configure cannot find freetype2

Reported by: rafael.ruiz.munoz@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

Hello.

I've tried everything on this web, StackOverflow and OpenCV support.

My OS is Yosemite and current OpenCV is 2.4.9

I'm trying to install OpenCV with TBB, but when I do it by

sudo port install opencv +debug +python27 +qt4 +tbb

(through this SO question - http://stackoverflow.com/questions/13424305/how-to-get-all-available-install-options-for-a-port):

Rafaels-iMac:y3PQFyQhUG rafaelruizmunoz$ sudo port install opencv +debug +python27 +qt4 +tbb

Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.

Warning: Install them by running 'xcode-select --install'.

Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.

Warning: Install them by running xcode-select --install'.

---> Computing dependencies for ffmpeg

---> Configuring ffmpeg Error: Failed to configure ffmpeg, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6/config.log

Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed Please see the log file for port ffmpeg for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log

Error: Unable to upgrade port: 1

Error: Unable to execute port: upgrade ffmpeg failed

And there are not any logs on those paths.

I've tried (support from SO and MacPorts).

  • port selfupdate
  • port upgrade ffmpeg
  • port clean x264
  • port upgrade outdated
  • port -f selfupdate

but nothing happened.

Does anyone have a clue?

Thank you in advance.

EDIT: Doing xcode-select --install doesn't resolve anything.

Change History (7)

comment:1 Changed 10 years ago by rafael.ruiz.munoz@…

Cc: rafael.ruiz.munoz@… added

Cc Me!

comment:2 Changed 10 years ago by rafael.ruiz.munoz@…

Cc: rafael.ruiz.munoz@… removed

Cc Me!

comment:3 Changed 10 years ago by rafael.ruiz.munoz@…

The main.log

version:1
:msg:main --->  Computing dependencies for ffmpeg:info:main .:debug:main Checking for conflicts against ffmpeg
:debug:main Searching for dependency: ffmpeg-devel
:debug:main Didn't find receipt, going to depspec regex for: ffmpeg-devel
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: gmake
:debug:main Found Dependency: receipt exists for gmake
:debug:main Searching for dependency: texi2html
:debug:main Found Dependency: receipt exists for texi2html
:debug:main Searching for dependency: yasm
:debug:main Found Dependency: receipt exists for yasm
:debug:main Searching for dependency: lame
:debug:main Found Dependency: receipt exists for lame
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: libvorbis
:debug:main Found Dependency: receipt exists for libvorbis
:debug:main Searching for dependency: libopus
:debug:main Found Dependency: receipt exists for libopus
:debug:main Searching for dependency: libogg
:debug:main Found Dependency: receipt exists for libogg
:debug:main Searching for dependency: libtheora
:debug:main Found Dependency: receipt exists for libtheora
:debug:main Searching for dependency: libmodplug
:debug:main Found Dependency: receipt exists for libmodplug
:debug:main Searching for dependency: schroedinger
:debug:main Found Dependency: receipt exists for schroedinger
:debug:main Searching for dependency: libass
:debug:main Found Dependency: receipt exists for libass
:debug:main Searching for dependency: libbluray
:debug:main Found Dependency: receipt exists for libbluray
:debug:main Searching for dependency: gnutls
:debug:main Found Dependency: receipt exists for gnutls
:debug:main Searching for dependency: openjpeg15
:debug:main Found Dependency: receipt exists for openjpeg15
:debug:main Searching for dependency: fontconfig
:debug:main Found Dependency: receipt exists for fontconfig
:debug:main Searching for dependency: freetype
:debug:main Found Dependency: receipt exists for freetype
:debug:main Searching for dependency: fribidi
:debug:main Found Dependency: receipt exists for fribidi
:debug:main Searching for dependency: speex
:debug:main Found Dependency: receipt exists for speex
:debug:main Searching for dependency: libvpx
:debug:main Found Dependency: receipt exists for libvpx
:debug:main Searching for dependency: libsdl
:debug:main Found Dependency: receipt exists for libsdl
:debug:main Searching for dependency: bzip2
:debug:main Found Dependency: receipt exists for bzip2
:debug:main Searching for dependency: xz
:debug:main Found Dependency: receipt exists for xz
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: xorg-libxcb
:debug:main Found Dependency: receipt exists for xorg-libxcb
:debug:main Searching for dependency: xorg-libXext
:debug:main Found Dependency: receipt exists for xorg-libXext
:debug:main Searching for dependency: xorg-libXfixes
:debug:main Found Dependency: receipt exists for xorg-libXfixes
:debug:main Searching for dependency: XviD
:debug:main Found Dependency: receipt exists for XviD
:debug:main Searching for dependency: x264
:debug:main Found Dependency: receipt exists for x264
:msg:main 
:debug:main Executing org.macports.main (ffmpeg)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Wed Mar 11 14:15:45 GMT 2015
:msg:archivefetch --->  Fetching archive for ffmpeg
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch Active variants check for archivefetch-type install considers depends_lib depends_run: lame libiconv libvorbis libopus libogg libtheora libmodplug schroedinger libass libbluray gnutls openjpeg15 fontconfig freetype fribidi speex libvpx libsdl bzip2 xz zlib xorg-libxcb xorg-libXext xorg-libXfixes XviD x264
:debug:archivefetch libsdl is installed with the following variants: +x11
:debug:archivefetch   required: x11, forbidden: 
:debug:archivefetch   accepted
:debug:archivefetch Executing org.macports.archivefetch (ffmpeg)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  ffmpeg-2.6_0+gpl2+x11.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch ffmpeg-2.6_0+gpl2+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ffmpeg
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ffmpeg-2.6_0+gpl2+x11.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/ffmpeg
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ffmpeg-2.6_0+gpl2+x11.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ffmpeg
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Wed Mar 11 14:15:47 GMT 2015
:notice:fetch --->  Fetching distfiles for ffmpeg
:debug:fetch Executing org.macports.fetch (ffmpeg)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Wed Mar 11 14:15:47 GMT 2015
:notice:checksum --->  Verifying checksums for ffmpeg
:debug:checksum Executing org.macports.checksum (ffmpeg)
:info:checksum --->  Checksumming ffmpeg-2.6.tar.bz2
:debug:checksum Calculated (rmd160) is 86c4af5b3f43fde318a7a8557f6787449a4d28c5
:debug:checksum Correct (rmd160) checksum for ffmpeg-2.6.tar.bz2
:debug:checksum Calculated (sha256) is 23c38ecc0dd6cae5e9a3c5c2c967b10480dc4f7159d094ade13b0775d1fd4791
:debug:checksum Correct (sha256) checksum for ffmpeg-2.6.tar.bz2
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Wed Mar 11 14:15:47 GMT 2015
:notice:extract --->  Extracting ffmpeg
:debug:extract setting option extract.cmd to /usr/bin/bzip2
:debug:extract Executing proc-pre-org.macports.extract-extract-0
:debug:extract Executing org.macports.extract (ffmpeg)
:info:extract --->  Extracting ffmpeg-2.6.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/ffmpeg/ffmpeg-2.6.tar.bz2'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/ffmpeg/ffmpeg-2.6.tar.bz2' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/ffmpeg/ffmpeg-2.6.tar.bz2' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Wed Mar 11 14:15:50 GMT 2015
:debug:patch Executing org.macports.patch (ffmpeg)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Wed Mar 11 14:15:50 GMT 2015
:notice:configure --->  Configuring ffmpeg
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: lame libiconv libvorbis libopus libogg libtheora libmodplug schroedinger libass libbluray gnutls openjpeg15 fontconfig freetype fribidi speex libvpx libsdl bzip2 xz zlib xorg-libxcb xorg-libXext xorg-libXfixes XviD x264 pkgconfig gmake texi2html yasm
:debug:configure libsdl is installed with the following variants: +x11
:debug:configure   required: x11, forbidden: 
:debug:configure   accepted
:debug:configure Executing org.macports.configure (ffmpeg)
:debug:configure Environment: 
ASFLAGS='-arch x86_64'
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -DHAVE_LRINTF -I/opt/local/include -arch x86_64'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
F77FLAGS='-m64'
F90FLAGS='-pipe -Os -m64'
FCFLAGS='-pipe -Os -m64'
FFLAGS='-pipe -Os'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXX='/usr/bin/clang++'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid 
:info:configure ERROR: freetype2 not found
:info:configure 
:info:configure If you think configure made a mistake, make sure you are using the latest
:info:configure version from Git.  If the latest version fails, report the problem to the
:info:configure ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
:info:configure Include the log file "config.log" produced by configure as this will help
:info:configure solve the problem.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid 
:info:configure Exit code: 1
:error:configure Failed to configure ffmpeg, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6/config.log
:error:configure org.macports.configure for port ffmpeg returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for ffmpeg: org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure Please see the log file for port ffmpeg for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
 

comment:4 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: jeremyhu@… added
Keywords: ffmpeg opencv removed
Owner: changed from macports-tickets@… to devans@…
Summary: Unable to upgrade port ffmpegffmpeg @2.6_0: configure cannot find freetype2

Thanks for the report. In future tickets, please Cc relevant port maintainers (port info --maintainers ffmpeg) so they receive email notifications.

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Status: newassigned

comment:6 Changed 10 years ago by dbevans (David B. Evans)

Have you recently upgraded to Yosemite? If so did you you follow the Migration instructions?

The first order of business is to address the Xcode issue.

comment:7 Changed 10 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: assignedclosed

No response for a week, works for me.

Note: See TracTickets for help on using tickets.