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

Mathieu Parent gitlab at salsa.debian.org
Sat Sep 28 21:20:11 BST 2019



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


Commits:
4fb9c1dd by Mathieu Parent at 2019-09-28T20:10:30Z
build: Remove tests for rdchk()

These date back to pre-git e19196110cc9d29c3fb330737507adc364f3bd9a in 1998.

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

See also 16eb80058ca4a34df96388c26736590247b6a3f4 "build: Remove tests for
getdents() and getdirentries()"

Signed-off-by: Mathieu Parent <math.parent at gmail.com>

- - - - -
c77636dd by Mathieu Parent at 2019-09-28T20:12:05Z
Add patch for build: Remove tests for rdchk()

- - - - -
e1421d94 by Mathieu Parent at 2019-09-28T20:17:52Z
Release 2:4.11.0+dfsg-3 to experimental

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/build-Remove-tests-for-rdchk.patch
- debian/patches/series
- source3/wscript


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+samba (2:4.11.0+dfsg-3) experimental; urgency=medium
+
+  * Try to fix FTBFS on armel (armhf is fixed):
+    - Add patch for build: Remove tests for rdchk()
+
+ -- Mathieu Parent <sathieu at debian.org>  Sat, 28 Sep 2019 22:17:04 +0200
+
 samba (2:4.11.0+dfsg-2) experimental; urgency=medium
 
   * d/gitlabracadabra.yml: Add samba-team/libsmb2


=====================================
debian/patches/build-Remove-tests-for-rdchk.patch
=====================================
@@ -0,0 +1,44 @@
+From 5cea51f60c9971b55c08605b3813a2bdf03585c8 Mon Sep 17 00:00:00 2001
+From: Mathieu Parent <math.parent at gmail.com>
+Date: Sat, 28 Sep 2019 11:32:50 +0200
+Subject: [PATCH] build: Remove tests for rdchk()
+
+These date back to pre-git e19196110cc9d29c3fb330737507adc364f3bd9a in 1998.
+
+More of these should be removed but the rdchk() test caused a timeout
+on an ARM builder in Debian. It might just be a fluke but the tests are
+pointless regardless.
+
+See also 16eb80058ca4a34df96388c26736590247b6a3f4 "build: Remove tests for
+getdents() and getdirentries()"
+
+Signed-off-by: Mathieu Parent <math.parent at gmail.com>
+---
+ source3/wscript | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/source3/wscript b/source3/wscript
+index 4910ed71d74..e22cb16f3fb 100644
+--- a/source3/wscript
++++ b/source3/wscript
+@@ -108,7 +108,7 @@ def configure(conf):
+     conf.CHECK_FUNCS('getrlimit fsync fdatasync setpgid')
+     conf.CHECK_FUNCS('setsid glob strpbrk crypt16 getauthuid')
+     conf.CHECK_FUNCS('innetgr')
+-    conf.CHECK_FUNCS('initgroups select poll rdchk getgrnam getgrent pathconf')
++    conf.CHECK_FUNCS('initgroups select poll getgrnam getgrent pathconf')
+     conf.CHECK_FUNCS('setpriv setgidx setuidx setgroups syscall sysconf')
+     conf.CHECK_FUNCS('atexit grantpt posix_openpt fallocate')
+     conf.CHECK_FUNCS('fseeko setluid')
+@@ -403,7 +403,7 @@ _open __open _opendir __opendir
+ pathconf poll
+ posix_memalign pread _pread __pread
+ pwrite
+-rdchk _read __read _readdir __readdir
++_read __read _readdir __readdir
+ _seekdir __seekdir
+ select setenv setgidx setgroups setlocale setluid
+ setmntent setpgid setpriv setsid setuidx
+-- 
+2.20.1
+


=====================================
debian/patches/series
=====================================
@@ -10,3 +10,4 @@ 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
 build-Remove-tests-for-_pwrite-and-__pwrite.patch
+build-Remove-tests-for-rdchk.patch


=====================================
source3/wscript
=====================================
@@ -107,7 +107,7 @@ def configure(conf):
     conf.CHECK_FUNCS('getrlimit fsync fdatasync setpgid')
     conf.CHECK_FUNCS('setsid glob strpbrk crypt16 getauthuid')
     conf.CHECK_FUNCS('innetgr')
-    conf.CHECK_FUNCS('initgroups select poll rdchk getgrnam getgrent pathconf')
+    conf.CHECK_FUNCS('initgroups select poll getgrnam getgrent pathconf')
     conf.CHECK_FUNCS('setpriv setgidx setuidx setgroups syscall sysconf')
     conf.CHECK_FUNCS('atexit grantpt posix_openpt fallocate')
     conf.CHECK_FUNCS('fseeko setluid')
@@ -403,7 +403,7 @@ _open __open _opendir __opendir
 pathconf poll
 posix_memalign pread _pread __pread
 pwrite
-rdchk _read __read _readdir __readdir
+_read __read _readdir __readdir
 _seekdir __seekdir
 select setenv setgidx setgroups setlocale setluid
 setmntent setpgid setpriv setsid setuidx



View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/1c820dc394bf946a590c8f5e4363fd422680f9a6...e1421d9486b7965ed5ec4973e918e97d4a941046

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/1c820dc394bf946a590c8f5e4363fd422680f9a6...e1421d9486b7965ed5ec4973e918e97d4a941046
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/20190928/86f6f0dd/attachment-0001.html>


More information about the Pkg-samba-maint mailing list