Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261633 - gnome-extra/avant-window-navigator-9999 - configure fails because of incorrect ebuild. Problem of dependencies
Summary: gnome-extra/avant-window-navigator-9999 - configure fails because of incorrec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 00:27 UTC by Serge
Modified: 2009-04-02 03:09 UTC (History)
0 users

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


Attachments
updated ebuild with fix (avant-window-navigator-9999-r1.ebuild,1.58 KB, text/plain)
2009-04-01 06:18 UTC, Justin C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serge 2009-03-08 00:27:35 UTC
Whe i try to emerge avant-window-navigator with this:
USE="xfce -gnome -gconf" emerge =gnome-extra/avant-window-navigator-9999
I get the follows:
>>> Source unpacked.
You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'.
 * Running eautoreconf in '/var/tmp/portage/gnome-extra/avant-window-navigator-9999/work/avant-window-navigator-9999' ...
 * Running aclocal ...                                                                                          [ ok ]
 * Running libtoolize --copy --force --automake ...                                                             [ ok ]
 * Running aclocal ...                                                                                          [ ok ]
 * Running autoconf ...                                                                                         [ ok ]
 * Running autoheader ...                                                                                       [ ok ]
 * Running automake --add-missing --copy ...                                                                    [ ok ]
 * Running elibtoolize in: avant-window-navigator-9999
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Configuring source in /var/tmp/portage/gnome-extra/avant-window-navigator-9999/work/avant-window-navigator-9999 ...
 * econf: updating avant-window-navigator-9999/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating avant-window-navigator-9999/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c

...

checking for config backend support... checking for gconftool-2... /usr/bin/gconftool-2
GConf
checking for AWN... configure: error: Package requirements (glib-2.0 >= 2.8.0 gthread-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 >= 2.10 dbus-glib-1 gnome-desktop-2.0 libgnome-2.0 gnome-vfs-module-2.0 gconf-2.0) were not met:

No package 'gnome-desktop-2.0' found


Reproducible: Always

Steps to Reproduce:
1. layman -a desktop-effects
2. USE="xfce -gnome -gconf" emerge =gnome-extra/avant-window-navigator-9999
3.

Actual Results:  
No package 'gnome-desktop-2.0' found

Expected Results:  
Successful installation

I decided to fix this through:

--- avant-window-navigator-9999.ebuild~	2009-03-07 04:41:05.000000000 +0300
+++ avant-window-navigator-9999.ebuild	2009-03-08 02:43:51.000000000 +0300
@@ -47,7 +47,7 @@
 	eautoreconf || die "eautoreconf failed"
 }
 
-src_compile() {
+src_configure() {
 	local myconf
 
 	# These are alternatives so it won't work with use_with
@@ -64,6 +64,9 @@
 		$(use_with gconf) \
 		$(use_with vala) \
 		|| die "econf failed"
+}
+
+src_compile() {
 
 	emake || die "emake failed"
 }
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-08 00:36:16 UTC
please assign this bug to people responsible of it in the proper overlay, thanks.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 00:46:26 UTC
(In reply to comment #1)
> please assign this bug to people responsible of it in the proper overlay,
> thanks.

That should be desktop-effects herd in this case, right?
Reassigning to them...
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-08 00:49:10 UTC
This one is from desktop-effects, yes.
This bug means the -gconf and -gnome use flags are not working. I'll have to look at it.
Comment 4 Justin C 2009-04-01 06:18:35 UTC
Created attachment 186958 [details]
updated ebuild with fix

EAPI 2, which adds the src_configure() phase function.

The awn-9999 ebuild fails to override this function, so the default is called which runs econf with no flags.  The default flags for configure have gnome dependencies enabled.

Fixed by moving econf code from src_compile() to src_configure().

Tested with success.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-02 03:09:09 UTC
(In reply to comment #4)
> Created an attachment (id=186958) [edit]
> updated ebuild with fix
> 
> EAPI 2, which adds the src_configure() phase function.
> 
> The awn-9999 ebuild fails to override this function, so the default is called
> which runs econf with no flags.  The default flags for configure have gnome
> dependencies enabled.
> 
> Fixed by moving econf code from src_compile() to src_configure().
> 
> Tested with success.

Justin, thanks for your patch.
I see I forgot to update the ebuild after the gnome2 eclass was updated to EAPI-2.
Should be fixed now. Please reopen the bug if not.