Applications fail to build against libsmbclient 4.12.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Groovy |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Samba 4.12.5 as shipped in Groovy FTBFS (specifically amd64, not i386 which builds fine due no Ceph support, other arches untested) against Ceph 15.2.5 also shipped in Groovy, due changes in Ceph > 15.2.3 to cephfs.
Samba 4.12.5 was successfully built against Ceph 15.2.3 for Groovy release repos on 2020-09-28 (https:/
So it seems that no official Ubuntu build of Samba 4.12.5 has yet been attempted against new Ceph 15.2.5, though Samba may well need a security patch or two in the lifetime of the Groovy release (almost a certainty!) so this Samba build failure relative Ceph will need to be resolved one way or another, prior to any such possible security patch of Samba.
Here are the relevant excerpts from the Launchpad build log (see https:/
---
debian/rules override_
make[1]: Entering directory '/<<BUILDDIR>
.
.
.
Checking for header cephfs/libcephfs.h : 08:35:23 runner ['/usr/bin/gcc', '-D_SAMBA_
no
.
.
.
dpkg-shlibdeps: error: cannot read debian/
dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/
dpkg-shlibdeps: error: cannot read debian/
.
.
.
dh_shlibdeps: error: Aborting due to earlier error
make[1]: *** [debian/rules:288: override_
---
Ceph history here https:/
It seems the Samba waf script (source3/wscript) might need modifications to account for the changes to cephfs? And are the changes to cephfs actually compatible with Samba's current usage or not, ie. does Samba source need to be patched beyond a change to the waf build script(s)? Questions I can't answer, having very little familiarity with the code base of either Samba or Ceph (or with waf).
So far I've been unable to find any relevant upstream commits to Samba that account for the changes evident in Ceph 15.2.5 to cephfs.
Reason for rebuilding Samba in my PPA is the missing time.h header that results in FTBFS for libsmbclient users (ie. FFmpeg, when smbclient support is explicitly enabled). Might be useful to have Samba in Ubuntu repos officially patched for the time.h header issue too, though maybe that's for another bug report than this one?
See https:/
tags: | added: rls-gg-incoming |
Changed in samba (Ubuntu): | |
importance: | Undecided → High |
tags: | added: ftbfs |
summary: |
- Groovy: libsmbclient users FTBFS against Samba 4.12.5 + Applications fail to build against libsmbclient 4.12.5 |
tags: | removed: ftbfs |
The new ceph 15.2.5-0ubuntu1.1 package (https:/ /launchpad. net/~ubuntu- security/ +archive/ ubuntu/ ppa/+build/ 20200352) fixes the issue, published a few days after I submitted the above bug report.
Renaming bug report to "Groovy: libsmbclient users FTBFS against Samba 4.12.5" due that bug still being in the Groovy Samba package. See last paragraph and then link in above report.
Software including FFmpeg 4.3.1 (if smbclient support is enabled) FTBFS against Samba 4.12.5 due the missing time.h header issue.