Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348098 - media-video/totem-2.32.0 aborts looking for gconfaudiosink plugin: "unset DBUS_SESSION_BUS_ADDRESS" needed at configure time
Summary: media-video/totem-2.32.0 aborts looking for gconfaudiosink plugin: "unset DBU...
Status: RESOLVED DUPLICATE of bug 332139
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 348155 348209 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-07 23:59 UTC by Keith Harrison
Modified: 2011-04-21 12:04 UTC (History)
5 users (show)

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


Attachments
patch for totem-2.32.0.ebuild (totem-2.32.0.ebuild.patch,300 bytes, patch)
2010-12-12 09:15 UTC, Chris Coleman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Harrison 2010-12-07 23:59:41 UTC
when upgrading totem it aborts during configure and says it cant find the gconfaudioskink plugin which is part of the gst-plugins-good package.  I tried doing an emerge --oneshot gst-plugins-good, but it didn't make any difference.

Reproducible: Always

Steps to Reproduce:
1. "emerge -uDN @world" or just "emerge -u totem"
2.
3.

Actual Results:  
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking whether to enable easy codec installation support... yes
checking for MISSING_PLUGINS... yes
checking for GST... yes
checking GStreamer 0.10 inspection tool... yes
checking GStreamer 0.10 playbin2 plugin... yes
checking GStreamer 0.10 ffmpegcolorspace plugin... yes
checking GStreamer 0.10 videoscale plugin... yes
checking GStreamer 0.10 gconfaudiosink plugin... ./configure: line 19207: 27836 Aborted                 $gst010_inspect $good_element > /dev/null 2> /dev/null
no
configure: error: 
                        Cannot find required GStreamer-0.10 plugin 'gconfaudiosink'.
                        It should be part of gst-plugins-good. Please install it.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/totem-2.32.0/work/totem-2.32.0/config.log
 * ERROR: media-video/totem-2.32.0 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 5425:  Called gnome2_src_configure
 *   environment, line 3145:  Called econf '--disable-scrollkeeper' '--disable-schemas-install' '--disable-static' '--disable-vala' '--with-dbus' '--with-smclient' '--enable-easy-codec-installation' '--enable-browser-plugins' 'BROWSER_PLUGIN_DIR=/usr/lib64/nsbrowser/plugins' 'PLUGINDIR=/usr/lib64/totem/plugins' '--with-plugins=properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot,chapters,opensubtitles,jamendo,pythonconsole,dbus-service,youtube' '--disable-debug' '--enable-nautilus' '--enable-python' '--disable-gtk-doc'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =media-video/totem-2.32.0',
 * the complete build log and the output of 'emerge -pqv =media-video/totem-2.32.0'.
 * The complete build log is located at '/var/tmp/portage/media-video/totem-2.32.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/totem-2.32.0/temp/environment'.
 * S: '/var/tmp/portage/media-video/totem-2.32.0/work/totem-2.32.0'


Expected Results:  
Success!

Portage 2.2.0_alpha7 (default/linux/amd64/10.0, gcc-4.5.1, glibc-2.12.1-r3, 2.6.34-gentoo-r12 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 07 Dec 2010 22:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.7
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo local-repo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.netnitco.net http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 apache2 artworkextra asf audiofile automount avahi berkdb branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper dri dvd dvdr dvi encode escreen fbcondecor ffmpeg firefox flac foomaticdb fortran fuse gd gdbm gdu gif gimp glib glibc-omitfp gmp gnome gnomecd gnutls google-gadgets gphoto2 gpm gstreamer gtk hal iconv id3tag ieee1394 ifp imagemagick imlib inotify ipv6 ithreads java java5 java6 jpeg jpeg2k kde lame laptop latex libnotify libwww lm_sensors logrotate lua lzma mad md5sum mdnsresponder-compat mmap mmx mng modules mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib musicbrainz mysql nautilus ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pdf perl php plotutils png policykit posix ppds pppd python qt3support qt4 quicktime rar rdp readline rtc ruby samba scanner sdl semantic-desktop session sift skins smbclient sndfile spell sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff transcode truetype twolame unicode usb vcd vim-with-x vnc vorbis webkit wmf wxwidgets wxwindows x264 xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid xvmc zip 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 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" CAMERAS="canon" 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" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Chris Coleman 2010-12-08 04:59:57 UTC
I'm experiencing the same problem. The configure script calls `gst-inspect-0.10 gconfaudiosink` and this happens:

$ gst-inspect-0.10 gconfaudiosink
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-08 09:32:51 UTC

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

*** This bug has been marked as a duplicate of bug 253890 ***
Comment 3 Keith Harrison 2010-12-08 12:02:52 UTC
This certainly looks like a duplicate of bug 253890, however this does not help me because as far as I can tell the other bug was never resolved in a meaningful manner.  Should the other bug be reopened then or am I missing an obvious solution?

Thanks
Comment 4 Nikolaos Chatzidakis 2010-12-08 12:04:16 UTC
Got the same issue yesterday after mass-emerging -avDuN world. The problem was solved after revdep-rebuilding the system.

Comment 5 Keith Harrison 2010-12-08 12:11:03 UTC
Thanks for the info.

I just tried it out but unfortunately revdep-rebuild -p && emerge -pv @preserved-rebuild both show nothing needing to be rebuilt.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-08 16:25:07 UTC
*** Bug 348155 has been marked as a duplicate of this bug. ***
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-08 22:56:17 UTC
*** Bug 348209 has been marked as a duplicate of this bug. ***
Comment 8 Giacomo Perale 2010-12-09 15:09:55 UTC
I worked around the issue by renaming gst-inspect-0.10 to gst-inspect-0.10.tmp and creating a bash script gst-inspect-0.10 who calls 'dbus-launch gst-inspect-0.10.tmp $1'. 

Then I had to emerge totem with FEATURES=-sandbox because otherwise it failed with an attempted access to /etc/mtab.

It's not a solution anyway, and it just points to dbus issues (the current dbus process doesn't accept the commands launched by root?).
Comment 9 Keith Harrison 2010-12-11 22:00:39 UTC
I'm reopening this bug because it is not resolved for me or anyone else as far as I can tell with totem 2.32.0 and I cannot find any working solution or even a proposed solution in any of the bugs that are duplicates of this one, or the bug that this has been marked as a duplicate of.

This happens on all of my computers, single-core, multi-core, ~x86, and ~amd64.  If anyone needs any more information just ask.
Comment 10 Chris Coleman 2010-12-12 09:01:02 UTC
Downgrading to gconf-2.28.1 would work around this bug. A change was made between 2.28.1 and 2.32.0 that turned a non-fatal error into a fatal one.

With gconf 2.28.1, running `gst-inspect-0.10 gconfaudiosink' prints an error message (can't contact dbus) but then continues to confirm the presence of the gconfaudiosink element.

With gconf 2.32.0, running the same command aborts when it fails to contact dbus. Then the configure script sees the non-zero exit status and concludes wrongly that the gconfaudiosink element is not present.

One way to fix this would be to modify configure.in to run gst-inspect-0.10 without arguments and grep the output for each element name.
Comment 11 Chris Coleman 2010-12-12 09:15:31 UTC
Created attachment 256944 [details, diff]
patch for totem-2.32.0.ebuild

Another, possibly better, way to fix this would be to unset DBUS_SESSION_BUS_ADDRESS before running configure.
Comment 12 Chris Coleman 2010-12-12 09:29:37 UTC
(In reply to comment #11)
> Another, possibly better, way to fix this would be to unset
> DBUS_SESSION_BUS_ADDRESS before running configure.

To add a bit more info: If DBUS_SESSION_BUS_ADDRESS is set, which it probably will be if an X session is running, then gconf, which is invoked indirectly when running `gst-inspect-0.10` with any of the gconfelements, will attempt to contact the per session message bus rather than the system message bus. And because the configure script will be running as root or portage and not the user that started the per-session dbus daemon, it won't be allowed to talk.
Comment 13 gglaboussole 2010-12-12 11:14:41 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > Another, possibly better, way to fix this would be to unset
> > DBUS_SESSION_BUS_ADDRESS before running configure.

Victim of the same bug I can confirm that disabling DBUS_SESSION_BUS_ADDRESS before running configure ("unset DBUS_SESSION_BUS_ADDRESS" as root...) solved the problem 
Comment 14 Sander Sweers 2010-12-12 16:35:42 UTC
Confirmed that unsetting DBUS_SESSION_BUS_ADDRESS will make configure pass the gconfaudiosink check.
Comment 15 David J Cozatt 2010-12-12 22:16:30 UTC
applied patch to ebuild; pkgname.ebuild digest; package builds successfully.

still hitting 

 * QA Notice: command not found:
 * 
 * 	/bin/sh: line 6: --variable: command not found

as mentioned in bug #348403
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-13 17:42:09 UTC
That is weird. I'll have to double check.
Comment 17 Keith Harrison 2010-12-13 19:32:02 UTC
Compiles fine for me from portage now. Thanks everyone.
Comment 18 Keith Harrison 2010-12-13 19:34:33 UTC
Also, I am seeing:

/bin/sh: line 6: --variable: command not found

as well.  Thanks again.  

Not sure if I should mark this as fixed now or not.
Comment 19 Chris Coleman 2010-12-15 12:16:26 UTC
(In reply to comment #18)
> /bin/sh: line 6: --variable: command not found

That bug is unrelated to this one. It's bug #348403.
  
> Not sure if I should mark this as fixed now or not.

Not until this bug has been fixed in the ebuild or upstream. Manually unsetting DBUS_SESSION_BUS_ADDRESS is just a workaround.
Comment 20 Pacho Ramos gentoo-dev 2010-12-20 17:23:51 UTC
bug 332139 was reopened by Arun

*** This bug has been marked as a duplicate of bug 332139 ***
Comment 21 kelly hirai 2011-04-04 11:49:03 UTC
emerged media-video/totem-2.32.0 successfully from the tty console after trying numerous times in a gnome-terminal window.
Comment 22 sbzabel 2011-04-21 11:56:21 UTC
(In reply to comment #21)
> emerged media-video/totem-2.32.0 successfully from the tty console after trying
> numerous times in a gnome-terminal window.

Thanks, worked for me too :-)