Opened 15 years ago

Closed 11 years ago

#22894 closed defect (fixed)

gimp-gap-devel-2.7.0 fails on Snow Leopard

Reported by: pokhojo@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gimp-gap-devel

Description

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 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.

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to devans@…
Port: gimp-gap-devel added

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Is this still a problem with the current version?

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

mplayer-devel was made the default runtime dependency in r70306.

Note: See TracTickets for help on using tickets.