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

Bug#989395: wmcpu FTCBFS -- uses the build architecture compiler



Package: wmcpu
Version: 1.4-4
Severity: normal
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: nilesh@debian.org, nilesh@debian.org, debian-cross@lists.debian.org

Dear Maintainer,

Dear Maintainer,

wmcpu 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 this package hasn't been uploaded for more than 13 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		= -O3 -Wall
 #DEBUG FLAGS HERE:
 #CFLAGS		+= -g -ggdb

-- 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 wmcpu 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

wmcpu recommends no packages.

wmcpu suggests no packages.


Reply to: