Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926601 - dev-libs/opensc-0.25.0-r1 fails to compile: make: [Makefile:728: tools.html] Error 5
Summary: dev-libs/opensc-0.25.0-r1 fails to compile: make: [Makefile:728: tools.html] ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
Depends on:
Reported: 2024-03-09 14:40 UTC by Agostino Sarubbo
Modified: 2024-04-22 15:16 UTC (History)
2 users (show)

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

build.log (build.log,269.25 KB, text/plain)
2024-03-09 14:40 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-09 14:40:13 UTC

Issue: dev-libs/opensc-0.25.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-09 14:40:15 UTC
Created attachment 887181 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-09 14:41:24 UTC
The failing error is:

xsltproc --nonet --path "./..:/usr/share/sgml/docbook/xsl-stylesheets/html" --xinclude -o tools.html html.xsl tools.xml 2>/dev/null

But because of 2>/dev/null there is no visible error.
Comment 3 Aurelien Minet 2024-03-11 14:02:10 UTC
Removing stderr redirection to /dev/null shows:

xsltproc --nonet --path "./..:/usr/share/sgml/docbook/xsl-stylesheets/html" --xinclude -o tools.html html.xsl tools.xml 
warning: failed to load external entity "../docbook-utf8.xsl"
compilation error: file ./../html.xsl line 6 element import
xsl:import : unable to load ../docbook-utf8.xsl
make: *** [Makefile:728: tools.html] Error 5

Issue upstream:

so adding to doc direcotory
and changing doc/ as this commit :
make the build works
Comment 4 Agostino Sarubbo gentoo-dev 2024-03-15 07:39:38 UTC
ci has reproduced this issue with version 0.25.0-r1 - Updating summary.
Comment 5 Wolfram Schlich 2024-04-06 20:30:53 UTC
opensc 0.25.1 has been released yesterday and I can confirm it fixes this issue.
Comment 6 Larry the Git Cow gentoo-dev 2024-04-22 15:11:18 UTC
The bug has been referenced in the following commit(s):

commit 223f0da87a6952cfac4be78534653bdb8c8bee9d
Author:     David Seifert <>
AuthorDate: 2024-04-22 15:11:05 +0000
Commit:     David Seifert <>
CommitDate: 2024-04-22 15:11:05 +0000

    dev-libs/opensc: add 0.25.1
    Signed-off-by: David Seifert <>

 dev-libs/opensc/Manifest             |  1 +
 dev-libs/opensc/opensc-0.25.1.ebuild | 87 ++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
Comment 7 Agostino Sarubbo gentoo-dev 2024-04-22 15:16:21 UTC
works for me