[Pkg-samba-maint] [Git][samba-team/samba][experimental] 3 commits: d/*.lintian-overrides: remove library-not-linked-against-libc tags (#896012 is now fixed)

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Wed Jan 21 09:23:08 GMT 2026



Michael Tokarev pushed to branch experimental at Debian Samba Team / samba


Commits:
9a05050f by Michael Tokarev at 2026-01-21T02:36:35+03:00
d/*.lintian-overrides: remove library-not-linked-against-libc tags (#896012 is now fixed)

- - - - -
461862c4 by Michael Tokarev at 2026-01-21T12:21:11+03:00
inline-openat2.diff: make openat2 linux-specific and simplify the patch

- - - - -
386e71d6 by Michael Tokarev at 2026-01-21T12:22:10+03:00
update changelog; upload version 4.24.0~rc1+dfsg-3 to experimental

- - - - -


6 changed files:

- debian/changelog
- debian/patches/inline-openat2.diff
- debian/python3-samba.lintian-overrides
- debian/python3-talloc.lintian-overrides
- debian/samba-libs.lintian-overrides
- debian/samba.lintian-overrides


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+samba (2:4.24.0~rc1+dfsg-3) experimental; urgency=medium
+
+  * d/*.lintian-overrides: remove library-not-linked-against-libc tags
+    (#896012 is now fixed)
+  * inline-openat2.diff: make openat2 linux-specific and simplify the patch
+    (fixes ftbfs on hurd)
+
+ -- Michael Tokarev <mjt at tls.msk.ru>  Wed, 21 Jan 2026 12:21:33 +0300
+
 samba (2:4.24.0~rc1+dfsg-2) experimental; urgency=medium
 
   * fix-non-64bit-time_t-usage.diff: time_t is 32bit on i386


=====================================
debian/patches/inline-openat2.diff
=====================================
@@ -1,6 +1,6 @@
 Subject: inline openat2 syscall
 From: Michael Tokarev <mjt at tls.msk.ru>
-Date: Tue, 20 Jan 2026 21:51:12 +0300
+Date: Wed, 21 Jan 2026 12:20:05 +0300
 Forwarded: not-needed
 
 openat2() is not provided by glibc, so is implemented in
@@ -10,28 +10,23 @@ we avoid additional linkage to libreplace.
 Not forwarding since proper fix needs proper clean-up
 of the #ifdef'fery.
 
-diff --git a/lib/replace/replace.c b/lib/replace/replace.c
---- a/lib/replace/replace.c
-+++ b/lib/replace/replace.c
-@@ -1274,3 +1274,3 @@ ssize_t rep_copy_reflink(int src_fd,
- 
--#ifndef HAVE_OPENAT2
-+#if 0 /*HAVE_OPENAT2*/
- 
 diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h
 --- a/lib/replace/system/filesys.h
 +++ b/lib/replace/system/filesys.h
-@@ -274,6 +274,9 @@ struct __rep_open_how {
+@@ -274,6 +274,12 @@ struct __rep_open_how {
  #ifndef HAVE_OPENAT2
 -long rep_openat2(int dirfd, const char *pathname,
 -		 struct open_how *how, size_t size);
 -#define openat2(dirfd, pathname, how, size) \
 -	rep_openat2(dirfd, pathname, how, size)
-+#ifdef HAVE_SYS_SYSCALL_H
++#define HAVE_OPENAT2
++#ifdef __linux__
 +#include <sys/syscall.h>
-+#endif
 +static inline long openat2(int dirfd, const char *pathname,
 +		           struct open_how *how, size_t size) {
 +	return syscall(SYS_openat2, dirfd, pathname, how, size);
 +}
++#else
++#define openat2(dirfd, path, how, size) (-ENOSYS)
++#endif
  #endif /* !HAVE_OPENAT2 */


=====================================
debian/python3-samba.lintian-overrides
=====================================
@@ -1,3 +1 @@
-# False positives, see #896012
-python3-samba: library-not-linked-against-libc *
 python3-samba: shared-library-lacks-prerequisites */samba/*.cpython*.so*


=====================================
debian/python3-talloc.lintian-overrides
=====================================
@@ -1,4 +1,2 @@
 python3-talloc: package-name-doesnt-match-sonames libpytalloc-util.cpython-*
-# False positives, see #896012
-python3-talloc: library-not-linked-against-libc [usr/lib/*/libpytalloc-util.cpython-*.so.*]
 python3-talloc: no-symbols-control-file usr/lib/*/libpytalloc-util.cpython-*.so.*


=====================================
debian/samba-libs.lintian-overrides
=====================================
@@ -4,8 +4,6 @@
 samba-libs: package-name-doesnt-match-sonames *
 # Embedded Heimdal is patched
 samba-libs: embedded-library *heimdal*
-# False positives, see #896012
-samba-libs: library-not-linked-against-libc *
 samba-libs: shared-library-lacks-prerequisites */libdcerpc-samr.so.*
 # unofficial APIs
 samba-libs: shared-library-symbols-not-tracked *


=====================================
debian/samba.lintian-overrides
=====================================
@@ -1,5 +1,3 @@
-# False positives, see #896012
-samba: library-not-linked-against-libc *
 # manpages describing vfs modules (they're named vfs_foo while the module is vfs/foo.so):
 samba: spare-manual-page */man/man8/vfs_*
 samba: hardening-no-fortify-functions */samba/vfs/expand_msdfs.so*



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/0e5d0a8c425e1288a1fb58fdc2cfd955735e4ef4...386e71d67bf4863e59de2a1368657edec2f72d19

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/0e5d0a8c425e1288a1fb58fdc2cfd955735e4ef4...386e71d67bf4863e59de2a1368657edec2f72d19
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20260121/d23236a4/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list