[Pkg-samba-maint] [Git][samba-team/samba][master] 3 commits: build: Remove tests for getdents() and getdirentries()

Mathieu Parent gitlab at salsa.debian.org
Wed Sep 18 04:32:12 BST 2019



Mathieu Parent pushed to branch master at Debian Samba Team / samba


Commits:
f3b77f81 by Andrew Bartlett at 2019-09-18T03:26:46Z
build: Remove tests for getdents() and getdirentries()

These date back to 3a9beef2b7b25427ee4611cfc375e05cc82a1150 in 2003 and
829e72fe9c97feaa3d45b768984a4c47b906a23a in 1998 and appear to be related
to smbwrapper.

More of these should be removed but the getdirents() test caused a timeout
on an ARM builder in Debian.  It might just be a fluke but the tests are
pointless regardless.

Signed-off-by: Andrew Bartlett <abartlet at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>

Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date(master): Tue Sep 17 13:48:18 UTC 2019 on sn-devel-184

- - - - -
beb856b1 by Mathieu Parent at 2019-09-18T03:30:10Z
Add build-Remove-tests-for-getdents-and-getdirentries.patch, to fix FTBFS on armel, armhf

- - - - -
8ccc404d by Mathieu Parent at 2019-09-18T03:31:15Z
Changelog for previous commit

- - - - -


5 changed files:

- debian/changelog
- + debian/patches/build-Remove-tests-for-getdents-and-getdirentries.patch
- debian/patches/series
- lib/replace/wscript
- source3/wscript


Changes:

=====================================
debian/changelog
=====================================
@@ -9,8 +9,10 @@ samba (2:4.11.0+dfsg-1) UNRELEASED; urgency=medium
     - libsamba-passdb.so bumped to 0.28.0
     - libnon-posix-acls is now a subsystem
     - Drop libparse-pidl-perl package (Closes: #939419)
+  * Add build-Remove-tests-for-getdents-and-getdirentries.patch, to fix FTBFS on
+    armel and armhf
 
- -- Mathieu Parent <sathieu at debian.org>  Wed, 18 Sep 2019 05:08:24 +0200
+ -- Mathieu Parent <sathieu at debian.org>  Wed, 18 Sep 2019 05:30:27 +0200
 
 samba (2:4.10.8+dfsg-1) unstable; urgency=medium
 


=====================================
debian/patches/build-Remove-tests-for-getdents-and-getdirentries.patch
=====================================
@@ -0,0 +1,54 @@
+From f3b77f815ed9bba8e0969ecc8b359f6721210146 Mon Sep 17 00:00:00 2001
+From: Andrew Bartlett <abartlet at samba.org>
+Date: Fri, 6 Sep 2019 07:39:09 +1200
+Subject: [PATCH] build: Remove tests for getdents() and getdirentries()
+
+These date back to 3a9beef2b7b25427ee4611cfc375e05cc82a1150 in 2003 and
+829e72fe9c97feaa3d45b768984a4c47b906a23a in 1998 and appear to be related
+to smbwrapper.
+
+More of these should be removed but the getdirents() test caused a timeout
+on an ARM builder in Debian.  It might just be a fluke but the tests are
+pointless regardless.
+
+Signed-off-by: Andrew Bartlett <abartlet at samba.org>
+Reviewed-by: Andreas Schneider <asn at samba.org>
+
+Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
+Autobuild-Date(master): Tue Sep 17 13:48:18 UTC 2019 on sn-devel-184
+
+Forwarded: https://gitlab.com/samba-team/samba/commit/16eb80058ca4a34df96388c26736590247b6a3f4
+---
+ lib/replace/wscript | 2 +-
+ source3/wscript     | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/replace/wscript b/lib/replace/wscript
+index 4df1b4d77c4..fcdee8933d8 100644
+--- a/lib/replace/wscript
++++ b/lib/replace/wscript
+@@ -421,7 +421,7 @@ def configure(conf):
+                         define = 'HAVE_BSD_STRTOLL',
+                         )
+     conf.CHECK_FUNCS('if_nametoindex strerror_r')
+-    conf.CHECK_FUNCS('getdirentries getdents syslog')
++    conf.CHECK_FUNCS('syslog')
+     conf.CHECK_FUNCS('gai_strerror get_current_dir_name')
+     conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups syscall setsid')
+     conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize')
+diff --git a/source3/wscript b/source3/wscript
+index 4a3e75605e7..8fd759707ee 100644
+--- a/source3/wscript
++++ b/source3/wscript
+@@ -392,7 +392,7 @@ __fchdir fchmod fchown _fcntl __fcntl fcvt fcvtl fdatasync
+ _fork __fork fseeko
+ _fstat __fstat fsync
+ futimens futimes __fxstat getauthuid
+-getcwd _getcwd __getcwd getdents __getdents getdirentries
++getcwd _getcwd __getcwd
+ getgrent getgrnam getgrouplist getgrset getmntent getpagesize
+ getpwanam getpwent_r getrlimit
+ glob grantpt hstrerror initgroups innetgr
+-- 
+2.20.1
+


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@ add-so-version-to-private-libraries
 heimdal-rfc3454.txt
 smbd.service-Run-update-apparmor-samba-profile-befor.patch
 fix-nfs-service-name-to-nfs-kernel-server.patch
+build-Remove-tests-for-getdents-and-getdirentries.patch


=====================================
lib/replace/wscript
=====================================
@@ -421,7 +421,7 @@ def configure(conf):
                         define = 'HAVE_BSD_STRTOLL',
                         )
     conf.CHECK_FUNCS('if_nametoindex strerror_r')
-    conf.CHECK_FUNCS('getdirentries getdents syslog')
+    conf.CHECK_FUNCS('syslog')
     conf.CHECK_FUNCS('gai_strerror get_current_dir_name')
     conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups syscall setsid')
     conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize')


=====================================
source3/wscript
=====================================
@@ -392,7 +392,7 @@ __fchdir fchmod fchown _fcntl __fcntl fcvt fcvtl fdatasync
 _fork __fork fseeko
 _fstat __fstat fsync
 futimens futimes __fxstat getauthuid
-getcwd _getcwd __getcwd getdents __getdents getdirentries
+getcwd _getcwd __getcwd
 getgrent getgrnam getgrouplist getgrset getmntent getpagesize
 getpwanam getpwent_r getrlimit
 glob grantpt hstrerror initgroups innetgr



View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/93bbe259c05f9bc90e87affbf90f533bda703ec9...8ccc404dbf47e4a90e6e40ce5e08e3e4913ea2be

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/93bbe259c05f9bc90e87affbf90f533bda703ec9...8ccc404dbf47e4a90e6e40ce5e08e3e4913ea2be
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/20190918/2a76277f/attachment-0001.html>


More information about the Pkg-samba-maint mailing list