Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27098 - emerge ez-ipupdate -> compile error
Summary: emerge ez-ipupdate -> compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 02:00 UTC by Henrik Akesson
Modified: 2003-08-22 11:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Akesson 2003-08-22 02:00:11 UTC
I've updated the portage tree and issue:
emerge ez-ipupdate

the compile fails with:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=i586 -m3dnow -O3 -pipe -fomit-frame-
pointer -c pid_file.c 
ez-ipupdate.c: In function `main': 
ez-ipupdate.c:4559: warning: assignment makes pointer from integer without a 
cast 
gcc  -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer  -o ez-ipupdate  ez-
ipupdate.o conf_file.o md5.o cache_file.o pid_file.o 
conf_file.o(.text+0x2d5): In function `parse_conf_file': 
: undefined reference to `errno' 
collect2: ld returned 1 exit status 
make: *** [ez-ipupdate] Error 1 

!!! ERROR: net-dns/ez-ipupdate-3.0.11_beta7 failed. 
!!! Function src_compile, Line 20, Exitcode 2 
!!! (no error message) 


Reproducible: Always
Steps to Reproduce:
1. update portage tree
2. emerge ez-ipupdate


Actual Results:  
the compile fails with:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=i586 -m3dnow -O3 -pipe -fomit-frame-
pointer -c pid_file.c 
ez-ipupdate.c: In function `main': 
ez-ipupdate.c:4559: warning: assignment makes pointer from integer without a 
cast 
gcc  -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer  -o ez-ipupdate  ez-
ipupdate.o conf_file.o md5.o cache_file.o pid_file.o 
conf_file.o(.text+0x2d5): In function `parse_conf_file': 
: undefined reference to `errno' 
collect2: ld returned 1 exit status 
make: *** [ez-ipupdate] Error 1 

!!! ERROR: net-dns/ez-ipupdate-3.0.11_beta7 failed. 
!!! Function src_compile, Line 20, Exitcode 2 
!!! (no error message) 


Expected Results:  
To produce yet another working piece of software and make me happy ;-)

Doing an emerge -p ez-ipupdate:

These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild  N   ] net-dns/ez-ipupdate-3.0.11_beta7


emerge info:

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 VIA Samuel 2
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod 
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm 
berkdb slang readline arts svga sdl tcpd pam libwww python imlib oggvorbis qt 
motif opengl 3dnow acpi apache2 imap java kerberos kde mysql perl samba ssl 
tcltk X x86 -alsa -gnome -gtk"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Henrik Akesson 2003-08-22 02:16:08 UTC
Looks like its fixed already...

Comment posted on the forum:

It looks like you both have glibc-2.3.2 installed and ez-ipupdate-3.0.11_beta7 needs the glibc-2.3.1 GNU C libraries. 

Luckily the ez-ipupdate authors released a version that will compile with glibc-2.3.2: 
Code: 

emerge /usr/portage/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8 
 
Ciao, Brandy
Comment 2 SpanKY gentoo-dev 2003-08-22 11:48:39 UTC
i took out beta7 already because of this ... sync up and use beta8