Your message dated Thu, 15 Aug 2024 10:04:40 +0000
with message-id <e1sexlu-000w7v...@fasolo.debian.org>
and subject line Bug#1078525: fixed in bfs 3.3.1-4
has caused the Debian Bug report #1078525,
regarding bfs FTCBFS: builds for the build architecture
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1078525: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078525
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: bfs
Version: 3.3.1-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

bfs fails to cross build from source, because it has a hand-written
configure script that is very much unlike autotools and hence
override_dh_auto_configure does not pass any cross compilation options.
The way to do it here is to pass a suitable CC=... assignment. I'm
attaching a patch for your convenience.

While at it, I recommend also making the build log verbose (i.e. showing
the actual compiler invocations) and optionally also supporting
DEB_BUILD_OPTIONS=terse for opting into the currently terse build log as
is recommended by Debian policy. Thanks for considering. The build log
verbosity is not in scope for this bug number which only applies to the
cross building aspect.

Helmut
diff --minimal -Nru bfs-3.3.1/debian/changelog bfs-3.3.1/debian/changelog
--- bfs-3.3.1/debian/changelog  2024-06-11 11:49:08.000000000 +0200
+++ bfs-3.3.1/debian/changelog  2024-08-11 13:10:48.000000000 +0200
@@ -1,3 +1,10 @@
+bfs (3.3.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass CC= to configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 11 Aug 2024 13:10:48 +0200
+
 bfs (3.3.1-2) unstable; urgency=medium
 
   * Apply patch from upstream to fix FTBFS on riscv64. (Closes: #1072933)
diff --minimal -Nru bfs-3.3.1/debian/rules bfs-3.3.1/debian/rules
--- bfs-3.3.1/debian/rules      2024-06-11 11:49:08.000000000 +0200
+++ bfs-3.3.1/debian/rules      2024-08-11 13:10:24.000000000 +0200
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
 
 # Fix FTBFS on kfreebsd-* architectures
 # https://github.com/tavianator/bfs/issues/56
@@ -14,7 +15,7 @@
        dh $@
 
 override_dh_auto_configure:
-       ./configure
+       ./configure 'CC=$(CC)'
 
 override_dh_auto_test:
 ifneq ($(shell id -u),0)

--- End Message ---
--- Begin Message ---
Source: bfs
Source-Version: 3.3.1-4
Done: Chris Lamb <la...@debian.org>

We believe that the bug you reported is fixed in the latest version of
bfs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1078...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <la...@debian.org> (supplier of updated bfs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 15 Aug 2024 10:59:41 +0100
Source: bfs
Built-For-Profiles: nocheck
Architecture: source
Version: 3.3.1-4
Distribution: unstable
Urgency: medium
Maintainer: Chris Lamb <la...@debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Closes: 1078525
Changes:
 bfs (3.3.1-4) unstable; urgency=medium
 .
   * Correctly (i.e. explicitly) include buildtools.mk in debian/rules; it is
     not yet included by default. Thanks, Helmut. (Closes: #1078525)
Checksums-Sha1:
 83dbe20e956b23aa88b8e60f582c3a182274e093 1872 bfs_3.3.1-4.dsc
 1d8b0e9fd18a2acecb514035a201c3a6138ee560 5240 bfs_3.3.1-4.debian.tar.xz
 945b11f7ae3349e9fffdf3d51eba63b7aeb7b8cb 5941 bfs_3.3.1-4_amd64.buildinfo
Checksums-Sha256:
 cd61a766f43b28a427fd89abce70fd9976491abda22cb8022d656a062f3a54cb 1872 
bfs_3.3.1-4.dsc
 d93add5727a3ca196065549763461a0ebde6d5c98fbbd0f5668152e00289d24a 5240 
bfs_3.3.1-4.debian.tar.xz
 1a60eca5f8d15791fa33d83e84d3de844c0f3e7e42bc6e4212e5f1c91348dbc9 5941 
bfs_3.3.1-4_amd64.buildinfo
Files:
 385c4d94d5a71e7d499278c0bd7a0659 1872 utils optional bfs_3.3.1-4.dsc
 1ede62dbe84cf19bcfde13aa2138e1fd 5240 utils optional bfs_3.3.1-4.debian.tar.xz
 f0716c30bb23627e59c15a58279e5306 5941 utils optional 
bfs_3.3.1-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAma90gMACgkQHpU+J9Qx
Hlg3Mw/8DMt1H1aqhStBDrEZcKMA40nu9BS7kw4AFBnaP8hG2JNLc47Z0WUOBk1f
cz0gXXKOrCVcZddlLUIksM/bjWkv+yK3GwbQvgudY2HGsVKpC/YqThnK3a4UHgYd
7t1+f/2G0jEKXyx6uuoia++2iPB6H3fYYR/23F1sWhm8GCLYyQnJkUiEDVwX49Rn
wNHVHYwHPTWlCXpGXctinHV46/S3tT6oGcdB1uVNeHckYQ9BMeChUzNQQ5OMyyZd
189FQyONdFne6fWqAYRNrlsNriOsF8iLLIFxFMh5sPDk25kpCi+b45IJlVPiK3wj
gS0+np/fLqzEfxh9GVFFq+AAYMXsboUq9Z94COyCY4Du7VG78RcSktq5Iy8wsnG9
cK7OnyRp9UP81bRyyko0VKQ0Ah6t0H4WA5PJjbgGTu4pgbyaH8iymTOw3aTZ4Zeq
tvvopOue8aByfOdi4H2nx0tJ+pykhXnmc3jb5UJ7Ui2N2FbBnT3FY775RH6mPuUK
SIfWrfqIS0H3dKPx+2o8lG5JDTzqO4rSk8GNWJVUmaNV2QhfajD9HbNUCaY18CPY
BV1Abgj6b++iSb9HkV1LO/GP6PyyP6RQ9IQMIcwOXGRMaaaFPBUj/YffKvxk/epa
slL0p47XZ4Si2chM2MMoWlEE2tK3+azt5O8ZzwJMZ2TNFmrq08I=
=S7Tz
-----END PGP SIGNATURE-----

Attachment: pgpIH_xZxtkk1.pgp
Description: PGP signature


--- End Message ---

Reply via email to