[MacPorts] #20882: MPlayer fails to build after ugprade to 1.8.0

MacPorts noreply at macports.org
Sat Aug 29 00:03:16 PDT 2009


#20882: MPlayer fails to build after ugprade to 1.8.0
------------------------------+---------------------------------------------
 Reporter:  dsg102@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.0                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 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 ?

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


More information about the macports-tickets mailing list