Gentoo Archives: gentoo-user

From: linux@×××××××××××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problem emerging util-linux
Date: Sat, 27 Feb 2010 22:35:17
Message-Id: 20100227233427.GA11386@laptop
In Reply to: [gentoo-user] problem emerging util-linux by linux@gabriel-striewe.de
1 On Sun, Feb 28, 2010 at 12:22:54AM +0100, linux@×××××××××××××××.de wrote:
2 > Hi,
3 >
4 > I am using gentoo since one month. Today I tried an emerge --update system after an emerge --sync.
5 > However, I got an error emerging util-linux.
6 >
7 > I am using a custom compiled vanilla kernel from kernel.org. uname -a says:
8 >
9 > Linux laptop 2.6.32.8 #4 SMP PREEMPT Sat Feb 27 04:25:19 CET 2010 i686 Intel(R) Celeron(R) M processor
10 > 1.70GHz GenuineIntel GNU/Linux
11 >
12 > CCLD unshare
13 > fallocate.o: In function `main':
14 > fallocate.c:(.text+0x39f): undefined reference to `fallocate64'
15 > collect2: ld returned 1 exit status
16 > make[2]: *** [fallocate] Error 1
17 > make[2]: *** Waiting for unfinished jobs....
18 > make[2]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.17-r1/work/util-linux-ng-2.17/sys-utils'
19 > make[1]: *** [all-recursive] Error 1
20 > make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.17-r1/work/util-linux-ng-2.17'
21 > make: *** [all] Error 2
22 > * ERROR: sys-apps/util-linux-2.17-r1 failed:
23 > * emake failed
24 > *
25 > * Call stack:
26 > * ebuild.sh, line 54: Called src_compile
27 > * environment, line 2647: Called _eapi2_src_compile
28 > * ebuild.sh, line 646: Called die
29 > * The specific snippet of code:
30 > * emake || die "emake failed"
31 > *
32 > * If you need support, post the output of 'emerge --info =sys-apps/util-linux-2.17-r1',
33 > * the complete build log and the output of 'emerge -pqv =sys-apps/util-linux-2.17-r1'.
34 > * The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.17-r1/temp/build.log'.
35 > * The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.17-r1/temp/environment'.
36 > * S: '/var/tmp/portage/sys-apps/util-linux-2.17-r1/work/util-linux-ng-2.17'
37 >
38 > Any ideas. I am fairly new to gentoo, have used it a few years ago, in the meantime using debian and fedora, but I came
39 > back to it.
40 >
41 > Thanks,
42 >
43 > Gabriel
44 >
45
46 Sorry, should have had a more careful look in the forums.
47
48 Solution:
49
50 ac_cv_func_fallocate=no emerge util-linux
51
52 another solution would have been to upgrade to glibc-2.11-rc1
53
54 Sorry for the noise.
55
56 Gabriel