Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267086 - media-video/totem-2.24.4: fails to find gconfaudiosink if dbus has never started.
Summary: media-video/totem-2.24.4: fails to find gconfaudiosink if dbus has never star...
Status: RESOLVED DUPLICATE of bug 244503
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 12:45 UTC by Michael Farrell
Modified: 2009-04-22 14:20 UTC (History)
0 users

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


Attachments
Build Log of failure (build.log,10.72 KB, text/plain)
2009-04-22 12:48 UTC, Michael Farrell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Farrell 2009-04-22 12:45:51 UTC
When you try to build media-video/totem-2.24.4, the build fails with the following error if dbus has never been started:

checking GStreamer 0.10 gconfaudiosink plugin... ./configure: line 23394: 28281 Aborted                 (core dumped) $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.24.4/work/totem-2.24.4/config.log
 * 
 * ERROR: media-video/totem-2.24.4 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3005:  Called gnome2_src_compile
 *             environment, line 2175:  Called gnome2_src_configure
 *             environment, line 2189:  Called econf '--disable-scrollkeeper' '--disable-schemas-install' '--disable-vala' '--with-dbus' '--enable-easy-codec-installation' '--disable-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,bemused,pythonconsole' '--disable-debug' '--enable-nautilus' '--disable-nvtv' '--enable-python'
 *               ebuild.sh, line  525:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed

Upon further investigation, I found that it is caused by media-plugins/gst-plugins-gconf-0.10.14.  When using gst-inspect it appears to be registered correctly, however the configure script attempts to run:

`gst-inspect-0.10 gconfaudiosink`

./configure supresses the error output which is as follows:

process 31315: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)

To fix the issue, you can simply call `dbus-uuidgen --ensure`. `gst-inspect-0.10 gconfaudiosink` will then operate correctly, and totem will build.

It seems to me it may be ideal to call this during the installation process of dbus.  It does not change the machine-id if the file /var/lib/dbus/machine-id already exists.  I think this only effected me because I was compiling GNOME from a chroot and had not booted my Gentoo system yet.

Reproducible: Always

Steps to Reproduce:
1. Never start dbus.  If you have started dbus before, stop it and then `rm /var/lib/dbus/machine-id` (or move the file to another location).
2. emerge totem

Actual Results:  
The totem configure script fails to find gconfaudiosink in media-plugins/gst-plugins-gconf.

Expected Results:  
Totem should have compiled correctly.

# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.26-1-amd64 x86_64)
=================================================================
System uname: Linux-2.6.26-1-amd64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5
Timestamp of tree: Mon, 20 Apr 2009 13:15:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
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"
SYNC="rsync://mirror.internode.on.net/gentoo-portage/"
USE="3dnow 3dnowext 7zip X acl acpi alsa amd64 beagle berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo faac faad fam firefox fortran fuse gdbm gif gnome gphoto2 gpm gsm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog jpeg kde lame ldap libdvdcss libnotify mad matroska midi mikmod mmx mono mp3 mp4 mpeg mplayer mudflap multilib nautilus ncurses network networkmanager nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session speex spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid 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" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michael Farrell 2009-04-22 12:48:36 UTC
Created attachment 189151 [details]
Build Log of failure
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-22 14:20:32 UTC

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