Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382269 - net-dns/bind-9.8.1 build Fails with dlz use flag
Summary: net-dns/bind-9.8.1 build Fails with dlz use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL: http://comments.gmane.org/gmane.netwo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 13:06 UTC by Todd Goodman
Modified: 2011-09-10 12:39 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,5.70 KB, text/plain)
2011-09-08 17:07 UTC, Todd Goodman
Details
emerge --info bind (emerge.info.bind,6.17 KB, text/plain)
2011-09-08 17:07 UTC, Todd Goodman
Details

Note You need to log in before you can comment on or make changes to this bug.
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.