Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108014 - .glade/.xml files are getting linked wrong in emerge
Summary: .glade/.xml files are getting linked wrong in emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 119872
  Show dependency tree
 
Reported: 2005-10-03 13:53 UTC by Craig Duquette
Modified: 2006-03-14 18:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Duquette 2005-10-03 13:53:28 UTC
I'm not 100% what is going on here, but for some reason the recently emerged
gnome applications are having touble locating their .glade files. 

gnome-terminal error when trying to access the preferences window:
The file
"/var/tmp/portage/gnome-terminal-2.12.0/image//usr/share/gnome-terminal/glade/gnome-terminal.glade2"
is missing. This indicates that the application is installed incorrectly.

sound-juicer error when trying to execute the program:
(sound-juicer:1754): libglade-WARNING **: could not find glade file
'/var/tmp/portage/sound-juicer-2.12.2/image//usr/share/sound-juicer/sound-juicer.glade'

For some reason it thinks the glade files are in the build directory. I'm not
sure what could make this happen, because the initial emerge of these
applications (2.12.x ones) compiled fine and ran fine, but anything since the
last week seems to be giving these errors.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.53_rc3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-
ck6 i686)
=================================================================
System uname: 2.6.12-ck6 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews
.com/linux/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa animation avi berkdb bitmap-fonts browserplugin cdr cup
s custom-cflags dbus dvd emboss encode firefox fortran gdbm gif glitz glx gnome
gphoto2 gpm gstreamer gtk gtk2 hal imlib java jpeg libg++ libwww mad mikmod mmx
mono moznocompose moznoirc moznomail mozpango mozsvg mozxft mp3 mpeg ncurses net
work noantlr nobcel nobeanutils nobsf nobsh nocommonslogging nocommonsnet nojdep
end nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonl
y ogg oggvorbis opengl pam pdflib perl png ppds python quicktime readline samba
sdl spell sse sse2 ssl tcpd theora tiff truetype-fonts type1-fonts vorbis wifi w
in32codecs xine xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Craig Duquette 2005-10-06 14:23:11 UTC
It turns out it's not only glade files that are acting up. The .xml help files
are being put in the wrong locations also.

Failed to open file
'/var/tmp/portage/yelp-2.12.1/image//usr/share/yelp/ui/yelp-ui.xml': No such
file or directory

is the error I get when trying to access the help menu of any gnome application.
Can anyone replicate the issue?
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2005-10-07 05:33:12 UTC
if you do:

equery files gnome-terminal

where does it show the glade files?

are you using any overlays?

have you tried recompiling the packages?
Comment 3 Craig Duquette 2005-10-07 09:40:15 UTC
Yea I tried recompiling everything with no luck.

/usr/share/gnome-terminal/glade/gnome-terminal.glade2 does in fact exist. It's
just linking it wrong.

I've got a few packages in /usr/local/portage such as blam, etc, but no libs or
anything so it can't be an overlay issue. revdep-rebuild turned up nothing also.
Comment 4 Craig Duquette 2005-10-07 10:39:31 UTC
When I try to run xchat-gnome I get:
(xchat-gnome:9069): libglade-WARNING **: Could not load support for `gnome':
libgnome.so: cannot open shared object file: No such file or directory

(xchat-gnome:9069): libglade-WARNING **: Could not load support for `bonobo':
libbonobo.so: cannot open shared object file: No such file or directory

Which leads me to believe this is some kind of libglade error.
Comment 5 Joe McCann (RETIRED) gentoo-dev 2005-10-07 21:42:00 UTC
can you try adding the folowing line to the ebuilds and remerging them:
USE_DESTDIR="1"
Comment 6 Craig Duquette 2005-10-08 08:56:57 UTC
Adding USE_DESTDIR="1" in libglade ONLY fixed my problems for every application.
Thanks!
Comment 7 Craig Duquette 2005-10-08 08:59:13 UTC
Upon further tested I have to recompile so applications using libglade for
things to work properly.
Comment 8 Lance Lucas 2005-10-10 13:09:52 UTC
i hit the same bug using trying to use gedit and evolution:


Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.12-reiser4-r14 x86_64)
=================================================================
System uname: 2.6.12-reiser4-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe -funroll-all-loops -fpeel-loops -ftracer
-funswitch-loops -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe -funroll-all-loops -fpeel-loops -ftracer
-funswitch-loops -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa apache2 artworkextra avi
bash-completion berkdb bitmap-fonts browserplugin bzip2 cd cddb cdr chroot
clamav crypt css cups curl dbus dv dvd dvdr dvdread eds emboss encode esd exif
fam fame ffmpeg firefox flac flash foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 hal ieee1394 imagemagick imlib java javascript jikes jpeg
lcms ldap libcaca live lzo lzw lzw-tiff mad mbox mng mozilla moznocompose
moznoirc moznomail moznosvg mp3 mpeg nautilus ncurses network nls nptl nptlonly
nsplugin nvidia offensive ogg opengl oss pam pcre pdflib perl pic png posix
python quicktime readline real samba sdl speex spell ssl svg tcltk tcpd theora
tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis
xine xml xml2 xmms xpm xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Comment #5 also fixed it for me.  
Comment 9 John N. Laliberte (RETIRED) gentoo-dev 2006-02-18 19:23:33 UTC
we are defaulting to destdir by default in the future.
( the new eclass changes are in the overlay )

close this once the changes are in the main tree.
Comment 10 John N. Laliberte (RETIRED) gentoo-dev 2006-03-14 18:42:08 UTC
eclass changes now in the tree, marking this resolved.