Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410615 - sys-apps/systemd-43 fails to build; missing DEPEND on app-text/docbook-xsl-stylesheets
Summary: sys-apps/systemd-43 fails to build; missing DEPEND on app-text/docbook-xsl-st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
: 405703 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-02 23:03 UTC by Jonathan Callen (RETIRED)
Modified: 2012-04-04 04:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
portage log (sys-apps:systemd-43:20120402-221148.log,24.08 KB, text/plain)
2012-04-02 23:03 UTC, Jonathan Callen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2012-04-02 23:03:55 UTC
Created attachment 307569 [details]
portage log

Systemd fails to build on my (test) system with the following error:

  GEN    man/systemd.html
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"
compilation error: file ./man/custom-html.xsl line 24 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
make[2]: *** [man/systemd.html] Error 5
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-apps/systemd-43/work/systemd-43'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/systemd-43/work/systemd-43'
make: *** [all] Error 2
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2012-04-02 23:26:50 UTC
The compilation succeeds when app-text/docbook-xsl-stylesheets, so this is needed in DEPEND.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-03 03:56:48 UTC
Hmm, are you sure this is the most correct DEPEND to add? I still haven't fixed this because there were at least three versions what is necessary. But adding docbook-xml-stylesheets seems fine to me.
Comment 3 Canek Peláez Valdés 2012-04-03 18:09:44 UTC
(In reply to comment #2)
> Hmm, are you sure this is the most correct DEPEND to add? I still haven't
> fixed this because there were at least three versions what is necessary. But
> adding docbook-xml-stylesheets seems fine to me.

Works for me with only docbook-xml-stylesheets installed. Could it be that docbook-xml-stylesheets only gets pulled if a "doc" USE flag is used?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-03 18:16:45 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Hmm, are you sure this is the most correct DEPEND to add? I still haven't
> > fixed this because there were at least three versions what is necessary. But
> > adding docbook-xml-stylesheets seems fine to me.
> 
> Works for me with only docbook-xml-stylesheets installed. Could it be that
> docbook-xml-stylesheets only gets pulled if a "doc" USE flag is used?

Looking at the Makefile, you still need xsltproc, and that's libxslt.
Comment 5 Jonathan Callen (RETIRED) gentoo-dev 2012-04-03 23:01:18 UTC
libxslt is probably needed in addition to docbook-xsl-stylesheets -- I didn't notice because I already had libxslt installed when building.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-04 04:09:17 UTC
/var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r3.ebuild,v  <--  systemd-29-r3.ebuild
new revision: 1.4; previous revision: 1.3
/var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r6.ebuild,v  <--  systemd-29-r6.ebuild
new revision: 1.2; previous revision: 1.1
/var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-43.ebuild,v  <--  systemd-43.ebuild
new revision: 1.3; previous revision: 1.2
/var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-39.ebuild,v  <--  systemd-39.ebuild
new revision: 1.2; previous revision: 1.1
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-04 04:09:36 UTC
*** Bug 405703 has been marked as a duplicate of this bug. ***