[MacPorts] #55478: Problem building auto-multiple-choice

MacPorts noreply at macports.org
Wed Dec 20 15:01:55 UTC 2017


#55478: Problem building auto-multiple-choice
-----------------------------------+----------------------
  Reporter:  afalco                |      Owner:  nortcele
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:
Resolution:                        |   Keywords:
      Port:  auto-multiple-choice  |
-----------------------------------+----------------------

Comment (by ryandesign):

 Replying to [comment:3 nortcele]:
 > Perl 5 is in the middle of a migration from 5.24 to 5.26 and some
 modules are installed in the 5.24 hierarchy and other in the 5.26
 hierarchy. Auto-multiple-choice should use perl 5.26. As long as perl 5.24
 is the default MacPorts version, the solution is to install first per 5.26
 as the default perl with:

 That's a workaround, not a solution.

 {{{
 :info:build perl extrait-fichiers.pl --liste auto-multiple-choice.en.ext
 auto-multiple-choice.en.xml
 :info:build Can't locate XML/LibXML.pm in @INC (you may need to install
 the XML::LibXML module) (@INC contains:
 /opt/local/lib/perl5/site_perl/5.24/darwin-thread-multi-2level
 /opt/local/lib/perl5/site_perl/5.24 /opt/local/lib/perl5/vendor_perl/5.24
 /darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.24
 /opt/local/lib/perl5/5.24/darwin-thread-multi-2level
 /opt/local/lib/perl5/5.24 .) at extrait-fichiers.pl line 22.
 }}}

 The solution is to make the auto-multiple-choice build use the specific
 perl binary that the port is specifying with `PERLPATH=${perl5.bin}`. It
 looks like the build system only uses this to adjust the shebang line of
 the installed script, but blindly calls `perl` elsewhere in the build.
 This is a defect in the build system that should be reported to the
 developers of auto-multiple-choice.

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


More information about the macports-tickets mailing list