Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72744 - net-dialup/pptpd-1.1.4_beta4 - fails to compile
Summary: net-dialup/pptpd-1.1.4_beta4 - fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 10:05 UTC by Richard Morris
Modified: 2004-12-19 01:31 UTC (History)
0 users

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


Attachments
pptpd-1.1.4_beta4-r1.ebuild (pptpd-1.1.4_beta4-r1.ebuild,1.47 KB, text/plain)
2004-12-12 05:14 UTC, Torsten Veller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Morris 2004-11-28 10:05:34 UTC
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/pptpd-1.1.4_beta4 to /
>>> md5 src_uri ;-) pptpd-1.1.4-b4.tar.gz
>>> Unpacking source...
>>> Unpacking pptpd-1.1.4-b4.tar.gz to /var/tmp/portage/pptpd-1.1.4_beta4/work
>>> Source unpacked.
tcpd
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-bcrelay --with-libwrap
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working const... yes
checking for inline... inline
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for object suffix... o
checking whether #! works in shell scripts... yes
checking for setsid... yes
checking for daemon... yes
checking for setproctitle... no
checking for getservbyname... yes
checking for strlcpy... no
checking for fork... yes
checking for memmove... yes
checking for strerror... yes
checking how to run the C preprocessor... gcc -E
checking for pty.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for libintl.h... yes
checking for libutil.h... no
checking for ANSI C header files... yes
checking for size_t... yes
checking for ssize_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for socklen_t... yes
checking for libwrap alone... yes
checking for accept in -lc... yes
checking for gethostbyname in -lc... yes
checking for openpty in -lc... no
checking for gettext in -lc... yes
checking for accept in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for openpty in -lutil... yes
checking for gettext in -lintl... no
===============================================================================
Configuration chosen:
   PPPd IP allocation: No.
   PPPd:               Standard.
   LIBWRAP security:   Yes.
   Broadcast Relay:    Yes.
   Mode:               IP tunneling server (PAC).
===============================================================================
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
cd . && aclocal
cd . && automake --foreign Makefile
cd . && autoconf
automake: configure.in: required file `./config.guess' not found
automake: configure.in: required file `./config.sub' not found
make: *** [Makefile.in] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-dialup/pptpd-1.1.4_beta4 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.emerge pptpd




Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r1+reiser4 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r1+reiser4 i686 AMD Athlon(tm) XP 1800+ 
Gentoo Base System version 1.6.6 
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux-headers-2.4.22 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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=athlon-xp -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox 
sfperms" 
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X aalib acl acpi activefilter alsa apache2 arts avi bcmath berkdb 
bitmap-fonts bzlib calendar cdb cdr cpdflib crypt ctype cups curl curlwrappers 
dba dbasedbm dbx dhcp dio directfb dvdr encode esd exif f77 fam fdftk filepro 
flatfile foomaticdb fortran freetds ftp gd gdbm gensplash ggi gif gmp gnome 
gphoto2 gpm gstreamer gtk gtk2 iconv imagemagick imap imlib inifile java jpeg 
jpeg2k kde kerberos ldap libg++ libwww mad mhash mikmod mime ming motif mozilla 
mpeg mppe-mppc mssql mysql ncurses nis nls nntp odbc oggvorbis opengl oss pam 
pcntl pcre pdflib perl png posix python qt quicktime readline samba sasl 
scanner sdl session shared sharedmem simplexml slang snmp soap sockets spell 
spl sqlite ssl svga tcltk tcpd tidy tiff tokenizer truetype wddx x86 xml 
xml-rpc xml2 xmms xpm xprint xscreensaver xsl xv zlib"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-12-03 10:22:30 UTC
why do you people need to put ACCEPT_KEYWORDS="~x86 x86" ? don't you feel that is the same as saying "I want a stable and unstable(testing) system at the same time"?

I guess you have a strange unstable system (much like the fellow from the bug #71272) who behaves as unpredictably as windoze.

Please post the tail of /var/tmp/portage/pptpd-1.1.4_beta4/work/poptop-1.1.4/config.log
I am unable, yet again, to reproduce this kind of bugs.
Comment 2 Richard Morris 2004-12-03 15:50:50 UTC
Alin,

Thanks for your time, I have included the information from the file requested below.

athlon ~ # cat /var/tmp/portage/pptpd-1.1.4_beta4/work/poptop-1.1.4/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:573: checking for a BSD compatible install
configure:626: checking whether build environment is sane
configure:683: checking whether make sets ${MAKE}
configure:729: checking for working aclocal-1.4
configure:742: checking for working autoconf
configure:755: checking for working automake-1.4
configure:768: checking for working autoheader
configure:781: checking for working makeinfo
configure:797: checking for gcc
configure:910: checking whether the C compiler (gcc -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' ) works
configure:926: gcc -o conftest -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"'conftest.c  1>&5
configure:923: warning: return type defaults to `int'
configure:952: checking whether the C compiler (gcc -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' ) is a cross-compiler
configure:957: checking whether we are using GNU C
configure:985: checking whether gcc accepts -g
configure:1019: checking for ranlib
configure:1058: checking for a BSD compatible install
configure:1111: checking whether ln -s works
configure:1132: checking whether make sets ${MAKE}
configure:1160: checking for working const
configure:1235: checking for inline
configure:1276: checking for Cygwin environment
configure:1309: checking for mingw32 environment
configure:1340: checking for executable suffix
configure:1371: checking for object suffix
configure:1397: checking whether #! works in shell scripts
configure:1421: checking for setsid
configure:1421: checking for daemon
configure:1421: checking for setproctitle
configure:1421: checking for getservbyname
configure:1421: checking for strlcpy
configure:1421: checking for fork
configure:1421: checking for memmove
configure:1421: checking for strerror
configure:1475: checking how to run the C preprocessor
configure:1558: checking for pty.h
configure:1598: checking for string.h
configure:1638: checking for syslog.h
configure:1678: checking for libintl.h
configure:1718: checking for libutil.h
configure:1756: checking for ANSI C header files
configure:1860: checking for size_t
configure:1893: checking for ssize_t
configure:1926: checking for u_int8_t
configure:1959: checking for u_int16_t
configure:1992: checking for u_int32_t
configure:2026: checking for socklen_t
configure:2068: checking for libwrap alone
configure:2078: gcc -o conftest -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' conftest.c  -lwrap 1>&5
configure: In function `main':
configure:2074: warning: implicit declaration of function `hosts_access'
configure:2129: checking for accept in -lc
configure:2176: checking for gethostbyname in -lc
configure:2223: checking for openpty in -lc
configure:2270: checking for gettext in -lc
configure:2317: checking for accept in -lsocket
configure:2364: checking for gethostbyname in -lnsl
configure:2411: checking for openpty in -lutil
configure:2458: checking for gettext in -lintl

I have also checked my make.conf file and I have only got the following in there ACCEPT_KEYWORDS="~x86". Does emerge add the x86 it's self to avoid the situation where there are no unstable packages masked, and in that case the most recent stable package will be used?
Comment 3 Richard Morris 2004-12-03 17:22:27 UTC
I've remerged autoconf and automake and I still get the same error if I try emerge pptpd.

However if I then try the following:
cd /var/tmp/portage/pptpd-1.1.4_beta4/work/poptop-1.1.4/
automake --add-missing --foreign Makefile
ebuild /usr/portage/net-dialup/pptpd/pptpd-1.1.4_beta4.ebuild merge

pptpd then installs properly. 
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-12-03 23:38:06 UTC
<apologies>
Yes, you are right about ACCEPT_KEYWORDS. I'm a bit frustrated by these bugs that I cannot reproduce.
</apologies>

I've spotted a mistake in your emerge info. You use a 2.6 kernel but you have installed sys-kernel/linux-headers instead of sys-kernel/linux26-headers. 
Other than that, the only significant difference between your info and mine would be that I use binutils-2.15.90.0.1.1-r3

Comment 5 Alin Năstac (RETIRED) gentoo-dev 2004-12-05 06:58:23 UTC
I've switched to sys-devel/gcc-3.4.3-r1 and sys-devel/binutils-2.15.92.0.2-r1
Now I have basically the same system as you, except for glibc (I continue to use x86 version) and linux26-headers.
Still I cannot reproduce "config.{guess sub} not found" errors.

Please replace linux-headers with linux26-headers and see if in this case you can emerge pptpd successfully.
Comment 6 Eric 2004-12-11 22:10:30 UTC
In addition, I am having the same issue trying to emerge. I am using the linux26-headers, and only have ACCEPT_KEYWORDS="~x86" in my /etc/make.conf

anything you'd like to see from my system?
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2004-12-12 05:14:58 UTC
Created attachment 45817 [details]
pptpd-1.1.4_beta4-r1.ebuild

Please try this ebuild and test if it compiles and works for you.
Comment 8 Eric 2004-12-12 10:55:18 UTC
Torsten - 

Yes, this emerged with 0 errors.

Testing it now with pptpclient. 

Thanks again.
Comment 9 Laurence vd Krieken 2004-12-13 04:13:52 UTC
Torsten-,

Had exactly the same error as above, tried your new .ebuild, and it compiles without any errors.

Just wanted to give the feedback.

Lau.
Comment 10 Alin Năstac (RETIRED) gentoo-dev 2004-12-14 10:32:15 UTC
tove, you should run libtoolize -c for creation of config.{sub,guess}
Comment 11 Alin Năstac (RETIRED) gentoo-dev 2004-12-19 01:31:01 UTC
tove's solution have been merged to the portage tree.
also, I've marked version 1.1.4_beta4 as stable