Opened 15 years ago

Closed 14 years ago

#20882 closed defect (duplicate)

MPlayer fails to build after upgrade to 1.8.0

Reported by: dsg102@… Owned by: ecronin (Eric Cronin)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: hawkins22@…, jdfrens@…, kurtjaeke@…, tobi_m@…, rbubley, philippe.bricout@…
Port: MPlayer

Description

Having trouble building MPlayer after an otherwise clean upgrade to 1.8.0.

--->  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: imgresample.c:430: warning: 'img_resample_full_init' is deprecated (declared at avcodec.h:2258)
imgresample.c: At top level:
imgresample.c:440: warning: 'ImgReSampleContext' is deprecated
imgresample.c: In function 'img_resample_full_init':
imgresample.c:441: warning: 'ImgReSampleContext' is deprecated
imgresample.c:446: warning: 'ImgReSampleContext' is deprecated
imgresample.c: At top level:
imgresample.c:487: warning: 'ImgReSampleContext' is deprecated
imgresample.c:509: warning: 'ImgReSampleContext' is deprecated
imgresample.c: In function 'sws_getContext':
imgresample.c:535: warning: 'img_resample_init' is deprecated (declared at imgresample.c:429)
imgresample.c:537: warning: 'ImgReSampleContext' is deprecated
imgresample.c: In function 'sws_freeContext':
imgresample.c:555: warning: 'img_resample_close' is deprecated (declared at imgresample.c:510)
imgresample.c: In function 'sws_scale':
imgresample.c:633: warning: 'img_convert' is deprecated (declared at avcodec.h:2410)
imgresample.c:664: warning: 'img_resample' is deprecated (declared at imgresample.c:489)
imgresample.c:672: warning: 'img_convert' is deprecated (declared at avcodec.h:2410)
/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 -arch i386 -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  -c -o i386/fdct_mmx.o i386/fdct_mmx.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 -arch i386 -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  -c -o i386/cputest.o i386/cputest.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 -arch i386 -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  -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function 'transpose4x4':
i386/dsputil_mmx.c:649: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c: In function 'dsputil_init_mmx':
i386/dsputil_mmx.c:3748: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3750: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3756: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3758: warning: assignment from incompatible pointer type
make[1]: *** [i386/dsputil_mmx.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2

Error: Status 1 encountered during processing.

looked like the same problem as #13021 ?

Change History (15)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ecronin@…
Port: MPlayer added

comment:2 Changed 15 years ago by hawkins22@…

Cc: hawkins22@… added

Cc Me!

comment:3 Changed 15 years ago by hawkins22@…

Cc: hawkins22@… removed

Cc Me!

comment:4 Changed 15 years ago by hawkins22@…

Cc: hawkins22@… added

Cc Me!

comment:5 Changed 15 years ago by jdfrens@…

Cc: jdfrens@… added

Cc Me!

comment:6 Changed 15 years ago by kurtjaeke@…

Cc: kurtjaeke@… added

Cc Me!

comment:7 Changed 15 years ago by kurtjaeke@…

Seems to be the same issue as #20873

Adding "-O1 -fomit-frame-pointer" to the CFLAGS fixes this issue.

comment:8 Changed 15 years ago by tobi_m@…

Cc: tobi_m@… added

Cc Me!

comment:9 Changed 15 years ago by ecronin (Eric Cronin)

What version of MacOS was this build on?

comment:10 Changed 15 years ago by rbubley

Cc: russ.bubley@… added

Cc Me!

comment:11 Changed 15 years ago by rbubley

The build failure happens for me on Tiger (10.4.11).

comment:12 Changed 15 years ago by philippe.bricout@…

Cc: philippe.bricout@… added

Cc Me!

comment:13 Changed 15 years ago by philippe.bricout@…

sudo port install mplayer +dts +osd +sdl +noappleremote

is OK on PowerPC with tiger (10.4.11)

but :

sudo port install mplayer +dts +mencoder_extras +osd +sdl +noappleremote
--->  Computing dependencies for MPlayer
--->  Fetching MPlayer
--->  Attempting to fetch stream_cddb_fix_20080120.diff from http://www.mplayerhq.hu/MPlayer/patches/
--->  Attempting to fetch url_fix_20080120.diff from http://www.mplayerhq.hu/MPlayer/patches/
--->  Attempting to fetch demux_mov_fix_20080129.diff from http://www.mplayerhq.hu/MPlayer/patches/
--->  Attempting to fetch demux_audio_fix_20080129.diff from http://www.mplayerhq.hu/MPlayer/patches/
--->  Attempting to fetch MPlayer-1.0rc2.tar.bz2 from http://lil.fr.distfiles.macports.org/MPlayer
--->  Verifying checksum(s) for MPlayer
--->  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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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/SDL  -D_THREAD_SAFE -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



comment:14 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: MPlayer fails to build after ugprade to 1.8.0MPlayer fails to build after upgrade to 1.8.0

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

Resolution: duplicate
Status: newclosed

Dupe as per comment:7.

Note: See TracTickets for help on using tickets.