Re: [gentoo-user] glibc won't install locales, and make check fails
On Sat, Oct 11, 2003 at 05:02:16PM -0700, Andrew Farmer wrote: > On Fri, 10 Oct 2003 18:48:21 -0700, spiff.devotion muttered: > > I've been having a problem with glibc not installing any locales for a > > longer period of time now. It all started when glibc was upgraded from > > 2.3.1-r4 to 2.3.2-r1. I've tried emerging glibc a few times to no avail. > > Last time I emerged I noticed that iconvconfig dies on execution > > (whatever relevance this might have.) The last few lines of an strace > > shows this: > > > > gettimeofday({1065835459, 393102}, NULL) = 0 > > getpid()= 3741 > > open("/usr/lib/gconv/gconv-modules.cache.S2AjmY", O_RDWR|O_CREAT|O_EXCL, > > 0600) = 3 > > brk(0) = 0x8081000 > > brk(0x8084000) = 0x8084000 > > brk(0) = 0x8084000 > > brk(0x8085000) = 0x8085000 > > +++ killed by SIGKILL +++ > > Looks like you're getting bitten by the OOM killer: your system's probably > running out of memory if processes are dying at brk(). Make sure you have > virtual memory turned on. > > -- > Andrew Farmer > [EMAIL PROTECTED] Thanks for the pointer. However, 'free' gives this output: total used free sharedbuffers cached Mem: 62372 61568804 0 22588 17148 -/+ buffers/cache: 21832 40540 Swap: 129016 6636 122380 which leads me to suspect that memory is not the problem in this case. (Unless iconvconfig allocates huge amounts of memory.) Is it possible that building with compiler flags other than those specified in the ebuild could affect my build negatively, making these problems appear? Thanks again. Henrik. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] glibc won't install locales, and make check fails
On Fri, 10 Oct 2003 18:48:21 -0700, spiff.devotion muttered: > I've been having a problem with glibc not installing any locales for a > longer period of time now. It all started when glibc was upgraded from > 2.3.1-r4 to 2.3.2-r1. I've tried emerging glibc a few times to no avail. > Last time I emerged I noticed that iconvconfig dies on execution > (whatever relevance this might have.) The last few lines of an strace > shows this: > > gettimeofday({1065835459, 393102}, NULL) = 0 > getpid()= 3741 > open("/usr/lib/gconv/gconv-modules.cache.S2AjmY", O_RDWR|O_CREAT|O_EXCL, > 0600) = 3 > brk(0) = 0x8081000 > brk(0x8084000) = 0x8084000 > brk(0) = 0x8084000 > brk(0x8085000) = 0x8085000 > +++ killed by SIGKILL +++ Looks like you're getting bitten by the OOM killer: your system's probably running out of memory if processes are dying at brk(). Make sure you have virtual memory turned on. -- Andrew Farmer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
[gentoo-user] glibc won't install locales, and make check fails
I've been having a problem with glibc not installing any locales for a longer period of time now. It all started when glibc was upgraded from 2.3.1-r4 to 2.3.2-r1. I've tried emerging glibc a few times to no avail. Last time I emerged I noticed that iconvconfig dies on execution (whatever relevance this might have.) The last few lines of an strace shows this: gettimeofday({1065835459, 393102}, NULL) = 0 getpid()= 3741 open("/usr/lib/gconv/gconv-modules.cache.S2AjmY", O_RDWR|O_CREAT|O_EXCL, 0600) = 3 brk(0) = 0x8081000 brk(0x8084000) = 0x8084000 brk(0) = 0x8084000 brk(0x8085000) = 0x8085000 +++ killed by SIGKILL +++ I've tried compiling glibc by hand, in order to see what's going wrong. 'ebuild glibc-2.3.2-r1.ebuild unpack' and 'ebuild glibc-2.3.2-r1.ebuild compile' both work fine, as far as I can see. However, entering /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere and issuing 'make check' fails when trying to create locales. Here's a dump of the last output from 'make check': Generating locale de_DE.ISO-8859-1: this might take a while... gen-locale.sh: line 52: 24310 Killed I18NPATH=. GCONV_PATH=${co c -f $charmap -i $input ${common_objpfx}localedata/$out Charmap: "ISO-8859-1" Inputfile: "de_DE" Outputdir: "de_DE.ISO-8859-1" failed make[2]: *** [/var/tmp/portage/glibc-2.3.2-r6/work/glibc-2.3.2/buildhere/localed make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r6/work/glibc-2.3.2/loc make[1]: *** [localedata/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r6/work/glibc-2.3.2' make: *** [check] Error 2 If anyone has any idea on what to do about this, or what to look for I'd be very glad. I'm totally in the dark, and I feel that trying to resolve this by trial and error won't get me very far, especially as compiling glibc on thís machine takes several hours. I'd provide more info if I knew what would be helpful. Thanks in advance, Henrik. -- [EMAIL PROTECTED] mailing list