[Bug 1126392] Re: pam doesn't bootstrap due to missing --enable-dbm in db
Launchpad Bug Tracker
1126392 at bugs.launchpad.net
Tue Mar 12 05:10:16 UTC 2013
This bug was fixed in the package db - 5.1.29-5ubuntu7
---------------
db (5.1.29-5ubuntu7) raring; urgency=low
* Enable historic dbm interface. Thanks Wookey. (LP: #1126392)
-- Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com> Tue, 12 Mar 2013 02:39:08 +0000
** Changed in: db (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to db in Ubuntu.
https://bugs.launchpad.net/bugs/1126392
Title:
pam doesn't bootstrap due to missing --enable-dbm in db
Status in “db” package in Ubuntu:
Fix Released
Status in “db5.3” package in Ubuntu:
Invalid
Status in “pam” package in Ubuntu:
Invalid
Bug description:
Building (or crossbuilding) pam (with dpkg-buildpackage -B)
fails with a set of undefined reference to `__db_ndbm_*' errors.
This is due to db not have the compatibility layer unless --enable-
dbm is set in the db package.
I don't know if this is a changed default from ealier versions of db
or if in fact this should be fixed by getting pam not to use this
interface anymore, but for now this seems simplest.
I noticed this doing the arm64 bootstrap but I don't think there is
anything arm-specific about it, given that the test below fails.
I don't know why this doesn't show up normally. I presume that the
normal db configuration implies --enable-dbm, but the stage1 config
used in
http://people.debian.org/~wookey/bootstrap/ubunturepo/pool/main/d/db/db_5.1.29-5ubuntu6profile1_source.changes
(which turns off the java and python and tcl bindings) implies
--disable-dbm
Turning --enable-dbm on explicitly makes things work.
Here is a small test case
$ cat test.c
#define DB_DBM_HSEARCH 1
#include <db.h>
int main(void) {
DBM *db = dbm_open("/dev/null", 0, 0600);
return 0;
}
$ gcc -ldb test.c
/tmp/ccvbSNOF.o: In function `main':
test.c:(.text+0x18): undefined reference to `__db_ndbm_open'
collect2: ld returned 1 exit status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/db/+bug/1126392/+subscriptions
More information about the foundations-bugs
mailing list