1 |
I tried contacting the mailing list a couple times, but it seems my |
2 |
messages weren't going through. Trying with plain text email, sorry if |
3 |
I generated noise. |
4 |
|
5 |
I've been trying to bootstrap Gentoo Prefix on Arch Linux. However, I |
6 |
am having issues during stage3. Specifically, I am having trouble |
7 |
building sys-apps/attr-2.4.48-r4. Actually, it builds fine, but then |
8 |
the symbol version sanity check fails: |
9 |
|
10 |
* ERROR: sys-apps/attr-2.4.48-r4::gentoo failed (install phase): |
11 |
* symbol version sanity check failed; please comment on |
12 |
https://bugs.gentoo.org/644048 |
13 |
* |
14 |
* Call stack: |
15 |
* ebuild.sh, line 125: Called src_install |
16 |
* environment, line 2163: Called multilib-minimal_src_install |
17 |
* environment, line 1501: Called multilib_foreach_abi |
18 |
'multilib-minimal_abi_src_install' |
19 |
* environment, line 1734: Called multibuild_foreach_variant |
20 |
'_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' |
21 |
* environment, line 1388: Called _multibuild_run |
22 |
'_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' |
23 |
* environment, line 1386: Called _multilib_multibuild_wrapper |
24 |
'multilib-minimal_abi_src_install' |
25 |
* environment, line 474: Called multilib-minimal_abi_src_install |
26 |
* environment, line 1491: Called multilib_src_install |
27 |
* environment, line 1965: Called die |
28 |
* The specific snippet of code: |
29 |
* die "symbol version sanity check failed; please |
30 |
comment on https://bugs.gentoo.org/644048"; |
31 |
|
32 |
I've checked the symbols, and it does seem that the issue fits the |
33 |
parameters of bug 644048: |
34 |
|
35 |
~/software/gentoo/2020.12/tmp/bin/x86_64-pc-linux-gnu-readelf -sW |
36 |
/home/valandil/software/gentoo/2020.12/var/tmp/portage/sys-apps/attr-2.4.48-r4/image/home/valandil/software/gentoo/2020.12/usr/lib64/libattr.so.1 |
37 |
| grep getxattr |
38 |
13: 0000000000000000 0 FUNC GLOBAL DEFAULT UND |
39 |
lgetxattr@GLIBC_2.3 (7) |
40 |
26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND |
41 |
fgetxattr@GLIBC_2.3 (7) |
42 |
31: 0000000000000000 0 FUNC GLOBAL DEFAULT UND |
43 |
getxattr@GLIBC_2.3 (7) |
44 |
43: 00000000000040e0 0 FUNC GLOBAL DEFAULT 13 fgetxattr@ATTR_1.0 |
45 |
54: 00000000000040a0 0 FUNC GLOBAL DEFAULT 13 getxattr@ATTR_1.0 |
46 |
62: 00000000000040c0 0 FUNC GLOBAL DEFAULT 13 lgetxattr@ATTR_1.0 |
47 |
47: 00000000000040c0 24 FUNC LOCAL DEFAULT 13 libattr_lgetxattr |
48 |
50: 00000000000040a0 24 FUNC LOCAL DEFAULT 13 libattr_getxattr |
49 |
57: 00000000000040e0 23 FUNC LOCAL DEFAULT 13 libattr_fgetxattr |
50 |
83: 0000000000000000 0 FUNC GLOBAL DEFAULT UND lgetxattr@@GLIBC_2.3 |
51 |
89: 00000000000040a0 0 FUNC GLOBAL DEFAULT 13 getxattr@ATTR_1.0 |
52 |
97: 00000000000040c0 0 FUNC GLOBAL DEFAULT 13 lgetxattr@ATTR_1.0 |
53 |
113: 0000000000000000 0 FUNC GLOBAL DEFAULT UND fgetxattr@@GLIBC_2.3 |
54 |
123: 0000000000000000 0 FUNC GLOBAL DEFAULT UND getxattr@@GLIBC_2.3 |
55 |
127: 00000000000040e0 0 FUNC GLOBAL DEFAULT 13 fgetxattr@ATTR_1.0 |
56 |
|
57 |
I tried adding the ebuild/patch attached to the bug above by adding a |
58 |
local repo, and masking earlier versions of sys-apps/attr in |
59 |
tmp/etc/portage/package.mask, but since the patch modifies a file |
60 |
alled Makemodules.am, portage triggers automake-1.15, which is not |
61 |
available on the prefix at this point. I tried installing it by adding |
62 |
sys-devel/automake to the list of pkgs installed at this point, but |
63 |
this fails at the install_qa_check_prefix stage, as automake contains |
64 |
non-prefixed shebangs. |
65 |
|
66 |
What's the way forward here? Should I write my own automake patch to |
67 |
fix the non-prefixed shebang? Or is that a known issue in Prefix with |
68 |
a better (known) solution? |
69 |
|
70 |
Thanks for any help! |
71 |
|
72 |
Joey Dumont (Profile) |
73 |
The supreme elegance of Nature lies in its apparent simplicity. |