Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29131

Summary: Compile error in Gnome-network:ppp_applet
Product: Gentoo Linux Reporter: Phill Gardner <pgardner>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: portage build log for Gnome-network

Description Phill Gardner 2003-09-19 09:27:56 UTC
I'm trying to emerge the gnome-network package and I got past the original 
compile error reported in bug 27386 suing the provided patch.  Unfortunately I'm 
stuck with this one now:

: undefined reference to `g_string_free'
collect2: ld returned 1 exit status
make[4]: *** [ppp_applet] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnome-network-1.0.
2-r1/work/gnome-network-1.0.2/gnome-ppp/gnome-ppp-applet'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-network-1.0.
2-r1/work/gnome-network-1.0.2/gnome-ppp/gnome-ppp-applet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-network-1.0.
2-r1/work/gnome-network-1.0.2/gnome-ppp'
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
 
!!! ERROR: gnome-extra/gnome-network-1.0.2-r1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! compile error
 
Prior to it crapping out, there are tons of warnings undefined references in 
various libgnome_functions like 

../../gnome-ppp/libgnome_ppp/libgnome_ppp.a(dns.o)(.text+0xaa): In function 
`dns_add_entries':
: undefined reference to `g_string_free'
../../gnome-ppp/libgnome_ppp/libgnome_ppp.a(dns.o)(.text+0x281): In function 
`dns_remove_entries':
: undefined reference to `g_string_free'


Reproducible: Always
Steps to Reproduce:
1. emerge gnome-network
2. wait 5 minutes
3. cry

Actual Results:  
compile error

Expected Results:  
compile

My emerge info 

Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(TM) XP 2500+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs sandbox buildpkg ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg kde libg++ libwww 
mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime slang spell truetype 
xml2 xmms xv zlib alsa gdbm berkdb readline arts svga java guile X sdl tcpd pam 
ssl perl python esd imlib oggvorbis gnome gtk qt opengl cdr gtk2"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-09-21 05:25:41 UTC
can you attach the full build log?
Comment 2 Phill Gardner 2003-09-23 17:19:18 UTC
Created attachment 18224 [details]
portage build log for Gnome-network

This is the log that Portage generates for gnome-network.  Just in case it
matters, I am using gnome 2.4 and I started as a fresh build from bootstrap
yesterday.  Some of the original errors are gone and I have attributed that to
possibly building the system wrong (~x86 was set on stage 1 build.), but it
still fails
Comment 3 foser (RETIRED) gentoo-dev 2003-10-12 10:02:16 UTC

*** This bug has been marked as a duplicate of 27386 ***