Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281614 - >=media-libs/gstreamer-0.10.23 fails tests when updating
Summary: >=media-libs/gstreamer-0.10.23 fails tests when updating
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2009-08-15 19:20 UTC by Dustin Polke
Modified: 2015-11-08 20:04 UTC (History)
2 users (show)

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


Attachments
Build llog (build.log,53.63 KB, text/plain)
2009-08-15 19:22 UTC, Dustin Polke
Details
gstreamer-0.10.23-tests-libraries.patch (gstreamer-0.10.23-tests-libraries.patch,411 bytes, patch)
2009-08-16 18:17 UTC, David Leverton
Details | Diff
build.log (gstreamer-0.10.28:20100619-165456.log,75.98 KB, text/plain)
2010-06-19 17:58 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2009-08-15 19:20:46 UTC
==========================================================================
27 of 59 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
==========================================================================
make[3]: *** [check-TESTS] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
 * 
 * ERROR: media-libs/gstreamer-0.10.23 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2547:  Called _eapi0_src_test
 *               ebuild.sh, line  607:  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.

Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5-stable x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 15 Aug 2009 17:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/     ftp://gentoo.inode.at/source/     ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/modified /usr/portage/local/own /usr/portage/local/layman/alon-barlev /usr/portage/local/layman/science /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdaudio cdda cdinstall cjk cli cpufreq cracklib crypt css ctype cups curl dbus dga directfb divx dri dts dv dvd dvdr dvdread encode evo exchange exif exiv2 fam fame fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp git glade glitz gmedia gmp gnutls gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 isdnlog jack java javascript jikes jpeg jpeg2k kerberos keyscrub kino kpathsea lame laptop latex lcms ldap libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng mono motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ogg opengl openmp opensslcrypto pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python quicktime readline realmedia reflection rtsp ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog tcpd tetex tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vim-syntax vim-with-x vorbis wifi winbind wma wmf wmp wxwindows x264 xanim xcomposite xfce xinetd xml xmp xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" 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 authn_alias authn_anon 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 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Comment 1 Dustin Polke 2009-08-15 19:22:20 UTC
Created attachment 201348 [details]
Build llog
Comment 2 David Leverton 2009-08-16 18:17:24 UTC
Created attachment 201455 [details, diff]
gstreamer-0.10.23-tests-libraries.patch

This is caused by the plugins linking against libgstbase, and picking up the already-installed version, which is missing a symbol that the new plugins require.  The attached patch explicitly links the test programs against the newly-build libgstbase, which forces it to be used instead of the system one.  I'm not 100% sure that this is the correct solution, but it seems fairly low-risk as it doesn't change any files that will be installed.

Note also that eautoreconf on my system causes the build to explode messily, as follows:

make -j2

Making all in gst

Making all in parse

../../libtool: line 854: X--tag=CC: command not found

../../libtool: line 887: libtool: ignoring unknown tag : command not found

../../libtool: line 854: X--mode=compile: command not found

../../libtool: line 1021: *** Warning: inferring the mode of operation is deprecated.: command not found

../../libtool: line 1022: *** Future versions of Libtool will require --mode=MODE be specified.: command not found

../../libtool: line 1052: libtool: warning: cannot infer operation mode from `/bin/sh': No such file or directory

../../libtool: line 7202: libtool: you must specify a MODE: command not found

../../libtool: line 7203: Try `libtool --help' for more information.: command not found

make[4]: *** [libgstparse_la-lex._gst_parse_yy.lo] Error 1

make[3]: *** [all-recursive] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2


I assume this is because the package isn't compatible with stable libtool.  This can be worked around by using eautomake instead.
Comment 3 Bjoern Thorwirth 2009-08-17 12:52:34 UTC
Exactly the same here:
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r10 x86_64)
=================================================================
System uname: Linux-2.6.28-tuxonice-r10-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 Aug 2009 10:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
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.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/gnome /usr/portage/local/layman/jyujin /usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/wolf31o2 /usr/portage/local/layman/science /usr/portage/local/layman/python-experimental /usr/portage/local/layman/pythonhead /usr/portage/local/layman/python-testing /usr/portage/local/layman/mozilla /usr/portage/local/local-overlay /usr/portage/local/initng-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi ada alsa amarok amd64 apache2 arts audiofile authdaemond avahi bash-completion berkdb bidi bindist blas bluetooth branding bzip2 cairo cdda cdr chm clearcase cli config_wizard cpudetection cracklib crypt css cups dbus dga djvu dri dts dv dvb dvd dvdr dvdread dvi dxr3 eds emacs emboss encode esd evo extraicons extramodules fam fame fat fbcon fbcondecor fbsplash ffmpeg fftw firefox flac flash foomaticdb fortran fuse gcj gd gdbm gif glitz gnome gnome-keyring gnutls gphoto2 gpm gs gsm gstreamer gtk hal hdaps hfs iconv icq id3 ieee1394 imap inkjar inotify ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg kde kipi kqemu lame laptop latex lcd ldap libcaca libnotify libwww live lm_sensors lzo mad mail maildir matroska midi mikmod mmx mng mono mp3 mp4 mpeg mpi mudflap multilib musepack musicbrainz mysql nautilus ncurses network new-login nls nptl nptlonly nsplugin ntfs nvidia ogg ole openal openexr opengl openmp oss pam pascal pcmcia pcre pdf perl php pmu png postgres povray ppds pppd pulseaudio python qt3 qt3support qt4 quicktime quotas rar rdesktop readline reflection reiser4 reiserfs rss ruby samba sasl scanner sdl session shout skins slp sms sndfile speex spell spl sql sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs tcpd test theora threads tiff tk truetype tta unicode usb vcd visualization voice vorbis wavpack weather wifi winbind wma wmf wxwindows x264 xcb xfs xine xinerama xiph xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 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" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Olivier Crete (RETIRED) gentoo-dev 2009-08-17 15:31:47 UTC
That's a known upstream problem, it is http://bugzilla.gnome.org/show_bug.cgi?id=590967
That said, I'm not sure if your patch is right, won't the plugins try to link against the system installed version...
Comment 5 David Leverton 2009-08-17 17:11:44 UTC
(In reply to comment #4)
> That said, I'm not sure if your patch is right, won't the plugins try to link
> against the system installed version...
> 

Like I said, I'm not entirely sure, but the plugin's Makefile.am does

libgstcoreelements_la_LIBADD = \
	$(top_builddir)/libs/gst/base/libgstbase-@GST_MAJORMINOR@.la \
	$(GST_OBJ_LIBS)

As far as I know that takes care of the building - the problem with testing is that the plugin is loaded with dlopen, so if the executable doesn't link against libgstbase, libtool doesn't get the chance to do its evil magic and make sure the newly-built library gets loaded.
Comment 6 Dustin Polke 2009-08-31 11:03:13 UTC
After reading all comments, I emerged gstreamer with FEATURES="-test" and after that again with FEATURES="test". Now tests passed successfully.

Maybe adding an elog message about this known problem would people help to encourage them first to install with FEATURES="-test" and then reemerge it again to run the test suite.

I know this is a just a workaround but it might help until upstream resolves this bug.

Dustin
Comment 7 Pacho Ramos gentoo-dev 2010-06-19 17:57:43 UTC
Still the same with 0.10.28, they pass fine once new version is already installed
Comment 8 Pacho Ramos gentoo-dev 2010-06-19 17:58:01 UTC
Created attachment 235975 [details]
build.log

Updated log
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-11-08 20:04:54 UTC
This should be fixed in 1.0 series as this was reworked to load plugins from build directory. As there are no 0.10 releases from upstream and we are targeting to remove 0.10, I will close this as WONTFIX.