Thanks for this MP Andreas! The packaging changes look good to me. I tried to build the package locally to run the DEP-8 test you are introducing locally and I got the following build error: [2984/4247] Compiling source4/torture/smb2/sessid.c 20:35:19 runner ['/usr/bin/gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-ffile-prefix-map=/<>=.', '-flto=auto', '-ffat-lto-objects', '-flto=auto', '-ffat-lto-objects', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-DCTDB_HELPER_BINDIR="/usr/lib/x86_64-linux-gnu/ctdb"', '-DLOGDIR="/var/log/ctdb"', '-DCTDB_DATADIR="/usr/share/ctdb"', '-DCTDB_ETCDIR="/etc/ctdb"', '-DCTDB_VARDIR="/var/lib/ctdb"', '-DCTDB_RUNDIR="/var/run/ctdb"', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_TORTURE_SMB2_MODULES=NULL', '-DSTATIC_TORTURE_SMB2_MODULES_PROTO=extern void __TORTURE_SMB2_dummy_module_proto(void)', '-Isource4/torture/smb2', '-I../../source4/torture/smb2', '-Iinclude/public', '-I../../include/public', '-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-Ictdb/include', '-I../../ctdb/include', '-Ictdb', '-I../../ctdb', '-I.', '-I../..', '-Ilib/torture', '-I../../lib/torture', '-Ilibrpc', '-I../../librpc', '-Ilib/tsocket', '-I../../lib/tsocket', '-Iauth', '-I../../auth', '-Ilib/util/<>/third_party/gpfs', '-I../../lib/util/<>/third_party/gpfs', '-Ilib/ldb-samba', '-I../../lib/ldb-samba', '-Ilibcli/util', '-I../../libcli/util', '-Ilib/dbwrap', '-I../../lib/dbwrap', '-Isource4/auth/kerberos', '-I../../source4/auth/kerberos', '-Iauth/credentials', '-I../../auth/credentials', '-Isource4/heimdal/lib/asn1', '-I../../source4/heimdal/lib/asn1', '-Isource4/heimdal_build', '-I../../source4/heimdal_build', '-Ilibcli/auth', '-I../../libcli/auth', '-Isource4/heimdal/lib/roken', '-I../../source4/heimdal/lib/roken', '-Isource4/heimdal/include', '-I../../source4/heimdal/include', '-Isource4/heimdal_build/include', '-I../../source4/heimdal_build/include', '-Isource4/auth', '-I../../source4/auth', '-Isource4/libcli/smb2', '-I../../source4/libcli/smb2', '-Isource4/dsdb', '-I../../source4/dsdb', '-Isource4/heimdal/lib/gssapi', '-I../../source4/heimdal/lib/gssapi', '-Isource4/heimdal/lib/gssapi/gssapi', '-I../../source4/heimdal/lib/gssapi/gssapi', '-Isource4/heimdal/lib/gssapi/spnego', '-I../../source4/heimdal/lib/gssapi/spnego', '-Isource4/heimdal/lib/gssapi/krb5', '-I../../source4/heimdal/lib/gssapi/krb5', '-Isource4/heimdal/lib/gssapi/mech', '-I../../source4/heimdal/lib/gssapi/mech', '-Isource4/heimdal/lib/hx509', '-I../../source4/heimdal/lib/hx509', '-Ilib/param', '-I../../lib/param', '-Isource4/libcli', '-I../../source4/libcli', '-Iauth/gensec', '-I../../auth/gensec', '-Isource3', '-I../../source3', '-Isource3/include', '-I../../source3/include', '-Isource3/lib', '-I../../source3/lib', '-Isource4/heimdal/lib/com_err', '-I../../source4/heimdal/lib/com_err', '-Isource4/heimdal/lib/krb5', '-I../../source4/heimdal/lib/krb5', '-Ibin/default/source4/heimdal/lib/asn1', '-Isource4/heimdal/lib/asn1', '-Isource4/lib/socket', '-I../../source4/lib/socket', '-Ilib/audit_logging', '-I../../lib/audit_logging', '-Ilib/socket', '-I../../lib/socket', '-Isource4/heimdal/lib/wind', '-I../../source4/heimdal/lib/wind', '-Ilibcli/smb', '-I../../libcli/smb', '-Ilibcli/http', '-I../../libcli/http', '-Isource4/lib/tls', '-I../../source4/lib/tls', '-Ilibds/common', '-I../../libds/common', '-Ilib/pthreadpool', '-I../../lib/pthreadpool', '-Insswitch', '-I../../nsswitch', '-Isource4/lib/messaging', '-I../../source4/lib/messaging', '-Ilib/messaging', '-I../../lib/messaging', '-Isource4/lib/events', '-I../../source4/lib/events', '-Isource4/heimdal/lib/hcrypto', '-I../../source4/heimdal/lib/hcrypto', '-Isource4/heimdal/lib', '-I../../source4/heimdal/lib', '-Ilibcli/drsuapi', '-I../../libcli/drsuapi', '-Isource3/librpc', '-I../../source3/librpc', '-Iauth/ntlmssp', '-I../../auth/ntlmssp', '-Ilibcli/security', '-I../../libcli/security', '-Ilib/krb5_wrap', '-I../../lib/krb5_wrap', '-Isource4/auth/gensec', '-I../../source4/auth/gensec', '-Isource4/heimdal/lib/hcrypto/libtommath', '-I../../source4/heimdal/lib/hcrypto/libtommath', '-Isource4/param', '-I../../source4/param', '-Iauth/kerberos', '-I../../auth/kerberos', '-Ilibcli/ldap', '-I../../libcli/ldap', '-Ilib/cmdline', '-I../../lib/cmdline', '-Idynconfig', '-I../../dynconfig', '-Ilibcli/lsarpc', '-I../../libcli/lsarpc', '-Isource4/lib/stream', '-I../../source4/lib/stream', '-Ilib/util/charset', '-I../../lib/util/charset', '-Isource4/cluster', '-I../../source4/cluster', '-Insswitch/libwbclient', '-I../../nsswitch/libwbclient', '-Isource4/heimdal/base', '-I../../source4/heimdal/base', '-Ilibcli/nbt', '-I../../libcli/nbt', '-Ilib/crypto', '-I../../lib/crypto', '-Ilib/compression', '-I../../lib/compression', '-Ilib/async_req', '-I../../lib/async_req', '-I/usr/include/p11-kit-1', '../../source4/torture/smb2/sessid.c', '-c', '-o/<>/bin/default/source4/torture/smb2/sessid.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2'] In file included from ../../source4/libcli/smb2/smb2.h:26, from ../../source4/torture/smb2/mangle.c:26: ../../source4/libcli/raw/libcliraw.h:299:54: error: unknown type name ‘stzuct’; did you mean ‘struct’? 299 | void (*idle_func)(struct smbcli_transport *, void *), | ^~~~~~ | struct ../../source4/libcli/raw/libcliraw.h:300:36: error: expected ‘;’, ‘,’ or ‘)’ before ‘uint64_t’ 300 | uint64_t period, | ^~~~~~~~ * Node /<>/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c is created more than once (full message on 'waf -v -v'). The task generators are: 1. 'spotlight2es.objlist' in /<>/source3 2. 'rpc_mdssvc_module' in /<>/source3/rpc_server If you think that this is an error, set no_errcheck_out on the task instance * Node /<>/bin/default/source3/rpc_server/mdssvc/es_parser.tab.h is created more than once (full message on 'waf -v -v'). The task generators are: 1. 'spotlight2es.objlist' in /<>/source3 2. 'rpc_mdssvc_module' in /<>/source3/rpc_server If you think that this is an error, set no_errcheck_out on the task instance * Node /<>/bin/default/source3/rpc_server/mdssvc/es_lexer.lex.c is created more than once (full message on 'waf -v -v'). The task generators are: 1. 'spotlight2es.objlist' in /<>/source3 2. 'rpc_mdssvc_module' in /<>/source3/rpc_server If you think that this is an error, set no_errcheck_out on the task instance Waf: Leaving directory `/<>/bin/default' Build failed -> task in 'TORTURE_SMB2' failed with exit status 1: {task 140375535538400: c mangle.c -> mangle.c.1.o} ['/usr/bin/gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-ffile-prefix-map=/<>=.', '-flto=auto', '-ffat-lto-objects', '-flto=auto', '-ffat-lto-objects', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-DCTDB_HELPER_BINDIR="/usr/lib/x86_64-linux-gnu/ctdb"', '-DLOGDIR="/var/log/ctdb"', '-DCTDB_DATADIR="/usr/share/ctdb"', '-DCTDB_ETCDIR="/etc/ctdb"', '-DCTDB_VARDIR="/var/lib/ctdb"', '-DCTDB_RUNDIR="/var/run/ctdb"', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_TORTURE_SMB2_MODULES=NULL', '-DSTATIC_TORTURE_SMB2_MODULES_PROTO=extern void __TORTURE_SMB2_dummy_module_proto(void)', '-Isource4/torture/smb2', '-I../../source4/torture/smb2', '-Iinclude/public', '-I../../include/public', '-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-Ictdb/include', '-I../../ctdb/include', '-Ictdb', '-I../../ctdb', '-I.', '-I../..', '-Ilib/torture', '-I../../lib/torture', '-Ilibrpc', '-I../../librpc', '-Ilib/tsocket', '-I../../lib/tsocket', '-Iauth', '-I../../auth', '-Ilib/util/<>/third_party/gpfs', '-I../../lib/util/<>/third_party/gpfs', '-Ilib/ldb-samba', '-I../../lib/ldb-samba', '-Ilibcli/util', '-I../../libcli/util', '-Ilib/dbwrap', '-I../../lib/dbwrap', '-Isource4/auth/kerberos', '-I../../source4/auth/kerberos', '-Iauth/credentials', '-I../../auth/credentials', '-Isource4/heimdal/lib/asn1', '-I../../source4/heimdal/lib/asn1', '-Isource4/heimdal_build', '-I../../source4/heimdal_build', '-Ilibcli/auth', '-I../../libcli/auth', '-Isource4/heimdal/lib/roken', '-I../../source4/heimdal/lib/roken', '-Isource4/heimdal/include', '-I../../source4/heimdal/include', '-Isource4/heimdal_build/include', '-I../../source4/heimdal_build/include', '-Isource4/auth', '-I../../source4/auth', '-Isource4/libcli/smb2', '-I../../source4/libcli/smb2', '-Isource4/dsdb', '-I../../source4/dsdb', '-Isource4/heimdal/lib/gssapi', '-I../../source4/heimdal/lib/gssapi', '-Isource4/heimdal/lib/gssapi/gssapi', '-I../../source4/heimdal/lib/gssapi/gssapi', '-Isource4/heimdal/lib/gssapi/spnego', '-I../../source4/heimdal/lib/gssapi/spnego', '-Isource4/heimdal/lib/gssapi/krb5', '-I../../source4/heimdal/lib/gssapi/krb5', '-Isource4/heimdal/lib/gssapi/mech', '-I../../source4/heimdal/lib/gssapi/mech', '-Isource4/heimdal/lib/hx509', '-I../../source4/heimdal/lib/hx509', '-Ilib/param', '-I../../lib/param', '-Isource4/libcli', '-I../../source4/libcli', '-Iauth/gensec', '-I../../auth/gensec', '-Isource3', '-I../../source3', '-Isource3/include', '-I../../source3/include', '-Isource3/lib', '-I../../source3/lib', '-Isource4/heimdal/lib/com_err', '-I../../source4/heimdal/lib/com_err', '-Isource4/heimdal/lib/krb5', '-I../../source4/heimdal/lib/krb5', '-Ibin/default/source4/heimdal/lib/asn1', '-Isource4/heimdal/lib/asn1', '-Isource4/lib/socket', '-I../../source4/lib/socket', '-Ilib/audit_logging', '-I../../lib/audit_logging', '-Ilib/socket', '-I../../lib/socket', '-Isource4/heimdal/lib/wind', '-I../../source4/heimdal/lib/wind', '-Ilibcli/smb', '-I../../libcli/smb', '-Ilibcli/http', '-I../../libcli/http', '-Isource4/lib/tls', '-I../../source4/lib/tls', '-Ilibds/common', '-I../../libds/common', '-Ilib/pthreadpool', '-I../../lib/pthreadpool', '-Insswitch', '-I../../nsswitch', '-Isource4/lib/messaging', '-I../../source4/lib/messaging', '-Ilib/messaging', '-I../../lib/messaging', '-Isource4/lib/events', '-I../../source4/lib/events', '-Isource4/heimdal/lib/hcrypto', '-I../../source4/heimdal/lib/hcrypto', '-Isource4/heimdal/lib', '-I../../source4/heimdal/lib', '-Ilibcli/drsuapi', '-I../../libcli/drsuapi', '-Isource3/librpc', '-I../../source3/librpc', '-Iauth/ntlmssp', '-I../../auth/ntlmssp', '-Ilibcli/security', '-I../../libcli/security', '-Ilib/krb5_wrap', '-I../../lib/krb5_wrap', '-Isource4/auth/gensec', '-I../../source4/auth/gensec', '-Isource4/heimdal/lib/hcrypto/libtommath', '-I../../source4/heimdal/lib/hcrypto/libtommath', '-Isource4/param', '-I../../source4/param', '-Iauth/kerberos', '-I../../auth/kerberos', '-Ilibcli/ldap', '-I../../libcli/ldap', '-Ilib/cmdline', '-I../../lib/cmdline', '-Idynconfig', '-I../../dynconfig', '-Ilibcli/lsarpc', '-I../../libcli/lsarpc', '-Isource4/lib/stream', '-I../../source4/lib/stream', '-Ilib/util/charset', '-I../../lib/util/charset', '-Isource4/cluster', '-I../../source4/cluster', '-Insswitch/libwbclient', '-I../../nsswitch/libwbclient', '-Isource4/heimdal/base', '-I../../source4/heimdal/base', '-Ilibcli/nbt', '-I../../libcli/nbt', '-Ilib/crypto', '-I../../lib/crypto', '-Ilib/compression', '-I../../lib/compression', '-Ilib/async_req', '-I../../lib/async_req', '-I/usr/include/p11-kit-1', '../../source4/torture/smb2/mangle.c', '-c', '-o/<>/bin/default/source4/torture/smb2/mangle.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2'] make[1]: *** [debian/rules:133: override_dh_auto_build] Error 1 make[1]: Leaving directory '/<>' make: *** [debian/rules:127: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-07-25T20:35:31Z I checked the difference between the package you are proposing here and the one built in your PPA and the only difference is in the changelog, so I am not sure what happened. I checked the tests triggered from your PPA and I also see some failures: - samba/2:4.15.13+dfsg-0ubuntu1.3~ppa1 + ❌ samba on jammy for amd64 @ 21.07.23 12:21:03 Log️ 🗒️ • 660s PASS 🟩 • 660s PASS 🟩 • 660s PASS 🟩 • 660s PASS 🟩 • 660s PASS 🟩 • 660s PASS 🟩 • 660s PASS 🟩 • 660s FAIL 🟥 + ❌ samba on jammy for arm64 @ 21.07.23 12:35:42 Log️ 🗒️ • 1532s PASS 🟩 • 1532s PASS 🟩 • 1532s PASS 🟩 • 1532s PASS 🟩 • 1532s PASS 🟩 • 1532s PASS 🟩 • 1532s PASS 🟩 • 1532s FAIL 🟥 + ✅ samba on jammy for armhf @ 21.07.23 12:20:16 Log️ 🗒️ + ❌ samba on jammy for ppc64el @ 21.07.23 12:31:43 Log️ 🗒️ • 1291s PASS 🟩 • 1291s PASS 🟩 • 1291s PASS 🟩 • 1291s PASS 🟩 • 1291s PASS 🟩 • 1291s PASS 🟩 • 1291s PASS 🟩 • 1291s FAIL 🟥 + ❌ samba on jammy for s390x @ 21.07.23 22:00:10 Log️ 🗒️ • 1437s PASS 🟩 • 1437s PASS 🟩 • 1437s PASS 🟩 • 1437s PASS 🟩 • 1437s PASS 🟩 • 1437s PASS 🟩 • 1437s PASS 🟩 • 1437s FAIL 🟥 Did you investigate that? Unfortunately, I was not able to reproduce it locally because of the build error mentioned above.