The gpsim ebuild currently fails because GPSim relies on GTK2 and GTK+extra-2.0, but while the GTK ebuild is slotted so that GTK2 and GTK3 can co-exist, the gtk_extra ebuild is not. Reproducible: Always Steps to Reproduce: 1. Get up to date (GTK3 enabled) 2. Attempt to emerge gpsim Actual Results: The configure step fails to find gtkextra-2.0 because the gtk+extra ebuild has updated to 3.0
gtk-extra 3.0.1 is still just gtk2. (TBH, I don't see why that version of gtk+extra went into the tree anyway - it's incompatible with its previous versions, seems to have no significant improvements and is definitely *not* gtk3 ready).
*** Bug 398251 has been marked as a duplicate of this bug. ***
### configure for gpsim-0.24.0-r has the following gtkextra-2.0 test ### $PKGCONFIG --exists gtkextra-2.0 if test $? != 0; then { { $as_echo "$as_me:$LINENO: error: Cannot find gtkextra-2.0 package" >&5 $as_echo "$as_me: error: Cannot find gtkextra-2.0 package" >&2;} { (exit 1); exit 1; }; } fi ### eix shows that I have gtk+extra-3.0.1 installed ### root@osage ~ # eix -e gtk+extra [I] x11-libs/gtk+extra Available versions: 2.1.2-r1{tbz2} 3.0.1{tbz2} {+introspection static-libs} Installed versions: 3.0.1{tbz2}(08:40:44 PM 12/30/2011)(introspection -static-libs) Homepage: http://gtkextra.sourceforge.net Description: Useful Additional GTK+ widgets ### running "$PKGCONFIG --exists" shows a lack of gtkextra-2.1 and the presence of gtkextra-3.0 ### root@osage ~ # /usr/bin/pkg-config --exists gtkextra-2.1; echo $? 1 root@osage ~ # /usr/bin/pkg-config --exists gtkextra-3.0; echo $? 0 Question: shouldn't the ebuild (or configure) have a 2.1 vs 3.0 check ???
Created attachment 313959 [details, diff] gpsim-0.26.1.ebuild.patch
Created attachment 313961 [details, diff] gpsim-0.26.1-gtkextra.patch
Created attachment 313963 [details, diff] gpsim-0.26.1-glib.patch
gpsim-0.26.1-gtkextra.patch fix this issue for me. But later I receive another failure that is fixed by evident patch that is already in upstream repository. Please, review and apply or give me Ok. Also reported this issue upstream: https://sourceforge.net/tracker/?func=detail&aid=3531562&group_id=2341&atid=302341
+ 21 Jul 2012; Pacho Ramos <pacho@gentoo.org> + +files/gpsim-0.26.1-glib-single-include.patch, + +files/gpsim-0.26.1-gtkextra.patch, gpsim-0.26.1.ebuild: + Fix build against glib-2.32 and latest gtk+extra, thanks a lot to Peter + Volkov. +
*** Bug 427940 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > *** Bug 427940 has been marked as a duplicate of this bug. *** Follow up is happening in bug 427942