🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7450

Bug#1156340: quirc FTCBFS: Uses build arch compiler

#7450
From: Nilesh Patra
Date: Fri, 04 Dec 2026 12:10
28 lines
3258 bytes
Source: quirc
Version: 1.2-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross@lists.debian.org

quirc FTCBFS because it uses bare `$(MAKE)` which will not pass in the arch-specific
CC/CXX and hence would cause the package to use the build-compiler instead of the host
one. Just using `dh_auto_build` does the right thing and fixes it. Please consider to
apply the patch below.

diff --git a/debian/rules b/debian/rules
index f674cab..2e75deb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,10 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-soname,libquirc.so.1
 export DEB_CFLAGS_MAINT_APPEND = -DQUIRC_MAX_REGIONS=65534 -fPIC -D_FORTIFY_SOURCE=2
 
 %:
-       dh $@
+       dh $@ --buildsystem=makefile
 
 override_dh_auto_build:
-       $(MAKE) SDL_CFLAGS= SDL_LIBS= -- libquirc.a libquirc.so
+       dh_auto_build -- SDL_CFLAGS= SDL_LIBS= -- libquirc.a libquirc.so
        ln -s libquirc.so.1.2 libquirc.so.1
        ln -s libquirc.so.1 libquirc.so
Technical Details
Message-ID: <O6AgV-fVQW-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!panix!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!panix!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Nilesh Patra <nilesh@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156340: quirc FTCBFS: Uses build arch compiler
Date: Fri, 04 Dec 2026 13:10:01 +0100
Message-ID: <O6AgV-fVQW-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 12:09:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Nilesh Patra <nilesh@debian.org>, 1156340@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-cross@lists.debian.org, debian@zhan.science
X-Debian-Pr-Message: report 1156340
X-Debian-Pr-Package: src:quirc
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: quirc
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=nilesh@debian.org; keydata=
 xjMEYzwXMxYJKwYBBAHaRw8BAQdAsv3h7PxLm3vMbvdmN1bVnqUGyr3k2CKtdRmMDrX/jSXN
 IE5pbGVzaCBQYXRyYSA8bmlsZXNoQGRlYmlhbi5vcmc+wpAEExYIADgWIQSglbZu4JAkvuai
 8HIqJ5BL1yQ+2gUCYzwXMwIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAqJ5BL1yQ+
 2hfuAQDBmH+Sec1bAb/BQNlnNOn7+o69yLi1S7bIQA67WpjCBwD9HoQ3dFMmHbDwu5Mi18z+
 0HoPHLKwQYWJCkOLn9vMFAHOOARjPBczEgorBgEEAZdVAQUBAQdAlnuvB8w06//G6pFqAo98
 IrNeskq+iLAbSPZ0Tse9zUIDAQgHwngEGBYIACAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUC
 YzwXMwIbDAAKCRAqJ5BL1yQ+2mzwAP0SR+JseZKh5BThCb5VijeJD2mCNhZFhvKYmlb8y6nb
 HwD/d3PmHHDDi6JR4oPGuYK/Z+j9tAiV5q8hGZilIFqfgQU=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Debian-User: nilesh
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006918
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 28
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 4 Dec 2026 17:38:09 +0530
X-Original-Message-ID: <c78de991-2feb-4b30-8eda-c6fdb5ebed50@debian.org>