[MacPorts] #33735: ffmpeg-devel (20120317_0): build failure
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel 20120317_0 ----------------------------------+----------------------------------------- I was trying to upgrade to the recent version (on 10.6.8 Snow Leopard), but it failed to built. I already did "tabula rasa" by uninstalling/cleaning the previous installation, but with no avail. ATM I switched back to the stable version of ffmpeg, which is compiling just fine, since I'm using ffmpeg almost daily. And BTW I encountered a similar problem (those weird characters found in source), while upgrading "mednafen" too. Problems found in log file: {{{ :info:build libswscale/x86/rgb2rgb_template.c: In function ‚Äòrgb15tobgr24_MMX‚Äô: :info:build libswscale/x86/rgb2rgb_template.c:814: error: can't find a register in class ‚ÄòGENERAL_REGS‚Äô while reloading ‚Äòasm‚Äô :info:build libswscale/x86/rgb2rgb_template.c:811: error: ‚Äòasm‚Äô operand has impossible constraints :info:build libswscale/x86/rgb2rgb_template.c:814: error: ‚Äòasm‚Äô operand has impossible constraints :info:build libswscale/x86/rgb2rgb_template.c:879: error: ‚Äòasm‚Äô operand has impossible constraints :info:build {standard input}:1411:non-relocatable subtraction expression, "_blue_15mask" minus "L00000000011$pb" :info:build {standard input}:1411:symbol: "_blue_15mask" can't be undefined in a subtraction expression :info:build {standard input}:1400:non-relocatable subtraction expression, "_green_15mask" minus "L00000000011$pb" :info:build {standard input}:1400:symbol: "_green_15mask" can't be undefined in a subtraction expression :info:build {standard input}:1399:non-relocatable subtraction expression, "_red_15mask" minus "L00000000011$pb" :info:build {standard input}:1399:symbol: "_red_15mask" can't be undefined in a subtraction expression :info:build {standard input}:1274:non-relocatable subtraction expression, "_blue_15mask" minus "L00000000010$pb" :info:build {standard input}:1274:symbol: "_blue_15mask" can't be undefined in a subtraction expression :info:build {standard input}:1263:non-relocatable subtraction expression, "_green_15mask" minus "L00000000010$pb" :info:build {standard input}:1263:symbol: "_green_15mask" can't be undefined in a subtraction expression :info:build {standard input}:1262:non-relocatable subtraction expression, "_red_15mask" minus "L00000000010$pb" :info:build {standard input}:1262:symbol: "_red_15mask" can't be undefined in a subtraction expression :info:build {standard input}:1137:non-relocatable subtraction expression, "_blue_16mask" minus "L00000000009$pb" :info:build {standard input}:1137:symbol: "_blue_16mask" can't be undefined in a subtraction expression :info:build {standard input}:1126:non-relocatable subtraction expression, "_green_16mask" minus "L00000000009$pb" :info:build {standard input}:1126:symbol: "_green_16mask" can't be undefined in a subtraction expression :info:build {standard input}:1125:non-relocatable subtraction expression, "_red_16mask" minus "L00000000009$pb" :info:build {standard input}:1125:symbol: "_red_16mask" can't be undefined in a subtraction expression :info:build {standard input}:1000:non-relocatable subtraction expression, "_blue_16mask" minus "L00000000008$pb" :info:build {standard input}:1000:symbol: "_blue_16mask" can't be undefined in a subtraction expression :info:build {standard input}:989:non-relocatable subtraction expression, "_green_16mask" minus "L00000000008$pb" :info:build {standard input}:989:symbol: "_green_16mask" can't be undefined in a subtraction expression :info:build {standard input}:988:non-relocatable subtraction expression, "_red_16mask" minus "L00000000008$pb" :info:build {standard input}:988:symbol: "_red_16mask" can't be undefined in a subtraction expression :info:build {standard input}:874:non-relocatable subtraction expression, "_blue_15mask" minus "L00000000007$pb" :info:build {standard input}:874:symbol: "_blue_15mask" can't be undefined in a subtraction expression :info:build {standard input}:863:non-relocatable subtraction expression, "_green_15mask" minus "L00000000007$pb" :info:build {standard input}:863:symbol: "_green_15mask" can't be undefined in a subtraction expression :info:build {standard input}:862:non-relocatable subtraction expression, "_red_15mask" minus "L00000000007$pb" :info:build {standard input}:862:symbol: "_red_15mask" can't be undefined in a subtraction expression :info:build {standard input}:759:non-relocatable subtraction expression, "_mul3215" minus "L00000000006$pb" :info:build {standard input}:759:symbol: "_mul3215" can't be undefined in a subtraction expression :info:build {standard input}:758:non-relocatable subtraction expression, "_mask3216br" minus "L00000000006$pb" :info:build {standard input}:758:symbol: "_mask3216br" can't be undefined in a subtraction expression :info:build {standard input}:757:non-relocatable subtraction expression, "_mask3215g" minus "L00000000006$pb" :info:build {standard input}:757:symbol: "_mask3215g" can't be undefined in a subtraction expression :info:build {standard input}:644:non-relocatable subtraction expression, "_blue_16mask" minus "L00000000005$pb" :info:build {standard input}:644:symbol: "_blue_16mask" can't be undefined in a subtraction expression :info:build {standard input}:633:non-relocatable subtraction expression, "_green_16mask" minus "L00000000005$pb" :info:build {standard input}:633:symbol: "_green_16mask" can't be undefined in a subtraction expression :info:build {standard input}:632:non-relocatable subtraction expression, "_red_16mask" minus "L00000000005$pb" :info:build {standard input}:632:symbol: "_red_16mask" can't be undefined in a subtraction expression :info:build {standard input}:529:non-relocatable subtraction expression, "_mul3216" minus "L00000000004$pb" :info:build {standard input}:529:symbol: "_mul3216" can't be undefined in a subtraction expression :info:build {standard input}:528:non-relocatable subtraction expression, "_mask3216br" minus "L00000000004$pb" :info:build {standard input}:528:symbol: "_mask3216br" can't be undefined in a subtraction expression :info:build {standard input}:527:non-relocatable subtraction expression, "_mask3216g" minus "L00000000004$pb" :info:build {standard input}:527:symbol: "_mask3216g" can't be undefined in a subtraction expression :info:build {standard input}:404:non-relocatable subtraction expression, "_mask15b" minus "L00000000003$pb" :info:build {standard input}:404:symbol: "_mask15b" can't be undefined in a subtraction expression :info:build {standard input}:402:non-relocatable subtraction expression, "_mask15rg" minus "L00000000003$pb" :info:build {standard input}:402:symbol: "_mask15rg" can't be undefined in a subtraction expression :info:build {standard input}:286:non-relocatable subtraction expression, "_mask15s" minus "L00000000002$pb" :info:build {standard input}:286:symbol: "_mask15s" can't be undefined in a subtraction expression :info:build {standard input}:61:non-relocatable subtraction expression, "_mask32a" minus "L00000000001$pb" :info:build {standard input}:61:symbol: "_mask32a" can't be undefined in a subtraction expression :info:build gmake: *** [libswscale/x86/rgb2rgb.o] Error 1 :info:build gmake: *** Waiting for unfinished jobs.... :info:build yasm -f macho -DPIC -DPREFIX -I. -I./ -I./libavutil/x86/ -Pconfig.asm -I libswscale/x86/ -o libswscale/x86/scale.o libswscale/x86/scale.asm :info:build gmake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_ffmpeg-devel/ffmpeg-devel/work /ffmpeg-69174fa-i386' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_ffmpeg-devel/ffmpeg-devel/work /ffmpeg-69174fa-i386" && /opt/local/bin/gmake -j2 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "$procedure $targetname" :info:build Warning: the following items did not execute (for ffmpeg- devel): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for ffmpeg-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_ffmpeg-devel/ffmpeg-devel/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/33735> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => devans@… * port: ffmpeg-devel 20120317_0 => ffmpeg-devel -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel ----------------------------------+----------------------------------------- Comment(by jeremyhu@…): What is the output of: {{{ xcodebuild -version /usr/bin/clang --version }}} -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel ----------------------------------+----------------------------------------- Comment(by Pesthauch666@…): Replying to [comment:2 jeremyhu@…]:
What is the output of:
{{{ xcodebuild -version /usr/bin/clang --version }}}
Since I'm still using Snow Leopard (never change a running system ;) - i switched from Leopard to Snow Leopard not until Lion came out) it's not the newest xcode version: xcodebuild: {{{ Xcode 3.2.6 Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0 BuildVersion: 10M2518 }}} clang: {{{ Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) Target: x86_64-apple-darwin10 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: jeremyhu@… (added) Comment: Is this still a problem with 20120718? -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel ----------------------------------+----------------------------------------- Comment(by Pesthauch666@…): Replying to [comment:4 jmr@…]:
Is this still a problem with 20120718?
I've just checked. I had to uninstall the stable ffmpeg I've been using since the problem occured. But it seems, that ffmpeg-devel now compiles just fine. Thanks a lot! BUT:[[BR]] I guess I have to reinstall the stable one again, because it looks like [https://trac.macports.org/browser/trunk/dports/net/mediatomb/Portfile 'mediatomb'] another port I'm using, which depends on ffmpeg fails to built with ffmpeg-devel. excerpt from the mediatomb main.log {{{ ... :info:build ../src/metadata/ffmpeg_handler.cc: In function ‘void addFfmpegMetadataFields(zmm::Ref<CdsItem>, AVFormatContext*)’: :info:build ../src/metadata/ffmpeg_handler.cc:92: error: ‘struct AVFormatContext’ has no member named ‘title’ :info:build ../src/metadata/ffmpeg_handler.cc:94: error: ‘struct AVFormatContext’ has no member named ‘title’ :info:build ../src/metadata/ffmpeg_handler.cc:96: error: ‘struct AVFormatContext’ has no member named ‘title’ :info:build ../src/metadata/ffmpeg_handler.cc:98: error: ‘struct AVFormatContext’ has no member named ‘author’ :info:build ../src/metadata/ffmpeg_handler.cc:100: error: ‘struct AVFormatContext’ has no member named ‘author’ :info:build ../src/metadata/ffmpeg_handler.cc:102: error: ‘struct AVFormatContext’ has no member named ‘author’ :info:build ../src/metadata/ffmpeg_handler.cc:104: error: ‘struct AVFormatContext’ has no member named ‘album’ :info:build ../src/metadata/ffmpeg_handler.cc:106: error: ‘struct AVFormatContext’ has no member named ‘album’ :info:build ../src/metadata/ffmpeg_handler.cc:108: error: ‘struct AVFormatContext’ has no member named ‘album’ :info:build ../src/metadata/ffmpeg_handler.cc:110: error: ‘struct AVFormatContext’ has no member named ‘year’ :info:build ../src/metadata/ffmpeg_handler.cc:112: error: ‘struct AVFormatContext’ has no member named ‘year’ :info:build ../src/metadata/ffmpeg_handler.cc:114: error: ‘struct AVFormatContext’ has no member named ‘year’ :info:build ../src/metadata/ffmpeg_handler.cc:116: error: ‘struct AVFormatContext’ has no member named ‘genre’ :info:build ../src/metadata/ffmpeg_handler.cc:118: error: ‘struct AVFormatContext’ has no member named ‘genre’ :info:build ../src/metadata/ffmpeg_handler.cc:120: error: ‘struct AVFormatContext’ has no member named ‘genre’ :info:build ../src/metadata/ffmpeg_handler.cc:122: error: ‘struct AVFormatContext’ has no member named ‘comment’ :info:build ../src/metadata/ffmpeg_handler.cc:124: error: ‘struct AVFormatContext’ has no member named ‘comment’ :info:build ../src/metadata/ffmpeg_handler.cc:126: error: ‘struct AVFormatContext’ has no member named ‘comment’ :info:build ../src/metadata/ffmpeg_handler.cc:128: error: ‘struct AVFormatContext’ has no member named ‘track’ :info:build ../src/metadata/ffmpeg_handler.cc:130: error: ‘struct AVFormatContext’ has no member named ‘track’ :info:build ../src/metadata/ffmpeg_handler.cc:132: error: ‘struct AVFormatContext’ has no member named ‘track’ :info:build ../src/metadata/ffmpeg_handler.cc: In function ‘void addFfmpegResourceFields(zmm::Ref<CdsItem>, AVFormatContext*, int*, int*)’: :info:build ../src/metadata/ffmpeg_handler.cc:181: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope :info:build ../src/metadata/ffmpeg_handler.cc:212: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope :info:build ../src/metadata/ffmpeg_handler.cc: In member function ‘virtual void FfmpegHandler::fillMetadata(zmm::Ref<CdsItem>)’: :info:build ../src/metadata/ffmpeg_handler.cc:264: error: ‘av_open_input_file’ was not declared in this scope :info:build ../src/metadata/ffmpeg_handler.cc:268: warning: ‘av_find_stream_info’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1390) :info:build ../src/metadata/ffmpeg_handler.cc:268: warning: ‘av_find_stream_info’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1390) :info:build ../src/metadata/ffmpeg_handler.cc:270: warning: ‘av_close_input_file’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1566) :info:build ../src/metadata/ffmpeg_handler.cc:270: warning: ‘av_close_input_file’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1566) :info:build ../src/metadata/ffmpeg_handler.cc:279: warning: ‘av_close_input_file’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1566) :info:build ../src/metadata/ffmpeg_handler.cc:279: warning: ‘av_close_input_file’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1566) :info:build make[2]: *** [libmediatomb_a-ffmpeg_handler.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build mv -f .deps/libmediatomb_a-main.Tpo .deps/libmediatomb_a- main.Po :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1/build' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port mediatomb returned: command execution failed :debug:build Error code: CHILDSTATUS 19763 2 :debug:build 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" :info:build Warning: targets not executed for mediatomb: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port mediatomb for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_mediatomb/mediatomb/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure ----------------------------------+----------------------------------------- Reporter: Pesthauch666@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg-devel ----------------------------------+----------------------------------------- Changes (by jeremyhu@…): * status: new => assigned * owner: devans@… => jeremyhu@… Comment: Ok, sounds like an issue where ffmpeg's build system is using ${prefix}/include instead of its own headers... I hate those kinds of bugs... -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure -----------------------------+------------------------ Reporter: Pesthauch666@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: ffmpeg-devel | -----------------------------+------------------------ Comment (by nilstec_inc@…): I get the exact same error as was given by Pesthauch666@gmx.net in comment:5 when installing mediatomb. I'm not using ffmepg-devel, but the standard version. I just did the update to mountain lion and recompiled all my ports with a fresh install. I'll supply the ''main.log'' of mediatomb and the output of `port installed`. -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure -----------------------------+------------------------ Reporter: Pesthauch666@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: ffmpeg-devel | -----------------------------+------------------------ Comment (by ryandesign@…): This ticket was about a build failure of the ffmpeg-devel port. Since according to comment:5 that problem has been solved, presumably by updating ffmpeg-devel to a newer version, this ticket should be closed. The ticket for mediatomb's problem building with latest ffmpeg is #36771. Replying to [comment:6 jeremyhu@…]:
Ok, sounds like an issue where ffmpeg's build system is using ${prefix}/include instead of its own headers...
What makes you say that? -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33735: ffmpeg-devel (20120317_0): build failure -----------------------------+------------------------ Reporter: Pesthauch666@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: ffmpeg-devel | -----------------------------+------------------------ Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:9 ryandesign@…]:
This ticket was about a build failure of the ffmpeg-devel port. Since according to comment:5 that problem has been solved, presumably by updating ffmpeg-devel to a newer version, this ticket should be closed.
Closing.
The ticket for mediatomb's problem building with latest ffmpeg is #36771.
Replying to [comment:6 jeremyhu@…]:
Ok, sounds like an issue where ffmpeg's build system is using
${prefix}/include instead of its own headers...
What makes you say that?
I misread the build failure in the previous comment as having been from ffmpeg, and usually if a port doesn't understand its own struct, it's possibly using the wrong headers... so please disregard. -- Ticket URL: <https://trac.macports.org/ticket/33735#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts