Bug 28786

Summary: Compilation failure during systemd.html generation
Product: systemd Reporter: morfeo89
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description morfeo89 2010-06-28 01:14:23 UTC
GEN    man/systemd.html
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl
make[1]: *** [man/systemd.html] Error 4


I've tried to compile systemd on Archlinux. And this is the final result. It can't retrieve the docbook.xsl file. I've succeded only patching the docbook.xsl path and building against docbook-xsl installed on my laptop
Comment 1 Lennart Poettering 2010-06-28 06:43:21 UTC
Install the docbook-xsl package if you build from git.

$ rpm -qf /usr/share/sgml/docbook/xsl-stylesheets-1.75.2/manpages/docbook.xsl
docbook-style-xsl-1.75.2-6.fc13.noarch
Comment 2 morfeo89 2010-06-28 07:00:58 UTC
Sorry for my ignorance and my insistence.But I've already installed docbook-xsl package on my distro.
and the path for docbook.xsl is this

/usr/share/xml/docbook/xsl-stylesheets-1.75.2/html/docbook.xsl

But it compile only without MANS variable cause it can't retrieve the file
Comment 3 Lennart Poettering 2010-06-28 07:10:42 UTC
Then your distribution is broken, and the XML catalogs file not properly updated. Please bring that up with your distro folks, this is not an upstream systemd problem.
Comment 4 morfeo89 2010-06-28 07:42:08 UTC
Done as you suggest but it doesn't compile

make[1]: Entering directory `/tmp/yaourt-tmp-morfeo/aur-systemd-git/src/systemd-build'
  VALAC  systemadm_vala.stamp
  GEN    man/systemd.1
  GEN    man/systemctl.1
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/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
make[1]: *** [man/systemctl.1] Error 4
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [man/systemd.1] Error 4
make[1]: Leaving directory `/tmp/yaourt-tmp-morfeo/aur-systemd-git/src/systemd-build'
make: *** [all] Error 2
Comment 5 Lennart Poettering 2010-06-28 07:47:09 UTC
Dude, your catalog files are broken: this must be fixed by your distribution! Please contact the folks who maintain your distribution. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.