Bug#989533: xsysinfo FTCBFS -- uses build compiler
Package: xsysinfo
Version: 1.7-9
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,
xsysinfo fails to cross build because it uses build compiler rather than
the host compiler while cross building.
Please consider applying the attached patch
Also, since this package has not been uploaded for ~10 years, which is a
fairly long time, I'll nmu this package post bullseye release, if
not uploaded on time.
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 xsysinfo depends on:
ii libc6 2.31-3
ii libice6 2:1.0.9-2
ii libsm6 2:1.2.3-1
ii libx11-6 2:1.7.0-2
ii libxaw7 2:1.0.13-1+b2
ii libxext6 2:1.3.3-1+b2
ii libxmu6 2:1.1.2-2+b3
ii libxpm4 1:3.5.12-1
ii libxt6 1:1.1.5-1+b3
xsysinfo recommends no packages.
xsysinfo suggests no packages.
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
# debian/rules for xsysinfo
include /usr/share/dpatch/dpatch.make
+-include /usr/share/dpkg/buildtools.mk
CDEBUGFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -15,7 +16,7 @@ build-stamp: patch
dh_testdir
xmkmf
- $(MAKE) CDEBUGFLAGS="$(CDEBUGFLAGS)" xsysinfo
+ $(MAKE) CDEBUGFLAGS="$(CDEBUGFLAGS)" CC="$(CC)" xsysinfo
touch build-stamp
Reply to: