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

Bug 132503

Summary: dev-libs/glib-2.10.2 fail with FEATURES="test"
Product: Gentoo Linux Reporter: Michael Cramer <portage>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Cramer 2006-05-06 15:05:32 UTC
last lines are:
PASS: slice-color
PASS: spawn-test
PASS: strfunc-test
PASS: string-test
PASS: strtod-test
PASS: thread-test

** ERROR **: file threadpool-test.c: line 124 (test_thread_stop_unused): assertion failed: (test_count_threads () == limit)
aborting...
/bin/sh: line 4: 11832 Abgebrochen             srcdir=. LIBCHARSET_ALIAS_DIR=../glib/libcharset MALLOC_CHECK_=2 MALLOC_PERTURB_=$(($RANDOM % 256)) ${dir}$tst
FAIL: threadpool-test
PASS: tree-test
PASS: type-test
PASS: unicode-caseconv
PASS: unicode-encoding
PASS: utf8-validate
PASS: utf8-pointer
PASS: uri-test
PASS: run-markup-tests.sh
PASS: run-collate-tests.sh
=====================================================================
1 of 47 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=glib
=====================================================================
make[4]: *** [check-TESTS] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/glib-2.10.2/work/glib-2.10.2/tests'
make[3]: *** [check-am] Fehler 2
make[3]: Leaving directory `/var/tmp/portage/glib-2.10.2/work/glib-2.10.2/tests'
make[2]: *** [check-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.10.2/work/glib-2.10.2/tests'
make[1]: *** [check-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.10.2/work/glib-2.10.2'
make: *** [check] Fehler 2

!!! ERROR: dev-libs/glib-2.10.2 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_test
  ebuild.sh, line 976:   Called src_test
  ebuild.sh, line 607:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.


these failure can be fixed with the following line (taken from BLFS) in ebuild:

sed -i -e "/g_assert (test_count_threads () == limit);/d" tests/threadpool-test.c
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 15:09:00 UTC

*** This bug has been marked as a duplicate of 81681 ***