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
1 Hi,
2
3 My problem is with flphoto and fluxbox, which doesnt have text in menus, so I
4 decided it would be nice to add us_gb locales
5 my make.conf has:
6 mar martins # cat /etc/make.conf | grep LINGUAS
7 LINGUAS="lv en"
8
9 and locales.build now has:
10 en_US
11 en_US/ISO-8859-1
12 en_US.UTF-8/UTF-8
13 en_GB
14 en_GB/ISO-8859-1
15 en_GB.UTF-8/UTF-8
16 lv_LV
17 lv_LV/ISO-8859-13
18 lv_LV.UTF-8/UTF-8
19
20 is there all correct?
21
22 now when i try rebuild glibc:
23
24 mar martins # emerge -pv glibc
25
26 These are the packages that I would merge, in order:
27
28 Calculating dependencies ...done!
29 [ebuild R ] sys-libs/glibc-2.3.6-r2 USE="nls userlocales -build -erandom
30 -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls -nptl -nptlonly
31 -pic -profile" 0 kB
32
33 Total size of downloads: 0 k
34
35
36 rebuild ends with error:
37
38 /var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlsym.os):
39 In function `__dlsym':
40 dlsym.c:(.text+0x42): undefined reference to `_rtld_global'
41 /var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlvsym.os):
42 In function `__dlvsym':
43 dlvsym.c:(.text+0x42): undefined reference to `_rtld_global'
44 /var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlerror.os):
45 In function `_dlerror_run':
46 dlerror.c:(.text+0x2bb): undefined reference to `_rtld_global_ro'
47 /var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlinfo.os):
48 In function `dlinfo_doit':
49 dlinfo.c:(.text+0x23): undefined reference to `_rtld_global_ro'
50 dlinfo.c:(.text+0x6c): undefined reference to `_dl_rtld_di_serinfo'
51 /var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl_pic.a(dlmopen.os):
52 In function `dlmopen_doit':
53 dlmopen.c:(.text+0x37): undefined reference to `_rtld_global_ro'
54 collect2: ld returned 1 exit status
55 make[2]: ***
56 [/var/tmp/portage/glibc-2.3.6-r2/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/dlfcn/libdl.so]
57 Error 1
58 make[2]: *** Waiting for unfinished jobs....
59 make[2]: Leaving directory
60 `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6/malloc'
61 make[1]: *** [malloc/others] Error 2
62 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6'
63 make: *** [all] Error 2
64
65 !!! ERROR: sys-libs/glibc-2.3.6-r2 failed.
66 Call stack:
67 ebuild.sh, line 1894: Called dyn_compile
68 ebuild.sh, line 941: Called src_compile
69 glibc-2.3.6-r2.ebuild, line 1231: Called src_compile
70 glibc-2.3.6-r2.ebuild, line 1242: Called toolchain-glibc_src_compile
71
72 !!! (no error message)
73 !!! If you need support, post the topmost build error, and the call stack if
74 relevant.
75
76
77 Any suggestions what to do next?
78
79 martins
80 --
81 Linux 2.6.15-ck2 AMD Athlon(tm) 64 Processor 3200+
82 20:18:58 up 14:09, 5 users, load average: 1.14, 0.94, 1.27