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

Bug#989392: wmmatrix FTCBFS -- uses the build architecture compiler



Package: wmmatrix
Version: 0.2-12.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,

wmmatrix Fails to cross build because it hardcodes gcc as build
compiler in CC=gcc.
Simply removing this line would do the trick for us, however I've
replaced this with CC ?= gcc
Although this is a no-op for us, but this will help getting this
upstreamed.
Please consider applying the attched patch

PS: Since a _maintainer upload_ for this package hasn't happened for more than 12 years,
which is a *really really* long time, I intend to NMU it post bullseye
release, with this patch applied - if not uploaded on time ofcourse.

--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC     = gcc
+CC     ?= gcc
 CFLAGS = -O2 -Wall 
 INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
 DESTDIR= /usr/X11R6

-- 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 wmmatrix depends on:
ii  libc6     2.31-3
ii  libx11-6  2:1.7.0-2
ii  libxext6  2:1.3.3-1+b2
ii  libxpm4   1:3.5.12-1

wmmatrix recommends no packages.

wmmatrix suggests no packages.


Reply to: