Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 262175

Summary: media-sound/rhythmbox-0.10.1-r1 fails to emerge
Product: Gentoo Linux Reporter: Andrey Vihrov <andrey.vihrov>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amigadave, asl, gstreamer, sound
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Andrey Vihrov 2009-03-11 18:56:11 UTC
This appears to be due to recent Gnome 2.24 updates. Running stable amd64, emerging with USE="daap dbus flac gnome-keyring hal ipod libnotify mad musicbrainz python tagwriting vorbis -debug -doc -lirc"

Reproducible: Always

Steps to Reproduce:
1. emerge =media-sound/rhythmbox-0.10.1-r1
Actual Results:  
Build failure

Expected Results:  
Compiles fine

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5
Timestamp of tree: Wed, 11 Mar 2009 16:00:04 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
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.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CPPFLAGS="-DNDEBUG"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tups.lv/source/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en lv"
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal hddtemp iconv id3tag ieee1394 ipod isdnlog jpeg libnotify lm_sensors mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection rtc samba sdl session smp spell spl sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg symlink sysfs tcpd theora threads tiff totem truetype unicode upnp usb v4l2 vim-syntax vorbis x264 xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en lv" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Vihrov 2009-03-11 18:57:58 UTC
Created attachment 184725 [details]
Build log
Comment 2 David King 2009-03-12 09:25:55 UTC
I'm also getting this on amd64 stable after the Gnome 2.24 update. The relevant error appears to be:

../lib/rb-proxy-config.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

which appears to be triggered by these lines (68-70) in rb-proxy-config.h:

#if defined(HAVE_LIBSOUP)
SoupUri *	rb_proxy_config_get_libsoup_uri (RBProxyConfig *config);
#endif

Looking at http://library.gnome.org/devel/libsoup/stable/libsoup-porting-2.2-2.4.html it seems that "SoupUri" has been changed to "SoupURI" in libsoup 2.24. There are some other changes mentioned which may affect behaviour, and I'm not at my Gentoo machine to check if making the change will fix the problem.

There is a dependency for >=net-libs/libsoup-2.2.99:2.2 in the Rhythmbox ebuild, but the configure.ac has this check:

dnl Check for libsoup, needed for DAAP and audioscrobbler
if test "x$enable_daap" = "xyes" || test "x$enable_audioscrobbler" != "xno"; then
	PKG_CHECK_MODULES(SOUP,                            \
		libsoup-2.2,
		have_libsoup=yes,
		have_libsoup=no)
	if test x"$have_libsoup" = "xno"; then
		PKG_CHECK_MODULES(SOUP,
			libsoup-2.4,
			have_libsoup=yes,
			have_libsoup=no)
	fi
	if test x"$have_libsoup" = "xyes"; then
		AC_DEFINE(HAVE_LIBSOUP, 1, [Define if libsoup support is enabled])
	fi
fi

which appears to distinguish between the 2.2 (pre-2.24) and 2.4 (2.24) APIs. However, the line in rb-proxy-config.h is not altered, so the build breaks if using the 2.4 API. I can try to make a patch to fix Rhthmbox this evening, but this may be a good time to make a newer version of Rhythmbox stable?
Comment 3 Andrey Vihrov 2009-03-12 09:30:42 UTC
(In reply to comment #2)
> this may be a good time to make a newer version of Rhythmbox stable?

You are correct, see bug #234306.
Comment 4 David King 2009-03-12 19:18:55 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > this may be a good time to make a newer version of Rhythmbox stable?
> 
> You are correct, see bug #234306.

Andrey, I think that you are right. The patch on the GNOME bugzilla for cleaning up libsoup support in Rhythmbox is  http://bugzilla.gnome.org/show_bug.cgi?id=509701 but as this is included in newer versions anyway, it seems best to stable them instead than patch old versions.

Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-14 22:05:13 UTC
Yes rhythmbox needs a more recent stable version.

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