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] ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-09 14:40:15 UTC
Created attachment 887181 [details]
build.log

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:  https://github.com/OpenSC/OpenSC/issues/3062

so adding https://raw.githubusercontent.com/OpenSC/OpenSC/d2cbd63a25c73882ee0fbcc9d2d3d72140d2aa57/doc/docbook-utf8.xsl to doc direcotory
and changing doc/Makefile.am as this commit :
https://github.com/Jakuje/OpenSC/commit/e8cdb1d5b81d3f0ee2d645ccae6d413751dda008
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223f0da87a6952cfac4be78534653bdb8c8bee9d

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

    dev-libs/opensc: add 0.25.1
    
    Bug: https://bugs.gentoo.org/926601
    Signed-off-by: David Seifert <soap@gentoo.org>

 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