Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   bind-9.8.1_p1 recompilation failed... (http://www.linux-archive.org/gentoo-user/639462-bind-9-8-1_p1-recompilation-failed.html)

Jarry 03-01-2012 04:55 PM

bind-9.8.1_p1 recompilation failed...
 
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...

Jarry

--
__________________________________________________ _____________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Michael Mol 03-01-2012 06:17 PM

bind-9.8.1_p1 recompilation failed...
 
On Thu, Mar 1, 2012 at 12:55 PM, Jarry <mr.jarry@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

Jarry 03-01-2012 06:35 PM

bind-9.8.1_p1 recompilation failed...
 
On 01-Mar-12 20:17, Michael Mol wrote:

On Thu, Mar 1, 2012 at 12:55 PM, Jarry<mr.jarry@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.


I tried but it failed again, at the same moment, with the same
messages. BTW, I have 'MAKEOPTS="-j1"' in /etc/make.conf so my
compilations are not done in parallel.

I masked 9.8.1_p1 and "downgraded" bind to 9.7.4_p1. No problem.
Then I unmasked 9.8.1_p1 and tried again. The same error...

Jarry
--
__________________________________________________ _____________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

walt 03-01-2012 07:29 PM

bind-9.8.1_p1 recompilation failed...
 
On 03/01/2012 09:55 AM, Jarry wrote:
> 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...

I'm getting exactly the same error, so I'd say the ebuild is broken.

Jarry 03-03-2012 06:15 PM

bind-9.8.1_p1 recompilation failed...
 
On 01-Mar-12 21:29, walt wrote:

On 03/01/2012 09:55 AM, Jarry wrote:

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...


I'm getting exactly the same error, so I'd say the ebuild is broken.


You might be right. After resyncing portage today bind does not
want to be re-emerged (yet I did it just to be sure it works).
Short check revealed that "-static-libs%" has been removed from
use-flags...

<OT>: recently I noticed many times that a certain use-flag has
been activated for application, but removed a after a few days.
Not a big problem for "small" applications, but might be quite
annoying if I have to recompile gcc two times in two days, for
all of my servers. Seems to me like insufficient testing and
this should never happen in case of stable releases...</OT>

Jarry

--
__________________________________________________ _____________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.


All times are GMT. The time now is 02:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.