Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47444 - sys-apps/findutils-4.1.20-r1
Summary: sys-apps/findutils-4.1.20-r1
Status: RESOLVED DUPLICATE of bug 19994
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-10 11:20 UTC by Hans-Christian Armingeon
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,8.30 KB, text/plain)
2004-04-10 11:23 UTC, Hans-Christian Armingeon
Details
the config.log without distcc (config.log,8.18 KB, text/plain)
2004-04-10 11:27 UTC, Hans-Christian Armingeon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-04-10 11:20:07 UTC
While bootstrapping, I stumped into this:

Calculating system dependencies ...done!
>>> emerge (1 of 1) sys-apps/findutils-4.1.20-r1 to /
>>> md5 src_uri ;-) findutils-4.1.20.tar.gz
>>> Unpacking source...
>>> Unpacking findutils-4.1.20.tar.gz to /var/tmp/portage/findutils-4.1.20-r1/work
 * Applying findutils-env-size.patch...                                  [ ok ]
>>> Source unpacked.
afs
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i486-pc-linux-gnu-strip... no
checking for strip... strip
checking for i486-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: sys-apps/findutils-4.1.20-r1 failed.
!!! Function econf, Line 365, Exitcode 77
!!! econf failed

sys-apps/findutils-4.1.7-r5 built fine.

Any pointers?

Johnny

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:  
 

Expected Results:  
 

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 
2.6.4-gentoo-r1) 
================================================================= 
System uname: 2.6.4-gentoo-r1 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.13 
distcc 2.12.1 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" 
CHOST="i486-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache distcc sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="aalib acl acpi afs alsa apache2 apm arts avi berkdb cdr crypt cscope cups 
curl dga directfb doc dvd encode evo fbcon foomaticdb freetds gb gd gdbm gif 
gphoto2 gpm gps guile imap informix innodb ipv6 jack jikes joystick jpeg 
kerberos ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal 
memlimit mmx motif mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc 
oggvorbis oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds 
prelude python qt quicktime readline ruby18 samba sasl scanner sdl slang slp 
snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml2 zeo 
zlib"
Comment 1 Hans-Christian Armingeon 2004-04-10 11:23:17 UTC
Created attachment 29037 [details]
config.log
Comment 2 Hans-Christian Armingeon 2004-04-10 11:27:28 UTC
Created attachment 29038 [details]
the config.log without distcc
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-04-10 11:28:36 UTC
check your make.conf

CFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" 
CHOST="i486-pc-linux-gnu" 
Comment 4 Hans-Christian Armingeon 2004-04-10 11:39:28 UTC
What is the problem with these values?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-10 23:40:05 UTC
can you re-emerge pam maybe?
Comment 6 Hans-Christian Armingeon 2004-04-11 03:41:06 UTC
I think that the default settings in the make.conf should be fine. I don't know why the CHOST is set to 686, and in cflags is mcpu=i486 set.

CFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" 
CHOST="i486-pc-linux-gnu"

Currently reemerging pam.

No change.

configure:2109: checking for C compiler default output
configure:2112: gcc -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include  conftest.c /usr/afsws/lib/pam_afs.so.1 >&5
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user'
collect2: ld returned 1 exit status
configure:2115: $? = 1
configure: failed program was:
| #line 2088 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "findutils"
| #define VERSION "4.1.20"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2154: error: C compiler cannot create executables
See `config.log' for more details.


I am currentcy reemerging openafs

emerge system
configure:2109: checking for C compiler default output
configure:2112: gcc -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/incl
ude  conftest.c /usr/afsws/lib/pam_afs.so.1 >&5
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user'
collect2: ld returned 1 exit status
configure:2115: $? = 1
configure: failed program was:
| #line 2088 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "findutils"
| #define VERSION "4.1.20"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2154: error: C compiler cannot create executables
See `config.log' for more details.

emerge pam && emerge system
configure:2109: checking for C compiler default output
configure:2112: gcc -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/incl
ude  conftest.c /usr/afsws/lib/pam_afs.so.1 >&5
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data'
/usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user'
collect2: ld returned 1 exit status
configure:2115: $? = 1
configure: failed program was:
| #line 2088 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "findutils"
| #define VERSION "4.1.20"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2154: error: C compiler cannot create executables
See `config.log' for more details.


No change.

Any pointers?

Johnny
Comment 7 Hans-Christian Armingeon 2004-04-11 04:26:35 UTC
Ok, maybe it's my fault.

I've been using stage1-x86-20030910 .

I will restart with stage1-x86-20040218 .

Johnny
Comment 8 Jon Portnoy (RETIRED) gentoo-dev 2004-04-19 12:47:44 UTC
Is this still reproducable at all?
Comment 9 Hans-Christian Armingeon 2004-04-19 13:50:15 UTC
Yes, I masked sys-apps/findutils-4.1.20-r1
4.1.7-r5 builds fine.

Johnny
Comment 10 Hardave Riar (RETIRED) gentoo-dev 2004-04-29 14:39:05 UTC
This bug appears to occur with the afs USE flag. The afs use flag was seems to have been added due to bug #260 to allow 4.1.7 to compile on AFS systems. It does not appear to be needed with 4.1.20 and should be removed.
Comment 11 Werner Viehhauser 2004-05-11 06:05:11 UTC
had the same problem, emerge with USE="-afs" did solve it here, too
Comment 12 SpanKY gentoo-dev 2004-06-29 08:36:22 UTC

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