[MacPorts] #38526: ffmeg Not Build on 10.8.3
#38526: ffmeg Not Build on 10.8.3 -------------------------+-------------------------------- Reporter: nDiScReEt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ffmpeg -------------------------+-------------------------------- My Setup is a Mac OSX 10.8.3 running MacPorts 2.1.3 using Xcode 4.6.1 gcc version 4.2.1 by Apple. I receive the following error message building ffmpeg: Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.1.4" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable- postproc --enable-libx264 --enable-libxvid Exit code: 1 Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed while executing "$procedure $targetname" Warning: targets not executed for ffmpeg: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Failed to install ffmpeg DEBUG: could not read "/opt/local/lib/pkgconfig/x264.pc": no such file or directory while executing "::file type $file" -- Ticket URL: <https://trac.macports.org/ticket/38526> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Changes (by larryv@…): * owner: macports-tickets@… => devans@… * cc: nDiScReEt@… (removed) * cc: jeremyhu@… (added) Old description:
My Setup is a Mac OSX 10.8.3 running MacPorts 2.1.3 using Xcode 4.6.1 gcc version 4.2.1 by Apple. I receive the following error message building ffmpeg:
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.1.4" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable- libtheora --enable-libschroedinger --enable-libopenjpeg --enable- libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable- postproc --enable-libx264 --enable-libxvid Exit code: 1 Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed while executing "$procedure $targetname" Warning: targets not executed for ffmpeg: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Failed to install ffmpeg DEBUG: could not read "/opt/local/lib/pkgconfig/x264.pc": no such file or directory while executing "::file type $file"
New description: My Setup is a Mac OSX 10.8.3 running MacPorts 2.1.3 using Xcode 4.6.1 gcc version 4.2.1 by Apple. I receive the following error message building ffmpeg: {{{ Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.1.4" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable- postproc --enable-libx264 --enable-libxvid Exit code: 1 Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed while executing "$procedure $targetname" Warning: targets not executed for ffmpeg: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Failed to install ffmpeg DEBUG: could not read "/opt/local/lib/pkgconfig/x264.pc": no such file or directory while executing "::file type $file" }}} -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers. Also, you don’t have to Cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by egall@…): Also could you attach a full `main.log` please? -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by jeremyhu@…): "using Xcode 4.6.1 gcc version 4.2.1 by Apple" ... that's not possible. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by jeremyhu@…): Also: {{{ ~ $ port provides /opt/local/lib/pkgconfig/x264.pc /opt/local/lib/pkgconfig/x264.pc is provided by: x264 }}} port:x264 is a dependency in the +gpl2 variant ... I can't reproduce the issue. Please attach your log. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by nDiScReEt@…): Replying to [comment:3 jeremyhu@…]:
"using Xcode 4.6.1 gcc version 4.2.1 by Apple" ... that's not possible. {{{ gcc -v
Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~148/src/configure --disable- checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- slibdir=/usr/lib --build=i686-apple-darwin11 --enable- llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~148/dst- llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx- include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)}}} -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by larryv@…): This is LLVM-GCC 4.2, which is not the same as GCC 4.2. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by jeremyhu@…): {{{ :info:configure yasm not found, use --disable-yasm for a crippled build }}} port:yasm is a dependency. Please attach your config.log. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by nDiScReEt@…): Replying to [comment:7 jeremyhu@…]:
{{{ :info:configure yasm not found, use --disable-yasm for a crippled build }}}
port:yasm is a dependency.
Please attach your config.log. I installed yasm. Now, I receive a new error message:
{{{ Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.1.4" && /opt/local/bin/gmake -j8 -w all Exit code: 127 Error: org.macports.build for port ffmpeg returned: command execution failed DEBUG: Error code: CHILDSTATUS 6127 127 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: targets not executed for ffmpeg: org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Failed to install ffmpeg DEBUG: couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" 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 }}} I will include an updated main.log and config.log file. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by jeremyhu@…): Why didn't you have yasm to begin with? It's a dependency of ffmpeg. This new error is also caused by a missing dependency: {{{ /opt/local/bin/gmake: No such file or directory }}} but port:gmake is also a dependency. What is the output of: {{{ port installed gmake port contents gmake }}} -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | --------------------------+---------------------- Comment (by nDiScReEt@…): Replying to [comment:9 jeremyhu@…]:
Why didn't you have yasm to begin with? It's a dependency of ffmpeg.
This new error is also caused by a missing dependency:
{{{ /opt/local/bin/gmake: No such file or directory }}}
but port:gmake is also a dependency.
What is the output of: {{{ port installed gmake port contents gmake }}}
My output for "port installed gmake" is: {{{ None of the specified ports are installed. }}} And my output for "port contents gmake" is: {{{ Port gmake is not installed. }}} Why those ports weren't installed is beyond me. I have a new OS installed with all the latest updates running the latest (I hope) XCode and I simply installed nc6, nano, sshfs-gui, and python33 without any issues but when I went about installed gimp with the quartz variant, I find myself with ffmpeg not build. I reran the installation after adding gmake and I report, yet, another new era: {{{ DEBUG: Starting logging for cairo DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 501 Error: Requested variants "+quartz+x11" do not match original selection "+x11". Please use the same variants again, perform 'port clean cairo' or specify the force option (-f). Error: Failed to install cairo DEBUG: Registry error: libproxy not registered as installed & active. invoked from within "registry_active ${subport}" invoked from within "$workername eval registry_active \${subport}" Please see the log file for port cairo for details: }}} I'm happy to report that ffmpeg now builds. I think my issue may be with macports itself and nto the port at all. I will wipe everything and try again. I will report my findings real soon. Thank you all for your time. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38526: ffmeg Not Build on 10.8.3 --------------------------+---------------------- Reporter: nDiScReEt@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: ffmpeg | --------------------------+---------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Something is wrong which has nothing to do with this port. Your ports' dependencies aren't being installed. Run 'sudo port selfupdate' and see if it is fixed with the sync. If you still have issues, please ask for help on the mailing list. -- Ticket URL: <https://trac.macports.org/ticket/38526#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts