Skip to content
Commits on Source (5)
samba (2:4.11.0+dfsg-4) experimental; urgency=medium
* Use the same arches for librados-dev than libcephfs-dev (Fix missing
build-depends on alpha and sh4)
* Split vfsmods:Recommends substvar into
{vfsceph,vfsglusterfs,vfssnapper}:Recommends to make the code more readable
and fix FTBFS on linux platforms without ceph (hppa and sparc64, and also
alpha and sh4)
* Add patch for "build: Remove tests for _readdir() and _readdir()", to
hopefully fix FTBFS on armel
-- Mathieu Parent <sathieu@debian.org> Sun, 29 Sep 2019 09:29:03 +0200
samba (2:4.11.0+dfsg-3) experimental; urgency=medium
* Try to fix FTBFS on armel (armhf is fixed):
......
......@@ -38,7 +38,7 @@ Build-Depends: bison,
libparse-yapp-perl,
libpcap-dev [hurd-i386 kfreebsd-any],
libpopt-dev,
librados-dev [linux-any],
librados-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el ppc64 s390x x32],
libreadline-dev,
libsystemd-dev [linux-any],
libtalloc-dev (>= 2.2.0~),
......@@ -280,7 +280,7 @@ Multi-Arch: same
Breaks: samba (<< 2:4.3.2+dfsg-1), samba-libs (<< 2:4.3.2+dfsg-1)
Replaces: samba (<< 2:4.3.2+dfsg-1), samba-libs (<< 2:4.3.2+dfsg-1)
Depends: samba-libs (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Recommends: ${vfsmods:Recommends}
Recommends: ${vfsceph:Recommends}, ${vfsglusterfs:Recommends}, ${vfssnapper:Recommends}
Enhances: samba
Description: Samba Virtual FileSystem plugins
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
......
......@@ -13,7 +13,7 @@ pointless regardless.
See also 16eb80058ca4a34df96388c26736590247b6a3f4 "build: Remove tests for
getdents() and getdirentries()"
Forwarded: https://gitlab.com/samba-team/samba/merge_requests/820
Forwarded: https://gitlab.com/samba-team/samba/merge_requests/821
---
source3/wscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
......
From 56ed7395164c46866f96c510398876e70687c47a Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Sat, 28 Sep 2019 11:32:50 +0200
Subject: [PATCH] build: Remove tests for _readdir() and __readdir()
These date back to pre-git e19196110cc9d29c3fb330737507adc364f3bd9a in 1998.
More of these should be removed but the _readdir() 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@gmail.com>
Forwarded: https://gitlab.com/samba-team/samba/merge_requests/821
---
source3/wscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/wscript b/source3/wscript
index e22cb16f3fb..6e759e8caec 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -403,7 +403,7 @@ _open __open _opendir __opendir
pathconf poll
posix_memalign pread _pread __pread
pwrite
-_read __read _readdir __readdir
+_read __read
_seekdir __seekdir
select setenv setgidx setgroups setlocale setluid
setmntent setpgid setpriv setsid setuidx
--
2.20.1
......@@ -13,6 +13,7 @@ See also 16eb80058ca4a34df96388c26736590247b6a3f4 "build: Remove tests for
getdents() and getdirentries()"
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Forwarded: https://gitlab.com/samba-team/samba/merge_requests/821
---
source3/wscript | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
......
......@@ -11,3 +11,4 @@ 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
build-Remove-tests-for-_readdir-and-__readdir.patch
......@@ -267,20 +267,22 @@ override_dh_makeshlibs:
override_dh_shlibdeps:
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -Xceph.so -Xglusterfs.so -Xsnapper.so -Xctdb_mutex_ceph_rados_helper
ifeq ($(DEB_HOST_ARCH_OS), linux)
ifneq (,$(filter amd64 arm64 armel armhf i386 mips64el mipsel ppc64el ppc64 s390x x32, $(DEB_HOST_ARCH)))
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -pvfsmods -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/glusterfs.so \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
dh_shlibdeps -a -- -pvfsceph -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -prados -dRecommends \
-e debian/ctdb/usr/lib/*/ctdb/ctdb_mutex_ceph_rados_helper
else
endif
ifeq ($(DEB_HOST_ARCH_OS), linux)
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -pvfsmods -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
dh_shlibdeps -a -- -pvfsglusterfs -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/glusterfs.so
endif
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -pvfssnapper -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
override_dh_gencontrol:
dh_gencontrol -- -Vldb:Depends=$(LDB_DEPENDS)
......
......@@ -403,7 +403,7 @@ _open __open _opendir __opendir
pathconf poll
posix_memalign pread _pread __pread
pwrite
_read __read _readdir __readdir
_read __read
_seekdir __seekdir
select setenv setgidx setgroups setlocale setluid
setmntent setpgid setpriv setsid setuidx
......