Opened 8 years ago

Closed 8 years ago

#50164 closed defect (fixed)

wget: build fails on SL buildbot creating man page.

Reported by: dbevans (David B. Evans) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: wget

Description

Build fails as follows:

./texi2pod.pl -D VERSION="1.17.1" ./wget.texi wget.pod
wget.texi:6: warning: unrecognized encoding name `UTF-8'.
/usr/bin/pod2man --center="GNU Wget" --release="GNU Wget 1.17.1" --utf8 wget.pod > wget.1
Unknown option: utf8
make[2]: *** [wget.1] Error 1

See https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/39341/steps/compile/logs/stdio/text

Change History (4)

comment:1 Changed 8 years ago by dbevans (David B. Evans)

This continues to be a problem. If I understand the failure correctly, the perl dependency used in this port

bin:pod2man:perl5

allows /usr/bin/pod2man but, on 10.6, the version provided is too old and doesn't accept the --utf8 option required here. Using a dependency style that requires a specific MacPorts perl version throughout this port would probably correct this issue.

This failure causes gucharmap to fail as well on this platform.

comment:2 Changed 8 years ago by dbevans (David B. Evans)

Note also that MacPorts perl ports install a versioned pod2man

${prefix}/bin/pod2man-${perl5.major}

so some further configuration is required to get the port to use it.

comment:3 Changed 8 years ago by dbevans (David B. Evans)

Tentative fix committed in r148589.

comment:4 Changed 8 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Builds successfully on the 10.6 buildbot with this fix. Not tested on earlier OS versions but hopefully fixes problems with them as well.

Note: See TracTickets for help on using tickets.