[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812230: marked as done (altermime FTCBFS: uses the build architecture compiler)



Your message dated Mon, 28 Aug 2017 21:04:44 +0000
with message-id <E1dmRDA-0009b1-8L@fasolo.debian.org>
and subject line Bug#812230: fixed in altermime 0.3.10-9
has caused the Debian Bug report #812230,
regarding altermime 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 owner@bugs.debian.org
immediately.)


-- 
812230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: altermime
Version: 0.3.10-7
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi,

altermime 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 build architecture object files. Please find a
patch that passes the cross compiler to the Makefile attached.

Helmut
diff --minimal -Nru altermime-0.3.10/debian/changelog altermime-0.3.10/debian/changelog
--- altermime-0.3.10/debian/changelog	2011-05-03 20:20:19.000000000 +0200
+++ altermime-0.3.10/debian/changelog	2016-01-21 19:42:12.000000000 +0100
@@ -1,3 +1,10 @@
+altermime (0.3.10-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass cross compiler to the Makefile. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 21 Jan 2016 19:41:51 +0100
+
 altermime (0.3.10-7) unstable; urgency=low
 
   * Update VCS fields
diff --minimal -Nru altermime-0.3.10/debian/rules altermime-0.3.10/debian/rules
--- altermime-0.3.10/debian/rules	2011-05-03 20:20:19.000000000 +0200
+++ altermime-0.3.10/debian/rules	2016-01-21 19:41:48.000000000 +0100
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 %:
 	dh $@
 
@@ -8,6 +14,9 @@
 	mv -f postfix-altermime-howto*.html debian/docs/html 
 	dh_auto_configure
 
+override_dh_auto_build:
+	dh_auto_build -- CC=$(CC)
+
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/altermime/usr/bin
 

--- End Message ---
--- Begin Message ---
Source: altermime
Source-Version: 0.3.10-9

We believe that the bug you reported is fixed in the latest version of
altermime, 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 812230@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <helmut@subdivi.de> (supplier of updated altermime 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: Mon, 28 Aug 2017 21:38:52 +0200
Source: altermime
Binary: altermime
Architecture: source
Version: 0.3.10-9
Distribution: sid
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Helmut Grohne <helmut@subdivi.de>
Description:
 altermime  - utility used to alter mime-encoded mailpacks
Closes: 753058 812230 853309
Changes:
 altermime (0.3.10-9) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with clang: 35_clang.diff  (Closes: #753058)
   * Fix FTCBFS: Pass cross compiler to the Makefile. (Closes: #812230)
   * Fix FTBFS with gcc-7: 40_ftbfs_with_gcc_7.diff and
     -Wno-error=format-truncation (Closes: #853309)
Checksums-Sha1:
 2a68a52d841444e3db353a457d15f1ff01b9928d 1864 altermime_0.3.10-9.dsc
 5be921dd91bcf5c00a34706c5a72dec49c99922d 13204 altermime_0.3.10-9.debian.tar.xz
 4280df49a68c61a35819ec155978eaed10d636c6 5414 altermime_0.3.10-9_amd64.buildinfo
Checksums-Sha256:
 be601e02ca20503b64622f1e86229dabca4682cd8f186f5d52dbb06fc2284ae6 1864 altermime_0.3.10-9.dsc
 b2c365c77eb0ceb635d36d208115894d1929611bfb2246f4ac6a94327f40e5c3 13204 altermime_0.3.10-9.debian.tar.xz
 747c635283c7b1ca58c98d7f5da90791a2aa20923ed224014124cb10c150abf9 5414 altermime_0.3.10-9_amd64.buildinfo
Files:
 f7db71a23fd95066693c1d66ec8d8895 1864 mail optional altermime_0.3.10-9.dsc
 3028301375e6b5cab22f2edbeee081c6 13204 mail optional altermime_0.3.10-9.debian.tar.xz
 ba0f89fd84657a5d72e7b4a2eb182db5 5414 mail optional altermime_0.3.10-9_amd64.buildinfo

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

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAlmkcbYACgkQLRqqzyRE
REI96hAAqOebNuwtV8AAACd+0ZdnlV7ffycRw2woP+Wc9oJJypHfVCd32+kZiKhF
ADjkSFOhTGhbLi+gsZzhAsupK2OnYiuL9/6IOqy3AypmHsP7HL614BUsc8sG9HdF
OmOOGwhj39nzrGV44iR3qN+jmG5w+PnCdVKgGQHvzy6FvTnm1ezqT7sKpGkVnW7A
QDnnQEkd4WnKCGGlqjkubn8NFBBJEUYNT/UW+oGufXzxcIdSoFMuYlWrmTuVxOg7
ArcJsXWwE2GGnMD0CN2CYpN0aKFmp8yc6mjg1NeMG+79pnUEn5mwY+8ySyD6Vqpo
YL4y6FJIiHmqsGqYED16Mu38nGfax1CNnaBr5dwAgXC33KFFzZyBj9Zjwi4a7dve
dUyjjVxtmvkweKn3QSwSdkRB3fpSYz7LDfgtpJAYbuzdUh//LW/cziDZTk7xyqxY
PkPytg1XmxweXLT+yX4YtEdxVctb0KrOevymjMWpmmp2o3qJM5zsHRRGSae8DYih
+2S8/QsFtMZddHPXr0bflq89DJ0gbGSXv/mkLDwosL41ejUag4FLlq83iMkTOdCp
mCit+6a+SNf6CP36mmY2GW7T5PBk6q3iYhO8MPfJEUHTg1ouAN4JpRNWCEqhWaFf
+K3MGwIxknPYOTFT5PemJn/NWDYwhXgMf0z/CPfTJ2QmFC+E/GA=
=OjzY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: