Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161881 - dev-libs/STLport-5.1.0 does not pass tests
Summary: dev-libs/STLport-5.1.0 does not pass tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 11:33 UTC by Miroslav Šulc
Modified: 2007-01-13 21:32 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info.txt,11.21 KB, text/plain)
2007-01-13 11:35 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2007-01-13 11:33:55 UTC
dev-libs/STLport-5.1.0 tests fail:

         rm -f libstlportg.so.5.1; ln -s libstlportg.so.5.1.0 libstlportg.so.5.1; \
         rm -f libstlportg.so.5; ln -s libstlportg.so.5.1 libstlportg.so.5; \
         rm -f libstlportg.so; ln -s libstlportg.so.5 libstlportg.so)
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fPIC -g -fno-inline -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -D_STLP_DEBUG -I../../stlport -shared -Wl,-hlibstlportstlg.so.5.1 -nostdlib   -o obj/gcc/so_stlg/libstlportstlg.so.5.1.0 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/crtbeginS.o obj/gcc/so_stlg/dll_main.o obj/gcc/so_stlg/fstream.o obj/gcc/so_stlg/strstream.o obj/gcc/so_stlg/sstream.o obj/gcc/so_stlg/ios.o obj/gcc/so_stlg/stdio_streambuf.o obj/gcc/so_stlg/istream.o obj/gcc/so_stlg/ostream.o obj/gcc/so_stlg/iostream.o obj/gcc/so_stlg/codecvt.o obj/gcc/so_stlg/collate.o obj/gcc/so_stlg/ctype.o obj/gcc/so_stlg/monetary.o obj/gcc/so_stlg/num_get.o obj/gcc/so_stlg/num_put.o obj/gcc/so_stlg/num_get_float.o obj/gcc/so_stlg/num_put_float.o obj/gcc/so_stlg/numpunct.o obj/gcc/so_stlg/time_facets.o obj/gcc/so_stlg/messages.o obj/gcc/so_stlg/locale_impl.o obj/gcc/so_stlg/locale_catalog.o obj/gcc/so_stlg/facets_byname.o obj/gcc/so_stlg/complex.o obj/gcc/so_stlg/complex_io.o obj/gcc/so_stlg/complex_trig.o obj/gcc/so_stlg/string.o obj/gcc/so_stlg/bitset.o obj/gcc/so_stlg/allocators.o obj/gcc/so_stlg/c_locale.o obj/gcc/so_stlg/cxa.o  -Wl,--whole-archive -lsupc++  -Wl,--no-whole-archive -lgcc_s -lpthread -lc -lm /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crtn.o
(cd obj/gcc/so_stlg; \
         rm -f libstlportstlg.so.5.1; ln -s libstlportstlg.so.5.1.0 libstlportstlg.so.5.1; \
         rm -f libstlportstlg.so.5; ln -s libstlportstlg.so.5.1 libstlportstlg.so.5; \
         rm -f libstlportstlg.so; ln -s libstlportstlg.so.5 libstlportstlg.so)
make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.0/work/STLport-5.1.0/build/lib'
>>> Source compiled.
make: Entering directory `/var/tmp/portage/dev-libs/STLport-5.1.0/work/STLport-5.1.0/build/test/unit'
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/test_main.o ../../../test/unit/cppunit/test_main.cpp
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/accum_test.o ../../../test/unit/accum_test.cpp
Assembler messages:
FATAL: can't create obj/gcc/so/test_main.o: není souborem ani adresářem
Assembler messages:
FATAL: can't create obj/gcc/so/accum_test.o: není souborem ani adresářem
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/adj_test.o ../../../test/unit/adj_test.cpp
make: *** [obj/gcc/so/test_main.o] Error 2
make: *** Waiting for unfinished jobs....
make: *** [obj/gcc/so/accum_test.o] Error 2
make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.0/work/STLport-5.1.0/build/test/unit'

!!! ERROR: dev-libs/STLport-5.1.0 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_test
  ebuild.sh, line 1023:   Called qa_call 'src_test'
  environment, line 3447:   Called src_test
  STLport-5.1.0.ebuild, line 94:   Called die

!!! emake tests failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/STLport-5.1.0/temp/build.log'.
Comment 1 Miroslav Šulc gentoo-dev 2007-01-13 11:35:09 UTC
Created attachment 106785 [details]
emerge --info

emerge --info
Comment 2 Miroslav Šulc gentoo-dev 2007-01-13 11:57:58 UTC
sorry for czech ;-) Here is the output using LC_ALL="C". Strange thing is that now it fails little bit later then if using cs_CZ locale:

i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/utility_header_test.o ../../../test/unit/utility_header_test.cpp
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/valarray_test.o ../../../test/unit/valarray_test.cpp
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/valarray_header_test.o ../../../test/unit/valarray_header_test.cpp
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/vector_test.o ../../../test/unit/vector_test.cpp
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/vector_header_test.o ../../../test/unit/vector_header_test.cpp
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/test_errno.o ../../../test/unit/test_errno.cpp
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/assert_header_test.o ../../../test/unit/assert_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/ctype_header_test.o ../../../test/unit/ctype_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/c_limits_header_test.o ../../../test/unit/c_limits_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/c_locale_header_test.o ../../../test/unit/c_locale_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/errno_header_test.o ../../../test/unit/errno_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/float_header_test.o ../../../test/unit/float_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/iso646_header_test.o ../../../test/unit/iso646_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/math_header_test.o ../../../test/unit/math_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/setjmp_header_test.o ../../../test/unit/setjmp_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/signal_header_test.o ../../../test/unit/signal_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/stdarg_header_test.o ../../../test/unit/stdarg_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/stddef_header_test.o ../../../test/unit/stddef_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/stdio_header_test.o ../../../test/unit/stdio_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/stdlib_header_test.o ../../../test/unit/stdlib_header_test.c
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/string_header_test.o ../../../test/unit/string_header_test.cpp
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/time_header_test.o ../../../test/unit/time_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/wchar_header_test.o ../../../test/unit/wchar_header_test.c
i686-pc-linux-gnu-gcc -ansi -O2 -march=pentium4m -pipe -pthread   -D_REENTRANT -I../../../stlport  -c -o obj/gcc/so/wctype_header_test.o ../../../test/unit/wctype_header_test.c
i686-pc-linux-gnu-g++ -pthread -fexceptions -fident -g -fno-inline -fuse-cxa-atexit -O2 -march=pentium4m -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -D_STLP_DEBUG -D_STLP_DEBUG_UNINITIALIZED  -I../../../stlport  -c -o obj/gcc/so_stlg/test_main.o ../../../test/unit/cppunit/test_main.cpp
Assembler messages:
FATAL: can't create obj/gcc/so_stlg/test_main.o: No such file or directory
make: *** [obj/gcc/so_stlg/test_main.o] Error 2
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.0/work/STLport-5.1.0/build/test/unit'

!!! ERROR: dev-libs/STLport-5.1.0 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_test
  ebuild.sh, line 1023:   Called qa_call 'src_test'
  environment, line 3447:   Called src_test
  STLport-5.1.0.ebuild, line 94:   Called die

!!! emake tests failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/STLport-5.1.0/temp/build.log'.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2007-01-13 12:45:28 UTC
Fixed in CVS.
Comment 4 Miroslav Šulc gentoo-dev 2007-01-13 13:00:53 UTC
Now the tests compile but one test fails:

...
ListTest::swap
LocaleTest::locale_by_name
LocaleTest::loc_has_facet
LocaleTest::num_put_get
        fr_FR
        ru_RU.koi8r
        en_GB
        en_US
        C
LocaleTest::money_put_get
        fr_FR
        ru_RU.koi8r

../../../test/unit/locale_test.cpp(201) : CPPUNIT_ASSERT((str_res.substr(index, p) == rl.money_int_prefix) || ((p_old != 0) && (str_res.substr(index, p_old) == rl.money_int_prefix_old)));
        en_GB
        en_US
        C
LocaleTest::money_put_X_bug
        fr_FR
        ru_RU.koi8r
        en_GB
        en_US
        C
LocaleTest::time_put_get
        fr_FR
        ru_RU.koi8r
        en_GB
        en_US
        C
LocaleTest::collate_facet
        fr_FR
        ru_RU.koi8r
        en_GB
        en_US
        C
LocaleTest::ctype_facet
        fr_FR
        ru_RU.koi8r
        en_GB
        en_US
        C
LocaleTest::locale_init_problem
        fr_FR
        ru_RU.koi8r
        en_GB
        en_US
        C
LocaleTest::default_locale
LocaleTest::facet_id
...
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2007-01-13 13:47:46 UTC
Upstream-bug for the broken parallel builds:

http://sourceforge.net/tracker/index.php?func=detail&aid=1634693&group_id=146814&atid=766244
Comment 6 Tiziano Müller (RETIRED) gentoo-dev 2007-01-13 21:32:04 UTC
Fixed (again).