Debian Bug report logs - #990794
binutils FTCBFS: does not honour DEB_BUILD_OPTIONS=nocheck for some architectures

version graph

Package: src:binutils; Maintainer for src:binutils is Matthias Klose <[email protected]>;

Reported by: Helmut Grohne <[email protected]>

Date: Wed, 7 Jul 2021 16:39:02 UTC

Severity: normal

Tags: patch

Found in version binutils/2.35.2-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Matthias Klose <[email protected]>:
Bug#990794; Package src:binutils. (Wed, 07 Jul 2021 16:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Matthias Klose <[email protected]>. (Wed, 07 Jul 2021 16:39:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Helmut Grohne <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: binutils FTCBFS: does not honour DEB_BUILD_OPTIONS=nocheck for some architectures
Date: Wed, 7 Jul 2021 18:34:37 +0200
[Message part 1 (text/plain, inline)]
Source: binutils
Version: 2.35.2-2
Tags: patch
User: [email protected]
Usertags: ftcbfs
User: [email protected]
Usertags: rebootstrap

binutils' debian/rules has code to specifically ignore
DEB_BUILD_OPTIONS=nocheck when building for e.g. m68k. I suppose this is
in place to override buildd maintainers that set this option. Working
around such disagreements using code seems like a suboptimal solution,
but I prefer not being dragged into this dispute. Unfortunately, it
happens to break cross building e.g. from amd64 to m68k. As a
compromise, I propose reducing the impact of this code to specifically
exempt all cross builds from ignoring nocheck. Would that be acceptable?

I'm attaching a patch for unstable for your convenience. It doesn't
apply cleanly to experimental. Another form of the patch is:

    sed -i -e 's/ifeq (\(,$(filter $(DEB_HOST_ARCH),\)/ifneq ($(DEB_BUILD_ARCH)\1/' debian/rules

Helmut
[binutils_2.35.2-2.1.debdiff (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:10:11 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.