Created attachment 353186 [details] sal_rtl_strings.test.log I've been getting a test failure since >=app-office/libreoffice-4.1.0.1. mv -f .deps/libxmlsec1_nss_la-keysstore.Tpo .deps/libxmlsec1_nss_la-keysstore.Plo /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../../include -I../../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/include/nss -I/usr/include/nspr -DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -march=native -O2 -maes -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -MT libxmlsec1_nss_la-keywrapers.lo -MD -MP -MF .deps/libxmlsec1_nss_la-keywrapers.Tpo -c -o libxmlsec1_nss_la-keywrapers.lo `test -f 'keywrapers.c' || echo './'`keywrapers.c test_strings_replace.cxx:195:Assertion Test name: (anonymous namespace)::Test::ustringReplaceFirstAsciiLAsciiL equality assertion failed - Expected: otherbarfoo - Actual : test_strings_replace.cxx:274:Assertion Test name: (anonymous namespace)::Test::ustringReplaceAllAsciiLAsciiL equality assertion failed - Expected: otherbarother - Actual : test_oustring_stringliterals.cxx:126:Assertion Test name: test::oustring::StringLiterals::checkUsage assertion failed - Expression: foobarfoo.replaceFirst( "foo", "test" ) == "testbarfoo" test_oustring_stringliterals.cxx:148:Assertion Test name: test::oustring::StringLiterals::checkNonconstChar equality assertion failed - Expected: foobar - Actual : foo Failures !!! Run: 42 Failure total: 4 Failures: 4 Errors: 0 Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE # for exception catching export GDBCPPUNITTRACE="gdb --args" # for interactive debugging export VALGRIND=memcheck # for memory checking and retry using: make CppunitTest_sal_rtl_strings libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../../include -I../../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/include/nss -I/usr/include/nspr -DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -march=native -O2 -maes -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -MT libxmlsec1_nss_la-keywrapers.lo -MD -MP -MF .deps/libxmlsec1_nss_la-keywrapers.Tpo -c keywrapers.c -fPIC -DPIC -o libxmlsec1_nss_la-keywrapers.o make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/workdir/unxlngx6.pro/CppunitTest/sal_rtl_strings.test] Error 1 make[1]: *** Waiting for unfinished jobs.... My emerge --info Portage 2.2.0_alpha188 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.0-zen+ x86_64) ================================================================= System uname: Linux-3.10.0-zen+-x86_64-Intel-R-_Core-TM-_i7-3632QM_CPU_@_2.20GHz-with-gentoo-2.2 KiB Mem: 8114084 total, 215440 free KiB Swap: 523260 total, 523196 free Timestamp of tree: Sat, 13 Jul 2013 07:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0-r1000::progress dev-lang/python: 2.7.5-r1000::progress, 3.2.5-r1000::progress, 3.3.2-r1000::progress dev-util/cmake: 2.8.11.1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.14 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3, 4.8.1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo progress desktop-effects kde qt mozilla multimedia rubenqba stuff sunrise x11 java local_repo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -maes -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -maes -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block" DISTDIR="/media/Apps/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_IN.UTF-8" LDFLAGS="-Wl,--enable-new-dtags -Wl,--sort-common -Wl,--hash-style=gnu -Bdirect -Bdynamic" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/progress /var/lib/layman/desktop-effects /var/lib/layman/kde /var/lib/layman/qt /var/lib/layman/mozilla /var/lib/layman/multimedia /var/lib/layman/rubenqba /var/lib/layman/stuff /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/java /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi ads alsa amd64 amr aspell autotrace avahi berkdb bluetooth branding bs2b bzip2 cairo cdda cddb cdio cdr chm cli connection-sharing consolekit cracklib crypt cups cxx dbus declarative dhcp dirac dri dts dvb dvd dvdr emboss encode exif expat faad fam firefox flac fontconfig fortran g3dvl gdbm geoip gif gimp gnutls gpm graphite gstreamer gtk gtk3 hddtemp hdri iconv icu ieee1394 imagemagick imap inotify ipv6 irc jabber jingle jpeg kde kerberos kipi lcms ldap libnotify lirc live lm_sensors lto lzma lzo mad matroska md5sum mdnsresponder-compat mmx mmxext mng modules mp3 mp4 mpeg mpi mplayer msn mudflap multilib musepack musicbrainz mysql mysqli ncurses networkmanager nls nptl nsplugin nss odbc ogg openal openexr opengl openmp openvg optimization optimized-qmake oscar pam pango pcre pdf phonon php plasma png policykit ppds pvr qt-dbus qt3support qt4 rar readline samba sdl semantic-desktop sensord session sms speex spell sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg swat symlink syslog tcpd tga theora thumbnail tiff truetype udev udisks unicode upnp upower usb v4l vaapi vcd vdpau vlc vorbis vpx wavpack webkit winbind wmf wxwidgets x264 xattr xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc yahoo zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US hi hi_IN" NETBEANS_MODULES="apisupport cnd java websvccommon php" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Does it happen for 4.1.0.2 too?
(In reply to Tomáš Chvátal from comment #1) > Does it happen for 4.1.0.2 too? Yes, for 4.1.0.2 too.
*** Bug 476826 has been marked as a duplicate of this bug. ***
Happens for 4.1.0.4 too.
Hello, I have a similar problem (just another test fail). While I have no fix for failed tests, I found a way to disable all testing during libreoffice build, see bug 482726 for details.
(In reply to Andrew Savchenko from comment #5) > While I have no fix for > failed tests, I found a way to disable all testing during libreoffice build Does it successfully build on disabling tests?
Yes(In reply to Shubhadeep Chaudhuri from comment #6) > Does it successfully build on disabling tests? Yes.
(In reply to Andrew Savchenko from comment #7) > Yes(In reply to Shubhadeep Chaudhuri from comment #6) > > Does it successfully build on disabling tests? > > Yes. At least 4.1.0.4, haven't tested on older versions.
We don't build tests by default anymore so please report this issue to upstream. The tests are pretty complex so they will ask for some confirmations so stick with them. Upstream bugzilla is at bugs.freedesktop.org.