First bug so go easy on me =) I'm trying to compile gnome-network and it neads guile-1.4.1 and this is what I get when i try to compile guile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -march=pentium4 -O1 -pipe -Wall -Wmissing-prototypes -c net_db.c -MT net_db.lo -MD -MP -MF .deps/net_db.TPlo -fPIC -DPIC -o .libs/net_db.lo net_db.c:85: error: conflicting types for 'inet_aton' /usr/include/arpa/inet.h:74: error: previous declaration of 'inet_aton' was herenet_db.c:85: error: conflicting types for 'inet_aton' /usr/include/arpa/inet.h:74: error: previous declaration of 'inet_aton' was heremake[2]: *** [net_db.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/guile-1.4.1/work/guile-1.4.1/libguile' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/guile-1.4.1/work/guile-1.4.1/libguile' make: *** [all-recursive] Error 1 !!! ERROR: dev-util/guile-1.4.1 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! Compilation failed as you can see i'm using -O1 as my cflag so thts not the problem, and i emerge synced only moments before... I olso tried to mask guile-1.4.1 in /etc/portage/package.mask but gnome-network dident like that... Reproducible: Always Steps to Reproduce: 1. emerge =dev-utils/guile-1.4.1 Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -march=pentium4 -O1 -pipe -Wall -Wmissing-prototypes -c net_db.c -MT net_db.lo -MD -MP -MF .deps/net_db.TPlo -fPIC -DPIC -o .libs/net_db.lo net_db.c:85: error: conflicting types for 'inet_aton' /usr/include/arpa/inet.h:74: error: previous declaration of 'inet_aton' was herenet_db.c:85: error: conflicting types for 'inet_aton' /usr/include/arpa/inet.h:74: error: previous declaration of 'inet_aton' was heremake[2]: *** [net_db.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/guile-1.4.1/work/guile-1.4.1/libguile' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/guile-1.4.1/work/guile-1.4.1/libguile' make: *** [all-recursive] Error 1 !!! ERROR: dev-util/guile-1.4.1 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! Compilation failed Expected Results: work? Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1-mm1) ================================================================= System uname: 2.6.8.1-mm1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O1 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O1 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d acl alsa arts avi berkdb cdr cjk crypt cups directfb dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kerberos libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib pearl perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
According to http://www.gnu.org/software/guile/docs/faq/guile-faq.html#Building%20guile-1.4%20gives%20a%20previous%20declaration%20of%20inet_aton%20error%3f the workaround is to comment out the offending code, that is libguile/net_db.c, line 85 I'm trying this now.
I'm assuming this is another gcc-3.4 issue, patches are welcome.
he solution is to modify gnome-network-1.0.2-r1.ebuild' change the line : =dev-util/guile-1.4* to: >=dev-util/guile-1.4*
@ comment 3 : thats a workaround not a solution. it's probably best to go with comment #1
fixed for both 1.4*, removed doa net_db.c from filesdir as well.