Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291047 - gnome-base/gnome-control-center-2.28.1 undefined reference
Summary: gnome-base/gnome-control-center-2.28.1 undefined reference
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 291125 291275 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-29 17:45 UTC by stemer
Modified: 2010-08-05 17:08 UTC (History)
16 users (show)

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


Attachments
build.log (build.log,112.50 KB, text/plain)
2009-10-29 17:47 UTC, stemer
Details
deproblemitizing patch (fixify.patch,772 bytes, patch)
2009-10-31 07:41 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stemer 2009-10-29 17:45:10 UTC
Emerge of gnome-control-center fails.
Heres my emerge --info:

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r4-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2140_@_1.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 29 Oct 2009 17:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
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
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="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
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/layman/gnome /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 asf avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt dbus dri dts dvd dvdr dvdread eds emboss encode evo exif ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv isdnlog java jpeg ldap libnotify mad mikmod mmx mmxext modules mono mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session spell spl sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora thunar tiff truetype type1 udf unicode usb utf8 v4l v4l2 vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" 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="olympus sony" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 stemer 2009-10-29 17:47:11 UTC
Created attachment 208650 [details]
build.log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-29 18:04:31 UTC
What version of gnome-desktop do you have ?
Comment 3 stemer 2009-10-29 18:23:53 UTC
(In reply to comment #2)
> What version of gnome-desktop do you have ?

I have 2.28.1 from your overlay.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-29 19:40:32 UTC
did you run revdep-rebuild as suggested by gnome-desktop ebuild ?
Comment 5 Jory A. Pratt gentoo-dev 2009-10-30 03:14:43 UTC
Still valid even after being moved to tree. 

Portage 2.1.7.1 (hardened/linux/amd64/10.0/no-multilib, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-hardened-r5 x86_64)
=================================================================
System uname: Linux-2.6.31-hardened-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=gnu"
MAKEOPTS="-j3 -s --no-print-directory"
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="/home/toolchain /home/mozilla /home/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 audit berkdb bluetooth branding bzip2 cario cli consolekit cracklib crypt cups custom-optimization dbus dri dvd encode fam ffmpeg gdbm gnome gnome-keyring gstreamer gtk hal hardened iconv java6 jpeg justify laptop libssh2 libsysfs lzma mad mjpeg mmx modules mp3 mpeg mudflap nautilus ncurses networkmanager nptl nptlonly nsplugin nss opengl openmp pam pcre perl pic png policykit python readline sdl session spell sqlite sse sse2 ssl svg sysfs tcpd theora threads tiff truetype twolame unicode urandom vdpau vorbis x264 xinerama xorg xulrunner xv xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-30 10:08:09 UTC
*** Bug 291125 has been marked as a duplicate of this bug. ***
Comment 7 water 2009-10-30 13:21:12 UTC
I meet the same problem.
Comment 8 jsurveyor 2009-10-30 13:43:21 UTC
Same problem here. If it helps, I was able to work around it like this:
  (gnome-desktop-2.28.1 was previously emerged successfully)
cd /usr/portage/gnome-base/gnome-desktop
ebuild gnome-desktop-2.28.1.ebuild setup
ebuild gnome-desktop-2.28.1.ebuild clean
ebuild gnome-desktop-2.28.1.ebuild unpack
ebuild gnome-desktop-2.28.1.ebuild prepare
ebuild gnome-desktop-2.28.1.ebuild configure
ebuild gnome-desktop-2.28.1.ebuild compile
cd /home/portage_tmp/portage/gnome-base/gnome-desktop-2.28.1/work
cp -i ./gnome-desktop-2.28.1/libgnome-desktop/.libs/libgnome-desktop-2.so.11.4.2 /usr/lib/libgnome-desktop-2.so.11.4.2

So I'm guessing something in the regular install process is removing or hiding the symbol.

emerge --info
Portage 2.1.7.1 (default/linux/x86/10.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.31-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Oct 2009 07:15:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/home/portage_distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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="/home/portage_tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 apm berkdb bzip2 cdr cli cracklib crypt cups dri dvd fortran gdbm gnome gpm gtk iconv ipv6 isdnlog modules mudflap ncurses nls nptl nptlonly nvidia openmp oss pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd tetex tiff unicode x86 xorg xulrunner xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 9 Romain Perier (RETIRED) gentoo-dev 2009-10-30 13:55:39 UTC
- Could you paste the output of the following command ? :
  $ readelf -s /usr/lib/libgnome-desktop-2.so | grep gnome_bg

- Gilles asked "did you run revdep-rebuild as suggested by gnome-desktop ebuild ?
"
  -> did you run it ?
Comment 10 Burak 2009-10-30 14:10:52 UTC
(In reply to comment #9)
> - Could you paste the output of the following command ? :
>   $ readelf -s /usr/lib/libgnome-desktop-2.so | grep gnome_bg
> 
> - Gilles asked "did you run revdep-rebuild as suggested by gnome-desktop ebuild
> ?
> "
>   -> did you run it ?
> 

(In reply to comment #9)
> - Could you paste the output of the following command ? :
>   $ readelf -s /usr/lib/libgnome-desktop-2.so | grep gnome_bg
> 
> - Gilles asked "did you run revdep-rebuild as suggested by gnome-desktop ebuild
> ?
> "
>   -> did you run it ?
> 
I have the same error


   383: 0000000000016326   128 FUNC    GLOBAL DEFAULT   11 gnome_bg_get_type
   384: 0000000000014465    48 FUNC    GLOBAL DEFAULT   11 gnome_bg_get_placement
   391: 00000000000173b6   964 FUNC    GLOBAL DEFAULT   11 gnome_bg_is_dark
   392: 000000000001829f   146 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_set_st
   394: 0000000000017df9    84 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_is_sta
   395: 0000000000016102   199 FUNC    GLOBAL DEFAULT   11 gnome_bg_set_color
   401: 0000000000017d79   128 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_get_ty
   417: 0000000000016e9a   294 FUNC    GLOBAL DEFAULT   11 gnome_bg_get_image_size
   419: 00000000000161c9   276 FUNC    GLOBAL DEFAULT   11 gnome_bg_save_to_preferen
   423: 00000000000163e7   624 FUNC    GLOBAL DEFAULT   11 gnome_bg_load_from_prefer
   425: 0000000000017ed7   359 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_start
   428: 00000000000143ed    46 FUNC    GLOBAL DEFAULT   11 gnome_bg_get_filename
   431: 000000000001462f   228 FUNC    GLOBAL DEFAULT   11 gnome_bg_set_pixmap_as_ro
   432: 0000000000014713   539 FUNC    GLOBAL DEFAULT   11 gnome_bg_get_pixmap_from_
   448: 0000000000016083    40 FUNC    GLOBAL DEFAULT   11 gnome_bg_set_placement
   478: 000000000001441b    74 FUNC    GLOBAL DEFAULT   11 gnome_bg_get_color
   481: 00000000000181fe   161 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_set_en
   482: 000000000001737d    57 FUNC    GLOBAL DEFAULT   11 gnome_bg_draw
   488: 0000000000017af5   124 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_siz
   489: 0000000000017e4d   138 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_stop
   491: 0000000000016fc0   556 FUNC    GLOBAL DEFAULT   11 gnome_bg_create_thumbnail
   493: 000000000001777a   891 FUNC    GLOBAL DEFAULT   11 gnome_bg_create_pixmap
   513: 000000000001492e   242 FUNC    GLOBAL DEFAULT   11 gnome_bg_set_pixmap_as_ro
   516: 0000000000018331    53 FUNC    GLOBAL DEFAULT   11 gnome_bg_crossfade_new
   518: 00000000000163ce    25 FUNC    GLOBAL DEFAULT   11 gnome_bg_new
   523: 0000000000015f6d   278 FUNC    GLOBAL DEFAULT   11 gnome_bg_set_filename


I run revdep-rebuild it also stost to build at gnome-control-center

Thanks
Comment 11 stemer 2009-10-30 14:22:43 UTC
(In reply to comment #4)
> did you run revdep-rebuild as suggested by gnome-desktop ebuild ?

Yes, I did. Same thing happens after that. Emerge fails :/
Comment 12 Mark Breddemann 2009-10-30 15:40:21 UTC
Exactly the same bug here. 

Also tried with CFLAGS="", MAKEOPTS="-j1" and gcc-4.3.2


My emerge --info:

Portage 2.1.7.1 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Oct 2009 01:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://10.4.42.5/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddax cddb cdio cdr cli consolekit cracklib crypt cups dbus dri dts dvb dvd dvdr eds emboss emerald encode evo fam firefox flac fortran ftp gdbm gif gmplayer gnome gnome-keyring gnomer gpm gstreamer gtk hal hbci iconv id3tag ipv6 isdnlog jpeg ladspa ldap libass libcaca libnotify libschroedinger libv4l2 mad mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses networkmanager nls nptl nptlonly ofx ogg openal opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection sdl session shout spell spl sse sse2 ssl ssse3 startup-notification stream svg sysfs taglib tcpd theora thunar tiff truetype twolame unicode usb v4l v4l2 vorbis wavpack x264 xinerama 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" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 13 pp-- 2009-10-30 16:55:40 UTC
1. You must download gnome-desktop-2.28.1.tar.bz2
2. Manual configure and compile sources
-=>> ./configure --prefix /usr ; make
cp ./libgnome-desktop/.libs/libgnome-desktop-2.so.11.4.2 /usr/lib/libgnome-desktop-2.so.11.4.2

See
-=>> strings /usr/lib/libgnome-desktop-2.so.11.4.2 | grep gnome_bg_changes_with_time
gnome_bg_changes_with_time
gnome_bg_changes_with_time


And emerging gnome-base/gnome-control-center-2.28.1

P.P
Comment 14 Tolga Dalman 2009-10-30 17:01:05 UTC
Smae problem here. revdep-rebuild did not help.
Comment 15 Mark Breddemann 2009-10-30 17:03:10 UTC
(In reply to comment #13)
> 1. You must download gnome-desktop-2.28.1.tar.bz2
> 2. Manual configure and compile sources
> -=>> ./configure --prefix /usr ; make
> cp ./libgnome-desktop/.libs/libgnome-desktop-2.so.11.4.2
> /usr/lib/libgnome-desktop-2.so.11.4.2

This does it for me! Thanks!
Comment 16 Mars Liu 2009-10-30 19:08:13 UTC
I follow instructions in comment 13, it works!

I also try to use gnome-desktop-2.28.1.tar.bz2 in my /usr/portage/distfiles and successfully duplicate the problem.

Now it is quite obvious, the gnome-desktop-2.28.1.tar.bz2 in /usr/portage/distfiles is broken.
Comment 17 Rafal Glazar 2009-10-30 20:09:27 UTC
(In reply to comment #16)
> I follow instructions in comment 13, it works!
> 
> I also try to use gnome-desktop-2.28.1.tar.bz2 in my /usr/portage/distfiles and
> successfully duplicate the problem.
> 
> Now it is quite obvious, the gnome-desktop-2.28.1.tar.bz2 in
> /usr/portage/distfiles is broken.
> 
Well, I don't think so. I used manually downloaded archive in ebuild and it produce the error. Another thing is that library compiled manually is 4 times bigger then the one from ebuild.
Comment 18 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-31 05:57:41 UTC
This worked for me, strangely enough:
emerge -C gnome-desktop
emerge -1 gnome-control-center
Comment 19 Greg Turner 2009-10-31 07:05:35 UTC
(In reply to comment #18)
> This worked for me, strangely enough:
> emerge -C gnome-desktop
> emerge -1 gnome-control-center
> 

I don't think that's a solution since now you have a system without gnome-desktop.  The real culprit is strip.  If I put:

RESTRICT="strip"

in the gnome-desktop ebuild (and emerge it, ldo) then I can build gnome-control-center.

Presumably if we could convice the ebuild system to pass --keep-symbol=gnome_bg_{changes_with_time,create_frame_thumbnail} as arguments to strip, all would be well.

The real solution probably belongs upstream -- whatever compiler hints tell strip not to nix a symbol obviously should be applied to these ones.
Comment 20 Greg Turner 2009-10-31 07:41:38 UTC
Created attachment 208834 [details, diff]
deproblemitizing patch

this should do it?
Comment 21 Greg Turner 2009-10-31 07:53:41 UTC
(In reply to comment #20)
> Created an attachment (id=208834) [details]
> deproblemitizing patch
> 
> this should do it?
> 

oh. still one problem at least.  if debug is USEd we should not strip I think.

Btw, off topic, but why the old-lib business in that ebuild?  On my system it told me to delete the new and only libgnomedesktop.
Comment 22 jsurveyor 2009-10-31 07:58:33 UTC
An update:
readelf -s /usr/lib/libgnome-desktop-2.so.11.4.2 | grep gnome_bg_cha 
   466: 00016c40   202 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_siz
   470: 00014630   112 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_tim
   378: 00016c40   202 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_siz
   477: 00014630   112 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_tim

Next 
cp libgnome-desktop-2.so.11.4.2 libgnome-desktop-2.so.11.4.2.unstripped
emerge gnome-desktop      # Didnt know the exact command to strip on the spot
readelf -s /usr/lib/libgnome-desktop-2.so.11.4.2 | grep gnome_bg_chan
   466: 00016c40   202 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_siz
   470: 00014630   112 FUNC    GLOBAL DEFAULT   11 gnome_bg_changes_with_tim

BTW: In the qmerge stage the ebuild complains about an old
libgnome-desktop-2.so.11 and advises running revdep-rebuild --library
libgnome-desktop-2.so.11 - even though that is the one and only current
version.

Lastly, I removed my unstripped libgnome-desktop and tried emerge
gnome-control-center-2.28.1 again and it now works. I don't know whats
happening here.(Could it have been picking up a stale copy in one of the build
or temp install areas?)
Comment 23 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-10-31 09:28:43 UTC
This could possibly be because of the preserve_old_lib in gnome-desktop

pkg_preinst() {
    gnome2_pkg_preinst
    preserve_old_lib /usr/$(get_libdir)/libgnome-desktop-2.so.11
}

Could someone with this problem try to remove that file before merging gnome-control-center?
Comment 24 Stephan Friedrichs 2009-10-31 11:10:23 UTC
(In reply to comment #23)
> This could possibly be because of the preserve_old_lib in gnome-desktop
> 
> pkg_preinst() {
>     gnome2_pkg_preinst
>     preserve_old_lib /usr/$(get_libdir)/libgnome-desktop-2.so.11
> }
> 
> Could someone with this problem try to remove that file before merging
> gnome-control-center?
> 

This fixed the issue for me  (the first command also removed /usr/lib64/libgnome-desktop-2.so.11):

paludis --uninstall --permit-unsafe-uninstalls gnome-desktop
paludis --install --preserve-world gnome-desktop
paludis --install --preserve-world gnome-control-center
Comment 25 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-10-31 14:38:06 UTC
*** Bug 291275 has been marked as a duplicate of this bug. ***
Comment 26 Jory A. Pratt gentoo-dev 2009-10-31 15:28:24 UTC
(In reply to comment #23)
> This could possibly be because of the preserve_old_lib in gnome-desktop
> 
> pkg_preinst() {
>     gnome2_pkg_preinst
>     preserve_old_lib /usr/$(get_libdir)/libgnome-desktop-2.so.11
> }
> 
> Could someone with this problem try to remove that file before merging
> gnome-control-center?
> 

Tested and fails in the exact same way.
Comment 27 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-10-31 15:32:50 UTC
Alright, so the preserved_old_lib line was tremendous amounts of fail since the major soname did NOT change. Fixed with a bump so people rebuild, and -r0 removed.
Comment 28 Lars Lindley 2009-10-31 15:45:57 UTC
Works fine for me now. Thanks
Comment 29 Tolga Dalman 2009-10-31 19:54:10 UTC
Dito - thanks!!
Comment 30 Victor De Ponte 2010-08-05 17:08:47 UTC
tried to manually compile gnome-desktop and gnome-control-center and didnt work... but reading carefully the lines rigth before the error was produced, i realized that my problem was the absence of the metacity (the windows manager) packages... just did this:

# emerge x11-wm/metacity x11-themes/metacity-themes dev-python/metacity-python
# emerge gnome-control-center

and worked to me!!! =)