Your message dated Wed, 23 Feb 2022 01:33:52 +0000
with message-id <[email protected]>
and subject line Bug#903521: fixed in beav 1:1.40-18.2
has caused the Debian Bug report #903521,
regarding beav FTCBFS: uses the build architecture compiler
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 [email protected]
immediately.)


-- 
903521: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903521
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: beav
Version: 1:1.40-18
Tags: patch
User: [email protected]
Usertags: rebootstrap

beav fails to cross build from source, because it uses the build
architecture compiler. The easiest way of passing cross tools to make is
using dh_auto_build, but beav doesn't use debhelper at all. So the
attached patch implements the logic manually to make beav cross
buildable. Please consider applying it.

Helmut
diff -u beav-1.40/debian/rules beav-1.40/debian/rules
--- beav-1.40/debian/rules
+++ beav-1.40/debian/rules
@@ -2,14 +2,17 @@
 #
 # Debian rules extensively rewritten by Martin Mitchell <[email protected]>
 
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/architecture.mk
+-include /usr/share/dpkg/buildtools.mk
+
 CFLAGS = -O2 -g -Wall -DUNIX -DNOPROTO
 LDFLAGS = -s
-ARCH = $(shell dpkg --print-installation-architecture)
-STRIP=strip --strip-unneeded --remove-section=.note --remove-section=.comment
+STRIP=$(DEB_HOST_GNU_TYPE)-strip --strip-unneeded --remove-section=.note 
--remove-section=.comment
 
 build:
 # Builds the binary package.
-       make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+       make CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
        touch build
 
 clean:
diff -u beav-1.40/debian/changelog beav-1.40/debian/changelog
--- beav-1.40/debian/changelog
+++ beav-1.40/debian/changelog
@@ -1,3 +1,10 @@
+beav (1:1.40-18.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use host tools. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 10 Jul 2018 23:33:49 +0200
+
 beav (1:1.40-18) unstable; urgency=low
 
   * Repackaged with the original 1.40 source so that we get a proper diff.gz.

--- End Message ---
--- Begin Message ---
Source: beav
Source-Version: 1:1.40-18.2
Done: Vagrant Cascadian <[email protected]>

We believe that the bug you reported is fixed in the latest version of
beav, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <[email protected]> (supplier of updated beav 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 22 Feb 2022 17:00:32 -0800
Source: beav
Architecture: source
Version: 1:1.40-18.2
Distribution: unstable
Urgency: medium
Maintainer: Sam Hocevar (Debian packages) <[email protected]>
Changed-By: Vagrant Cascadian <[email protected]>
Closes: 777287 903521 1006302
Changes:
 beav (1:1.40-18.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Chris Lamb ]
   * Remove timestamps from the build system. Closes: #777287
 .
   [ Vagrant Cascadian ]
   * debian/rules: Pass -ffile-prefix-map via CFLAGS. Closes: #1006302
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Use host tools. Closes: #903521
Checksums-Sha1:
 aa6c13933f00e812542d4ecfa58ced398ad16fdc 1066 beav_1.40-18.2.dsc
 215d19a27787a497eef6c366eb05ec8feff2f747 14665 beav_1.40-18.2.diff.gz
Checksums-Sha256:
 415f316b33466d7b036226719efc9ede6d5ead1bf2367b7806ef85667624cf07 1066 
beav_1.40-18.2.dsc
 897a7cb943a7ce02366f6e1ec2fa0d3b687aa9ac9631fa6eca483092234f880d 14665 
beav_1.40-18.2.diff.gz
Files:
 46791e6206b9c034470ba07f9026c14b 1066 editors optional beav_1.40-18.2.dsc
 21a46999a87c2d87c2286df3328ededa 14665 editors optional beav_1.40-18.2.diff.gz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYhWK1yAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqi7hAP9rlRflkGUOIr6H
eXu4ogW6vfzniJqOs1jIRHV8PKRB/QD8DwmauuiitIKkQZFPC980WT2mInIeCgEJ
CKY4iLkTGA4=
=092l
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to