Skip to content

libxml2.16 fails to build without docbook-xsl (circular dependency) #1298

Description

@dhomeier

I'm seeing these errors in the doc build phase

Making all in doc
/usr/bin/xsltproc --nonet --novalid --param man.output.quietly 1 \
	    -o xmllint.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl xmllint.xml
/usr/bin/xsltproc --nonet --novalid --param man.output.quietly 1 \
	    -o xmlcatalog.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl xmlcatalog.xml
I/O I/O error : error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
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
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[2]: *** [xmlcatalog.1] Error 4

– apparently xsltproc is trying to download despite the --nonet option, if it does not find docbook.xsl locally (which would be provided by docbook-xsl). The command actually fails even with the corrected/redirected (https) URL, but of course should not download from the net in the build phase anyway. But docbook-xsl in turn depends on libxml2-bin, so on a bootstrapped installation one is stuck here.


Package manager version: 0.45.99.git
Distribution version: selfupdate-point (bootstrap), 11.3, x86_64 / 26.0, arm64
Trees: local/main stable/main
Xcode.app none / 26.3
Xcode command-line tools: 13.2.0.0.1.1638488800 / 26.3.0.0.1.1769666919
Max. Fink build jobs: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions