Your message dated Wed, 14 Feb 2018 08:50:00 +0000
with message-id <e1elslm-000b5h...@fasolo.debian.org>
and subject line Bug#890371: fixed in dialign-t 1.0.2-10
has caused the Debian Bug report #890371,
regarding dialign-t FTCBFS: passes -mmmx for !x86 builds
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.)


-- 
890371: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890371
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dialign-t
Version: 1.0.2-9
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

dialign-t fails to cross build from source, because it determines
compiler flags from the build architecture rather than the host
architecture. Thus cross building for e.g. mips can include -mmmx.

The attached patch goes a little further than s/BUILD/HOST/. It removes
the need to invoke the shell for each make invocation by relying on
dpkg's architecture.mk. It also enables -mmmx for more architectures
that may be relevant by matching on the cpu. It will enable these flags
on e.g.:
 * x32
 * kfreebsd-amd64
 * hurd-i386
 * musl-linux-i386

Please consider applying it.

Helmut
diff --minimal -Nru dialign-t-1.0.2/debian/changelog 
dialign-t-1.0.2/debian/changelog
--- dialign-t-1.0.2/debian/changelog    2016-12-17 12:49:37.000000000 +0100
+++ dialign-t-1.0.2/debian/changelog    2018-02-14 07:52:36.000000000 +0100
@@ -1,3 +1,10 @@
+dialign-t (1.0.2-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 14 Feb 2018 07:52:36 +0100
+
 dialign-t (1.0.2-9) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru dialign-t-1.0.2/debian/rules dialign-t-1.0.2/debian/rules
--- dialign-t-1.0.2/debian/rules        2016-12-17 11:36:41.000000000 +0100
+++ dialign-t-1.0.2/debian/rules        2018-02-14 07:52:36.000000000 +0100
@@ -2,7 +2,10 @@
 
 SRCDIR=$(CURDIR)/source
 
-export SSEFLAGS := $(shell if [ `dpkg-architecture -qDEB_BUILD_ARCH` = amd64 
-o `dpkg-architecture -qDEB_BUILD_ARCH` = i386 ] ; then echo "-mfpmath=sse 
-msse -mmmx" ; fi)
+include /usr/share/dpkg/architecture.mk
+ifneq ($(filter $(DEB_HOST_ARCH_CPU),amd64 i386),)
+export SSEFLAGS = -mfpmath=sse -msse -mmmx
+endif
 export DEB_BUILD_MAINT_OPTIONS += hardening=+all
 
 %:

--- End Message ---
--- Begin Message ---
Source: dialign-t
Source-Version: 1.0.2-10

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated dialign-t 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: Wed, 14 Feb 2018 09:27:32 +0100
Source: dialign-t
Binary: dialign-tx dialign-tx-data
Architecture: source
Version: 1.0.2-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Description:
 dialign-tx - Segment-based multiple sequence alignment
 dialign-tx-data - Segment-based multiple sequence alignment (data files)
Closes: 890371
Changes:
 dialign-t (1.0.2-10) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: fix build/host confusion. (Closes: #890371)
 .
   [ Andreas Tille ]
   * cme fix dpkg-control
   * debhelper 11
Checksums-Sha1:
 65d509f430d160d94ae8f8f6a23a186c3bd9be4a 2092 dialign-t_1.0.2-10.dsc
 78936dffc34020b92cf3641261eeef650f5f3a9d 18008 dialign-t_1.0.2-10.debian.tar.xz
 00e50cb46ccd5957911858e557d9d4ad681482f0 13190 
dialign-t_1.0.2-10_source.buildinfo
Checksums-Sha256:
 b788ccbd45a4a40a771f44dcfdf47564e4113fce893184ee0060fd0e6b465cbc 2092 
dialign-t_1.0.2-10.dsc
 694940b46c40dd70c645ec0955dca0cfb82968d2585d196175c591e8db202310 18008 
dialign-t_1.0.2-10.debian.tar.xz
 71a99e7325cd4ff4eaa58c1d2f9a70f9820471d1312157a0119eeefcc7de5562 13190 
dialign-t_1.0.2-10_source.buildinfo
Files:
 0a37b03e8e1520ae9edb16aefacd2227 2092 science optional dialign-t_1.0.2-10.dsc
 c8349efdbef468f642677e5b5538af59 18008 science optional 
dialign-t_1.0.2-10.debian.tar.xz
 8e45bbcb1a362f5bc93fadcb4f2a6eb7 13190 science optional 
dialign-t_1.0.2-10_source.buildinfo

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

iQJCBAEBCAAsFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAlqD9BcOHHRpbGxlYUBy
a2kuZGUACgkQV4oElNHGRtFOFg//YZsb+1Gf1dagPnMSP7HXJJfUReTnOkrYPdJE
o6VjFVEILv+5VVoOYcSNTevnwG95dRd6q0xVjE3o5HZ5V3Nla408pPt4XttQ5bTv
8Y9kxnyZBHV20LI+JMWC1BTU1AQ7odLEi3DBkQ1yHlkiz1AZNohvA9K57ufSuX60
CQVPxuJq6b89HiqJskbT1emYui2GXUH1FcBTBO/MhtBR+7weQ3S2CA5BJKvPgaOY
Lyg5JlDlNKz0xVLbEYc7Tkkc6LnXMrrEEgUQbeUAJ1cntSfUJd3uqq2m9KQPfGeE
hODPfLXTzv0aDte2myrsIJnbI4xWZNvY/rci23s8lP+Nq9jjyF3VHwrK3/KjkDtW
NZe9H6vTiHy901WplzkqTu3tCtjdTJmqdqJcLxHckk4heGquxgqee5fLCCqE4slw
P5iQouYy6ZyLskr9vwmSWGjSuikPu5vfiyMlScFMR/SPb6DdZrdKpSqAyv2yZeJV
ugl+nJqLO+EpAvSVWL94kDOaJ3V6+TZKNHUWn2iP+v+7M3oTEmJ85gya14ozaQdg
BIVb+jzNPmW0IZl7qUFDRBGTenu7RciG6gIDu3P1/aQvnu6LF9F4jbVWwNCT62yM
9mAFcEJwfop5bZzutlFoXYvdghX4bpnOp98JHTCczX0zfz474ncthgwvToKm151Z
6MhkSRw=
=c8dI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to