[MacPorts] #46709: Failed to configure ffmpeg
#46709: Failed to configure ffmpeg -----------------------+-------------------------------- Reporter: wangsix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ffmpeg -----------------------+-------------------------------- OS X 10.9.5 {{{ Anonymous:~User$ sudo port install -v -f ffmpeg ---> Computing dependencies for ffmpeg ---> Fetching archive for ffmpeg ---> Attempting to fetch ffmpeg-2.5.3_0+gpl2+x11.darwin_13.x86_64.tbz2 from http://packages.macports.org/ffmpeg ---> Attempting to fetch ffmpeg-2.5.3_0+gpl2+x11.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ffmpeg ---> Attempting to fetch ffmpeg-2.5.3_0+gpl2+x11.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/ffmpeg ---> Fetching distfiles for ffmpeg ---> Verifying checksums for ffmpeg ---> Extracting ffmpeg ---> Applying patches to 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.5.3/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 }}} -- Ticket URL: <https://trac.macports.org/ticket/46709> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned * version: 2.3.3 => Comment: It's saying that gnutls is not being recognized using pkg-config also the log also says that macports thinks that gnutls is installed. However, I can't reproduce the problem here so may be something specific to your installation. /opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_ffmpeg/ffmpeg/work/config.log should show more detail what the problem is. Please attach. Also please make sure that gnutls is properly installed and that /opt/local/lib/pkgconfig/gnutls.pc exists. What does {{{ pkg-config --libs --cflags gnutls }}} return? -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Comment (by wangsix@…): {{{ pkg-config --libs --cflags gnutls }}} returns {{{ Package zlib was not found in the pkg-config search path. Perhaps you should add the directory containing `zlib.pc' to the PKG_CONFIG_PATH environment variable Package 'zlib', required by 'gnutls', not found }}} and /opt/local/lib/pkgconfig/gnutls.pc exists. Thank you, the config.log file is attached. -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Comment (by devans@…): Is zlib installed? {{{ $ port installed zlib The following ports are currently installed: zlib @1.2.8_0 (active) }}} and /opt/local/lib/pkgconfig/zlib.pc ? -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Comment (by devans@…): Note that config.log also shows the problem is missing zlib. {{{ check_pkg_config gnutls gnutls/gnutls.h gnutls_global_init pkg-config --exists --print-errors gnutls Package zlib was not found in the pkg-config search path. Perhaps you should add the directory containing `zlib.pc' to the PKG_CONFIG_PATH environment variable Package 'zlib', required by 'gnutls', not found ERROR: gnutls not found using pkg-config }}} -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Comment (by wangsix@…): {{{ Anonymous:~ User$ sudo port installed zlib The following ports are currently installed: zlib @1.2.8_0+universal (active) }}} but /opt/local/lib/pkgconfig/zlib.pc does not exist. After reinstall via {{{ sudo port install zlib }}} The file zlib.pc exists. Then retry install ffmpeg via {{{ sudo port clean ffmpeg sudo port install ffmpeg }}} get the following {{{ ---> Computing dependencies for ffmpeg ---> Fetching archive for ffmpeg ---> Attempting to fetch ffmpeg-2.5.3_0+gpl2+x11.darwin_13.x86_64.tbz2 from http://packages.macports.org/ffmpeg ---> Attempting to fetch ffmpeg-2.5.3_0+gpl2+x11.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ffmpeg ---> Attempting to fetch ffmpeg-2.5.3_0+gpl2+x11.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/ffmpeg ---> Fetching distfiles for ffmpeg ---> Verifying checksums for ffmpeg ---> Extracting ffmpeg ---> Applying patches to 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.5.3/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 }}} The new main.log is attached. (main 2.log) -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Comment (by devans@…): Per the log, error this time is {{{ :info:configure ERROR: libass not found using pkg-config }}} So you may need to do the same with it. However, this all looks like something is definitely not right with your ports installation. These errors are saying the the ports in question are installed but not all expected files are available (.pc files for instance). If you continue to run into this sort of problem, you may need to remove MacPorts completely and reinstall to make sure you have a consistent installation. Have you recently upgraded your OS from another version? If so did you follow the [https://trac.macports.org/wiki/Migration Migration] instructions? -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg ------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | ------------------------+---------------------- Comment (by wangsix@…): After repeat the similar process. Finally the ffmpeg is installed. -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46709: Failed to configure ffmpeg -------------------------+---------------------- Reporter: wangsix@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/46709#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts