Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416841 - bind-9.9.0 fails build stage
Summary: bind-9.9.0 fails build stage
Status: RESOLVED DUPLICATE of bug 406399
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-21 05:03 UTC by Geoff Madden
Modified: 2012-05-21 15:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for my x86_64 (build.log,633.61 KB, text/plain)
2012-05-21 05:03 UTC, Geoff Madden
Details
environment file for the amd64 (environment,120.37 KB, text/plain)
2012-05-21 05:06 UTC, Geoff Madden
Details
emerge info (emerge.inf,5.58 KB, text/plain)
2012-05-21 05:11 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2012-05-21 05:03:39 UTC
Created attachment 312447 [details]
build log for my x86_64

I placed the patch notified by Rhat into /etc/portage/patches,for bind-9.8.1,& modified the ebuild to include the postpatch command prior to the configure stage.
But this was not successful the build still fails at the same place.

  libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -ggdb -I/usr/include/libxml2 -fPIC -Wl,-O1 -Wl,--as-needed -o dlopen .libs/dlopen.o  -ldl -lxml2 -lz -lm 
/bin/sh /var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0 -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/dns/include -I../../../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/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    -D_GNU_SOURCE -O2 -march=athlon64 -pipe -ggdb -I/usr/include/libxml2 -fPIC  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c driver.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0 -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/dns/include -I../../../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/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 -D_GNU_SOURCE -O2 -march=athlon64 -pipe -ggdb -I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c driver.c  -fPIC -DPIC -o .libs/driver.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0 -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/lib/dns/include -I../../../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/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 -D_GNU_SOURCE -O2 -march=athlon64 -pipe -ggdb -I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c driver.c -o driver.o >/dev/null 2>&1
/bin/sh /var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -shared -o driver.so driver.lo
libtool: link: x86_64-pc-linux-gnu-gcc -o driver.so .libs/driver.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[4]: *** [driver.so] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin/tests/system/dlzexternal'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin/tests/system'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin/tests'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-dns/bind-9.9.0/work/bind-9.9.0/bin'
make: *** [subdirs] Error 1
 * ERROR: net-dns/bind-9.9.0 failed (compile phase):
 *   emake failed
Comment 1 Geoff Madden 2012-05-21 05:06:09 UTC
Created attachment 312449 [details]
environment file for  the amd64
Comment 2 Geoff Madden 2012-05-21 05:11:38 UTC
Created attachment 312451 [details]
emerge info
Comment 3 Geoff Madden 2012-05-21 05:17:41 UTC
If I try to use -dlz in package.use I get the following


!!! The ebuild selected to satisfy "bind" has unmet requirements.
- net-dns/bind-9.9.0::gentoo USE="ipv6 ldap (multilib) ssl urandom xml -berkdb -caps -dlz -doc -geoip -gost -gssapi -idn -mysql -odbc -postgres -rpz -sdb-ldap (-selinux) -static-libs -threads"

  The following REQUIRED_USE flag constraints are unsatisfied:
    ldap? ( dlz )

  The above constraints are a subset of the following complete expression:
    postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? ( dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl ) threads? ( caps )
Comment 4 Toei Rei 2012-05-21 11:18:39 UTC
confirmed here on 2 independent boxes
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2012-05-21 15:55:02 UTC

*** This bug has been marked as a duplicate of bug 406399 ***