Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887197 - dev-libs/xalan-c-1.12-r2 fails tests (hang)
Summary: dev-libs/xalan-c-1.12-r2 fails tests (hang)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-19 12:56 UTC by Agostino Sarubbo
Modified: 2022-12-19 19:27 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,61.46 KB, application/x-xz)
2022-12-19 12:56 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 2022-12-19 12:56:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/xalan-c-1.12-r2 fails tests (hang).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
I had to kill the process.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-19 12:56:22 UTC
Created attachment 843799 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-19 12:56:23 UTC
Error(s) that match a know pattern:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Comment 3 Larry the Git Cow gentoo-dev 2022-12-19 19:27:34 UTC
The bug has been closed via the following commit(s):

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

commit a13a3325342f5ef87384302b272577725e659c7c
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-12-19 18:51:12 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-12-19 19:27:10 +0000

    dev-libs/xalan-c: Fix threads test
    
    The threads run and finish ok, but the counter used in the testing
    application is not synchronized correctly; it seems the mutex they used
    doesn't really work.  So replace it by a std::mutex.
    
    Closes: https://bugs.gentoo.org/887197
    Closes: https://github.com/gentoo/gentoo/pull/28714
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../xalan-c/files/xalan-c-1.12-fix-threads.patch   | 51 ++++++++++++++++++++++
 dev-libs/xalan-c/xalan-c-1.12-r2.ebuild            |  1 +
 2 files changed, 52 insertions(+)