[MacPorts] #64464: uchardet builds for ppc when called for ppc+ppc64, but xorg-apps needs it universal

MacPorts noreply at macports.org
Tue Jan 18 12:38:07 UTC 2022


#64464: uchardet builds for ppc when called for ppc+ppc64, but xorg-apps needs it
universal
--------------------------+------------------------------------------------
  Reporter:               |      Owner:  (none)
  barracuda156            |
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  PowerPC, Leopard, ppc64, X11, xorg
      Port:  uchardet,    |
  xorg-apps               |
--------------------------+------------------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > uchardet should have a universal variant, but based on the above, you
 haven't installed it with that variant. Does the variant show up when you
 run `port variants uchardet`?

 {{{
 36-191:~ svacchanda$ port variants uchardet
 uchardet has the variants:
    debug: Enable debug binaries
 }}}


 >
 > I suspect that perhaps it won't, because this port indicates that it
 requires C++11, which on PPC means it must build with a newer MacPorts
 GCC, and only Apple's GCC ever supported building for multiple
 architectures at the same time. The only way to get universal with
 MacPorts GCC would be to build for each arch separately, in other words
 try adding `PortGroup muniversal 1.0` after the `PortSystem 1.0` line.

 It worked!

 {{{

 36-191:~ svacchanda$ port -v installed uchardet
 The following ports are currently installed:
   uchardet @0.0.7_0+universal (active) requested_variants='+universal'
 platform='darwin 9' archs='ppc ppc64' date='2022-01-18T20:35:58+0800'
 }}}


 > For another, variables you specify on the comand line affect all
 dependencies as well, resulting in the nonsense you observed next:
 > It's also invalid to set `build_arch` to anything other than a single
 architecture.

 Thank you, noted.

-- 
Ticket URL: <https://trac.macports.org/ticket/64464#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list