On Thu, Mar 1, 2012 at 12:55 PM, Jarry <mr.ja...@gmail.com> wrote:
> Hi,
> I just updated portage tree and as a result of that bind wanted
> to be recompilled (the only difference is "-static-libs%"):
>
> [ebuild   R    ] net-dns/bind-9.8.1_p1  USE="berkdb dlz idn ipv6 ssl urandom
> -caps -doc -geoip -gost -gssapi -ldap -mysql -odbc -pkcs11 -postgres -rpz
> -sdb-ldap (-selinux) -static-libs% -threads -xml" 0 kB
>
> But compilation failed with these messages:
>
> ==============================================
> libtool: compile:  x86_64-pc-linux-gnu-gcc
> -I/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1
> -I/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/lib/dns/include
> -I../../../../lib/dns/include
> -I/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/lib/isc/include
> -I../../../../lib/isc -I../../../../lib/isc/include
> -I../../../../lib/isc/unix/include -I../../../../lib/isc/nothreads/include
> -I../../../../lib/isc/x86_32/include -I/usr/include -D_GNU_SOURCE
> -march=athlon64 -O2 -pipe -I/usr/include/db4.8 -fPIC -W -Wall
> -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith
> -fno-strict-aliasing -c driver.c  -fPIC -DPIC -o .libs/driver.o
> x86_64-pc-linux-gnu-gcc -shared -o driver.so driver.o
> x86_64-pc-linux-gnu-gcc: driver.o: No such file or directory
> x86_64-pc-linux-gnu-gcc: no input files
> make[4]: *** [driver.so] Error 1
> make[4]: Leaving directory
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin/tests/system/dlzexternal'
> make[3]: *** [subdirs] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin/tests/system'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin/tests'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1/bin'
> make: *** [subdirs] Error 1
>
>  * ERROR: net-dns/bind-9.8.1_p1 failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of 'emerge --info
> =net-dns/bind-9.8.1_p1',
>  * the complete build log and the output of 'emerge -pqv
> =net-dns/bind-9.8.1_p1'.
>  * The complete build log is located at
> '/var/tmp/portage/net-dns/bind-9.8.1_p1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/net-dns/bind-9.8.1_p1/temp/environment'.
>  * S: '/var/tmp/portage/net-dns/bind-9.8.1_p1/work/bind-9.8.1-P1'
>
>>>> Failed to emerge net-dns/bind-9.8.1_p1, Log file:
>>>>  '/var/tmp/portage/net-dns/bind-9.8.1_p1/temp/build.log'
>
>  * Messages for package net-dns/bind-9.8.1_p1:
>  * ERROR: net-dns/bind-9.8.1_p1 failed (compile phase):
>  *   emake failed
> ==============================================
>
> What could be the problem? I remember just yesterday I updated
> bind from 9.7.4_p1 to 9.8.1_p1, but today recompilation simply
> failed...

First guess: Parallel build error. Try:

emerge --resume

and see if it gets around it. If not, try

MAKEOPTS="-j1" emerge --resume

and see if that fixes it.

-- 
:wq

Reply via email to