Gentoo Archives: gentoo-server

From: Kevin <gentoo-server@××××××.biz>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] problems with stage 1 install: findutils won't emerge
Date: Wed, 21 Apr 2004 17:03:43
Message-Id: 200404211033.41446.gentoo-server@gnosys.biz
In Reply to: [gentoo-server] problems with stage 1 install: findutils won't emerge by Kevin
1 I thought I'd follow-up myself by adding that I tried:
2
3 # CHOST="" emerge findutils
4
5 and the output is very similar (below):
6
7 =======================================================
8 cdimage portage # CHOST="" emerge findutils
9 Calculating dependencies ...done!
10 >>> emerge (1 of 1) sys-apps/findutils-4.1.20-r1 to /
11 >>> md5 src_uri ;-) findutils-4.1.20.tar.gz
12 >>> Unpacking source...
13 >>> Unpacking findutils-4.1.20.tar.gz
14 to /var/tmp/portage/findutils-4.1.20-r1/work
15 * Applying findutils-env-size.patch...
16 [ ok ]
17 >>> Source unpacked.
18 afs
19 checking build system type... i686-pc-linux-gnu
20 checking host system type... i686-pc-linux-gnu
21 checking for a BSD-compatible install... /bin/install -c
22 checking whether build environment is sane... yes
23 checking for gawk... gawk
24 checking whether make sets $(MAKE)... yes
25 checking for gcc... gcc
26 checking for C compiler default output... configure: error: C compiler
27 cannot create executables
28 See `config.log' for more details.
29
30 !!! ERROR: sys-apps/findutils-4.1.20-r1 failed.
31 !!! Function econf, Line 365, Exitcode 77
32 !!! econf failed
33
34 =======================================================
35
36 I think everything is the same except the warning about "If you wanted
37 to set the --build type, don't use --host.   If a cross compiler is
38 detected then cross compile mode will be used."
39
40 Looking at the config.log, I see these lines that look noteworthy:
41
42 =======================================================
43 This file contains any messages produced by compilers while
44 running configure, to aid debugging if configure makes a mistake.
45
46 It was created by configure, which was
47 generated by GNU Autoconf 2.57. Invocation command line was
48
49 $ ./configure --prefix=/usr --host= --mandir=/usr/share/man
50 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
51 --localstatedir=/var/lib --enable-nls
52 ....
53 <snip>
54 ....
55 configure:2069: checking for C compiler version
56 configure:2072: gcc --version </dev/null >&5
57 gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
58 Copyright (C) 2003 Free Software Foundation, Inc.
59 This is free software; see the source for copying conditions. There is
60 NO
61 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
62 PURPOSE.
63
64 configure:2075: $? = 0
65 configure:2077: gcc -v </dev/null >&5
66 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
67 Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure
68 --prefix=/usr --bindir=/usr/i686-pc-linux-
69 gnu/gcc-bin/3.3
70 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
71 --datadir=/usr/share/gcc-data/i686-p
72 c-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
73 --infodir=/usr/share/gcc-data/i686-pc-linux
74 -gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu
75 --target=i686-pc-linux-gnu --with-system-zlib --enable-lang
76 uages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long
77 --disable-checking --enable-cstdio=stdio --ena
78 ble-clocale=generic --enable-__cxa_atexit
79 --enable-version-specific-runtime-libs
80 --with-gxx-include-dir=/usr/lib/g
81 cc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3
82 --with-local-prefix=/usr/local --enable-shared --enable-nls --withou
83 t-included-gettext --x-includes=/usr/X11R6/include
84 --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java
85 -awt=xlib --with-x --disable-multilib
86 Thread model: posix
87 gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
88 configure:2080: $? = 0
89 configure:2082: gcc -V </dev/null >&5
90 gcc: `-V' option must have argument
91 configure:2085: $? = 1
92 configure:2109: checking for C compiler default output
93 configure:2112: gcc -O3 -march=pentium4 -fomit-frame-pointer -pipe
94 -mcpu=pentium4 -I/usr/afsws/include -O3 -march=
95 pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4 -I/usr/afsws/include
96 conftest.c /usr/afsws/lib/pam_afs.so.1 >&
97 5
98 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item'
99 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data'
100 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv'
101 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item'
102 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data'
103 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user'
104 collect2: ld returned 1 exit status
105 configure:2115: $? = 1
106 configure: failed program was:
107 | #line 2088 "configure"
108 | /* confdefs.h. */
109 |
110 | #define PACKAGE_NAME ""
111 | #define PACKAGE_TARNAME ""
112 | #define PACKAGE_VERSION ""
113 | #define PACKAGE_STRING ""
114 | #define PACKAGE_BUGREPORT ""
115 | #define PACKAGE "findutils"
116 | #define VERSION "4.1.20"
117 | /* end confdefs.h. */
118 |
119 | int
120 | main ()
121 | {
122 |
123 | ;
124 | return 0;
125 | }
126 configure:2154: error: C compiler cannot create executables
127 See `config.log' for more details.
128
129 =======================================================
130
131 I think the undefined references in the pam_afs.so library must be
132 important. Is this a bug in the ebuild?
133
134 Thanks for any help on figuring this one out.
135
136 -Kevin