--- Begin Message ---
Source: analog
Version: 2:6.0-21
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
Hi,
analog fails to cross build from source, because it uses the build
architecture compiler. This is noticed at the end of the build when
dh_strip fails to strip the build architecture executables. I am
attaching a patch that passes the correct compiler to the Makefile.
Helmut
diff --minimal -Nru analog-6.0/debian/changelog analog-6.0/debian/changelog
--- analog-6.0/debian/changelog 2015-07-18 20:43:37.000000000 +0200
+++ analog-6.0/debian/changelog 2016-01-21 19:45:49.000000000 +0100
@@ -1,3 +1,10 @@
+analog (2:6.0-21.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Pass cross compiler to Makefile. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 21 Jan 2016 19:45:25 +0100
+
analog (2:6.0-21) unstable; urgency=medium
* QA upload.
diff --minimal -Nru analog-6.0/debian/rules analog-6.0/debian/rules
--- analog-6.0/debian/rules 2015-07-18 20:43:37.000000000 +0200
+++ analog-6.0/debian/rules 2016-01-21 19:45:17.000000000 +0100
@@ -1,6 +1,10 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
export BUILD_DATE = $(shell LC_ALL=C date -u --date="`dpkg-parsechangelog -SDate`" +'%b %e %Y %H:%M:%S')
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
%:
dh $@
@@ -22,6 +26,7 @@
-DHEADERDIR=\"\" \
-DLOCKDIR=\"/var/lock/\" \
-DDEFAULTCONFIGFILE=\"/etc/analog.cfg\"' \
+ CC=$(CC) \
analog
# nothing to do
--- End Message ---
--- Begin Message ---
Source: analog
Source-Version: 2:6.0-23
Done: Lourisvaldo Figueredo Junior <lourisvaldo@figueredo.tec.br>
We believe that the bug you reported is fixed in the latest version of
analog, 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 812231@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Lourisvaldo Figueredo Junior <lourisvaldo@figueredo.tec.br> (supplier of updated analog 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 13 Feb 2022 15:29:44 -0300
Source: analog
Architecture: source
Version: 2:6.0-23
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Lourisvaldo Figueredo Junior <lourisvaldo@figueredo.tec.br>
Closes: 812231
Changes:
analog (2:6.0-23) unstable; urgency=medium
.
* QA upload.
* Using new DH level format. Consequently:
- debian/compat: removed.
- debian/control: changed from 'debhelper' to 'debhelper-compat' in
Build-Depends field and bumped to 13.
* debian/control:
- Added 'Rules-Requires-Root: no' to source stanza.
- Updated Vcs-* fields.
- Bumped Standards-Version to 4.6.0.1.
* debian/copyright:
- Migrated to 1.0 format.
- Updated all data.
* debian/rules:
- Removed 'export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed'
line. No longer needed.
* debian/salsa-ci.yml: created.
* debian/tests/control: created to perform trivial CI tests. (LP: #1677701)
* Fix FTCBFS: Pass cross compiler to Makefile. Thank you Helmut Grohne
<helmut@subdivi.de>. (Closes: #812231)
Checksums-Sha1:
055f442873f9f984daec5222a7e24111793f352a 1908 analog_6.0-23.dsc
343ab3d1f679cd1d6c7eb22bfa580eac88d816af 28920 analog_6.0-23.debian.tar.xz
f2bd9ec0ab08ccd4b8cd71a037dd66010831e896 7199 analog_6.0-23_source.buildinfo
Checksums-Sha256:
875e56f61b7ec44cce3210feb390c972cee7060321b980d81ec1c33b38c1f465 1908 analog_6.0-23.dsc
6bf5ae71a7117cea84e1364bf54cca6d57d35828c4b9d1140cb320c865be2fde 28920 analog_6.0-23.debian.tar.xz
c7a9e82a301fa797442814c581b1d025079120525860849e33e50baf3afd9c97 7199 analog_6.0-23_source.buildinfo
Files:
3f1162b3c3e9e155888533734dbd2db2 1908 web optional analog_6.0-23.dsc
386e3a4ed995d75de6654de8153fbd93 28920 web optional analog_6.0-23.debian.tar.xz
34f610782e455d94f3f8f408f94f52b0 7199 web optional analog_6.0-23_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmIJaEsACgkQweDZLphv
fH4HCRAA1KFoGSdCceuREdOElq/6BhxnG8gIC/KuBCCkV/nTKKw/BbKUPPvWEIuw
iEL8c0qB0/YeWSdX1Ni4Sa39NAbRQTGHnXvY3vkBat5/QalY3Ev0m1jdOmLTJLGA
BuTq7VpOKrFvoSaFGM637TTdA2hzYxcaKQDh/eMSxffhVZ03X4P/G0QumfFFzEmU
rosQfg/zNCgHFjQF5T5x6HOO1x5kFydiZhupXaxT88QshOUacq4vfYwZfT5S+c25
/4nV5q1FQ9TkeexrkO/MKjvEP+k2ign6kNz36P+sMGTyhsyxorhOpgchV4uddHiI
JalSnXGblUNEXclc4un+F5fXuOz4+arbWGzm7843xKecVCzWZ5B6zk+hxm8QdBaj
u4A+MD9GtU3xZ8gkryKX2aJ+OEEf4ofPuHEt4QnZy5ikyU46hNvO/CCC0rPIUU8A
yfWRU14UjUqC3qv8kTOHaZp9Y0Xw12h11KgwngGsEA74fz0NCPA9pRii5kV7R3OW
mb5qXo+0bUDwUMo+eRPbhoEAXnK3w3CncfqA7sAM8t3FoYaWemzYumEkXyP2ejLr
cGqr36FGg8uzFdiS//WiXq0DiYMps475tqQOqyCkvoOcAXHwf52pRMAPnY6g/kkg
6xEkLUL13mT7MNHlS2Zw0C8VamI0KQrGdSQopf2XTgS+GUFL5AQ=
=WwP4
-----END PGP SIGNATURE-----
--- End Message ---