Bug#598398: bind9: FTBFS due undefined reference to db_strerror

2011-02-14 Thread Moritz Mühlenhoff
retitle 598398 Build fails if libdb4.2 is installed
severity 598398 normal
thanks

Am Dienstag 28 September 2010 20:19:29 schrieb Javier Fernández-Sanguino Peña:
 Package: bind9
 Version: 1:9.7.1.dfsg.P2-2
 Priority: important

 When trying to build your package in i386 I get the following error and the
 package building does *not* succeed:


 For reference, these are the versions I have installed of the required
 Build-Dependencies:

 This seems to be a bug in how bind configures itself to use libdb, even
 though libdb-dev is at version 4.8 it uses (see above) '-ldb-4.2' for
 linking.

 This seems to be the same instance of 515074 (which is archived), which was
 not fixed with the Build-Depends-Conflict as I don't have lidb4.2-dev
 installed but, still, FTBFS

This bug can be reproduced if libdb4.2 is installed in the build environment.

This only affects systems, which were previously run with Lenny, libdb4.2 was 
removed before the Squeeze release. Lowering severity to normal.

LaMont, you should probably add libdb4.2 to Build-Conflicts to properly 
error out in such a build environment.

Cheers,
Moritz
-- 
Moritz Mühlenhoff muehlenh...@univention.de
Open Source Software Engineer and Consultant
Univention GmbH  Linux for Your Business fon: +49 421 22 232- 0
Mary-Somerville-Str.1  28359 Bremen  fax: +49 421 22 232-99
http://www.univention.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#598398: bind9: FTBFS due undefined reference to db_strerror

2010-09-28 Thread Javier Fernández-Sanguino Peña

Package: bind9
Version: 1:9.7.1.dfsg.P2-2
Priority: important

When trying to build your package in i386 I get the following error and the
package building does *not* succeed:

-
()
libtool: link: gcc -fno-strict-aliasing -DDIG_SIGCHASE -O2
-I/usr/include/libxml2 -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_ldap_driver.o .libs/dlz_stub_driver.o
unix/.libs/os.o  ../../lib/lwres/.libs/liblwres.so
../../lib/dns/.libs/libdns.so -L/usr/lib -lgssapi_krb5 -lcrypto
../../lib/bind9/.libs/libbind9.so ../../lib/isccfg/.libs/libisccfg.so
../../lib/isccc/.libs/libisccc.so ../../lib/isc/.libs/libisc.so -ldb-4.2
-lldap -llber -lcap -lpthread /usr/lib/libxml2.so 
.libs/dlz_bdb_driver.o: In function `T.63':
dlz_bdb_driver.c:(.text+0xb5f): undefined reference to `db_create'
dlz_bdb_driver.c:(.text+0xb6b): undefined reference to `db_strerror'
dlz_bdb_driver.c:(.text+0xbe2): undefined reference to `db_strerror'
dlz_bdb_driver.c:(.text+0xc3a): undefined reference to `db_strerror'
.libs/dlz_bdb_driver.o: In function `bdb_create':
dlz_bdb_driver.c:(.text+0xd80): undefined reference to `db_env_create'
dlz_bdb_driver.c:(.text+0xd8c): undefined reference to `db_strerror'
dlz_bdb_driver.c:(.text+0xe1a): undefined reference to `db_strerror'
dlz_bdb_driver.c:(.text+0xf6e): undefined reference to `db_strerror'
dlz_bdb_driver.c:(.text+0x105b): undefined reference to `db_strerror'
.libs/dlz_bdbhpt_driver.o: In function `T.59':
dlz_bdbhpt_driver.c:(.text+0xb3f): undefined reference to `db_create'
dlz_bdbhpt_driver.c:(.text+0xb4b): undefined reference to `db_strerror'
dlz_bdbhpt_driver.c:(.text+0xbc2): undefined reference to `db_strerror'
dlz_bdbhpt_driver.c:(.text+0xc1a): undefined reference to `db_strerror'
.libs/dlz_bdbhpt_driver.o: In function `.L127':
dlz_bdbhpt_driver.c:(.text+0xe1c): undefined reference to `db_env_create'
dlz_bdbhpt_driver.c:(.text+0xe2c): undefined reference to `db_strerror'
.libs/dlz_bdbhpt_driver.o: In function `.L125':
dlz_bdbhpt_driver.c:(.text+0xf4f): undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[3]: *** [named] Error 1
-

For reference, these are the versions I have installed of the required
Build-Dependencies:


Package: libkrb5-dev  Version: 1.8.3+dfsg-1
Package: libssl-dev   Version: 0.9.8o-2
Package: libtool  Version: 2.2.6b-2
Package: bisonVersion: 1:2.4.1.dfsg-3
Package: libdb-devVersion: 4.8
Package: libldap2-dev Version: 2.4.23-6
Package: libxml2-dev  Version: 2.7.7.dfsg-4
Package: libcap-dev   Version: 1:2.19-3
Package: hardening-wrapper Version: 1.29
Package: libgeoip-dev  Version: 1.4.7~beta6+dfsg-1

This seems to be a bug in how bind configures itself to use libdb, even
though libdb-dev is at version 4.8 it uses (see above) '-ldb-4.2' for
linking.

This seems to be the same instance of 515074 (which is archived), which was
not fixed with the Build-Depends-Conflict as I don't have lidb4.2-dev
installed but, still, FTBFS


Best regards,

Javier


signature.asc
Description: Digital signature