1 |
On P 18 nov 2012 23:15:07 EET, Fabian Groffen wrote: |
2 |
> On 18-11-2012 22:57:49 +0200, Leho Kraav wrote: |
3 |
>> On a couple of x86_64 Linux boxes, including a Gentoo instance, |
4 |
>> everything seemed to be going |
5 |
>> fine until some package bombs out towards the end during "emerge -e |
6 |
>> system". Restarting the script wants to re-emerge all 92 packages from |
7 |
>> the start, even though you might have 84 of them already installed. |
8 |
>> Would it make sense to build binpkgs here btw and make the script do |
9 |
>> "emerge -ek system" instead? |
10 |
>> |
11 |
>> Anyway, what's the sensible action here? I don't want it to start |
12 |
>> rebuilding a hundred packages when only last 6 might be missing.. |
13 |
> |
14 |
> In that stage, I'd just start a login shell from the prefix (e.g. |
15 |
> /path/to/prefix/bin/bash -l) and run emerge --resume. It may be wise to |
16 |
> clean your environment, but portage should do that to a certain extent. |
17 |
> (env -i HOME=$HOME TERM=$TERM USER=$USER /path/to/prefix/bin/bash -l) |
18 |
> |
19 |
> After emerge -e it does the startscript thing, but you can do that |
20 |
> manually too. |
21 |
> |
22 |
|
23 |
Thanks. That seems to work. But the original problem of the bombing out |
24 |
seems to persist. |
25 |
Python is failing on me. Everything seems to be correct to my eye, i.e. |
26 |
linking and include paths are all in the correct order. |
27 |
|
28 |
1161 building 'dbm' extension |
29 |
1162 x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 |
30 |
-pipe -O2 -pipe -fwrapv -DNDEBUG -DHAVE_GDBM_NDBM_H -I. -IInclude |
31 |
-I./Include -I/mnt/datapool/gentoo/ prefix/linux-amd64/usr/include |
32 |
-I/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Include |
33 |
-I/mnt/datapool/gentoo/pr |
34 |
efix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3 |
35 |
-c |
36 |
/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/ |
37 |
Python-2.7.3/Modules/dbmmodule.c -o |
38 |
build/temp.linux-x86_64-2.7/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Mod |
39 |
ules/dbmmodule.o |
40 |
1163 x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 |
41 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/lib |
42 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/usr/lib -L/usr/lib32 -L/usr/ |
43 |
lib64 -L/lib32 -L/lib64 -L. -Wl,-O1 |
44 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/lib |
45 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/usr/lib -L/usr/lib32 |
46 |
-L/usr/lib64 -L/lib3 2 -L/lib64 -L. -fno-strict-aliasing -O2 -pipe |
47 |
-O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include |
48 |
-I/mnt/datapool/gentoo/prefix/linux-amd64/usr/include build/temp.l |
49 |
inux-x86_64-2.7/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Modules/dbmmodule.o |
50 |
-L/mnt/datapool/gentoo/prefix/l inux-amd64/lib |
51 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/usr/lib -L/usr/lib32 |
52 |
-L/usr/lib64 -L/lib32 -L/lib64 -L. -lgdbm -lgdbm_compat -lpython2.7 -o |
53 |
build/lib.linux- x86_64-2.7/dbm.so |
54 |
1164 |
55 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
56 |
skipping incompatible /usr/lib32/libpthread.so when searching for |
57 |
-lpthread |
58 |
1165 |
59 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
60 |
skipping incompatible /usr/lib32/libpthread.a when searching for |
61 |
-lpthread |
62 |
1166 |
63 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
64 |
skipping incompatible /usr/lib32/libc.so when searching for -lc |
65 |
1167 |
66 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
67 |
skipping incompatible /usr/lib32/libc.a when searching for -lc |
68 |
1168 *** WARNING: renaming "dbm" since importing it failed: |
69 |
libgdbm.so.4: cannot open shared object file: No such file or directory |
70 |
1169 building 'gdbm' extension |
71 |
1170 x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 |
72 |
-pipe -O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include |
73 |
-I/mnt/datapool/gentoo/prefix/linux-amd64/ usr/include |
74 |
-I/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Include |
75 |
-I/mnt/datapool/gentoo/prefix/linux-amd64/va |
76 |
r/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3 -c |
77 |
/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Module |
78 |
s/gdbmmodule.c -o |
79 |
build/temp.linux-x86_64-2.7/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Modules/gdbmmodule.o |
80 |
1171 x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 |
81 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/lib |
82 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/usr/lib -L/usr/lib32 -L/usr/ |
83 |
lib64 -L/lib32 -L/lib64 -L. -Wl,-O1 |
84 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/lib |
85 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/usr/lib -L/usr/lib32 |
86 |
-L/usr/lib64 -L/lib3 2 -L/lib64 -L. -fno-strict-aliasing -O2 -pipe |
87 |
-O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include |
88 |
-I/mnt/datapool/gentoo/prefix/linux-amd64/usr/include build/temp.l |
89 |
inux-x86_64-2.7/mnt/datapool/gentoo/prefix/linux-amd64/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Modules/gdbmmodule.o |
90 |
-L/mnt/datapool/gentoo/prefix/ linux-amd64/lib |
91 |
-L/mnt/datapool/gentoo/prefix/linux-amd64/usr/lib -L/usr/lib32 |
92 |
-L/usr/lib64 -L/lib32 -L/lib64 -L. -lgdbm -lpython2.7 -o |
93 |
build/lib.linux-x86_64-2.7/gd bm.so |
94 |
1172 |
95 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
96 |
skipping incompatible /usr/lib32/libpthread.so when searching for |
97 |
-lpthread |
98 |
1173 |
99 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
100 |
skipping incompatible /usr/lib32/libpthread.a when searching for |
101 |
-lpthread |
102 |
1174 |
103 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
104 |
skipping incompatible /usr/lib32/libc.so when searching for -lc |
105 |
1175 |
106 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
107 |
skipping incompatible /usr/lib32/libc.a when searching for -lc |
108 |
1176 *** WARNING: renaming "gdbm" since importing it failed: |
109 |
libgdbm.so.4: cannot open shared object file: No such file or directory |
110 |
|
111 |
Prefix is installing the latest gdbm-1.9 series. But when it performs |
112 |
its tests, my host has gdbm-1.8.3 installed and the tests will fail. |
113 |
|
114 |
$ /mnt/datapool/gentoo/prefix/linux-amd64 $ ldd |
115 |
var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/build/lib.linux-x86_64-2.7/dbm_failed.so |
116 |
linux-vdso.so.1 => (0x00007fffbddaf000) |
117 |
libgdbm.so.4 => not found |
118 |
libgdbm_compat.so.4 => not found |
119 |
libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 |
120 |
(0x00007fe191f39000 |
121 |
... |
122 |
|
123 |
How do I fight this one? |