Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357883 - gnome-base/gnome-panel-2.32.1-r1: libgnome/gnome-desktop-utils.h: No such file or directory
Summary: gnome-base/gnome-panel-2.32.1-r1: libgnome/gnome-desktop-utils.h: No such fil...
Status: RESOLVED DUPLICATE of bug 354951
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 07:19 UTC by Steven Trogdon
Modified: 2011-03-11 15:32 UTC (History)
0 users

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


Attachments
build log (build.log.bz2,5.41 KB, application/x-bzip)
2011-03-08 13:42 UTC, Steven Trogdon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Trogdon 2011-03-08 07:19:07 UTC
In the process of upgrading to gnome-light-2.32.1, gnome-panel-2.32.1-r1 would not build. This is somewhat odd since the upgrade was successfully completed on a machine similar to the one on which the upgrade has failed.

Reproducible: Always

Steps to Reproduce:
1.emerge gnome-base/gnome-panel
2.
3.
Actual Results:  
The following is that portion of the build log where the failure occurs.

Making all in applets
make[2]: Entering directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets'
Making all in clock
make[3]: Entering directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock'
make  all-recursive
make[4]: Entering directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock'
Making all in pixmaps
make[5]: Entering directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock/pixmaps'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock/pixmaps'
make[5]: Entering directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock'
  CC     libclock_applet_la-calendar-window.lo
  CC     libclock_applet_la-clock.lo
calendar-window.c:46:42: error: libgnome/gnome-desktop-utils.h: No such file or directory
clock.c:203: warning: 'clock_numbers' defined but not used
  CC     libclock_applet_la-clock-face.lo
make[5]: *** [libclock_applet_la-calendar-window.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
clock-face.c:18:26: error: librsvg/rsvg.h: No such file or directory
clock-face.c: In function 'clock_face_load_face':
clock-face.c:436: warning: implicit declaration of function 'rsvg_pixbuf_from_file_at_size'
clock-face.c:436: warning: nested extern declaration of 'rsvg_pixbuf_from_file_at_size'
clock-face.c:438: warning: assignment makes pointer from integer without a cast
clock-face.c:447: warning: assignment makes pointer from integer without a cast
make[5]: *** [libclock_applet_la-clock-face.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets/clock'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1/applets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.32.1-r1/work/gnome-panel-2.32.1'
make: *** [all] Error 2
emake failed
 ^[[31;01m*^[[0m ERROR: gnome-base/gnome-panel-2.32.1-r1 failed:
 ^[[31;01m*^[[0m   compile failure
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   56:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 5565:  Called gnome2_src_compile
 ^[[31;01m*^[[0m   environment, line 3115:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       emake || die "compile failure"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =gnome-base/gnome-panel-2.32.1-r1',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =gnome-base/gnome-panel-2.32.1-r1'.


Expected Results:  
One would hope that gnome-panel is emerged. The first error above is associated with libgnome/gnome-desktop-utils.h not being found. On my system gnome-desktop-utils.h is located at

/usr/include/gnome-desktop-2.0/libgnome/gnome-desktop-utils.h

If I patch the include paths in appropriate files from <libgnome/gnome-desktop-utils.h> to <gnome-destop-2.0/libgnome/gnome-desktop-utils.h> then building will proceed only to fail to find another header. This seems to suggest that the package may not be configured correctly. And I mentioned above this package was successfully installed on a nearly identical amd64 machine.


My emerge --info:

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 2.6.35-gentoo-r13 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r13-x86_64-AMD_Turion-tm-_64_Mobile_Technology_ML-37-with-gentoo-2.0.1
Timestamp of tree: Tue, 08 Mar 2011 00:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r2::sage-on-gentoo, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1, 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA googleearth AdobeFlash-10 AdobeFlash-10.1 dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-after --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="/var/lib/layman/x11 /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/sage-on-gentoo /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 arts audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gphoto2 gpm gstreamer gtk iconv ieee1394 imlib ipv6 java jpeg lcms ldap lesstif libnotify mad mikmod mmx mng modules motif mozilla mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pango pcre pdf perl php pic png policykit ppds pppd python qt qt3support qt4 readline samba sdl server session speex spell sse sse2 ssl startup-notification svg sysfs tcpd tetex theora tiff truetype udev unicode usb vorbis x264 xcb xinerama xml xml2 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 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="ptp2" 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="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati vesa vga radeon fbdev" 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 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-08 07:38:05 UTC
Please attach a full build.log
Comment 2 Steven Trogdon 2011-03-08 13:42:44 UTC
Created attachment 265153 [details]
build log
Comment 3 Pacho Ramos gentoo-dev 2011-03-08 13:51:36 UTC
What gnome-base/librsvg version do you have?
Comment 4 Pacho Ramos gentoo-dev 2011-03-08 13:54:06 UTC
Maybe you also need to run revdep-rebuild...
Comment 5 Steven Trogdon 2011-03-08 14:56:46 UTC
(In reply to comment #3)
> What gnome-base/librsvg version do you have?

gnome-base/librsvg-2.32.1 is installed

(In reply to comment #4)
> Maybe you also need to run revdep-rebuild...

I did this last before posting the bug with no effect on the failure. media-gfx/eog-2.28.2 and gnome-extra/gnome-screensaver-2.30.2 were the only two packages built/emerged.
Comment 6 Steven Trogdon 2011-03-08 15:19:40 UTC
Just a thought, could this be a parallel make issue? The subject machine has a single processor with one core. The machine on which the install was successful is a mulit-processor machine.
Comment 7 Pacho Ramos gentoo-dev 2011-03-08 17:32:51 UTC
If it's a parallel problem issue it should "work" merging with MAKEOPTS="-j1"... but I don't think it's the problem :-(

Do you still have pending updated on emerge -avuDN world? Did you checked /var/log/portage/elog/summary.log instructions?
Comment 8 Pacho Ramos gentoo-dev 2011-03-08 17:34:00 UTC
Does it merge ok with USE="-doc"?
Comment 9 Steven Trogdon 2011-03-08 17:56:09 UTC
(In reply to comment #8)
> Does it merge ok with USE="-doc"?

No it doesn't. I get the same initial failure as previously, i.e.

  CC     libclock_applet_la-clock-face.lo
calendar-window.c:46:42: error: libgnome/gnome-desktop-utils.h: No such file or directory
make[5]: *** [libclock_applet_la-calendar-window.lo] Error 1
Comment 10 Pacho Ramos gentoo-dev 2011-03-08 18:06:30 UTC
Please also try with USE="eds" and show the outputs of:
equery b /usr/include/gnome-desktop-2.0/libgnome/gnome-desktop-utils.h
locate gnome-desktop-utils.h
Comment 11 Steven Trogdon 2011-03-08 18:35:14 UTC
(In reply to comment #7)
> If it's a parallel problem issue it should "work" merging with
> MAKEOPTS="-j1"... but I don't think it's the problem :-(

I thought perhaps the package was doing something else internally, but a build
with "-j1" still fails.

> 
> Do you still have pending updated on emerge -avuDN world? Did you checked

Just the gnome stuff and gnome-panel is first:

Calculating dependencies... done!
[ebuild     U ] gnome-base/gnome-panel-2.32.1-r1 [2.30.2] USE="bonobo%* -doc*
-eds (-introspection) -networkmanager (-policykit%*)" 0 kB
[ebuild     U ] gnome-base/gnome-light-2.32.1 [2.30.2-r1] USE="automount" 0 kB
[ebuild     U ] gnome-base/gnome-applets-2.32.1.1 [2.30.0-r1] USE="gstreamer
ipv6 policykit -battstat -gnome -hal -networkmanager (-debug%)" 0 kB

> /var/log/portage/elog/summary.log instructions?

There were a few minor items. They have been fixed and still no go.
Comment 12 Steven Trogdon 2011-03-08 19:21:06 UTC
(In reply to comment #10)
> Please also try with USE="eds" and show the outputs of:

This fails because dev-libs/libgdata cannot be built. This is strange! The failure is

  CC     gdata/gdata_libgdata_la-gdata-entry.lo
gdata/gdata-entry.c:32:18: error: glib.h: No such file or directory
gdata/gdata-entry.c:33:28: error: glib/gi18n-lib.h: No such file or directory
gdata/gdata-entry.c:34:27: error: libxml/parser.h: No such file or directory
In file included from gdata/gdata-entry.c:37:
gdata/gdata-entry.h:24:25: error: glib-object.h: No such file or directory
In file included from gdata/gdata-entry.h:26,
                 from gdata/gdata-entry.c:37:

Is something wrong with my gcc? There was an upgrade from 4.4.4-r2 -> 4.4.5

> equery b /usr/include/gnome-desktop-2.0/libgnome/gnome-desktop-utils.h

This gives:
gnome-base/gnome-desktop-2.32.1 (/usr/include/gnome-desktop-2.0/libgnome/gnome-desktop-utils.h)

> locate gnome-desktop-utils.h
and this:

/usr/include/gnome-desktop-2.0/libgnome/gnome-desktop-utils.h
Comment 13 Pacho Ramos gentoo-dev 2011-03-08 19:43:16 UTC
Looks like your system is broken in some way, but I don't know what :-( Maybe some other gnome team member knows more about what could be causing this
Comment 14 Pacho Ramos gentoo-dev 2011-03-09 10:49:05 UTC
Did you try uninstalling ccache?
Comment 15 Steven Trogdon 2011-03-09 15:28:45 UTC
(In reply to comment #14)
> Did you try uninstalling ccache?

I spent much of yesterday back porting to gnome-light-2.30.2-r1 only to discover that the _only_ package that could not be built was gnome-panel-2.30.2 for the same reason gnome-panel-2.32.1-r1 could not be built. Fortunately, I have the old copy of gnome-panel. So this all may not be a gnome issue, but it is odd, as near as I can determine, that only gnome and some of its components are affected. gnome-panel clearly built as some point. I need to sort through the logs, ~6000 lines.

I did uninstall ccache, but gnome-panel still had the same build problem. Any pointers are always appreciated.
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-09 15:56:34 UTC
maybe it's only happening since dbus upgrade to 1.4.6 ?
Comment 17 Steven Trogdon 2011-03-09 19:27:26 UTC
(In reply to comment #16)
> maybe it's only happening since dbus upgrade to 1.4.6 ?

I've never had 1.4.6 installed here and it appears from the logs that dbus-1.4.1 was in place when gnome-light-2.30.2-r1 was installed and gnome-panel-2.30.2
built correctly.
Comment 18 Steven Trogdon 2011-03-10 15:19:25 UTC
This issue has been resolved. Unfortunately, I had allowed gnutls-2.10.5 to be installed which broke a variety of things. In particular, some of the components of gnome use pkg-config --cflags " ... " to determine include paths associated with various libraries. These paths are stored in a "CFLAGS" environment variable. When pkg-config cannot resolve the path of one of its arguments it fails silently with terminal output being routed to /dev/null. A typical failure output would have been

# pkg-config --cflags gweather

Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'
to the PKG_CONFIG_PATH environment variable
Package 'zlib', required by 'GnuTLS', not found

The result was that the environment variable containing the include paths was empty, the package was incorrectly configured and hence; the inability to locate required header files. The above output pointed to gnutls and after installing the stable 2.10.4 things are back to normal. Pehaps there is another way to resolve the issue but what's indicated worked here.
Comment 19 Pacho Ramos gentoo-dev 2011-03-11 10:00:42 UTC
What libnotify version do you have installed?
Comment 20 Pacho Ramos gentoo-dev 2011-03-11 10:04:14 UTC
This could also be a dupe of bug 342393 as looks similar to bug 354951
Comment 21 Steven Trogdon 2011-03-11 13:37:50 UTC
(In reply to comment #19)
> What libnotify version do you have installed?

I have x11-libs/libnotify-0.4.5
Comment 22 Pacho Ramos gentoo-dev 2011-03-11 15:32:58 UTC

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