[MacPorts] #33448: libvpx: universal build fails
#33448: libvpx: universal build fails ---------------------------------------+------------------------------------ Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ---------------------------------------+------------------------------------ (seen with a ppc/i386 build on Leopard, I don't know if other universal builds fail the same way). libvpx/Portfile uses muniversal, but the package uses a custom configure script which doesn't recognize the --host=... argument. Consequently, merger_host should be set to "" for all archs. Portfile should have foreach my_arch ${configure.universal_archs} { set merger_host(${my_arch}) "" set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc } instead of foreach my_arch ${configure.universal_archs} { set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc } -- Ticket URL: <https://trac.macports.org/ticket/33448> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33448: libvpx: universal build fails ---------------------------------------+------------------------------------ Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libvpx ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * port: => libvpx Old description:
(seen with a ppc/i386 build on Leopard, I don't know if other universal builds fail the same way).
libvpx/Portfile uses muniversal, but the package uses a custom configure script which doesn't recognize the --host=... argument. Consequently, merger_host should be set to "" for all archs. Portfile should have foreach my_arch ${configure.universal_archs} { set merger_host(${my_arch}) ""
set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc } instead of foreach my_arch ${configure.universal_archs} { set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc }
New description: (seen with a ppc/i386 build on Leopard, I don't know if other universal builds fail the same way). libvpx/Portfile uses muniversal, but the package uses a custom configure script which doesn't recognize the --host=... argument. Consequently, merger_host should be set to "" for all archs. Portfile should have {{{ foreach my_arch ${configure.universal_archs} { set merger_host(${my_arch}) "" set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc } }}} instead of {{{ foreach my_arch ${configure.universal_archs} { set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc } }}} -- Comment: Remember to use WikiFormatting. The universal variant work fine on Snow Leopard; I would not have committed it if I had not gotten it to work. Could you please attach a main.log of the failure you experience? -- Ticket URL: <https://trac.macports.org/ticket/33448#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33448: libvpx: universal build fails ---------------------------------------+------------------------------------ Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libvpx ---------------------------------------+------------------------------------ Comment(by fmw@…): I think I also saw this problem on Leopard[[BR]] 10.5.8 +universal intel Xcode 3.1.3[[BR]] Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) I edited the Portfile adding the suggested line and libvpx now builds[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/33448#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts