Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405703 - sys-apps/systemd-43 should depend on app-text/docbook2X if man pages are to be built
Summary: sys-apps/systemd-43 should depend on app-text/docbook2X if man pages are to b...
Status: RESOLVED DUPLICATE of bug 410615
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:
Depends on:
Blocks:
 
Reported: 2012-02-25 07:32 UTC by Canek Peláez Valdés
Modified: 2012-04-04 04:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Canek Peláez Valdés 2012-02-25 07:32:50 UTC
sys-apps/systemd-43 fails to compile in a system without libxslt (which contains xsltproc). The ebuild should:

a) depend on dev-libs/libxslt, or
b) provide a USE flag (recommended "doc") for building the man pages

Reproducible: Always

Steps to Reproduce:
1. Install systemd in a system without libxslt
2. Watch the emerge fail
3.
Actual Results:  
The build fails with the following message:

  GEN    src/login/logind-gperf.c
  CC     src/login/user-sessions.o
  CC     src/login/systemd_multi_seat_x-multi-seat-x.o
  CC     src/login/systemd_uaccess-uaccess.o
  CC     src/login/systemd_uaccess-logind-acl.o
  CC     src/systemd_uaccess-acl-util.o
  CC     src/getty-generator.o
  CC     src/unit-name.o
make[2]: *** No rule to make target `man/systemd.html', needed by `all-am'.  Stop.


Expected Results:  
The systemd ebuild should either depend on libxslt, or provide a way to disable the building of man pages.

This happens in a really minimal machine, with the following USE flags:

[ebuild   R   #] sys-apps/systemd-43  USE="acl pam tcpd -audit -cryptsetup -lzma -plymouth (-selinux)" 0 kB
Comment 1 Canek Peláez Valdés 2012-02-25 18:49:23 UTC
I tested now trying to build the man pages; systemd-43 actually needs docbook2X (which by the way pulls also libxslt). Changed the bug title accordingly.
Comment 2 Egor Y. Egorov 2012-04-03 01:28:46 UTC
In my case app-text/docbook2X is not installed and systemd-43 is built fine.
But installed next packages:


$ eix -Ic docbook
[I] app-text/build-docbook-catalog (1.4{tbz2}@22.09.2010): DocBook XML catalog auto-updater
[I] app-text/docbook-xsl-ns-stylesheets (1.76.1{tbz2}@21.12.2011): XSL Stylesheets for Docbook
[I] app-text/docbook-xsl-stylesheets (1.76.1{tbz2}@08.12.2011): XSL Stylesheets for Docbook
[I] app-text/docbook-xml-dtd (4.1.2-r6(4.1.2){tbz2}@09.03.2011 4.2-r2(4.2){tbz2}@22.09.2010 4.3-r1(4.3){tbz2}@25.01.2012 4.4-r2(4.4){tbz2}@17.01.2011 4.5-r1(4.5){tbz2}@20.05.2011): Docbook DTD for XML
Found 4 matches.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-03 03:57:30 UTC
(In reply to comment #1)
> I tested now trying to build the man pages; systemd-43 actually needs
> docbook2X (which by the way pulls also libxslt). Changed the bug title
> accordingly.

I don't have docbook2X and it builds fine. Please try with docbook-xml-stylesheets (bug 410615).
Comment 4 Canek Peláez Valdés 2012-04-03 18:09:46 UTC
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 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-04 04:09:36 UTC

*** This bug has been marked as a duplicate of bug 410615 ***