[Pkg-samba-maint] Bug#759008: libtdb1: FTBFS on hurd-i386
Manuel Menal
mmenal at hurdfr.org
Sat Aug 23 18:30:33 UTC 2014
Package: libtdb1
Version: 1.3.0-1.1
Severity: important
Tags: patch
Hello,
tdb fails to build on hurd-i386 (blocking ldb and thus samba) because
it uses two features that are not yet implemented on GNU/Hurd: msync(1)
and partial file locking.
You'll find attached two small patches that make it build.
The first patch adds a configure test for partial file locking and make
tdb use whole file locking when it's not supported.
The second one adds a configure test for msync(1) and correct tdb's
code accordingly.
Please note that this package should be built with 'nocheck' because
some tests do not run well without partial file locking. The tools in
tdbtools/ run fine though.
Please also note that hurd-any should be added to debian/control so it
gets built on hurd-i386.
Thanks!
Manuel Menal
-- System Information:
Debian Release: jessie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.4-486/Hurd-0.5
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libtdb1 depends on:
ii libc0.3 2.19-9
ii multiarch-support 2.19-9
libtdb1 recommends no packages.
libtdb1 suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 50_partial_file_locking.patch
Type: text/x-diff
Size: 2389 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20140823/5f9dbf43/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 60_without_msync.patch
Type: text/x-diff
Size: 1778 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20140823/5f9dbf43/attachment-0001.patch>
More information about the Pkg-samba-maint
mailing list