[Bug 209870] xsltproc spoils many packages
Diane Bruce
db at db.net
Mon May 30 21:25:42 UTC 2016
On Mon, May 30, 2016 at 08:41:42PM +0000, bugzilla-noreply at freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209870
>
> Bug ID: 209870
> Summary: xsltproc spoils many packages
> Product: Ports & Packages
> Version: Latest
> Hardware: Any
> OS: Any
> Status: New
> Severity: Affects Many People
> Priority: ---
> Component: Individual Port(s)
> Assignee: freebsd-ports-bugs at FreeBSD.org
> Reporter: software at bertram-scharpf.de
>
> Created attachment 170840
> --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170840&action=edit
> Patches for some packages removing the --nonet option
>
> Some packages build their manpages by calling the xsltproc tool using the
> --nonet option. This option leads to a fatal error because the entity cannot be
> loaded. Here's the message:
>
> I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
> cannot parse
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>
> I wrote some patches that remove the --nonet option (attachment) but this is
> only a workaround. What is the real solution?
I know I fixed this. Basically it needs another port to pre-load
the entities otherwise when they are found missing the xslt tries
to load them at that time. It causes the problem that it works fine
everywhere except inside a no net poudriere.
I think it might have been the same one mentioned here:
https://lists.freebsd.org/pipermail/freebsd-ports/2015-March/098240.html
and
https://lists.freebsd.org/pipermail/freebsd-ports/2016-May/103356.html
You need a LIB_DEPENDS on libxslt.so:textproc/libxslt
We need this documented in the porters handbook.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> _______________________________________________
> freebsd-ports-bugs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
>
Diane
--
- db at FreeBSD.org db at db.net http://www.db.net/~db
More information about the freebsd-ports-bugs
mailing list