[MacPorts] #22894: gimp-gap-devel-2.7.0 fails on Snow Leopard

MacPorts noreply at macports.org
Mon Dec 14 04:16:17 PST 2009


#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


More information about the macports-tickets mailing list