[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989537: xmille FTCBFS -- uses build compiler



Package: xmille
Version: 2.0-13
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,

xmille 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
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
+-include /usr/share/dpkg/buildtools.mk
 
 build: build-stamp
 build-stamp:
@@ -11,7 +12,7 @@
 
 	xmkmf
 	$(MAKE) Makefiles
-	$(MAKE)
+	$(MAKE) CC="$(CC)"
 
 	touch build-stamp
 

Reply to: