[Pkg-samba-maint] Bug#749095: Bug#749095: ldb: FTBFS on hurd

Manuel Menal mmenal at hurdfr.org
Sat Aug 23 22:19:59 UTC 2014


On 23/08/2014 23:47, Jelmer Vernooij wrote:
> On Sat, Aug 23, 2014 at 11:26:32PM +0200, Manuel Menal wrote:
>> On 23/08/2014 22:31, Jelmer Vernooij wrote:
>>> On Sat, Aug 23, 2014 at 02:43:28PM -0400, Manuel Menal wrote:
>>>> Actually, it is the right patch for hurd-i386. This is a known issue on
>>>> the Hurd's libpthread (ldb needs to be linked with pthread explicitly
>>>> because it uses tdb which itself uses libpthread).
>>> I'm not sure I follow. tdb doesn't use pthreads either.
>> Sorry, my bad, I was confused by the fact that there is code using pthreads
>> in tdb, but it's not used on GNU/Hurd indeed.
>>
>> The problem is actually the ldap module, which uses pthreads (via libldap):
>>
>> mmenal at hurd1:~/ldb-1.1.17$ ldd bin/modules/ldb/ldap.so |grep pthread
>>          libpthread.so.0.3 => /lib/i386-gnu/libpthread.so.0.3 (0x01464000)
>>
>> This module gets dlopen()'ed by ldb_init(), which triggers the bug mentioned
>> (which is also described here:
>> http://www.gnu.org/software/hurd/faq/libpthread_dlopen.html).
>>
>> Linking ldb against pthread on GNU/Hurd actually fixes the problem.
> s/fixes/works around/
Yes, that's more accurate.
> Thanks, I'll add this patch to the ldb package.
Thank you a lot for your time and consideration!
> Do you have a pointer to the bug in Debian's tracker for the issue in
> pthread on the Hurd?
That would be #578432.
> Cheers,
>
> Jelme
Thanks,

-- 
Manuel Menal



More information about the Pkg-samba-maint mailing list