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
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.
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.
(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).
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?
*** This bug has been marked as a duplicate of bug 410615 ***