Opened 7 years ago
Closed 7 years ago
#55478 closed defect (fixed)
Problem building auto-multiple-choice
Reported by: | afalco (Antonio Falco) | Owned by: | nortcele |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | alatour | |
Port: | auto-multiple-choice |
Description (last modified by mf2k (Frank Schima))
---> Building auto-multiple-choice Error: Failed to build auto-multiple-choice: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_auto-multiple-choice/auto-multiple-choice/main.log for details.
Attachments (1)
Change History (8)
Changed 7 years ago by afalco (Antonio Falco)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Owner: | set to nortcele |
---|---|
Port: | auto-multiple-choice added |
Status: | new → assigned |
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers auto-multiple-choice
), if any.
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 follow-up: 5 Changed 7 years ago by 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:
sudo port install perl5 +perl5_26
and then install auto-multiple-choice.
From the log it seems that the default perl is perl5.24.
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to 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.
comment:7 Changed 7 years ago by nortcele
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
main.log