Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382269

Summary: net-dns/bind-9.8.1 build Fails with dlz use flag
Product: Gentoo Linux Reporter: Todd Goodman <tsg>
Component: New packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://comments.gmane.org/gmane.network.dns.bind.user/43644
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge --info bind

Description Todd Goodman 2011-09-08 13:06:31 UTC
Build fails with following error:

libtool: link: i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/libxml2 -Wl,-O1 -o .libs/named .libs/builtin.o .libs/client.o .libs/config.o .libs/control.o .libs/controlconf.o .libs/interfacemgr.o .libs/listenlist.o .libs/log.o .libs/logconf.o .libs/main.o .libs/notify.o .libs/query.o .libs/server.o .libs/sortlist.o .libs/statschannel.o .libs/tkeyconf.o .libs/tsigconf.o .libs/update.o .libs/xfrout.o .libs/zoneconf.o .libs/lwaddr.o .libs/lwresd.o .libs/lwdclient.o .libs/lwderror.o .libs/lwdgabn.o .libs/lwdgnba.o .libs/lwdgrbn.o .libs/lwdnoop.o .libs/lwsearch.o .libs/dlz_drivers.o .libs/sdlz_helper.o .libs/dlz_bdb_driver.o .libs/dlz_bdbhpt_driver.o .libs/dlz_filesystem_driver.o .libs/dlz_odbc_driver.o .libs/dlz_stub_driver.o unix/.libs/os.o unix/.libs/dlz_dlopen_driver.o  -Wl,--as-needed ../../lib/lwres/.libs/liblwres.so ../../lib/dns/.libs/libdns.so ../../lib/bind9/.libs/libbind9.so /var/tmp/portage/net-dns/bind-9.8.1/work/bind-9.8.1/lib/isccfg/.libs/libisccfg.so ../../lib/isccfg/.libs/libisccfg.so /var/tmp/portage/net-dns/bind-9.8.1/work/bind-9.8.1/lib/dns/.libs/libdns.so -lcrypto /var/tmp/portage/net-dns/bind-9.8.1/work/bind-9.8.1/lib/isccc/.libs/libisccc.so ../../lib/isccc/.libs/libisccc.so /var/tmp/portage/net-dns/bind-9.8.1/work/bind-9.8.1/lib/isc/.libs/libisc.so ../../lib/isc/.libs/libisc.so -ldb -L/usr/lib /usr/lib/libodbc.so /usr/lib/libltdl.so -ldl -lpthread -lxml2 -lz -lm -pthread 
.libs/dlz_odbc_driver.o: In function `.L63':
dlz_odbc_driver.c:(.text+0x753): undefined reference to `sdlzh_build_querystring'
.libs/dlz_odbc_driver.o: In function `destroy_odbc_instance':
dlz_odbc_driver.c:(.text+0x198b): undefined reference to `sdlzh_destroy_sqldbinstance'
.libs/dlz_odbc_driver.o: In function `odbc_create':
dlz_odbc_driver.c:(.text+0x1cbb): undefined reference to `sdlzh_get_parameter_value'
dlz_odbc_driver.c:(.text+0x1cf9): undefined reference to `sdlzh_get_parameter_value'
dlz_odbc_driver.c:(.text+0x1d23): undefined reference to `sdlzh_get_parameter_value'
dlz_odbc_driver.c:(.text+0x1df8): undefined reference to `sdlzh_build_sqldbinstance'
collect2: ld returned 1 exit status

A patch appears to be missing.  See http://comments.gmane.org/gmane.network.dns.bind.user/43644

It just removes the #ifdef DLZ wrapper in contrib/dlz/drivers/sdlz_helper.c


Reproducible: Always

Steps to Reproduce:
1.USE=dlz emerge bind
2.
3.
Actual Results:  
Compile fails

Expected Results:  
bind built and installed
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2011-09-08 15:40:35 UTC
USE="-* dlz" works fine for me.
emerge --info or emerge --info bind please.
Comment 2 Todd Goodman 2011-09-08 17:07:22 UTC
Created attachment 285873 [details]
emerge --info
Comment 3 Todd Goodman 2011-09-08 17:07:39 UTC
Created attachment 285875 [details]
emerge --info bind
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2011-09-10 12:39:24 UTC
This problem has been fixed in our software repository. The fix will be available on the mirrors soon. Thank you for your bug report.