[Pkg-samba-maint] Bug#1011163: samba: FTBFS on kfreebsd

Laurent Bigonville bigon at debian.org
Tue May 17 19:33:03 BST 2022


Source: samba
Version: 2:4.16.1+dfsg-4
Severity: important
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

samba still FTBFS on kfreebsd

PYTHONHASHSEED=1 python3 ./buildtools/bin/waf -j2 -j1 configure -C --prefix=/usr --enable-fhs --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --libdir=/usr/lib/x86_64-kfreebsd-gnu --datadir=/usr/share --with-modulesdir=/usr/lib/x86_64-kfreebsd-gnu/samba --with-pammodulesdir=/lib/x86_64-kfreebsd-gnu/security --with-privatedir=/var/lib/samba/private --with-smbpasswd-file=/etc/samba/smbpasswd --with-piddir=/run/samba --with-lockdir=/run/samba --with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba --with-pam --with-syslog --with-utmp --with-winbind --with-quota --with-automount --with-ldap --with-ads --with-gpgme --enable-avahi --enable-spotlight --disable-rpath --disable-rpath-install --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2,vfs_dfs_samba4,auth_samba4,vfs_nfs4acl_xattr --bundled-libraries=NONE,pytevent,ldb --with-cluster-support --enable-etcd-reclock --with-socketpath=/run/ctdb/ctdbd.socket --with-logdir=/var/log/ctdb   --disable-cephfs --without-systemd || \
  { echo "==== contents of config.log:"; cat bin/config.log; false; }
Setting top to                           : /<<PKGBUILDDIR>> 
Setting out to                           : /<<PKGBUILDDIR>>/bin 
Checking for 'clang' (C compiler)        : Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 831, in wrap
    return cache[k]
KeyError: (<samba_waf18.ConfigurationContext object at 0x8020f0850>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 831, in wrap
    return cache[k]
KeyError: (<samba_waf18.ConfigurationContext object at 0x8020f0850>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Scripting.py", line 159, in waf_entry_point
    run_commands()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Scripting.py", line 255, in run_commands
    ctx = run_command(cmd_name)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Scripting.py", line 239, in run_command
    ctx.execute()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 159, in execute
    super(ConfigurationContext, self).execute()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Context.py", line 214, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Context.py", line 296, in recurse
    user_function(self)
  File "/<<PKGBUILDDIR>>/wscript", line 163, in configure
    conf.RECURSE('lib/replace')
  File "/<<PKGBUILDDIR>>/./buildtools/wafsamba/samba_utils.py", line 66, in fun
    return f(*k, **kw)
  File "/<<PKGBUILDDIR>>/./buildtools/wafsamba/samba_utils.py", line 469, in RECURSE
    return ctx.recurse(relpath)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Context.py", line 296, in recurse
    user_function(self)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    ret = fun(*k)
  File "/<<PKGBUILDDIR>>/lib/replace/wscript", line 30, in configure
    conf.RECURSE('buildtools/wafsamba')
  File "/<<PKGBUILDDIR>>/./buildtools/wafsamba/samba_utils.py", line 66, in fun
    return f(*k, **kw)
  File "/<<PKGBUILDDIR>>/./buildtools/wafsamba/samba_utils.py", line 469, in RECURSE
    return ctx.recurse(relpath)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Context.py", line 296, in recurse
    user_function(self)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    ret = fun(*k)
  File "/<<PKGBUILDDIR>>/buildtools/wafsamba/wscript", line 296, in configure
    conf.load('compiler_c')
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 271, in load
    func(self)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Tools/compiler_c.py", line 79, in configure
    conf.load(compiler)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 271, in load
    func(self)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Tools/clang.py", line 22, in configure
    conf.find_clang()
  File "/<<PKGBUILDDIR>>/./buildtools/wafsamba/samba_utils.py", line 66, in fun
    return f(*k, **kw)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Tools/clang.py", line 18, in find_clang
    conf.get_cc_version(cc, clang=True)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 317, in fun
    return f(*k, **kw)
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Tools/c_config.py", line 1027, in get_cc_version
    cmd = cc + ['-dM', '-E', '-']
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'


Kind regards,
Laurent Bigonville


-- Package-specific info:
* /etc/samba/smb.conf present, but not attached
* /var/lib/samba/dhcp.conf present, but not attached

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy



More information about the Pkg-samba-maint mailing list