#64203 closed defect (fixed)
po4a: build failure on macOS 12
Reported by: | i0ntempest | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | mascguy (Christopher Nielsen), dbevans (David B. Evans) | |
Port: | po4a |
Description
:info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_po4a/po4a/work/po4a-0.64" && /opt/local/bin/perl5.30 Build build :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_po4a/po4a/work/po4a-0.64" && /opt/local/bin/perl5.30 Build build :info:build Created META.yml and META.json :info:build Unknown format type: pod. :info:build po4a::chooser: Module loading error: Can't locate Pod/Parser.pm in @INC (you may need to install the Pod::Parser module) (@INC contains: lib /opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.34 /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.34 /opt/local/lib/perl5/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/5.34) at lib/Locale/Po4a/Pod.pm line 14. :info:build BEGIN failed--compilation aborted at lib/Locale/Po4a/Pod.pm line 14. :info:build Compilation failed in require at (eval 38) line 1. :info:build BEGIN failed--compilation aborted at (eval 38) line 1. :info:build List of valid formats: :info:build - asciidoc: AsciiDoc format. :info:build - dia: uncompressed Dia diagrams. :info:build - docbook: DocBook XML. :info:build - guide: Gentoo Linux's XML documentation format. :info:build - ini: INI format. :info:build - kernelhelp: Help messages of each kernel compilation option. :info:build - latex: LaTeX format. :info:build - man: Good old manual page format. :info:build - pod: Perl Online Documentation format. :info:build - rubydoc: Ruby Documentation (RD) format. :info:build - sgml: either DebianDoc or DocBook DTD. :info:build - texinfo: The info page format. :info:build - tex: generic TeX documents (see also latex). :info:build - text: simple text document. :info:build - wml: WML documents. :info:build - xhtml: XHTML documents. :info:build - xml: generic XML documents (see also docbook). :info:build - yaml: YAML documents. :info:build Died at Po4aBuilder.pm line 162. :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_po4a/po4a/work/po4a-0.64" && /opt/local/bin/perl5.30 Build build :info:build Exit code: 1
Attachments (1)
Change History (11)
Changed 3 years ago by i0ntempest
comment:1 Changed 3 years ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Zhenfu, I looked at your fix, and I have some concerns.
In particular, if the port doesn't build properly with perl 5.32 or 5.34 active, then it should be fixed to ensure it does.
Otherwise, this is going to cause headaches for numerous users, as it's common to have a variety of Perl 5 versions installed and active at the same time.
I've also built po4a
numerous times with 5 32 and 5.34 active, without an issue.
Did you look at why the port is finding 5.32 and 5.34 components?
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)
Also bear in mind that the license prevents use of buildbot binaries for po4a
, so users are going to be bitten by this on every update.
comment:6 Changed 3 years ago by i0ntempest
Okay you can revert my change for now, I’ll investigate more on this later.
comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Status: | reopened → assigned |
comment:8 Changed 3 years ago by Christopher Nielsen <mascguy@…>
comment:9 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dbevans added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:10 Changed 3 years ago by i0ntempest
Okay this is actually caused by perl5 +perl5_34
being active on my system which contains the symlink perl
->perl5.34
, not the perl5.34
port itself. I'm guessing it's the po4a
configure script using perl
executable if present, we should set it to use perl5.30
or whatever is used in the port.
Fixed in [4d26619fceac0fddaf49ce9c0910fe2705600ba9/macports-ports]