Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#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)

main.log (14.1 KB) - added by i0ntempest 2 years ago.

Download all attachments as: .zip

Change History (11)

Changed 2 years ago by i0ntempest

Attachment: main.log added

comment:1 Changed 2 years ago by i0ntempest

Resolution: fixed
Status: newclosed
Last edited 2 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 2 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 2 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: closedreopened

comment:5 Changed 2 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 2 years ago by i0ntempest

Okay you can revert my change for now, I’ll investigate more on this later.

comment:7 Changed 2 years ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: reopenedassigned

comment:8 Changed 2 years ago by Christopher Nielsen <mascguy@…>

In 8986b5368dfc04893fef47ba3f616db10efc182e/macports-ports (master):

po4a: remove conflicts_build for perl 5.32/5.34
See: #64203

comment:9 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added
Resolution: fixed
Status: assignedclosed

comment:10 Changed 2 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.

Last edited 2 years ago by i0ntempest (previous) (diff)
Note: See TracTickets for help on using tickets.