[MacPorts] #54220: texinfo @6.3.0 +universal: build fails for non-native architecture when binary perl modules are not installed as universal

MacPorts noreply at macports.org
Wed May 24 16:59:51 UTC 2017


#54220: texinfo @6.3.0 +universal: build fails for non-native architecture when
binary perl modules are not installed as universal
-----------------------------------------+-----------------
  Reporter:  kencu                       |      Owner:
      Type:  defect                      |     Status:  new
  Priority:  Normal                      |  Milestone:
 Component:  ports                       |    Version:
Resolution:                              |   Keywords:
      Port:  texinfo perl5.24 p5-encode  |
-----------------------------------------+-----------------

Comment (by kencu):

 Mojca, I think you've hit directly on the issue. I didn't realize the non-
 universal Encode module came from a separate port.

 Once perl was upgraded +universal with a ppc64 slice, MacOSX will
 preferentially run ppc64 on the DualG5 if it is available, so all perl
 modules need to have the ppc64 architecture available. You can get the
 same error if perl is installed i386/x86_64 but p5.24-encode is installed
 as i386.

 I can fix the error by rebuilding p5-encode +universal, or by deactivating
 p5-encode completely. Thanks for the pointer -- I'll check my other p5.24*
 modules to ensure they are built with the correct architectures as well.

 Your question as to why the p5-encode port exists at all is a good one, as
 it seems perl5.24 has a perfectly good version already.

 You are correct that there should be no arch check for texinfo -- I can't
 figure out which port is actually asking for it, though, to add that into
 the Portfile. It's not gnutls asking for it.

 Your title change to the 'non-native architecture' is not quite correct.
 This can happen on any machine, if there is the correct perl /
 p5.24-encode architecture mismatch.

 Background: This is all on a DualG5 PPC machine. Ultimately I'm trying to
 build some software as ppc64 on the DualG5 that won't build as ppc. I'm
 building super-fat binaries with all architectures so I can move them over
 to a Leopard i386/x86_64 machine if needed.

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


More information about the macports-tickets mailing list