Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70944 - ppp-2.4.2-r9 build fails in radiusclient
Summary: ppp-2.4.2-r9 build fails in radiusclient
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 03:06 UTC by John Robinson
Modified: 2005-01-06 13:13 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 John Robinson 2004-11-12 03:06:35 UTC
`emerge -u ppp` fails to build ppp-2.4.2-r9:

>>> emerge (33 of 91) net-dialup/ppp-2.4.2-r9 to /
>>> md5 src_uri ;-) ppp-2.4.2.tar.gz
>>> md5 src_uri ;-) ppp-2.4.2-mppe-mppc-1.1.patch.gz
>>> md5 src_uri ;-) ppp-dhcpc.tgz
>>> Unpacking source...
>>> Unpacking ppp-2.4.2.tar.gz to /var/tmp/portage/ppp-2.4.2-r9/work
>>> Unpacking ppp-2.4.2-mppe-mppc-1.1.patch.gz to /var/tmp/portage/ppp-2.4.2-r9/work
>>> Unpacking ppp-dhcpc.tgz to /var/tmp/portage/ppp-2.4.2-r9/work
 * Applying cbcp-dosfix.patch ...                                                         [ ok ]
 * Applying mpls.patch.gz ...                                                             [ ok ]
 * Applying killaddr-smarter.patch.gz ...                                                 [ ok ]
 * Applying cflags.patch ...                                                              [ ok ]
 * Applying control_c.patch ...                                                           [ ok ]
atm
 * Enabling PPPoATM support
 * Applying pppoatm-2.diff.gz ...                                                         [ ok ]
 * Disabling active-filter
pam
 * Enabling PAM
 * Enabling CBCP
 * Enabling radius
>>> Source unpacked.
 * Using GNU config files from /usr/share/libtool
 *  Updating pppd/plugins/radius/radiusclient/config.sub                                  [ ok ]
 *  Updating pppd/plugins/radius/radiusclient/config.guess                                [ ok ]
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
.
.
.
gcc -DHAVE_CONFIG_H -DRC_CONFIG_FILE=\"/etc/radiusclient/radiusclient.conf\" -DRC_SECURE_PATH=\"/bin:/usr/bin:/usr/local/bin\" -I. -I../include -I..  -march=pentium3 -O2 -Os -fomit-frame-pointer -pipe -c radacct.c
gcc -DHAVE_CONFIG_H -DRC_CONFIG_FILE=\"/etc/radiusclient/radiusclient.conf\" -DRC_SECURE_PATH=\"/bin:/usr/bin:/usr/local/bin\" -I. -I../include -I..  -march=pentium3 -O2 -Os -fomit-frame-pointer -pipe -c radexample.c
/bin/sh ../libtool --mode=link gcc -march=pentium3 -O2 -Os -fomit-frame-pointer -pipe -Wl,-z,now -o radlogin  radlogin.o radius.o local.o ../lib/libradiusclient.la -lcrypt -lnsl
/bin/sh ../libtool --mode=link gcc -march=pentium3 -O2 -Os -fomit-frame-pointer -pipe -Wl,-z,now -o radstatus  radstatus.o ../lib/libradiusclient.la -lcrypt -lnsl
mkdir .libs
mkdir .libs
gcc -march=pentium3 -O2 -Os -fomit-frame-pointer -pipe -Wl,-z,now -o .libs/radstatus radstatus.o -Wl,-rpath -Wl,/usr/lib ../lib/.libs/libradiusclient.so -lcrypt -lnsl
mkdir: cannot create directory `.libs': File exists
make[2]: *** [radlogin] Error 1
make[2]: *** Waiting for unfinished jobs....
creating radstatus
make[2]: Leaving directory `/var/tmp/portage/ppp-2.4.2-r9/work/ppp-2.4.2/pppd/plugins/radius/radiusclient/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ppp-2.4.2-r9/work/ppp-2.4.2/pppd/plugins/radius/radiusclient'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-dialup/ppp-2.4.2-r9 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~x86 emerge ppp
2.
3.




# emerge info
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-epia1-gentoo-r10-jr i686)
=================================================================
System uname: 2.6.8-epia1-gentoo-r10-jr i686 VIA Nehemiah
Gentoo Base System version 1.6.6
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks sandbox"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo
http://ftp.easynet.nl/mirror/gentoo http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm atm avi berkdb bitmap-fonts bzlib cdr crypt cups
dbase dga directfb divx4linux doc dvd emacs encode f77 fbcon foomaticdb fortran
ftp gd gdbm gif gnome gpm gtk gtk2 imagemagick imap imlib java jikes jpeg ldap
libg++ libwww lirc mad maildir mailwrapper mbox mhash mikmod mmap mmx motif
mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pcre pdflib perl
php pic png pnp python qt quicktime readline ruby samba sasl sdl shared slang
spell sse ssl svga tcltk tcpd truetype unicode usb vhosts x86 xinerama xml xml2
xmms xosd xsl xv xvid zlib"
Comment 1 John Robinson 2004-11-12 03:27:43 UTC
Just ran `emerge sync` again and tried again - it built perfectly this time. No mention in the ChangeLog of a relevant change, but has this been quietly fixed or was it just some bizarre side-effect of parallel make or distcc or something?
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2004-11-12 10:08:53 UTC
no idea why that happened. Seems that make tried to create .libs directory and failed because already existed.

I released -r8 and -r9 with ebuilds identically with -r7. The only changes I've made were in ip-up and ip-down scripts and issue new release only for forcing updates of this scripts.

I'm closing this bug because it seemed to be a mysterious glitch. I cannot reproduce it and neither the reporter.
Comment 3 Stefan Becker 2005-01-06 13:13:12 UTC
I ran into the exact same problem with ppp-2.4.2-r10. Emerging worked on the second try without doing sync again before.