[MacPorts] #22894: gimp-gap-devel-2.7.0 fails on Snow Leopard
#22894: gimp-gap-devel-2.7.0 fails on Snow Leopard -------------------------------+-------------------------------------------- Reporter: pokhojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: -------------------------------+-------------------------------------------- My system {{{ $ uname -v -> Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 Xcode 3.2.1 MacPorts 1.8.1 }}} '''Problem with MPlayer''' When I try to sudo port install gimp-gap-devel I first get an error saying MPlayer doesnt build on Snow Leopard {{{ ---> Fetching MPlayer Error: Target org.macports.fetch returned: MPlayer does not compile on Snow Leopard. Please use multimedia/mplayer-devel instead Error: The following dependencies failed to build: MPlayer Error: Status 1 encountered during processing. }}} This I solve by changing dependency in the $(port dir gimp-gap- devel)/Portfile to mplayer-devel '''Problem with libavcodec''' Next it fails to build using the libavcodecs included in the external ffmpeg library {{{ ---> Building gimp-gap-devel Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_gimp-gap-devel/work/gimp-gap-devel-2.7.0" && /usr/bin/make -j2 all " returned error 2 Command output: In file included from libavcodec/h264.c:8143: libavcodec/svq3.c: In function 'svq3_decode_slice_header': libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type libavcodec/h264.c: In function 'execute_ref_pic_marking': libavcodec/h264.c:3280: warning: 'structure' may be used uninitialized in this function libavcodec/h264.c:3272: warning: 'j' may be used uninitialized in this function libavcodec/h264.c: In function 'execute_ref_pic_marking': libavcodec/h264.c:3280: warning: 'structure' may be used uninitialized in this function libavcodec/h264.c:3272: warning: 'j' may be used uninitialized in this function {standard input}:9300:suffix or operands invalid for `add' {standard input}:9312:suffix or operands invalid for `add' {standard input}:9577:suffix or operands invalid for `add' {standard input}:9589:suffix or operands invalid for `add' {standard input}:9300:suffix or operands invalid for `add' {standard input}:9312:suffix or operands invalid for `add' {standard input}:9577:suffix or operands invalid for `add' {standard input}:9589:suffix or operands invalid for `add' gmake[3]: *** [libavcodec/h264.o] Error 1 gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_gimp-gap-devel/work/gimp-gap- devel-2.7.0/extern_libs/ffmpeg' make[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_gimp-gap-devel/work/gimp-gap- devel-2.7.0/extern_libs/ffmpeg/libavcodec/libavcodec.a] Error 2 make[2]: *** Waiting for unfinished jobs.... gmake[3]: *** [libavcodec/h264.o] Error 1 gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_gimp-gap-devel/work/gimp-gap- devel-2.7.0/extern_libs/ffmpeg' make[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_gimp-gap-devel/work/gimp-gap- devel-2.7.0/extern_libs/ffmpeg/libavformat/libavformat.a] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} Solved by appending --disable-libavformat to configure.args of the gimp- gap-devel Portfile [http://trac.macports.org/changeset/43011 changeset]. With these adjustments I am now able to build gimp-gap-devel on my system, and when i run gimp I recognize GAP has been integrated to a Video-tab. But functionality is severely crippled due to the changes made. It doesnt work. -- Ticket URL: <http://trac.macports.org/ticket/22894> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22894: gimp-gap-devel-2.7.0 fails on Snow Leopard -------------------------------+-------------------------------------------- Reporter: pokhojo@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gimp-gap-devel -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => devans@… * port: => gimp-gap-devel -- Ticket URL: <http://trac.macports.org/ticket/22894#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22894: gimp-gap-devel-2.7.0 fails on Snow Leopard -------------------------------+-------------------------------------------- Reporter: pokhojo@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gimp-gap-devel -------------------------------+-------------------------------------------- Comment(by jmr@…): Is this still a problem with the current version? -- Ticket URL: <https://trac.macports.org/ticket/22894#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22894: gimp-gap-devel-2.7.0 fails on Snow Leopard -----------------------------+---------------------- Reporter: pokhojo@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: gimp-gap-devel | -----------------------------+---------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: mplayer-devel was made the default runtime dependency in r70306. -- Ticket URL: <https://trac.macports.org/ticket/22894#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts