[Pkg-samba-maint] Bug#862338: libsmbclient is not multi-arch co-installable due to samba-libs->python-talloc
Andrew Bartlett
abartlet at samba.org
Mon Nov 1 23:18:18 GMT 2021
Does samba-libs depend on samba-python3?
If not, then you will break some operations (not a massive lot, but not
nothing).
It is also a configuration not at all tested upstream, and prone to
further breakage.
I think libsamba-policy is probably better in samba-python3, or
removed. It is unclear why this library is shipped, but that should be
an upstream discussion.
Andrew Bartlett
On Mon, 2021-11-01 at 22:53 +0000, Vasyl Gello wrote:
> Source: samba
> Version: 2:4.13.5+dfsg-2
> Followup-For: Bug #862338
> X-Debbugs-Cc: sathieu at debian.org, josch at debian.org,
> debian-cross at lists.debian.org
>
> Control: found -1 2:4.13.13+dfsg-1
> Control: tag -1 patch
>
> Dear colleagues,
>
> I encountered the same issue trying to cross-build Kodi. Johannes
> advised me to try
> splitting Python libraries from samba-libs in [1] and I quickly
> crafted the first
> draft of the change (see attached debdiff). It solved my issue and
> the issue
> reported in this bug:
>
> ====
> root at debian-development:/# apt-get install -s --no-install-recommends
> libsmbclient-dev:native libsmbclient-dev:armhf
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following additional packages will be installed:
> gcc-11-base:armhf libacl1:armhf libaudit1:armhf libavahi-
> client3:armhf libavahi-client3 libavahi-common-data libavahi-common-
> data:armhf
> libavahi-common3:armhf libavahi-common3 libbsd0 libbsd0:armhf
> libc6:armhf libcap-ng0:armhf libcap2:armhf libcom-err2:armhf libcups2
> libcups2:armhf
> libdb5.3:armhf libdbus-1-3:armhf libdbus-1-3 libffi8:armhf libgcc-
> s1:armhf libgcrypt20:armhf libgmp10:armhf libgnutls30:armhf libgpg-
> error0:armhf
> libgssapi-krb5-2:armhf libhogweed6:armhf libicu67 libicu67:armhf
> libidn2-0:armhf libjansson4 libjansson4:armhf libk5crypto3:armhf
> libkeyutils1:armhf
> libkrb5-3:armhf libkrb5support0:armhf libldap-2.4-2 libldap-2.4-
> 2:armhf libldb2 libldb2:armhf liblmdb0 liblz4-1:armhf liblzma5:armhf
> libmd0 libmd0:armhf
> libnettle8:armhf libnsl2:armhf libp11-kit0:armhf libpam0g:armhf
> libpopt0 libpopt0:armhf libsasl2-2 libsasl2-2:armhf libsasl2-modules-
> db
> libsasl2-modules-db:armhf libsmbclient:armhf libsmbclient
> libssl1.1:armhf libstdc++6:armhf libsystemd0:armhf libtalloc2
> libtalloc2:armhf libtasn1-6:armhf
> libtdb1 libtdb1:armhf libtevent0 libtevent0:armhf libtirpc3:armhf
> libunistring2:armhf libwbclient0 libwbclient0:armhf libzstd1:armhf
> samba-libs
> samba-libs:armhf zlib1g:armhf
> Suggested packages:
> glibc-doc:armhf libc-l10n:armhf locales:armhf libnss-nis:armhf
> libnss-nisplus:armhf cups-common cups-common:armhf rng-tools:armhf
> gnutls-bin:armhf
> krb5-doc:armhf krb5-user:armhf libpam-doc:armhf
> Recommended packages:
> dbus:armhf dbus libgpg-error-l10n:armhf krb5-locales:armhf libldap-
> common libldap-common:armhf libsasl2-modules libsasl2-modules:armhf
> The following NEW packages will be installed:
> gcc-11-base:armhf libacl1:armhf libaudit1:armhf libavahi-
> client3:armhf libavahi-client3 libavahi-common-data libavahi-common-
> data:armhf
> libavahi-common3:armhf libavahi-common3 libbsd0 libbsd0:armhf
> libc6:armhf libcap-ng0:armhf libcap2:armhf libcom-err2:armhf libcups2
> libcups2:armhf
> libdb5.3:armhf libdbus-1-3:armhf libdbus-1-3 libffi8:armhf libgcc-
> s1:armhf libgcrypt20:armhf libgmp10:armhf libgnutls30:armhf libgpg-
> error0:armhf
> libgssapi-krb5-2:armhf libhogweed6:armhf libicu67 libicu67:armhf
> libidn2-0:armhf libjansson4 libjansson4:armhf libk5crypto3:armhf
> libkeyutils1:armhf
> libkrb5-3:armhf libkrb5support0:armhf libldap-2.4-2 libldap-2.4-
> 2:armhf libldb2 libldb2:armhf liblmdb0 liblz4-1:armhf liblzma5:armhf
> libmd0 libmd0:armhf
> libnettle8:armhf libnsl2:armhf libp11-kit0:armhf libpam0g:armhf
> libpopt0 libpopt0:armhf libsasl2-2 libsasl2-2:armhf libsasl2-modules-
> db
> libsasl2-modules-db:armhf libsmbclient:armhf libsmbclient
> libsmbclient-dev libsmbclient-dev:armhf libssl1.1:armhf
> libstdc++6:armhf libsystemd0:armhf
> libtalloc2 libtalloc2:armhf libtasn1-6:armhf libtdb1 libtdb1:armhf
> libtevent0 libtevent0:armhf libtirpc3:armhf libunistring2:armhf
> libwbclient0
> libwbclient0:armhf libzstd1:armhf samba-libs samba-libs:armhf
> zlib1g:armhf
> 0 upgraded, 78 newly installed, 0 to remove and 0 not upgraded.
> Inst gcc-11-base:armhf (11.2.0-10 Debian:unstable [armhf])
> Inst libgcc-s1:armhf (11.2.0-10 Debian:unstable [armhf]) []
> Inst libc6:armhf (2.32-4 Debian:unstable [armhf])
> Inst libacl1:armhf (2.3.1-1 Debian:unstable [armhf])
> Inst libavahi-common-data:armhf (0.8-5 Debian:unstable [armhf])
> Inst libavahi-common3:armhf (0.8-5 Debian:unstable [armhf])
> Inst libcap2:armhf (1:2.44-1 Debian:unstable [armhf])
> Inst libgpg-error0:armhf (1.42-3 Debian:unstable [armhf])
> Inst libgcrypt20:armhf (1.9.4-3+b1 Debian:unstable [armhf])
> Inst liblz4-1:armhf (1.9.3-2 Debian:unstable [armhf])
> Inst liblzma5:armhf (5.2.5-2 Debian:unstable [armhf])
> Inst libzstd1:armhf (1.4.8+dfsg-3 Debian:unstable [armhf])
> Conf gcc-11-base:armhf (11.2.0-10 Debian:unstable [armhf])
> Conf libgcc-s1:armhf (11.2.0-10 Debian:unstable [armhf])
> Conf libc6:armhf (2.32-4 Debian:unstable [armhf])
> Conf libcap2:armhf (1:2.44-1 Debian:unstable [armhf])
> Conf libgpg-error0:armhf (1.42-3 Debian:unstable [armhf])
> Conf libgcrypt20:armhf (1.9.4-3+b1 Debian:unstable [armhf])
> Conf liblz4-1:armhf (1.9.3-2 Debian:unstable [armhf])
> Conf liblzma5:armhf (5.2.5-2 Debian:unstable [armhf])
> Conf libzstd1:armhf (1.4.8+dfsg-3 Debian:unstable [armhf])
> Inst libsystemd0:armhf (249.5-1 Debian:unstable [armhf])
> Inst libdbus-1-3:armhf (1.12.20-3 Debian:unstable [armhf])
> Inst libavahi-client3:armhf (0.8-5 Debian:unstable [armhf])
> Inst libmd0:armhf (1.0.4-1 Debian:unstable [armhf])
> Inst libbsd0:armhf (0.11.3-1 Debian:unstable [armhf])
> Inst libgmp10:armhf (2:6.2.1+dfsg-2 Debian:unstable [armhf])
> Inst libnettle8:armhf (3.7.3-1 Debian:unstable [armhf])
> Inst libhogweed6:armhf (3.7.3-1 Debian:unstable [armhf])
> Inst libunistring2:armhf (0.9.10-6 Debian:unstable [armhf])
> Inst libidn2-0:armhf (2.3.2-2 Debian:unstable [armhf])
> Inst libffi8:armhf (3.4.2-3 Debian:unstable [armhf])
> Inst libp11-kit0:armhf (0.24.0-5 Debian:unstable [armhf])
> Inst libtasn1-6:armhf (4.17.0-2 Debian:unstable [armhf])
> Inst libgnutls30:armhf (3.7.2-2 Debian:unstable [armhf])
> Inst libcom-err2:armhf (1.46.4-1 Debian:unstable [armhf])
> Inst libkrb5support0:armhf (1.18.3-7 Debian:unstable [armhf])
> Inst libk5crypto3:armhf (1.18.3-7 Debian:unstable [armhf])
> Inst libkeyutils1:armhf (1.6.1-2 Debian:unstable [armhf])
> Inst libssl1.1:armhf (1.1.1l-1 Debian:unstable [armhf])
> Inst libkrb5-3:armhf (1.18.3-7 Debian:unstable [armhf])
> Inst libgssapi-krb5-2:armhf (1.18.3-7 Debian:unstable [armhf])
> Inst zlib1g:armhf (1:1.2.11.dfsg-2 Debian:unstable [armhf])
> Inst libcups2:armhf (2.3.3op2-7 Debian:unstable [armhf])
> Inst libjansson4:armhf (2.13.1-1.1 Debian:unstable [armhf])
> Inst libdb5.3:armhf (5.3.28+dfsg1-0.8 Debian:unstable [armhf])
> Inst libsasl2-modules-db:armhf (2.1.27+dfsg-2.2 Debian:unstable
> [armhf])
> Inst libsasl2-2:armhf (2.1.27+dfsg-2.2 Debian:unstable [armhf])
> Inst libldap-2.4-2:armhf (2.4.59+dfsg-1 Debian:unstable [armhf])
> Inst libtalloc2:armhf (2.3.1-2+b1 Debian:unstable [armhf])
> Inst libtdb1:armhf (1.4.3-1+b1 Debian:unstable [armhf])
> Inst libtevent0:armhf (0.10.2-1 Debian:unstable [armhf])
> Inst libldb2:armhf (2:2.2.2-2 Debian:unstable [armhf])
> Inst libtirpc3:armhf (1.3.2-2 Debian:unstable [armhf])
> Inst libnsl2:armhf (1.3.0-2 Debian:unstable [armhf])
> Inst libcap-ng0:armhf (0.7.9-2.2+b1 Debian:unstable [armhf])
> Inst libaudit1:armhf (1:3.0.6-1 Debian:unstable [armhf])
> Inst libpam0g:armhf (1.4.0-10 Debian:unstable [armhf])
> Inst libpopt0:armhf (1.18-3 Debian:unstable [armhf])
> Inst libstdc++6:armhf (11.2.0-10 Debian:unstable [armhf])
> Inst libicu67:armhf (67.1-7 Debian:unstable [armhf])
> Inst libwbclient0:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Inst samba-libs:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Inst libsmbclient:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Inst libavahi-common-data (0.8-5 Debian:unstable [amd64])
> Inst libavahi-common3 (0.8-5 Debian:unstable [amd64])
> Inst libdbus-1-3 (1.12.20-3 Debian:unstable [amd64])
> Inst libavahi-client3 (0.8-5 Debian:unstable [amd64])
> Inst libmd0 (1.0.4-1 Debian:unstable [amd64])
> Inst libbsd0 (0.11.3-1 Debian:unstable [amd64])
> Inst libcups2 (2.3.3op2-7 Debian:unstable [amd64])
> Inst libjansson4 (2.13.1-1.1 Debian:unstable [amd64])
> Inst libsasl2-modules-db (2.1.27+dfsg-2.2 Debian:unstable [amd64])
> Inst libsasl2-2 (2.1.27+dfsg-2.2 Debian:unstable [amd64])
> Inst libldap-2.4-2 (2.4.59+dfsg-1 Debian:unstable [amd64])
> Inst liblmdb0 (0.9.24-1 Debian:unstable [amd64])
> Inst libtalloc2 (2.3.1-2+b1 Debian:unstable [amd64])
> Inst libtdb1 (1.4.3-1+b1 Debian:unstable [amd64])
> Inst libtevent0 (0.10.2-1 Debian:unstable [amd64])
> Inst libldb2 (2:2.2.2-2 Debian:unstable [amd64])
> Inst libpopt0 (1.18-3 Debian:unstable [amd64])
> Inst libicu67 (67.1-7 Debian:unstable [amd64])
> Inst libwbclient0 (2:4.13.13+dfsg-1.1 localhost [amd64])
> Inst samba-libs (2:4.13.13+dfsg-1.1 localhost [amd64])
> Inst libsmbclient (2:4.13.13+dfsg-1.1 localhost [amd64])
> Inst libsmbclient-dev:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Inst libsmbclient-dev (2:4.13.13+dfsg-1.1 localhost [amd64])
> Conf libacl1:armhf (2.3.1-1 Debian:unstable [armhf])
> Conf libavahi-common-data:armhf (0.8-5 Debian:unstable [armhf])
> Conf libavahi-common3:armhf (0.8-5 Debian:unstable [armhf])
> Conf libsystemd0:armhf (249.5-1 Debian:unstable [armhf])
> Conf libdbus-1-3:armhf (1.12.20-3 Debian:unstable [armhf])
> Conf libavahi-client3:armhf (0.8-5 Debian:unstable [armhf])
> Conf libmd0:armhf (1.0.4-1 Debian:unstable [armhf])
> Conf libbsd0:armhf (0.11.3-1 Debian:unstable [armhf])
> Conf libgmp10:armhf (2:6.2.1+dfsg-2 Debian:unstable [armhf])
> Conf libnettle8:armhf (3.7.3-1 Debian:unstable [armhf])
> Conf libhogweed6:armhf (3.7.3-1 Debian:unstable [armhf])
> Conf libunistring2:armhf (0.9.10-6 Debian:unstable [armhf])
> Conf libidn2-0:armhf (2.3.2-2 Debian:unstable [armhf])
> Conf libffi8:armhf (3.4.2-3 Debian:unstable [armhf])
> Conf libp11-kit0:armhf (0.24.0-5 Debian:unstable [armhf])
> Conf libtasn1-6:armhf (4.17.0-2 Debian:unstable [armhf])
> Conf libgnutls30:armhf (3.7.2-2 Debian:unstable [armhf])
> Conf libcom-err2:armhf (1.46.4-1 Debian:unstable [armhf])
> Conf libkrb5support0:armhf (1.18.3-7 Debian:unstable [armhf])
> Conf libk5crypto3:armhf (1.18.3-7 Debian:unstable [armhf])
> Conf libkeyutils1:armhf (1.6.1-2 Debian:unstable [armhf])
> Conf libssl1.1:armhf (1.1.1l-1 Debian:unstable [armhf])
> Conf libkrb5-3:armhf (1.18.3-7 Debian:unstable [armhf])
> Conf libgssapi-krb5-2:armhf (1.18.3-7 Debian:unstable [armhf])
> Conf zlib1g:armhf (1:1.2.11.dfsg-2 Debian:unstable [armhf])
> Conf libcups2:armhf (2.3.3op2-7 Debian:unstable [armhf])
> Conf libjansson4:armhf (2.13.1-1.1 Debian:unstable [armhf])
> Conf libdb5.3:armhf (5.3.28+dfsg1-0.8 Debian:unstable [armhf])
> Conf libsasl2-modules-db:armhf (2.1.27+dfsg-2.2 Debian:unstable
> [armhf])
> Conf libsasl2-2:armhf (2.1.27+dfsg-2.2 Debian:unstable [armhf])
> Conf libldap-2.4-2:armhf (2.4.59+dfsg-1 Debian:unstable [armhf])
> Conf libtalloc2:armhf (2.3.1-2+b1 Debian:unstable [armhf])
> Conf libtdb1:armhf (1.4.3-1+b1 Debian:unstable [armhf])
> Conf libtevent0:armhf (0.10.2-1 Debian:unstable [armhf])
> Conf libldb2:armhf (2:2.2.2-2 Debian:unstable [armhf])
> Conf libtirpc3:armhf (1.3.2-2 Debian:unstable [armhf])
> Conf libnsl2:armhf (1.3.0-2 Debian:unstable [armhf])
> Conf libcap-ng0:armhf (0.7.9-2.2+b1 Debian:unstable [armhf])
> Conf libaudit1:armhf (1:3.0.6-1 Debian:unstable [armhf])
> Conf libpam0g:armhf (1.4.0-10 Debian:unstable [armhf])
> Conf libpopt0:armhf (1.18-3 Debian:unstable [armhf])
> Conf libstdc++6:armhf (11.2.0-10 Debian:unstable [armhf])
> Conf libicu67:armhf (67.1-7 Debian:unstable [armhf])
> Conf libwbclient0:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Conf samba-libs:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Conf libsmbclient:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Conf libavahi-common-data (0.8-5 Debian:unstable [amd64])
> Conf libavahi-common3 (0.8-5 Debian:unstable [amd64])
> Conf libdbus-1-3 (1.12.20-3 Debian:unstable [amd64])
> Conf libavahi-client3 (0.8-5 Debian:unstable [amd64])
> Conf libmd0 (1.0.4-1 Debian:unstable [amd64])
> Conf libbsd0 (0.11.3-1 Debian:unstable [amd64])
> Conf libcups2 (2.3.3op2-7 Debian:unstable [amd64])
> Conf libjansson4 (2.13.1-1.1 Debian:unstable [amd64])
> Conf libsasl2-modules-db (2.1.27+dfsg-2.2 Debian:unstable [amd64])
> Conf libsasl2-2 (2.1.27+dfsg-2.2 Debian:unstable [amd64])
> Conf libldap-2.4-2 (2.4.59+dfsg-1 Debian:unstable [amd64])
> Conf liblmdb0 (0.9.24-1 Debian:unstable [amd64])
> Conf libtalloc2 (2.3.1-2+b1 Debian:unstable [amd64])
> Conf libtdb1 (1.4.3-1+b1 Debian:unstable [amd64])
> Conf libtevent0 (0.10.2-1 Debian:unstable [amd64])
> Conf libldb2 (2:2.2.2-2 Debian:unstable [amd64])
> Conf libpopt0 (1.18-3 Debian:unstable [amd64])
> Conf libicu67 (67.1-7 Debian:unstable [amd64])
> Conf libwbclient0 (2:4.13.13+dfsg-1.1 localhost [amd64])
> Conf samba-libs (2:4.13.13+dfsg-1.1 localhost [amd64])
> Conf libsmbclient (2:4.13.13+dfsg-1.1 localhost [amd64])
> Conf libsmbclient-dev:armhf (2:4.13.13+dfsg-1.1 localhost [armhf])
> Conf libsmbclient-dev (2:4.13.13+dfsg-1.1 localhost [amd64])
> ====
>
>
> How can we verify no things are broken on Samba side before
> this patch can be reviewed and merged?
>
> Cheers,
> Vasyl
>
> -- System Information:
> Debian Release: bookworm/sid
> APT prefers unstable-debug
> APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'),
> (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.10.0-8-amd64 (SMP w/6 CPU threads)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to
> en_US.UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /bin/dash
> Init: unable to detect
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
Solutions
More information about the Pkg-samba-maint
mailing list