The current ebuild hardcodes the path of `/usr`. This patch prefixes ${EPREFIX} to that.
Created attachment 563078 [details, diff] Patch
For now, though, can you merge the patch? It's blocking a lot of things that use Docbook.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=394c6f7dd050f36515200846bd597284a7a3f0cd commit 394c6f7dd050f36515200846bd597284a7a3f0cd Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2019-02-24 09:37:22 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2019-02-24 10:52:59 +0000 app-text/docbook-xsl-stylesheets: Fix prefix support Thanks-to: James R Larrowe Closes: https://bugs.gentoo.org/676646 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../docbook-xsl-stylesheets-1.79.1-r2.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-)
This broke the builds for me with double prefix error. Removing $EPREFIX from DOCBOOKDIR fixes this. -DOCBOOKDIR="${EPREFIX}/usr/share/sgml/${PN/-//}" +DOCBOOKDIR="/usr/share/sgml/${PN/-//}" Apparently doins already handles EPREFIX. Relevant excerpt from build log: * Skipping make test/check due to ebuild restriction. * Final size of build directory: 27388 KiB (26.7 MiB) * Final size of installed tree: 25524 KiB (24.9 MiB) * ERROR: app-text/docbook-xsl-stylesheets-1.79.1-r2::gentoo failed: * Aborting due to QA concerns: double prefix files installed <list of all files in $DOCBOOKDIR> * Call stack: * misc-functions.sh, line 586: Called install_qa_check * misc-functions.sh, line 132: Called source 'install_symlink_html_docs' * 05prefix, line 114: Called install_qa_check_prefix * 05prefix, line 19: Called die * The specific snippet of code: * die "Aborting due to QA concerns: double prefix files installed" *
Yeah. My original patch fixed this, but the modified one pushed to the Gentoo tree doesn't.
I realized the mistake I made.. Sorry. I'll post another patch as soon as I can.
Created attachment 566874 [details, diff] proposed patch This still isn't fixed, reopening...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed4c125236c13c1af4725a26a5ba590c4ddb77c commit 5ed4c125236c13c1af4725a26a5ba590c4ddb77c Author: Michael Haubenwallner <haubi@gentoo.org> AuthorDate: 2019-03-01 10:18:53 +0000 Commit: Michael Haubenwallner <haubi@gentoo.org> CommitDate: 2019-03-01 11:21:26 +0000 app-text/docbook-xsl-stylesheets: really fix prefix support Closes: https://bugs.gentoo.org/676646 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> .../docbook-xsl-stylesheets-1.79.1-r2.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)