#18646 closed defect (invalid)
gst-ffmpeg doesn't build
Reported by: | 56h29g002@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | gst-ffmpeg |
Description
Tried installing the gst-ffmpeg port on Mac OS 10.5.6; got the error message below.
Incidentally, how come this port has its own copy of ffmpeg, and doesn't use the ffmpeg port? Just curious.
[gleb-franks-macbook:~]$ sudo port clean --all gst-ffmpeg ---> Cleaning gst-ffmpeg [gleb-franks-macbook:~]$ sudo port install -d gst-ffmpeg ---> Fetching gst-ffmpeg ---> Attempting to fetch gst-ffmpeg-0.10.6.tar.bz2 from http://distfiles.macports.org/gst-ffmpeg ---> Attempting to fetch gst-ffmpeg-0.10.6.tar.bz2 from http://gstreamer.freedesktop.org/src/gst-ffmpeg/ ---> Verifying checksum(s) for gst-ffmpeg ---> Extracting gst-ffmpeg ---> Applying patches to gst-ffmpeg ---> Configuring gst-ffmpeg ---> Building gst-ffmpeg Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6" && gmake all " returned error 2 Command output: gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libavutil/string.o libavutil/string.c gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libavutil/tree.o libavutil/tree.c gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libavutil/utils.o libavutil/utils.c gcc -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavutil.dylib,-current_version,49.12.0,-compatibility_version,49 -Wl,-read_only_relocs,suppress -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o libavutil/libavutil.49.dylib libavutil/adler32.o libavutil/aes.o libavutil/base64.o libavutil/crc.o libavutil/des.o libavutil/fifo.o libavutil/intfloat_readwrite.o libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/lzo.o libavutil/mathematics.o libavutil/md5.o libavutil/mem.o libavutil/random.o libavutil/rational.o libavutil/rc4.o libavutil/sha1.o libavutil/string.o libavutil/tree.o libavutil/utils.o -lz -lbz2 -lm cd ./libavutil/ && ln -sf libavutil.49.dylib libavutil.dylib gcc -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libpostproc.dylib,-current_version,51.2.0,-compatibility_version,51 -Wl,-read_only_relocs,suppress -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg"/libavutil -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o libpostproc/libpostproc.51.dylib libpostproc/postprocess.o libavutil/libavutil.dylib -lavutil -lz -lbz2 -lm cd ./libpostproc/ && ln -sf libpostproc.51.dylib libpostproc.dylib gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libswscale/rgb2rgb.o libswscale/rgb2rgb.c gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libswscale/swscale.o libswscale/swscale.c libswscale/swscale.c: In function 'sws_getCachedContext': libswscale/swscale.c:3165: warning: assignment discards qualifiers from pointer target type gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libswscale/swscale_avoption.o libswscale/swscale_avoption.c gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" -O2 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libswscale/yuv2rgb.o libswscale/yuv2rgb.c libswscale/yuv2rgb.c:274: warning: 'yuv2rgb_c_8' defined but not used libswscale/yuv2rgb.c:329: warning: 'yuv2rgb_c_4' defined but not used libswscale/yuv2rgb.c:401: warning: 'yuv2rgb_c_4b' defined but not used gcc -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libswscale.dylib,-current_version,1.6.1,-compatibility_version,1 -Wl,-read_only_relocs,suppress -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg"/libavutil -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o libswscale/libswscale.1.dylib libswscale/rgb2rgb.o libswscale/swscale.o libswscale/swscale_avoption.o libswscale/yuv2rgb.o libavutil/libavutil.dylib -lavutil -lz -lbz2 -lm ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rgb24tobgr24_MMX from libswscale/rgb2rgb.o not allowed in slidable image collect2: ld returned 1 exit status gmake[5]: *** [libswscale/libswscale.1.dylib] Error 1 gmake[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg' gmake[4]: *** [all-local] Error 2 gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs/ext' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6/gst-libs' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-ffmpeg/work/gst-ffmpeg-0.10.6' gmake: *** [all] Error 2 Error: Status 1 encountered during processing. [gleb-franks-macbook:~]$
Change History (2)
comment:1 Changed 16 years ago by dbevans (David B. Evans)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Same story as #18470, #17993. You need to upgrade your XCode 3.0 to XCode 3.1.2.