[MacPorts] #22648: MPlayer build failure on 10.4.11: libx264?

MacPorts noreply at macports.org
Sun Nov 22 18:21:41 PST 2009


#22648: MPlayer build failure on 10.4.11: libx264?
--------------------------------+-------------------------------------------
 Reporter:  myrrhlin@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:                      |        Port:  MPlayer                              
--------------------------------+-------------------------------------------
 I saw another build problem on Tiger already reported, but the error here
 looks quite different.  There are, in addition, several warnings that
 could be a cause for concern.

 I am trying to build `MPlayer +osd +mencoder_extras`, using port 1.8.1, on
 OS X 10.4.11 with Xcode 2.5.  I have Apple's X11.app installed.

 {{{
 --->  Extracting MPlayer
 --->  Applying patches to MPlayer
 --->  Configuring MPlayer
 --->  Building MPlayer
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2"
 && /usr/bin/make -j1 all " returned error 2
 Command output: /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec
 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization -Wno-
 pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
 -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450
 -pipe -ffast-math -fomit-frame-pointer -faltivec -D__APPLE_ALTIVEC__
 -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
 -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include
 -I/usr/local/include -I/opt/local/include/freetype2 -I/opt/local/include
 -c -o xl.o xl.c
 xl.c: In function 'decode_frame':
 xl.c:51: warning: 'c1' may be used uninitialized in this function
 xl.c:51: warning: 'c0' may be used uninitialized in this function
 xl.c:51: warning: 'y3' may be used uninitialized in this function
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o xsubdec.o
 xsubdec.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o lclenc.o
 lclenc.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o zmbv.o zmbv.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o zmbvenc.o
 zmbvenc.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o pcm.o pcm.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o adpcm.o adpcm.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o adx.o adx.c
 adx.c: In function 'adx_encode_header':
 adx.c:168: warning: large integer implicitly truncated to unsigned type
 adx.c:168: warning: large integer implicitly truncated to unsigned type
 adx.c:168: warning: large integer implicitly truncated to unsigned type
 adx.c:172: warning: large integer implicitly truncated to unsigned type
 adx.c:172: warning: large integer implicitly truncated to unsigned type
 adx.c:172: warning: large integer implicitly truncated to unsigned type
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o g726.o g726.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o libfaac.o
 libfaac.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o libmp3lame.o
 libmp3lame.c
 /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-
 frame-pointer -faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-
 loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include  -c -o libx264.o
 libx264.c
 libx264.c: In function 'X264_init':
 libx264.c:165: error: 'x264_param_t' has no member named
 'b_bframe_adaptive'
 libx264.c:228: error: 'struct <anonymous>' has no member named
 'b_bidir_me'
 libx264.c:229: error: 'struct <anonymous>' has no member named
 'b_bframe_rdo'
 libx264.c:254: error: 'struct <anonymous>' has no member named 'psz_rc_eq'
 make[1]: *** [libx264.o] Error 1
 make: *** [libavcodec/libavcodec.a] Error 2
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22648>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list