[MacPorts] #20921: build mplayer fails
#20921: build mplayer fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: --------------------------------------+------------------------------------- bash-4.0# port install mplayer-devel +noappleremote ---> Computing dependencies for mplayer-devel ---> Building mplayer-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_multimedia_mplayer-devel/work/trunk" && /usr/bin/make -j2 all " returned error 2 Command output: /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno- pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o liba52/imdct.o liba52/imdct.c /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o av_opts.o av_opts.c av_opts.c: In function 'parse_avopts': av_opts.c:39: warning: 'av_set_string' is deprecated (declared at libavcodec/opt.h:107) /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c In file included from liba52/imdct.c:725: liba52/imdct_3dnow.h: In function 'fft_asmb_3dnow': liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make: *** [liba52/imdct.o] Error 1 make: *** Waiting for unfinished jobs.... Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/20921> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: ecronin@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer --------------------------------------+------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => ecronin@… * port: => mplayer Old description:
bash-4.0# port install mplayer-devel +noappleremote ---> Computing dependencies for mplayer-devel ---> Building mplayer-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_multimedia_mplayer-devel/work/trunk" && /usr/bin/make -j2 all " returned error 2 Command output: /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno- pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o liba52/imdct.o liba52/imdct.c /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o av_opts.o av_opts.c av_opts.c: In function 'parse_avopts': av_opts.c:39: warning: 'av_set_string' is deprecated (declared at libavcodec/opt.h:107) /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c In file included from liba52/imdct.c:725: liba52/imdct_3dnow.h: In function 'fft_asmb_3dnow': liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make: *** [liba52/imdct.o] Error 1 make: *** Waiting for unfinished jobs....
Error: Status 1 encountered during processing.
New description: {{{ bash-4.0# port install mplayer-devel +noappleremote ---> Computing dependencies for mplayer-devel ---> Building mplayer-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_multimedia_mplayer-devel/work/trunk" && /usr/bin/make -j2 all " returned error 2 Command output: /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno- pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o liba52/imdct.o liba52/imdct.c /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o av_opts.o av_opts.c av_opts.c: In function 'parse_avopts': av_opts.c:39: warning: 'av_set_string' is deprecated (declared at libavcodec/opt.h:107) /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c In file included from liba52/imdct.c:725: liba52/imdct_3dnow.h: In function 'fft_asmb_3dnow': liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make: *** [liba52/imdct.o] Error 1 make: *** Waiting for unfinished jobs.... Error: Status 1 encountered during processing. }}} -- Comment: Please read the ticket guidelines that are linked to in large red text when you create a ticket. -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: ecronin@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer-devel --------------------------------------+------------------------------------- Changes (by jmr@…): * port: mplayer => mplayer-devel -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer-devel --------------------------------------+------------------------------------- Changes (by devans@…): * owner: ecronin@… => acho@… Comment: Maintainer is acho -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer-devel --------------------------------------+------------------------------------- Comment(by beau.e.cox@…): It seems that this build problem was hatched by a mplayer change to the configure script, not by anything macports did (including the update to 1.8). I refer interested parties to: http://lists.mplayerhq.hu/pipermail /mplayer-dev-eng/2009-April/061356.html I changed the following line in the mplayer-devel Portfile: --extra-cflags="-I${prefix}/include/lzo -I${prefix}/include" \ to: --extra-cflags="-O4 -fomit-frame-pointer -I${prefix}/include/lzo -I${prefix}/include" \ and the build worked. I am running 10.5.8 on a Core 2 Quad Intel. I have tested mplayer/mencoder and find no problems. I know this is sort of mickey-mouse, but hopefully the mplayer guys will fix their configuration script soon and we will all be running happily again. Aloha => Beau; Sorry to all for the lack of formatting and no diff, but I was so happy I got mplayer back I just had to share!!! -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer-devel --------------------------------------+------------------------------------- Comment(by dossy@…): This is a dupe of #20873. -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer-devel --------------------------------------+------------------------------------- Comment(by acho@…): I know mplayer's build process does not like the -arch flag. Can you try to build on 10.5 with the following change to the portfile? After configure.ldflags {} add the following two lines. configure.cc_archflags {} configure.cxx_archflags {} -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails --------------------------------------+------------------------------------- Reporter: macports.users@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: mplayer-devel --------------------------------------+------------------------------------- Comment(by lists@…): I was having the same problem as the OP. I tried acho's suggested changes to the Portfile and the build succeeded. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20921: build mplayer-devel fails ---------------------------------------+------------------------------------ Reporter: macports.users@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: duplicate | Keywords: Port: mplayer-devel | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <http://trac.macports.org/ticket/20921#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts