Bug#989804: jamnntpd FTCBFS -- uses the build architecture compiler
Package: jamnntpd
Version: 1.3-1
Severity: normal
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: nilesh@debian.org, debian-cross@lists.debian.org
Dear Maintainer,
jamnntpd fails to cross build because it uses build compiler rather than
host compiler.
Simply adjusting d/rules to use dh_auto_build instead of $(MAKE) fixes
it.
Please consider to apply the patch
Nilesh
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages jamnntpd depends on:
ii libc6 2.31-3
ii lsb-base 11.1.0
Versions of packages jamnntpd recommends:
pn crashmail <none>
jamnntpd suggests no packages.
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,13 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
- dh $@
+ dh $@ --buildsystem=makefile
override_dh_auto_clean:
$(MAKE) -C src cleanlinux
override_dh_auto_build:
- $(MAKE) -C src linux
+ dh_auto_build --sourcedirectory=src -- linux
override_dh_auto_install:
dh_auto_install --destdir=debian/jamnntpd
Reply to: