Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48300 - glabels and abiword looking for wrong glade file (libglade)
Summary: glabels and abiword looking for wrong glade file (libglade)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-19 02:10 UTC by Wernfried Haas (RETIRED)
Modified: 2004-04-27 11:29 UTC (History)
1 user (show)

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 Wernfried Haas (RETIRED) gentoo-dev 2004-04-19 02:10:40 UTC
both glabels and abiword look for glade files in a wrong place, there seem to be some errors in the path. 
installed versions:
*  app-office/abiword
      Latest version available: 2.0.2
      Latest version installed: 2.0.2

*  app-misc/glabels
      Latest version available: 1.93.2
      Latest version installed: 1.93.2

2 versions of libglade are installed:
gnome-base/libglade-0.17-r6
gnome-base/libglade-2.0.1

Reproducible: Always
Steps to Reproduce:
for glabels:
1. start glabels
(glabels:11405): libglade-WARNING **: could not find glade file '/var/tmp/portage/glabels-1.93.2/image//usr/share/glabels/glade/object-editor.glade'

abiword:
1. start abword-2.0
2. Select Tools -> Plugins
(AbiWord:11408): libglade-WARNING **: could not find glade file '/var/tmp/portage/abiword-2.0.2/image//usr/share/AbiSuite-2.0/AbiWord/glade/xap_UnixDlg_PluginManager.glade'


Actual Results:  
abiword works except plugins but glabels segfaults when painting something.

Expected Results:  
work fine :-)

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse -pipe -mmmx -msse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -pipe -mmmx -msse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://sunsite.informatik.rwth-aachen.
de/pub/Linux/gentoo http://212.219.247.19/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb cdr crypt cups dga dvd dvdr emacs encode esd foomaticdb 
gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod mmx motif 
mozilla mpeg ncurses nls odbc oggvorbis opengl oss pam pcmcia pdflib perl png pnp python 
quicktime readline samba scanner sdl slang spell ssl svga tcpd tetex tiff truetype usb x86 xinerama 
xml2 xmms xv yahoo zlib"
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2004-04-19 23:03:06 UTC
This is really strange.

Regarding gLabels, I can't reproduce the problem, and I can't think of any reason why this could be happening, other than an obscure bug affecting your system.

It seems like the macro GLABELS_GLADE_DIR is defined incorrectly, but that shouldn't be the case, since portage's standard econf() function specifies --datadir=/usr/share, therefore,

-DGLABELS_GLADE_DIR=\""$(datadir)/glabels/glade/"\"

from src/Makefile.in, should set the macro correcty. It does seem to work for me:

$ strings /usr/bin/glabels | grep "glabels/glade"
/usr/share/glabels/glade/prefs-dialog.glade
/usr/share/glabels/glade/object-editor.glade
/usr/share/glabels/glade/template-designer.glade

Please attach a full log from the emerge process, so could look further into this.

As a side note, in the future, you might want to open different bug reports in these situations, so we could track issues from different packages (glabels and abiword in this case) separately.

Thanks.
Comment 2 foser (RETIRED) gentoo-dev 2004-04-25 10:38:23 UTC
no word so far and i actually do not think this is a reproducable case, so closing.
Comment 3 Wernfried Haas (RETIRED) gentoo-dev 2004-04-27 11:29:40 UTC
Sorry for not answering earlier, the problem seems to have resolved itself after reemering gnome, abiword, glabels and probably some other things. a similar problem (paths pointing to /var/tmp/portage) appeared also with some other library (can't remember which since i didn't write it down and it dissapeared mysteriously after reemerging, too).
Thanks for your time.