1 |
On Thu, Mar 1, 2012 at 12:55 PM, Jarry <mr.jarry@×××××.com> wrote: |
2 |
> Hi, |
3 |
> I just updated portage tree and as a result of that bind wanted |
4 |
> to be recompilled (the only difference is "-static-libs%"): |
5 |
> |
6 |
> [ebuild R ] net-dns/bind-9.8.1_p1 USE="berkdb dlz idn ipv6 ssl urandom |
7 |
> -caps -doc -geoip -gost -gssapi -ldap -mysql -odbc -pkcs11 -postgres -rpz |
8 |
> -sdb-ldap (-selinux) -static-libs% -threads -xml" 0 kB |
9 |
> |
10 |
> But compilation failed with these messages: |
11 |
> |
12 |
> ============================================== |
13 |
> libtool: compile: x86_64-pc-linux-gnu-gcc |
14 |
> -I/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1 |
15 |
> -I/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/lib/dns/include |
16 |
> -I../../../../lib/dns/include |
17 |
> -I/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/lib/isc/include |
18 |
> -I../../../../lib/isc -I../../../../lib/isc/include |
19 |
> -I../../../../lib/isc/unix/include -I../../../../lib/isc/nothreads/include |
20 |
> -I../../../../lib/isc/x86_32/include -I/usr/include -D_GNU_SOURCE |
21 |
> -march=athlon64 -O2 -pipe -I/usr/include/db4.8 -fPIC -W -Wall |
22 |
> -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith |
23 |
> -fno-strict-aliasing -c driver.c -fPIC -DPIC -o .libs/driver.o |
24 |
> x86_64-pc-linux-gnu-gcc -shared -o driver.so driver.o |
25 |
> x86_64-pc-linux-gnu-gcc: driver.o: No such file or directory |
26 |
> x86_64-pc-linux-gnu-gcc: no input files |
27 |
> make[4]: *** [driver.so] Error 1 |
28 |
> make[4]: Leaving directory |
29 |
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin/tests/system/dlzexternal' |
30 |
> make[3]: *** [subdirs] Error 1 |
31 |
> make[3]: Leaving directory |
32 |
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin/tests/system' |
33 |
> make[2]: *** [subdirs] Error 1 |
34 |
> make[2]: Leaving directory |
35 |
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin/tests' |
36 |
> make[1]: *** [subdirs] Error 1 |
37 |
> make[1]: Leaving directory |
38 |
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin' |
39 |
> make: *** [subdirs] Error 1 |
40 |
> |
41 |
> * ERROR: net-dns/bind-9.8.1_p1 failed (compile phase): |
42 |
> * emake failed |
43 |
> * |
44 |
> * If you need support, post the output of 'emerge --info |
45 |
> =net-dns/bind-9.8.1_p1', |
46 |
> * the complete build log and the output of 'emerge -pqv |
47 |
> =net-dns/bind-9.8.1_p1'. |
48 |
> * The complete build log is located at |
49 |
> '/var/tmp/portage/net-dns/bind-9.8.1_p1/temp/build.log'. |
50 |
> * The ebuild environment file is located at |
51 |
> '/var/tmp/portage/net-dns/bind-9.8.1_p1/temp/environment'. |
52 |
> * S: '/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1' |
53 |
> |
54 |
>>>> Failed to emerge net-dns/bind-9.8.1_p1, Log file: |
55 |
>>>> '/var/tmp/portage/net-dns/bind-9.8.1_p1/temp/build.log' |
56 |
> |
57 |
> * Messages for package net-dns/bind-9.8.1_p1: |
58 |
> * ERROR: net-dns/bind-9.8.1_p1 failed (compile phase): |
59 |
> * emake failed |
60 |
> ============================================== |
61 |
> |
62 |
> What could be the problem? I remember just yesterday I updated |
63 |
> bind from 9.7.4_p1 to 9.8.1_p1, but today recompilation simply |
64 |
> failed... |
65 |
|
66 |
First guess: Parallel build error. Try: |
67 |
|
68 |
emerge --resume |
69 |
|
70 |
and see if it gets around it. If not, try |
71 |
|
72 |
MAKEOPTS="-j1" emerge --resume |
73 |
|
74 |
and see if that fixes it. |
75 |
|
76 |
-- |
77 |
:wq |