Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258922 - media-libs/exempi-2.0.2 FEATURES="test" - test2.cpp(146): error in "test_xmpfiles": check !g_lt->check_errors() failed
Summary: media-libs/exempi-2.0.2 FEATURES="test" - test2.cpp(146): error in "test_xmpf...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 01:14 UTC by Jeremy Stent
Modified: 2010-02-17 08:32 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge_info,15.25 KB, text/plain)
2009-02-14 01:15 UTC, Jeremy Stent
Details
build.log (build.log,230.62 KB, text/plain)
2009-02-14 01:16 UTC, Jeremy Stent
Details
ebuild environment (environment,110.91 KB, text/plain)
2009-02-14 01:17 UTC, Jeremy Stent
Details
media-libs:exempi-2.0.2:20081030-223630.log.gz [hppa, fails] (20081030-223630.log.gz,17.11 KB, application/x-gzip)
2009-02-14 02:20 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Stent 2009-02-14 01:14:41 UTC
package media-libs/exempi-2.0.2 will not build on an AMD64 system with FEATURES="test"

Reproducible: Always

Steps to Reproduce:
1.  Attempt to merge media-libs/exempi-2.0.2 with FEATURES="test"
2.  Ends up sitting there with valgrind just stuck.  Kill valgrind and the tests fail.

Actual Results:  
memleaks: sure:0 dubious:1385 reachable:13998 suppress:0
test2.cpp(146): error in "test_xmpfiles": check !g_lt->check_errors() failed
==23471== Warning: client switching stacks?  SP change: 0x5f85420 --> 0x7feffa850
==23471==          to suppress, use: --max-stackframe=34242778160 or greater
==23471==
==23471== Syscall param sigaltstack(ss) points to uninitialised byte(s)
==23471==    at 0x5A37BE7: sigaltstack (in /lib64/libc-2.9.so)
==23471==    by 0x4982E8: boost::detail::signal_handler::~signal_handler() (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x498C63: boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x498C9B: boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x496E5A: boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::unit_test::test_case const&) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x492338: boost::unit_test::framework_impl::visit(boost::unit_test::test_case const&) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x48991B: boost::unit_test::traverse_test_tree(boost::unit_test::test_suite const&, boost::unit_test::test_tree_visitor&) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x489909: boost::unit_test::traverse_test_tree(boost::unit_test::test_suite const&, boost::unit_test::test_tree_visitor&) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x4909A9: boost::unit_test::framework::run(unsigned long, bool) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==    by 0x47FFFE: boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int, char**), int, char**) (in /var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests/test2)
==23471==  Address 0x7feffa810 is on thread 1's stack
unknown location(0): fatal error in "test_xmpfiles_write": child has exited; pid: 0; uid: 23472; exit value: 0
test2.cpp(72): last checkpoint

........... need to kill valgrind here.

FAIL: test3
===================
4 of 5 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/exempi-2.0.2/work/exempi-2.0.2/exempi'
make: *** [check-recursive] Error 1
 *
 * ERROR: media-libs/exempi-2.0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2761:  Called _eapi0_src_test
 *               ebuild.sh, line  616:  Called die
 * The specific snippet of code:
 *                      hasq test $FEATURES && die "Make check failed. See above for details."
 *  The die message:
 *   Make check failed. See above for details.
 *
 * 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/media-libs/exempi-2.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/exempi-2.0.2/temp/environment'.
 *


Expected Results:  
A successful merge of exempi
Comment 1 Jeremy Stent 2009-02-14 01:15:50 UTC
Created attachment 181929 [details]
emerge --info
Comment 2 Jeremy Stent 2009-02-14 01:16:47 UTC
Created attachment 181931 [details]
build.log
Comment 3 Jeremy Stent 2009-02-14 01:17:20 UTC
Created attachment 181932 [details]
ebuild environment
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-14 02:19:29 UTC
It fails regardless of whether valgrind subsequently hangs (or is indeed used at all - HPPA details to follow).
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-14 02:20:20 UTC
Created attachment 181946 [details]
media-libs:exempi-2.0.2:20081030-223630.log.gz [hppa, fails]

Sat Feb 14 01:36:28 CET 2009
Portage 2.1.6.7 (default/linux/hppa/2008.0, gcc-4.2.4, glibc-2.7-r2, 2.6.29-rc3-JeR parisc)
=================================================================
System uname: Linux-2.6.29-rc3-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Fri, 13 Feb 2009 16:20:01 +0000
distcc 3.0 hppa2.0-unknown-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3
sys-apps/sandbox:    1.3.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/bind /var/spool/fax/etc /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distcc distlocks fixpackages notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl he"
MAKEOPTS="-j5"
PKGDIR="/keeps/gentoo/packages/elmer"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads agg alsa amr amrnb amrwb ao aoss apache2 ares arts asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cli cracklib crypt cups curl custom-cflags custom-cxxflags cxx dbi dbtool dbus device-mapper dga dia dirac directfb djbfft domainkeys dri drm dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples exif expat fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig foomaticdb fortran ftp gadu galago gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gsm gtk gtk2 gtkhtml hal hepmc hesiod hppa ical icecast iconv icu idea idn imagemagick imlib immqt-bc inquisitio ipv6 isc isdnlog ithreads jack javascript jbig jingle jpeg jpeg2k judy kde kerberos kpathsea lapack latex lcms ldap leim libass libcaca libnotify libsamplerate libwww live lm_sensors logrotate logwatch lua lzo mad manhole matroska mbrola memcache metis mhash midi mikmod mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack mysql nas nautilus ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin ntlm offensive ogg openal openexr opengl openmp oss ots overlays pam pango pbs pcre pdf pdo-external perl php plotutils plugins png portage portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support qt4 quotas raw readline recode reflection rle rpc rrdtool rtc ruby samba sasl scanner schroedinger scim sdl seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl sqlite srt ssh ssl startup-notification subtitles subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thunar-vfs tidy tiff timidity tk tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall winbind wlan wma wmf xanim xchattext xcomposite xface xml xml2 xmp xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_ftp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-28 11:29:36 UTC
it indeed hangs here too. I wonder why I didn't get this when I added it to portage in the first place. I'd like to say this is fixed in 2.1.0 but it fails tests in other ways that upstream can't seem to reproduce. if somebody comes up with a reasonable way to avoid the checks that fails currently I'll be happy to add that to the ebuild instead of blindly discarding all tests.
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-03-11 21:16:06 UTC
This worked for me on my stable amd64 box, when marking exempi stable.
Comment 8 Pacho Ramos gentoo-dev 2009-04-05 21:07:47 UTC
(In reply to comment #7)
> This worked for me on my stable amd64 box, when marking exempi stable.
> 

I have just needed to kill make check exempi processes after waiting more than 1 hour as they seemed to be hung
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-02-17 08:32:21 UTC
The suite restricted for 2.0.x series, and unrestricted again for 2.1.x series. Closing this as WONTFIX, any efforts to make it work should be addressed in bug 295875. Thanks.