Source: talloc
Version: 2.1.16-2
Severity: important
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

tdb currently FTBFS on kfreebsd, this is due to waf trying to use clang
instead of gcc.

The attached patch fixes this by forcing gcc.

This is the same bug as #990877, so something might be wrong in samba
build system.

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: 11.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru talloc-2.3.1/debian/rules talloc-2.3.1/debian/rules
--- talloc-2.3.1/debian/rules   2020-11-10 15:39:39.000000000 +0100
+++ talloc-2.3.1/debian/rules   2021-07-10 12:38:55.000000000 +0200
@@ -18,6 +18,7 @@
 conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 conf_args += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
 conf_args += -v
+conf_args += --check-c-compiler=gcc
 
 %:
        dh $@ --with python3

Reply via email to