[Pkg-samba-maint] samba_4.11.0+dfsg-5_source.changes ACCEPTED into experimental
L.P.H. van Belle
belle at bazuin.nl
Tue Oct 1 10:24:27 BST 2019
Hai,
After numerous attempt to get a decent samba package for 4.11.
It keeps failing. My latest changes against 4.11.0+dfsg-5
* Add Bugzilla 14140: Fix overlinking libreplace against librt and pthread
against every binary or library causes issues
(link: https://bugzilla.samba.org/show_bug.cgi?id=14140 )
* d/patches, added patches bz14140-1..7
* Use -l option to dh_shlibdeps instead of changing LD_LIBRARY_PATH
In all attempts i make, i was only able to make packages one time.
And that was outside my builder even, running d/rules from CLI.
And adjusting parameters, after adding these in d/rules it failed again.
Im lost.
But basicly its always related to rados, at least ctdb_mutex_ceph_rados_helper
If i take my setup of my 4.11RC4 build it works fine, but that is without the rados part.
Its always this one..
dpkg-shlibdeps: error: cannot find library libceph-common.so.0 needed by
debian/ctdb/usr/lib/x86_64-linux-gnu/ctdb/ctdb_mutex_ceph_rados_helper
(ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '/usr/lib/x86_64-linux-gnu/samba')
And it always end with :
dh_shlibdeps: Aborting due to earlier error
make[1]: *** [debian/rules:269: override_dh_shlibdeps] Error 25
make[1]: Leaving directory '/home/pbuilder/archive/build-samba/11-samba/buster/samba-4.11.0'
make: *** [debian/rules:98: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Now, about above.
dpkg-shlibdeps: error: cannot find library libceph-common.so.0
locate libceph-common.so.0
/usr/lib/x86_64-linux-gnu/ceph/libceph-common.so.0
So its there. I dont understand why it keeps complaining about libceph-common.so.0.
I also tried to use -l/usr/lib/x86_64-linux-gnu/libcephfs.so
Or -l/usr/lib/x86_64-linux-gnu/ceph/libceph-common.so.0
In the part for the ctdb_mutex_ceph_rados_helper, but still no go.
Now i changed d/rules ( the failing part ) to (as suggested by Matieu) to ( see below )
That also keeps failing, so, .. Im out of options here, i cannot get this running.
Suggestions?
Greetz,
Louis
(snap from the change of LIBRARY_PATH in d/rules)
override_dh_shlibdeps:
dh_shlibdeps \
-l$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba \
-l/usr/lib/$(DEB_HOST_MULTIARCH) \
-a \
-Xceph.so \
-Xglusterfs.so \
-Xsnapper.so \
-Xctdb_mutex_ceph_rados_helper
ifneq (,$(filter amd64 arm64 armel armhf i386 mips64el mipsel ppc64el ppc64 s390x x32, $(DEB_HOST_ARCH)))
dh_shlibdeps -a \
-l$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba \
-l/usr/lib/$(DEB_HOST_MULTIARCH) \
-- \
-pvfsceph \
-dRecommends \
-edebian/samba-vfs-modules/usr/lib/$(DEB_HOST_MULTIARCH)/samba/vfs/ceph.so
dh_shlibdeps -a \
-l$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba \
-l/usr/lib/$(DEB_HOST_MULTIARCH) \
-- \
-prados \
-dRecommends \
-edebian/ctdb/usr/lib/$(DEB_HOST_MULTIARCH)/ctdb/ctdb_mutex_ceph_rados_helper
endif
ifeq ($(DEB_HOST_ARCH_OS), linux)
dh_shlibdeps -a \
-l$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba \
-l/usr/lib/$(DEB_HOST_MULTIARCH) \
-- \
-pvfsglusterfs \
-dRecommends \
-edebian/samba-vfs-modules/usr/lib/$(DEB_HOST_MULTIARCH)/samba/vfs/glusterfs.so
endif
dh_shlibdeps -a \
-l $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba \
-l /usr/lib/$(DEB_HOST_MULTIARCH) \
-- \
-pvfssnapper \
-dRecommends \
-edebian/samba-vfs-modules/usr/lib/$(DEB_HOST_MULTIARCH)/samba/vfs/snapper.so
More information about the Pkg-samba-maint
mailing list