1 |
It's only been a couple of weeks since I updated this system, so I don't know |
2 |
why it fails with a glibc update, while other systems have no problem: |
3 |
|
4 |
>>> Emerging (1 of 62) sys-libs/glibc-2.36-r7::gentoo |
5 |
* glibc-2.36.tar.xz BLAKE2B SHA512 size ;-) ... |
6 |
[ ok ] |
7 |
* glibc-2.36-patches-9.tar.xz BLAKE2B SHA512 size ;-) ... |
8 |
[ ok ] |
9 |
* locale-gen-2.22.tar.gz BLAKE2B SHA512 size ;-) ... |
10 |
[ ok ] |
11 |
* Checking whether python3_11 is suitable ... |
12 |
* >=dev-lang/python-3.11.1-r1:3.11 ... |
13 |
[ ok ] |
14 |
* Using python3.11 to build (via PYTHON_COMPAT iteration) |
15 |
>>> Unpacking source... |
16 |
* Checking general environment sanity. |
17 |
make -j5 -l6 glibc-test |
18 |
x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -O2 -fcf-protection=none - |
19 |
Wl,-O1 -Wl,--as-needed -march=native -pipe -O2 -fcf-protection=none -Wl,-O1 |
20 |
-Wl,--as-needed glibc-test.c -o glibc-test |
21 |
* Checking that IA32 emulation is enabled in the running kernel ... |
22 |
/var/tmp/portage/sys-libs/glibc-2.36-r7/temp/check-ia32-emulation.elf32: error |
23 |
[ !! ]oading shared libraries: /lib/libdl.so.2: cannot read file data: Input/ |
24 |
output error |
25 |
* ERROR: sys-libs/glibc-2.36-r7::gentoo failed (unpack phase): |
26 |
* CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib |
27 |
glibc. |
28 |
* |
29 |
* Call stack: |
30 |
* ebuild.sh, line 136: Called src_unpack |
31 |
* environment, line 3766: Called sanity_prechecks |
32 |
* environment, line 3486: Called die |
33 |
* The specific snippet of code: |
34 |
* [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be |
35 |
enabled in the kernel to compile a multilib glibc."; |
36 |
* |
37 |
|
38 |
The kernel has IA32_EMULATION compiled in: |
39 |
|
40 |
# grep IA32_EMULATION /usr/src/linux/.config |
41 |
CONFIG_IA32_EMULATION=y |
42 |
|
43 |
and /lib/libdl.so.2 appears to be present and correct: |
44 |
|
45 |
$ ls -l /lib/libdl.so.2 |
46 |
-rwxr-xr-x 1 root root 13660 Nov 20 13:59 /lib/libdl.so.2 |
47 |
|
48 |
So, why does it fail and more importantly ... how can I get past it? ;-) |