Created attachment 489368 [details] Proposed new ebuild honoring USE=doc sys-boot fails to build if you do not have xsltproc installed, as in: checking for IMAGE... yes checking for UDEV... yes checking for systemd-tty-ask-password-agent... /usr/bin/systemd-tty-ask-password-agent checking for udevadm... /usr/bin/udevadm checking for xsltproc... no configure: error: xsltproc is required to build documentation In our use case we do not want to pull in xsltproc. Moreover, all of plymouth assumes you want all its documentation installed which we do not. So I think it should also honor USE=doc and use that to pass in --enable-documentation or --disable-documentation accordingly. I've uploaded a suggested new 0.9.2-r1.ebuild which addresses these issues. The diff against the existing 0.9.2.ebuild is as follows: 22:52 :( (130) diff plymouth-0.9.2.ebuild plymouth-0.9.2-r1.ebuild 27c27 < IUSE="debug gdm +gtk +libkms +pango static-libs" --- > IUSE="debug doc gdm +gtk +libkms +pango static-libs" 30a31 > doc? ( dev-libs/libxslt ) 67a69 > $(use_enable doc documentation) Please see proposed ebuild.
commit 0bb05cf38855b0e72b6ce7c8a16b1401cb70f097 Date: Fri Aug 18 00:40:26 2017 +0200 sys-boot/plymouth: fix build with newer glibc, bug #604480 Fix missing dependency on xsltproc and XSL stylesheets as required to build man pages, bug #628078. Thanks for reporting. Unfortunately, xsltproc cannot be made optional as man pages are not considered optional in Gentoo. If you do not wish to have xsltproc installed, just purge build dependencies after the install.
That makes sense Gilles. Thanks for fixing the missing dependency issue and explaining the options here for removing xsltproc. Removing build-time dependencies is one of the things on our list to tackle in the coming months. Thanks.