Gentoo Archives: gentoo-user

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