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

Laurent Bigonville bigon at debian.org
Sat Jul 10 11:04:56 BST 2021


Source: tdb
Version: 1.3.18-1
Severity: important
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

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.

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
-------------- next part --------------
diff -Nru tdb-1.4.3/debian/rules tdb-1.4.3/debian/rules
--- tdb-1.4.3/debian/rules	2020-06-21 00:07:48.000000000 +0200
+++ tdb-1.4.3/debian/rules	2021-07-10 10:50:04.000000000 +0200
@@ -20,7 +20,7 @@
 	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
 		./configure --prefix=/usr --disable-rpath-install \
 		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
-		-v
+		-v --check-c-compiler=gcc
 
 get-packaged-orig-source:
 	./debian/build-orig.sh


More information about the Pkg-samba-maint mailing list