Your message dated Mon, 12 Aug 2024 07:49:27 +0000
with message-id <e1sdpnz-002f1g...@fasolo.debian.org>
and subject line Bug#1078525: fixed in bfs 3.3.1-3
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-3
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: Mon, 12 Aug 2024 08:44:01 +0100
Source: bfs
Built-For-Profiles: nocheck
Architecture: source
Version: 3.3.1-3
Distribution: unstable
Urgency: medium
Maintainer: Chris Lamb <la...@debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Closes: 1078525
Changes:
 bfs (3.3.1-3) unstable; urgency=medium
 .
   * Pass CC to ./configure script to fix cross-build support. Thanks, Helmut!
     (Closes: #1078525)
Checksums-Sha1:
 07471eed832ec5f81fef6fe95e9250fc2808a45b 1872 bfs_3.3.1-3.dsc
 d52608ae5c9252b2d7965bd04aa67f464eb1c506 5172 bfs_3.3.1-3.debian.tar.xz
 0218fa0399cddc9d2ba06d82d629e2d03983005f 5941 bfs_3.3.1-3_amd64.buildinfo
Checksums-Sha256:
 65f89a30a70f34772d3c6a6f082d0eeb8de99362456adc29242b3efc5d404907 1872 
bfs_3.3.1-3.dsc
 81a24ede74400cf6af1b715129c100e21975a4867f7e7437f5c8b50b375165bf 5172 
bfs_3.3.1-3.debian.tar.xz
 d8fd00b1a160508977c8244af90e327d99e6ebc11992e2ab4105cce8df6cd20e 5941 
bfs_3.3.1-3_amd64.buildinfo
Files:
 fff05eb5b2497ecba6d217aec227b9d6 1872 utils optional bfs_3.3.1-3.dsc
 493c202201d797578d91fe13b431673d 5172 utils optional bfs_3.3.1-3.debian.tar.xz
 1dc47312e82769ac4aeccc88e7356f03 5941 utils optional 
bfs_3.3.1-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAma5vaoACgkQHpU+J9Qx
HlioxRAAsQ1fcVqdZyE9EFIpXCgHc4vGaqdq8e35lr5HuJcSy11ML5h/Qi4Z5dfb
vhkEfoW5w5Itvda0iQl1OLmDYAggr7VPnlwhBsWNypQxMAqI8kW8PULoYHOSVChl
SzofLil5GMwgDmp9Vx/cOOzCbTwYo7lZlG9W0NvOQmxmr6C/XX4m39NCjCj4MRhn
p4dDTMv7/tcQSxmwT64kAZep8DaiIP9XdGZVkovocA1qwxD3OqlcClp6CmYnXQFZ
k9BtyygVwfTrJYqS/MGoTv9e5NEe8SB92WQWt1ADHax27e23TCvbgPJ8L/WemK8m
5NRECYUAc+3APo0toZo8P//WSJVGIz5vke2JlRl89IA+Z0j3A67WTpNfDPQEIjmi
puZHWLHfQuq+9rgYqDskgrfyKCdc47Jy/OuERIqfs/DEt8gpdtUVpc6/ERLVImEV
tnd9tIfzMXcUxfw+Y2jEMNU7QhpZ57wACmetxfTo8I/BdekCLNe96ELNDQS5mrHk
m/xXGnqnE7rENmAo+sDvHWOVViuMaxy/LRz0g0TDcVxN2j4PgiViEvTEPeafxchr
JzcRydUXcLbuEc1ALHUUi2FPfVBViG/7tUVUwBdT5Fe8kU1n2ot211kJ3DMoZx2r
EGY15wF6/fUd2x54nzszFw2c+2D3vwstKWFGpJ8l2n3KL36HG64=
=W7zw
-----END PGP SIGNATURE-----

Attachment: pgpUdDkhOwQZz.pgp
Description: PGP signature


--- End Message ---

Reply via email to