Bug#283054: [Pkg-db-devel] Bug#283054: db4.3_4.3.21-1(hppa/unstable): FTBFS: configure dies at startup

Clint Adams Clint Adams <schizo@debian.org>, 283054@bugs.debian.org
Fri, 26 Nov 2004 14:32:56 -0500


> We're seeing the same problem on amd64.  Our problem is that we
> only have a NPTL version of libc.  It'll break for us if
> LD_ASSUME_KERNEL is lower than 2.6.0.

We may need to special-case amd64 then.

> I don't know which version of the libraries are all availbale on
> hppa.  Maybe it's a simular problem?

I don't think hppa has working TLS yet.

> The LD_ASSUME_KERNEL is a trick to select a specific version of
> the library because newer/different versions don't work.  I don't
> see why this would be needed to build a package unless maybe some
> test suite.  What is preventing it from having that problem at
> runtime?

This is the problem: if modern versions of Berkeley DB are built on a
buildd that supports NPTL, configure will decide to build the libraries
with POSIX mutexes.  Then, when a user running, say, Linux 2.4.16 installs
the libdb package on that arch, it fails to work.  We discussed a long
time ago compiling NPTL-happy instances of libdb and sticking them in
/usr/lib/tls, but not much work has been done on that.