[MacPorts] #25907: libvpx 0.9.1 fails to build on Leopard
#25907: libvpx 0.9.1 fails to build on Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: libvpx --------------------------------+------------------------------------------- This is a /different/ failure than that of #25815. Apparently gcc-4.0 doesn't like -maltivec, but the configure script for the codecs puts it in the flags, resulting in "can't invoke compiler". I've reproduced the failure from the command line and verified that removing -maltivec from the command line allows gcc to execute. I haven't tried to modify configure. Attaching main.log and config.err. -- Ticket URL: <http://trac.macports.org/ticket/25907> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: libvpx --------------------------------+------------------------------------------- Comment(by jeremyhu@…): On ppc without universal, it's enabling a bunch of i386 stuff including throwing -arch i386 into CFLAGS ... It's also trying to use the Leopard SDK rather than / {{{ Configuring selected codecs enabling vp8_encoder enabling vp8_decoder enabling x86 enabling runtime_cpu_detect enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3 enabling postproc Unable to invoke compiler: /usr/bin/gcc-4.0 -pipe -O0 -ggdb3 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -O3 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer- arith -Wcast-qual -Wno-unused -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -m32 -arch i386 -O3 -Wall -Wdeclaration-after- statement -Wdisabled-optimization -Wpointer-arith -Wcast-qual -Wno-unused Configuration failed. This could reflect a misconfiguration of your toolchains, improper options selected, or another problem. If you don't see any useful error messages above, the next step is to look at the configure error log file (config.err) to determine what configure was trying to do when it died. shell command " cd "/opt/local/var/macports/build /_Users_jeremy_src_macports- trunk_dports_multimedia_libvpx/work/libvpx-0.9.1" && ./configure --prefix=/opt/local --enable-vp8 --enable-psnr --enable-postproc --enable- multithread --enable-runtime-cpu-detect --disable-install-docs " returned error 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: libvpx --------------------------------+------------------------------------------- Changes (by jeremyhu@…): * owner: macports-tickets@… => raimue@… -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: libvpx --------------------------------+------------------------------------------- Comment(by paulbeard@…): I got libvpx to configure, build and install on my ancient system [Darwin gee5.paulbeard.org 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh] But not w/in the port infrastructure. See the typescript attached. -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: libvpx | ---------------------------------+------------------------------------------ Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: I have the same issue on 10.5 i386. The generic problem is that, by default, libvpx's 'configure' scripts will install as 'universal' no matter if in the Portfile +universal or "universal_variant no" is set. The particular manifestation is setting both -arch i386 and -arch ppc, as well as some conflicting flags which make GCC error out. The solution is to specify the exact "--target=FOO" to compile for, solely as a single architecture (no universal). I just checked in changes in r70235 that should fix this issue. Please "sync", "clean", and try again & report back. I'm closing this ticket, but please reopen if these changes don't work for you for this specific ticket's issue. -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: libvpx | ---------------------------------+------------------------------------------ Comment(by paulbeard@…): Seems to be fixed: fast work. -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: libvpx | ---------------------------------+------------------------------------------ Comment(by stephen@…): Replying to [comment:4 michaelld@…]:
Please "sync", "clean", and try again & report back.
I got a clean build and install, as you predicted. Dependencies are also upgrading properly. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25907: libvpx 0.9.1 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: libvpx | ---------------------------------+------------------------------------------ Comment(by michaelld@…): I'm glad to hear that it's working for for y'all (and, me too)! The upstream on this port has some work to do ... -- Ticket URL: <http://trac.macports.org/ticket/25907#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts