Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38045 - gtk-engines-eazel-0.3-r1 fails on libglade
Summary: gtk-engines-eazel-0.3-r1 fails on libglade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 21:18 UTC by Marcel J. P. Möhring
Modified: 2004-03-03 08:24 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 Marcel J. P. Möhring 2004-01-12 21:18:09 UTC
on configure:
...
checking for GDK_PIXBUF - version >= 0.2.5... yes
Unknown library `libglade'
Unknown library `libglade'
checking how to run the C preprocessor... gcc -E
...

which should be:
GNOME_CFLAGS=`gnome-config --cflags gnomeui libglade`
GNOME_LIBS=`gnome-config --libs gnomeui libglade`
---------
on build:
test.c:3:25: glade/glade.h: No such file or directory
test.c: In function `main':
test.c:11: `GladeXML' undeclared (first use in this function)
test.c:11: (Each undeclared identifier is reported only once
test.c:11: for each function it appears in.)
test.c:11: `xml' undeclared (first use in this function)
test.c:27: warning: assignment makes pointer from integer without a cast
make[2]: *** [test.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-engines-eazel-0.3-r1/work/eazel-engine-0.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-engines-eazel-0.3-r1/work/eazel-engine-0.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-themes/gtk-engines-eazel-0.3-r1 failed.
!!! Function gtk-engines2_src_compile, Line 103, Exitcode 2
!!! make failed
---------
tomcat root # emerge -pv libglade
...
[ebuild   R   ] gnome-base/libglade-2.0.1  -doc +nls
---------

Might it need libglade-0.17-r6.ebuild?

Reproducible: Always
Steps to Reproduce:
1.: emerge =gtk-themes-1.0
(without using GNOME)
Comment 1 Marcel J. P. Möhring 2004-01-12 21:48:47 UTC
emerge =libglade-0.17-r6 solves it

so just an add to DEPEND, I assume
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2004-01-13 01:38:20 UTC
There are comments re: this in gtk-engines-eazel-0.3. From CVS log, looks like they were added by leonardop, but some time ago. Does this mean that gtk-engines-eazel-0.3 never compiled unless the user happened to have libglade installed ? (I think I hear Spider rumbling now)

Suggestions ?
Comment 3 foser (RETIRED) gentoo-dev 2004-01-13 03:33:16 UTC
from -r1 ebuild :
# This one needs the capplet stuff from gnomecc-1.4.  Some
# tests also need libglade, but it is a heavy dep, so dont
# know if we should rather disabled the tests...
Comment 4 Marcel J. P. Möhring 2004-01-13 11:01:49 UTC
brings me to to the question:
How many packages are there which have could have a manually invoked test (=invoked via ebuild)?

If there are enough packages I would propose a global USE-flag "test", so user can decide if they want to enable test for their software and are willing to maybe emerge also a few extra-deps for it.
Comment 5 foser (RETIRED) gentoo-dev 2004-01-13 15:15:08 UTC
It's like debug everywhere, a lot of work and little gain for the casual user. You can do it yourself if  you like. Tests usually are of little importance to the general user and there for developer purposes only (and they don't get installed). But this is a bit offtopic really.
Comment 6 Marcel J. P. Möhring 2004-01-13 23:41:05 UTC
to close this bug I would suggest to bump to -r2 with disabled tests, so the next user with this constellation doesn't run into the same error.
(I tried myself but configure/make don't seem to listen to --disable-gtktest/--disable-gdk-pixbuftest, although stated in --help :/)
Comment 7 foser (RETIRED) gentoo-dev 2004-03-03 08:24:37 UTC
Those are other tests. I worked around it by replacing the test with a 0 returning piece of code. Please test.