public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: glibc-2.17 fails and warning: setlocale: LC_ALL error
@ 2014-08-05 23:48 ((RayDar))
  0 siblings, 0 replies; 3+ messages in thread
From: ((RayDar)) @ 2014-08-05 23:48 UTC (permalink / raw
  To: gentoo-user

Hello,

I think I can offer some some more clues to the problem in thread started by 
Dale, as archived here:
https://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg147315.html

I too get the "Your old kernel is broken.  You need to update it to a newer 
version as syscall(<bignum>) will break." message whenever I try to emerge 
glibc-2.17. This happens on all three of my machines, which are kept up to 
date and have slightly different configurations. It is likely that many people 
are in a broken state, but they don't know it because they haven't tried re-
emerging glibc.

Previously in this thread, I see that Hinnerk van Bruinehsen asked:

> Can you run;

 > printf "#include <unistd.h>\n#include <sys/syscall.h>\nint main(){return \
 > syscall(1000)!=-1;}\n" > syscall.c && make syscall && ./syscall && echo $? 

When I try this on each of my systems, I get the same output:

cc     syscall.c   -o syscall

Notice that the line with the 0 is missing.

I found a work around: move to an earlier kernel. This problem happens for me 
on kernel-3.14.14 and for Dale on kernel-3.15.5. But, it DOESN'T happen for me 
on 3.12.21-r1.

When I boot into the 3.12.21-r1 kernel, the printf() above outputs:

cc     syscall.c   -o syscall
0

as it should.

Could the emerge glibc fail be due to a required kernel configuration option 
that didn't make it into 3.14.14 or above?



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [gentoo-user]  glibc-2.17 fails and warning: setlocale: LC_ALL error
@ 2014-07-15  1:50 Dale
  2014-07-15  5:33 ` Dale
  0 siblings, 1 reply; 3+ messages in thread
From: Dale @ 2014-07-15  1:50 UTC (permalink / raw
  To: gentoo-user

Howdy,

I'm reinstalling Gentoo on my OLD rig.  It's x86.  I have two issues
which will be seen in the error below.  Sort of hard to miss.  Anyway, I
started with the latest stage3 tarball.  I've got it to where it boots
up and all and am in the process of trying to do a emerge -e system
which will also update everything as well.  My problem is glibc and the
locale settings.  May be a separate issue or related.  Here is the boo
boo. 

localhost linux # emerge -v glibc
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-libs/glibc-2.17:2.2  USE="-debug -gd (-hardened)
(-multilib) -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-libs/glibc-2.17
>>> Failed to emerge sys-libs/glibc-2.17, Log file:
>>>  '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.16,
0.39, 1.44
 * Package:    sys-libs/glibc-2.17
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox
[sys-libs/glibc-2.17] bash: warning: setlocale: LC_ALL: cannot change
locale (en_US.UTF8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.UTF8)  <<-- This error right here. :-( 
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
make -j3 -s glibc-test
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
make -j3 -s glibc-test
 * Your old kernel is broken.  You need to update it to
 * a newer version as syscall(<bignum>) will break.
 * http://bugs.gentoo.org/279260
 * ERROR: sys-libs/glibc-2.17::gentoo failed (setup phase):
 *   keeping your system alive, say thank you
 *
 * Call stack:
 *           ebuild.sh, line  93:  Called pkg_setup
 *   glibc-2.17.ebuild, line 151:  Called eblit-run 'pkg_setup'
 *   glibc-2.17.ebuild, line 137:  Called eblit-glibc-pkg_setup
 *     pkg_setup.eblit, line  75:  Called die
 * The specific snippet of code:
 *                      die "keeping your system alive, say thank you"
 *
 * If you need support, post the output of `emerge --info
'=sys-libs/glibc-2.17::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=sys-libs/glibc-2.17::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-libs/glibc-2.17/temp/die.env'.
 * Working directory: '/usr/lib/portage/pym'
 * S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
 *
 * The following package has failed to build or install:
 *
 *  (sys-libs/glibc-2.17::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'
 *
localhost linux #


One reason I want to re-emerge glibc, I'm HOPING it will fix the other
LC_ALL error.  I'm pretty sure glibc takes care of that but not 100%
sure.  I checked my main rig for differences in USE flags, multilib is
the only one I see.  It is set on my main rig and doesn't seem to be
available on x86 for obvious reasons. 

If this is not enough info, let me know what you need.  I don't want to
flood with tons of unneeded info when usually that above gives enough of
a hint.  ;-) 

Thanks.

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-05 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05 23:48 [gentoo-user] Re: glibc-2.17 fails and warning: setlocale: LC_ALL error ((RayDar))
  -- strict thread matches above, loose matches on Subject: below --
2014-07-15  1:50 [gentoo-user] " Dale
2014-07-15  5:33 ` Dale
2014-07-15  7:04   ` Hinnerk van Bruinehsen
2014-07-15  7:40     ` Dale
2014-07-15  8:15       ` Hinnerk van Bruinehsen
2014-07-15  8:40         ` Hinnerk van Bruinehsen
2014-07-15  9:25           ` Dale
2014-07-16  7:32             ` Dale
2014-07-16  7:46               ` Helmut Jarausch
2014-07-16  8:43                 ` Dale
2014-07-16  9:19                   ` Dale
2014-07-16 10:33                     ` J. Roeleveld
2014-07-16 17:21                       ` Dale
2014-07-17  0:39                         ` [gentoo-user] " walt
2014-07-17  1:01                           ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox