while trying to emerge gnome-network-1.0.2, I get the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DVERSION=\""1.0.2"\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -march=pentium3 -pipe -O3 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions -mmmx -msse2 -msse -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c gmailman.m gcc: gmailman.m: Objective-C compiler not installed on this system make[2]: *** [gmailman.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-network-1.0.2-r1/work/gnome-network-1.0.2/gmailman' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-network-1.0.2-r1/work/gnome-network-1.0.2' make: *** [all-recursive-am] Error 2 I see this is clearly a dependency error: it needs the Objective-C compiler, while the ebuild doesn't include it as a dependency Reproducible: Always Steps to Reproduce: 1. make sure you don't have the gcc Objective-C compiler installed 2. emerge gnome-panel 3. see the above error report Actual Results: gnome-panel didn't emerge Expected Results: gnome-panel should have emerged
there is no way to force this, just built gcc with objc compiler. afaic gnome-network can be ditched btw
Created attachment 45321 [details] Ebuild for the latest gnome-network (1.99.5) This is an ebuild that I fudged from the old 1.0.2-r1 ebuild to get the dependencies and the latest 1.99.5 version installed and successfully working.
Can I suggest now that this old version 1.0.2 be removed from portage? It is seriously out of date, and the ebuild didn't even hold a list of the dependant applications. I would also ask that someone please check through the ebuild I fudged together as I am far from being a portage pro. It worked for me, but might be faulty.
1.0.2 is the last gtk1 version & as such shouldn't be replaced by 1.99.x - which is a development version & is now named different anyway (gnome-nettool). And the ebuilds deplist was just fine until someone added an objc USE flag to gcc which some ppl seem to disable.
No response for two months. You just need to USE="objc" emerge gcc for this one.