[MacPorts] #54220: texinfo @6.3.0 +universal build fails due to perl5.24 library search path

MacPorts noreply at macports.org
Wed May 24 11:02:19 UTC 2017


#54220: texinfo @6.3.0 +universal build fails due to perl5.24 library search path
--------------------------------+-----------------
  Reporter:  kencu              |      Owner:
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  texinfo, perl5.24  |
--------------------------------+-----------------

Comment (by mojca):

 OK, sorry, I mixed things up.

 This fat binary:
 {{{
 $ file /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle
 /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle: Mach-O universal binary with 4
 architectures
 /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle (for architecture i386): Mach-O bundle
 i386
 /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle (for architecture ppc7400):      Mach-O
 bundle ppc
 /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle (for architecture ppc64):        Mach-O
 64-bit bundle ppc64
 }}}
 belongs to `perl5.24`:
 {{{
 $ port provides /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle
 /opt/local/lib/perl5/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle is provided by: perl5.24
 }}}

 While this binary:
 {{{
 $ file /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle
 /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle: Mach-O bundle ppc
 }}}
 belongs to `p5.24-encode`:
 {{{
 $ port provides /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle
 /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-
 2level/auto/Encode/Encode.bundle is provided by: p5.24-encode
 }}}

 Apparently your `p5.24-encode` was not installed as universal.

 I don't believe that this port should be listed as dependency since it
 should be sufficient to use the one that's built-in, but one of the other
 packages must have asked for it and it did not install as universal then.
 In fact I'm not even sure why we have it in the first place. Maybe it was
 needed to support older versions of perl, but that's moot now.

 I'm still confused why perl would not find the encode module. Did you in
 fact run perl in i386 mode?

 So as a summary:
 * Perhaps we should just delete the `p5-encode` module?
 * I still think that texinfo should not be installed as universal even if
 some universal port needs it as dependency and that should be fixed in
 that port.

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


More information about the macports-tickets mailing list