Opened 10 years ago

Closed 10 years ago

#46054 closed defect (fixed)

p5-sgmlspm @1.03ii.0 prebuilt binary (slightly) broken

Reported by: lockhart (Thomas Lockhart) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: maintainer Cc: mojca (Mojca Miklavec)
Port: p5-sgmlspm

Description

A from-source build of p5.16-sgmlspm contains both /opt/local/lib/perl5/SGMLS/Output.pm and /opt/local/lib/perl5/vendor_perl/5.16.3/SGMLS/Output.pm. However, the prebuilt binary is missing the version-specific Output.pm in the second path and the first path is not in the perl @INC used by docbook-utils. Not sure why the pre-built port is missing that library, but it keeps docbook-utils from building. docbook-utils requires SGMLS/Output.pm and it is not found. #43750 will have trouble closing without a fix here. Will look at dropping some parameters currently set in this Portfile, but not sure it will be effective. Please advise.

Change History (7)

comment:1 Changed 10 years ago by lockhart (Thomas Lockhart)

Patches in #46057 build correctly and install all required files. It is not clear to me if that addresses this issue for pre-built binaries.

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

Patches in #46057 don't do anything that could possibly affect this.

comment:3 in reply to:  2 Changed 10 years ago by lockhart (Thomas Lockhart)

Replying to ryandesign@…:

Patches in #46057 don't do anything that could possibly affect this.

Agreed. So where did that extra file go in the pre-built binary? Works every time for me with a from-source install.

comment:4 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:5 Changed 10 years ago by mojca (Mojca Miklavec)

See also #44418, #46057 and r130876.

comment:6 Changed 10 years ago by dbevans (David B. Evans)

This is also fixed by r130876. Files are now installed in /opt/local/lib/perl5/vendor_perl/5.16.3 (only) as they should be. This was due to not correctly specifying directory user options in Makefile. See https://trac.macports.org/ticket/46057#comment:8 for a more complete discussion of the issues involved.

comment:7 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.