[Pkg-samba-maint] Got one: "smbc_off_t_should_be_at_least_64bits_use_LFS_CFLAGS"

Andreas Hasenack andreas at canonical.com
Mon May 30 20:50:25 BST 2022


Hi,

I got a build failure[0] on armhf with the new[1] approach to fix #221618[2]:

# github.com/ubuntu/adsys/vendor/github.com/mvo5/libsmbclient-go
In file included from
src/github.com/ubuntu/adsys/vendor/github.com/mvo5/libsmbclient-go/libsmbclient.go:17:
/usr/include/samba-4.0/libsmbclient.h:84:13: error: size of array
'smbc_off_t_should_be_at_least_64bits_use_LFS_CFLAGS' is too large
   84 | typedef int
smbc_off_t_should_be_at_least_64bits_use_LFS_CFLAGS[sizeof(off_t)-7];
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm currently building all other reverse dependencies of libsmbclient
that I can find (checking via reverse-deps -b libsmbclient-dev). So
far it looks like adsys[3] is the only affected one, on armhf.

Have you seen this failure in the wild yet, with other rdeps of
libsmbclient? I understand it's the package that failed to build that
has to be fixed. I'm just trying to get an idea of how many could be
out there.

0. https://launchpadlibrarian.net/603647985/buildlog_ubuntu-kinetic-armhf.adsys_0.8.6~ppa1_BUILDING.txt.gz
1. https://salsa.debian.org/samba-team/samba/-/blob/d0d8db5c6d6e8b5e26944031f6786031c1a389ca/debian/patches/libsmbclient-ensure-lfs-221618.patch
2. http://bugs.debian.org/221618
3. https://github.com/ubuntu/adsys



More information about the Pkg-samba-maint mailing list