Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error
Date: Tue, 15 Jul 2014 05:34:05
Message-Id: 53C4BD45.3050203@gmail.com
In Reply to: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error by Dale
1 Dale wrote:
2 > Howdy,
3 >
4 > I'm reinstalling Gentoo on my OLD rig. It's x86. I have two issues
5 > which will be seen in the error below. Sort of hard to miss. Anyway, I
6 > started with the latest stage3 tarball. I've got it to where it boots
7 > up and all and am in the process of trying to do a emerge -e system
8 > which will also update everything as well. My problem is glibc and the
9 > locale settings. May be a separate issue or related. Here is the boo
10 > boo.
11 >
12 > localhost linux # emerge -v glibc
13 > sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
14 >
15 > * IMPORTANT: 5 news items need reading for repository 'gentoo'.
16 > * Use eselect news to read news items.
17 >
18 >
19 > These are the packages that would be merged, in order:
20 >
21 > Calculating dependencies... done!
22 > [ebuild R ] sys-libs/glibc-2.17:2.2 USE="-debug -gd (-hardened)
23 > (-multilib) -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 kB
24 >
25 > Total: 1 package (1 reinstall), Size of downloads: 0 kB
26 >
27 >>>> Verifying ebuild manifests
28 >>>> Emerging (1 of 1) sys-libs/glibc-2.17
29 >>>> Failed to emerge sys-libs/glibc-2.17, Log file:
30 >>>> '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
31 >>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.16,
32 > 0.39, 1.44
33 > * Package: sys-libs/glibc-2.17
34 > * Repository: gentoo
35 > * Maintainer: toolchain@g.o
36 > * USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
37 > * FEATURES: preserve-libs sandbox
38 > [sys-libs/glibc-2.17] bash: warning: setlocale: LC_ALL: cannot change
39 > locale (en_US.UTF8)
40 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale
41 > (en_US.UTF8) <<-- This error right here. :-(
42 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
43 > sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
44 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
45 > make -j3 -s glibc-test
46 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
47 > make -j3 -s glibc-test
48 > * Your old kernel is broken. You need to update it to
49 > * a newer version as syscall(<bignum>) will break.
50 > * http://bugs.gentoo.org/279260
51 > * ERROR: sys-libs/glibc-2.17::gentoo failed (setup phase):
52 > * keeping your system alive, say thank you
53 > *
54 > * Call stack:
55 > * ebuild.sh, line 93: Called pkg_setup
56 > * glibc-2.17.ebuild, line 151: Called eblit-run 'pkg_setup'
57 > * glibc-2.17.ebuild, line 137: Called eblit-glibc-pkg_setup
58 > * pkg_setup.eblit, line 75: Called die
59 > * The specific snippet of code:
60 > * die "keeping your system alive, say thank you"
61 > *
62 > * If you need support, post the output of `emerge --info
63 > '=sys-libs/glibc-2.17::gentoo'`,
64 > * the complete build log and the output of `emerge -pqv
65 > '=sys-libs/glibc-2.17::gentoo'`.
66 > * The complete build log is located at
67 > '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
68 > * The ebuild environment file is located at
69 > '/var/tmp/portage/sys-libs/glibc-2.17/temp/die.env'.
70 > * Working directory: '/usr/lib/portage/pym'
71 > * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
72 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
73 > sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
74 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
75 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
76 > /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
77 > sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
78 > *
79 > * The following package has failed to build or install:
80 > *
81 > * (sys-libs/glibc-2.17::gentoo, ebuild scheduled for merge), Log file:
82 > * '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
83 > *
84 > localhost linux #
85 >
86 >
87 > One reason I want to re-emerge glibc, I'm HOPING it will fix the other
88 > LC_ALL error. I'm pretty sure glibc takes care of that but not 100%
89 > sure. I checked my main rig for differences in USE flags, multilib is
90 > the only one I see. It is set on my main rig and doesn't seem to be
91 > available on x86 for obvious reasons.
92 >
93 > If this is not enough info, let me know what you need. I don't want to
94 > flood with tons of unneeded info when usually that above gives enough of
95 > a hint. ;-)
96 >
97 > Thanks.
98 >
99 > Dale
100 >
101 > :-) :-)
102 >
103
104
105 UPDATE: Thanks to Hinnerk, the locale error is fixed. I am still
106 looking for ideas on the glibc error tho. Since this original post, I
107 have tried the following versions of glibc with the same result.
108
109 sys-libs/glibc-2.18-r1
110 sys-libs/glibc-2.19-r1
111
112 So, it seems something else is wrong here. I have googled and most
113 things I find are with older kernels and I'm using the newest kernel I
114 can find in the tree. 3.15.5-gentoo
115
116 Ideas? Fixes? Bug that needs Raid?
117
118 Dale
119
120 :-) :-)

Replies

Subject Author
Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>