[MacPorts] #20808: mplayer-devel fails to build on 10.6
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- see attached file -- Ticket URL: <http://trac.macports.org/ticket/20808> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => acho@… * milestone: MacPorts 1.8.0 => -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by jonthn+macports@…): Try by adding this : {{{ configure.args-append --cc="gcc-4.2 -arch i386" }}} -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by jonthn+macports@…): Ok forget about the previous comment that solved the problem in my 'own' mplayer-devel build but can't get it building with a fresh macports tree. Sorry -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by jonthn+macports@…): Ok seems strange but some CFLAGS are given to the configure script. {{{ ---> Configuring mplayer-devel DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: Executing org.macports.configure (mplayer-devel) DEBUG: Environment: CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' CPATH='/Volumes/medium/jonthn/pristinetree/include' LIBRARY_PATH='/Volumes/medium/jonthn/pristinetree/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' }}} And those '''-arch x86_64''' can be found in config.mak {{{ grep x86_64 work/trunk/config.mak CFLAGS = -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration- after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/Volumes/medium/jonthn/pristinetree/include/lzo -I/Volumes/medium/jonthn/pristinetree/include -I/usr/X11/include OPTFLAGS = -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/Volumes/medium/jonthn/pristinetree/include/lzo -I/Volumes/medium/jonthn/pristinetree/include -I/usr/X11/include CXXFLAGS = -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_LIMIT_MACROS -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/Volumes/medium/jonthn/pristinetree/include/lzo -I/Volumes/medium/jonthn/pristinetree/include -I/usr/X11/include }}} -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by acho@…): I'm not able to work on this until I get a copy of 10.6, which will be sometime this week. I expect binary codecs is not going to run well if at all but I'm not sure what's causing the push/pop asm business. I see it in a lot of ports now. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by jmr@…): Replying to [comment:6 jonthn+macports@…]:
Ok seems strange but some CFLAGS are given to the configure script. That's configure.{cc,cxx,objc}_archflags, which have defaults based on build_arch.
-- Ticket URL: <http://trac.macports.org/ticket/20808#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Changes (by acho@…): * status: new => assigned Comment: The above patch should allow compilation on 10.6 in x86_64 and i386 mode. I'm pretty sure that the binary_codecs variant will fail to run in 64 bit mode and needs to be made 32 bit only. I need someone with 32 bit 10.6 to test as well as some 10.5 testers. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by macsforever2000@…): Replying to [comment:14 acho@…]:
The above patch should allow compilation on 10.6 in x86_64 and i386 mode. I'm pretty sure that the binary_codecs variant will fail to run in 64 bit mode and needs to be made 32 bit only. I need someone with 32 bit 10.6 to test as well as some 10.5 testers.
It builds fine on Leopard with default variants. I played an mp3 with it and it worked. HTH. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by macsforever2000@…): BTW, I think this port has too many variants. I think all the codecs should simply be built-in by default. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by gordon.child@…): Replying to [comment:15 macsforever2000@…]:
Replying to [comment:14 acho@…]:
The above patch should allow compilation on 10.6 in x86_64 and i386 mode. I'm pretty sure that the binary_codecs variant will fail to run in 64 bit mode and needs to be made 32 bit only. I need someone with 32 bit 10.6 to test as well as some 10.5 testers.
It builds fine on Leopard with default variants. I played an mp3 with it and it worked. HTH.
Patch worked for me too. Running 10.6 x86_64. mplayer says it's compiled as i386 but the activity monitor in macosx reports it as running 64bit. Runs video perfectly. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by ecronin@…): Replying to [comment:16 macsforever2000@…]:
BTW, I think this port has too many variants. I think all the codecs should simply be built-in by default.
(past-maintainer hat on) the codecs are for encoding only which isn't always clear, and aren't needed by people who only want to watch movies. Short of splitting out a separate mencoder port a +extra_encoders variant is as far as I'd suggest, especially where x264 and xvid update so frequently... Also, I've never really seen to point of libcaca and libaa, if other variants are looking to be removed -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by macsforever2000@…): One variant for all of the extra encoders makes sense to me then. I suppose I should file a new ticket about this. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by mroman@…): I have succeed building mplayer-devel using above patch on 10.6 i386. The problems that emerged are:[[BR]] - -O2 flag needs too be passed. [[BR]] - also added omit frame pointer flag (perhaps isn't necessary)[[BR]] - pax has problems with extracting binary codecs -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by ecronin@…): Replying to [comment:20 mroman@…]:
I have succeed building mplayer-devel using above patch on 10.6 i386. The problems that emerged are:[[BR]] - -O2 flag needs too be passed. [[BR]]
- also added omit frame pointer flag (perhaps isn't necessary)[[BR]]
- pax has problems with extracting binary codecs
-O2 is needed to compile or needed because you want -O2 optimizations? binary codecs should probably just be removed or commented out at this point, it hasn't worked since ppc and 10.4 as far as I know... This is working fine on my on x86_64, it would be great if we could commit something to close all the open "mplayer won't build on 10.6" tickets and prevent the 3-4 new ones per week. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by mroman@…): Replying to [comment:21 ecronin@…]:
Replying to [comment:20 mroman@…]: -O2 is needed to compile or needed because you want -O2 optimizations? [[BR]] Without -O2 I get errors with function fft_asmb_3dnow:
{{{ /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -fomit-frame-pointer -fomit- frame-pointer -march=prescott -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 -fomit- frame-pointer -I/usr/X11/include -c -o liba52/bit_allocate.o liba52/bit_allocate.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -fomit-frame-pointer -fomit- frame-pointer -march=prescott -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 -fomit- frame-pointer -I/usr/X11/include -c -o liba52/bitstream.o liba52/bitstream.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -fomit-frame-pointer -fomit- frame-pointer -march=prescott -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 -fomit- frame-pointer -I/usr/X11/include -c -o liba52/downmix.o liba52/downmix.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -fomit-frame-pointer -fomit- frame-pointer -march=prescott -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 -fomit- frame-pointer -I/usr/X11/include -c -o liba52/imdct.o liba52/imdct.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -fomit-frame-pointer -fomit- frame-pointer -march=prescott -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 -fomit- frame-pointer -I/usr/X11/include -c -o liba52/parse.o liba52/parse.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' liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -fomit-frame-pointer -fomit- frame-pointer -march=prescott -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 -fomit- frame-pointer -I/usr/X11/include -c -o av_opts.o av_opts.c make: *** [liba52/imdct.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ./libavutil/avutil.h:61, from libavcodec/avcodec.h:30, from libavcodec/opt.h:31, from av_opts.c:24: ./libavutil/pixfmt.h:129:5: warning: "HAVE_BIGENDIAN" is not defined av_opts.c: In function 'parse_avopts': av_opts.c:39: warning: 'av_set_string' is deprecated (declared at libavcodec/opt.h:107) }}} google (not exactly with the same file):: [[BR]] http://lists.mplayerhq.hu/pipermail/mplayer-users/2004-April/044133.html [[BR]] http://lists.mplayerhq.hu/pipermail/mplayer-users/2004-April/044134.html [[BR]] The following error emerges without using the omit frame pointer flag (and again google says to use it): {{{ /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o 4xm.o 4xm.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o fraps.o fraps.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o huffman.o huffman.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o gifdec.o gifdec.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o lzw.o lzw.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o gif.o gif.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o h261dec.o h261dec.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o h261.o h261.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o h261enc.o h261enc.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o h263_parser.o h263_parser.c /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled- optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -O2 -march=prescott -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 -O2 -I/usr/X11/include -c -o h264.o h264.c h264.c: In function 'pred_direct_motion': h264.c:1048: warning: assignment from incompatible pointer type h264.c:1049: warning: assignment from incompatible pointer type h264.c: In function 'filter_mb_dir': h264.c:6351: warning: initialization from incompatible pointer type h264.c:6352: warning: initialization from incompatible pointer type cabac.h: In function 'get_cabac_noinline': cabac.h:527: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' cabac.h:527: error: 'asm' operand has impossible constraints make[1]: *** [h264.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [libavcodec/libavcodec.a] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by ecronin@…): Replying to [comment:23 mroman@…]:
Replying to [comment:21 ecronin@…]:
Replying to [comment:20 mroman@…]: -O2 is needed to compile or needed because you want -O2 optimizations? [[BR]] Without -O2 I get errors with function fft_asmb_3dnow:
Actually, could you run port fetch normally, and then upload the output for 'port -vd config'? It looks like the mplayer config specs should set -O2 at least... Are you building +debug by any chance? -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:27> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: snowleopard | Port: mplayer-devel -----------------------------+---------------------------------------------- Comment(by ecronin@…): Replying to [comment:27 ecronin@…]:
Replying to [comment:23 mroman@…]:
Replying to [comment:21 ecronin@…]:
Replying to [comment:20 mroman@…]: -O2 is needed to compile or needed because you want -O2 optimizations? [[BR]] Without -O2 I get errors with function fft_asmb_3dnow:
Actually, could you run port fetch normally, and then upload the output for 'port -vd config'? It looks like the mplayer config specs should set -O2 at least... Are you building +debug by any chance?
work/trunk/config.mak would also be helpull to upload. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 ------------------------------+--------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: fixed | Keywords: snowleopard Port: mplayer-devel | ------------------------------+--------------------------------------------- Changes (by ecronin@…): * status: assigned => closed * resolution: => fixed Comment: I just committed acho's version of the patch that's attached to this ticket as @59988. If you are still having problems after updating your ports (port selfupdate) please open a new ticket with the output of 'port -d build' as an attachment. -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:31> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 ------------------------------+--------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: fixed | Keywords: snowleopard Port: mplayer-devel | ------------------------------+--------------------------------------------- Changes (by jmr@…): * cc: ecronin@… (added) Comment: Is there a good reason why you're only respecting build_arch on 10.6? -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:32> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 ------------------------------+--------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: fixed | Keywords: snowleopard Port: mplayer-devel | ------------------------------+--------------------------------------------- Comment(by ecronin@…): fair point. Does moving it to pre-configure for all platforms/versions seem better: {{{ Index: Portfile =================================================================== --- Portfile (revision 59993) +++ Portfile (working copy) @@ -82,6 +82,14 @@ patchfiles configure.x11.patch +pre-configure { + if { ${configure.build_arch} == "x86_64" } { + configure.args-append --target=x86_64-Darwin + } elseif { ${configure.build_arch} == "i386" } { + configure.args-append --target=i386-Darwin + } +} + post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} eval file copy [glob ${worksrcpath}/DOCS/*] \ @@ -270,11 +278,6 @@ } platform darwin 10 { - if { ${configure.build_arch} == "x86_64" } { - configure.args-append --target=x86_64-Darwin - } elseif { ${configure.build_arch} == "i386" } { - configure.args-append --target=i386-Darwin - } configure.args-append --disable-qtx configure.args-delete --enable-qtx } }}} -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:33> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 ------------------------------+--------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: fixed | Keywords: snowleopard Port: mplayer-devel | ------------------------------+--------------------------------------------- Comment(by ecronin@…): actually, it looks like qtx is a 64-bit problem not a snow leopard problem, so moved all of the block to pre-configure and checked it in... -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:34> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20808: mplayer-devel fails to build on 10.6 ------------------------------+--------------------------------------------- Reporter: andrea@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Resolution: fixed | Keywords: snowleopard Port: mplayer-devel | ------------------------------+--------------------------------------------- Comment(by santusmarc@…): I am seeing "MPlayer UNKNOWN-4.2.1 (C) 2000-2009 MPlayer Team" When starting mplayer http://img.skitch.com/20091101-b86uyei8sgc5abfy22h6w8dj87.png -- Ticket URL: <http://trac.macports.org/ticket/20808#comment:35> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts