Article View: linux.debian.bugs.dist
Article #2301Bug#1152205: objcrypt-fox FTCBFS: passes host flags to the build compiler
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
37 lines
3168 bytes
3168 bytes
--6CtWkCgu8cIYmP39
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: objcryst-fox
Version: 2022.1-2
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
objcrypt-fox fails to cross build from source, because it passes host
compiler flags to the build compiler. As a result, cross builds for
amd64 and arm64 fail. The relevant invocation is actually hidden from
the verbose build log. It happens via MAKEDEPEND where "gcc" is hard
coded. I'm attaching a patch to also make this substitutable. Please
consider applying it and forwarding it upstream.
Helmut
--6CtWkCgu8cIYmP39
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"
--- objcryst-fox-2022.1.orig/ObjCryst/rules-gnu.mak
+++ objcryst-fox-2022.1/ObjCryst/rules-gnu.mak
@@ -41,7 +41,7 @@
CRYST_LDFLAGS = ${LDFLAGS} -L/usr/lib -L/usr/local/lib -L$(DIR_CRYSTVECTOR) -L$(DIR_LIBCRYST) -L$(DIR_REFOBJ) -L$(DIR_STATIC_LIBS)/lib -L$(DIR_VFNQUIRKS) -L$(DIR_WXWCRYST) -L$(DIR_TAU)/x86_64/lib
#to automatically generate dependencies
-MAKEDEPEND = gcc -MM ${CPPFLAGS} ${CXXFLAGS} ${C_BLITZFLAG} $< > $*.dep
+MAKEDEPEND = $(CC) -MM ${CPPFLAGS} ${CXXFLAGS} ${C_BLITZFLAG} $< > $*.dep
# header files
SEARCHDIRS = -I$(DIR_TAU)/include -I${DIR_CRYST}/.. -I$(DIR_STATIC_LIBS)/include
--6CtWkCgu8cIYmP39--
Technical Details
Message-ID:
<NSzkJ-84wi-21@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152205: objcrypt-fox FTCBFS: passes host flags to the build compiler Date: Mon, 26 Oct 2026 21:20:01 +0100 Message-ID: <NSzkJ-84wi-21@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 20:17:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152205@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-science-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: report 1152205 X-Debian-Pr-Package: src:objcryst-fox X-Debian-Pr-Keywords: patch upstream X-Debian-Pr-Source: objcryst-fox MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6CtWkCgu8cIYmP39" Content-Disposition: inline X-Reportbug-Version: 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999076 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 37 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 13:49:31 +0100 X-Original-Message-ID: <20261026124931.GA2703548@subdivi.de>