Gentoo Archives: gentoo-user

From: Martins Steinbergs <mar@××.lv>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sys-libs/glibc-2.3.6-r2 build error and locales
Date: Sat, 28 Jan 2006 18:39:15
Message-Id: 200601282033.55674.mar@ml.lv
Hi,

My problem is with flphoto and fluxbox, which doesnt have text in menus, so I 
decided it would be nice to add us_gb locales
my make.conf has:
mar martins # cat /etc/make.conf | grep LINGUAS
LINGUAS="lv en"

and locales.build now has:
en_US
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
en_GB
en_GB/ISO-8859-1
en_GB.UTF-8/UTF-8
lv_LV
lv_LV/ISO-8859-13
lv_LV.UTF-8/UTF-8

is there all correct?

now when i try rebuild glibc:

mar martins # emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.6-r2  USE="nls userlocales -build -erandom 
-glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls -nptl -nptlonly 
-pic -profile" 0 kB

Total size of downloads: 0 k


rebuild ends with error:

/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlsym.os): 
In function `__dlsym':
dlsym.c:(.text+0x42): undefined reference to `_rtld_global'
/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlvsym.os): 
In function `__dlvsym':
dlvsym.c:(.text+0x42): undefined reference to `_rtld_global'
/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlerror.os): 
In function `_dlerror_run':
dlerror.c:(.text+0x2bb): undefined reference to `_rtld_global_ro'
/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlinfo.os): 
In function `dlinfo_doit':
dlinfo.c:(.text+0x23): undefined reference to `_rtld_global_ro'
dlinfo.c:(.text+0x6c): undefined reference to `_dl_rtld_di_serinfo'
/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlmopen.os): 
In function `dlmopen_doit':
dlmopen.c:(.text+0x37): undefined reference to `_rtld_global_ro'
collect2: ld returned 1 exit status
make[2]: *** 
[/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl.so] 
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6/malloc'
make[1]: *** [malloc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r2 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  glibc-2.3.6-r2.ebuild, line 1231:   Called src_compile
  glibc-2.3.6-r2.ebuild, line 1242:   Called toolchain-glibc_src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if 
relevant. 


Any suggestions what to do next?

martins
-- 
Linux 2.6.15-ck2 AMD Athlon(tm) 64 Processor 3200+
 20:18:58 up 14:09,  5 users,  load average: 1.14, 0.94, 1.27