Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 688464

Summary: dev-libs/libunistring-0.9.10 : [TEST] FAIL: test-thread_create
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: ahudson.news, kingjon3377, paolo.pedroni, tka
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=693488
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:libunistring-0.9.10:20190622-003338.log.bz2
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2019-06-22 08:06:38 UTC
PASS: test-init.sh
PASS: test-thread_self
FAIL: test-thread_create
PASS: test-time
PASS: test-cased
PASS: test-ignorable

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome_libressl-abi32+64-test_20190621-191902

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO dev-libs/libunistring
[ebuild   R   ] dev-libs/libunistring-0.9.10  USE="-doc -static-libs" ABI_X86="32* (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-06-22 08:06:40 UTC
Created attachment 580360 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-22 08:06:43 UTC
Created attachment 580362 [details]
dev-libs:libunistring-0.9.10:20190622-003338.log.bz2
Comment 3 Toralf Förster gentoo-dev 2019-06-22 08:06:46 UTC
Created attachment 580364 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-06-22 08:06:50 UTC
Created attachment 580366 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-06-22 08:06:54 UTC
Created attachment 580368 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-22 08:06:58 UTC
Created attachment 580370 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-06-22 08:07:01 UTC
Created attachment 580372 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2019-06-22 08:07:04 UTC
Created attachment 580374 [details]
tests.tbz2
Comment 9 Bernardine 2021-08-27 19:19:33 UTC
The test fails due to -Wl,--as-needed (because pthread_create is declared weak), which seems to be added by portage by default.  Corresponding upstream bug report [1] and the upstream fix [2] which is not yet published in a stable version.

[1] https://savannah.gnu.org/bugs/index.php?56053
[2] https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=cca32830b57e91f837c01d15b8732f23ff97fc36
Comment 10 Akinori Hattori gentoo-dev 2021-11-15 13:04:59 UTC
*** Bug 688690 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2021-11-15 13:11:10 UTC
The bug has been closed via the following commit(s):

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

commit facca24efb1aeab457357adf25a23b55fb5b350f
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2021-11-15 13:09:51 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2021-11-15 13:11:04 +0000

    dev-libs/libunistring: fix tests
    
    Thanks-to: Bernardine <bernardine@you-spam.com>
    Closes: https://bugs.gentoo.org/688464
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 dev-libs/libunistring/files/libunistring-test.patch | 15 +++++++++++++++
 dev-libs/libunistring/libunistring-0.9.10-r1.ebuild |  1 +
 2 files changed, 16 insertions(+)