[MacPorts] #33448: libvpx: universal build fails

MacPorts noreply at macports.org
Fri Mar 2 14:39:03 PST 2012


#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


More information about the macports-tickets mailing list