Your message dated Wed, 18 Nov 2020 23:52:58 +0000
with message-id <[email protected]>
and subject line Bug#969119: fixed in libquantum 1.1.1-6
has caused the Debian Bug report #969119,
regarding libquantum FTCBFS: uses AC_RUN_IFELSE
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.)
--
969119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969119
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libquantum
Version: 1.1.1-5
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
libquantum fails to cross build from source, because it uses
AC_RUN_IFELSE. In some situations, that macro is unavoidable. The use of
libquantum isn't, because it is evaluating a compile-time constant. We
can also check that using AC_CHECK_SIZEOF and AC_COMPUTE_INT, both of
which work during cross compilation. Please consider applying the
attached patch to avoid using AC_RUN_IFELSE at no cost in functionality.
Helmut
--- libquantum-1.1.1.orig/configure.in
+++ libquantum-1.1.1/configure.in
@@ -96,11 +96,15 @@
AC_MSG_ERROR([No complex number type!])
fi
+AC_CHECK_SIZEOF([double])
+AC_COMPUTE_INT([SIZEOF_CF_TYPE],[sizeof($CF_TYPE)])
+SIZEOF_2DOUBLE=`expr $ac_cv_sizeof_double + $ac_cv_sizeof_double`
+
AC_MSG_CHECKING([for corresponding real data type])
-AC_RUN_IFELSE(
- [AC_LANG_PROGRAM([], [return sizeof($CF_TYPE) == 2*sizeof(double)])],
- [RF_TYPE="float"],
- [RF_TYPE="double"; AC_DEFINE(USE_DOUBLE)], [float])
+AS_IF(
+ [test "$SIZEOF_2DOUBLE" = "$SIZEOF_CF_TYPE"],
+ [RF_TYPE="double"; AC_DEFINE(USE_DOUBLE)],
+ [RF_TYPE="float"])
AC_MSG_RESULT($RF_TYPE)
--- End Message ---
--- Begin Message ---
Source: libquantum
Source-Version: 1.1.1-6
Done: Boris Pek <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libquantum, 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.
Boris Pek <[email protected]> (supplier of updated libquantum 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: Thu, 19 Nov 2020 02:18:38 +0300
Source: libquantum
Architecture: source
Version: 1.1.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Boris Pek <[email protected]>
Closes: 969119
Changes:
libquantum (1.1.1-6) unstable; urgency=medium
.
* Update debian/control:
- bump Standards-Version to 4.5.0 (was 4.1.3)
- replace build dependency from debhelper (>= 9) to debhelper-compat (= 13)
- remove build dependency from autotools-dev
- add Rules-Requires-Root: no
* Remove debian/compat.
* Update debian/rules:
- add DEB_BUILD_MAINT_OPTIONS = hardening=+all
- remove DEB_LDFLAGS_MAINT_APPEND variable with -Wl,--as-needed flag
- remove --parallel and --list-missing options from dh
- remove get-orig-source target
- add override_dh_autoreconf target
- update override_dh_auto_configure target
- update override_dh_auto_install target
* Add patch fix-cross-build-from-source. (Closes: #969119)
* Update years in debian/copyright.
* Update debian/watch.
Checksums-Sha1:
50d380ad7618f1fba872d900ee0b6562ad68b683 2021 libquantum_1.1.1-6.dsc
ff8a6cdf628a2060c0cddb3f77c77c7cc3b3abd4 230733 libquantum_1.1.1.orig.tar.gz
69925db454595e0793ade5302addd211191fe0ce 4528 libquantum_1.1.1-6.debian.tar.xz
488fb6ed5447912687857db909a07276e5a099c8 6304
libquantum_1.1.1-6_source.buildinfo
Checksums-Sha256:
8fda19ba323ad79c2aa23e3403a7342ca8c13fd64e02f085c5c266e44ed2851a 2021
libquantum_1.1.1-6.dsc
d8e3c4407076558f87640f1e618501ec85bc5f4c5a84db4117ceaec7105046e5 230733
libquantum_1.1.1.orig.tar.gz
f033d13548bfe49dc1ae23299351008eb95e186822ca7f610f54c060a03d949d 4528
libquantum_1.1.1-6.debian.tar.xz
851832ed88a3330136ef161d7ac10d33b4d09b75a88917eefbfed0f797f8bd70 6304
libquantum_1.1.1-6_source.buildinfo
Files:
4eff72ccc177264aa7397633c0b20f37 2021 libs optional libquantum_1.1.1-6.dsc
b2362b247c5b645bdca1075883072e19 230733 libs optional
libquantum_1.1.1.orig.tar.gz
7b9b51744b88186c7cde95aa393a0d4c 4528 libs optional
libquantum_1.1.1-6.debian.tar.xz
5a00439cd38390678488400aec8882f3 6304 libs optional
libquantum_1.1.1-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE74NZeBI5qRlNLX9Z0AFb0SjzkngFAl+1q9kTHHRlaG5pY2tA
ZGViaWFuLm9yZwAKCRDQAVvRKPOSeNo3EADMPnTJ85S+cL1mp5/2Im7gyFgXACJ2
/mHueDuRPR1hdpN7HRvEfQVreZ0CM3xxFIXFqI+vs220mBXG4Q2DassDg25oNrTO
SEpxnnn3bVCINoSbEr19jJZi0kX3e2vBhjJlggnz5ZfBSUaVkGlW4fDUW17soETV
KH0Bgj8iulcmnv8cenHqIwqBVKas6wGZrZ8Znswst/Q0+kF3QY6pI0Rdawhbh1JN
XbcRjViXVMfV4LpxGe7Xl8g1TsElR5mGcjaqkHfAM3lPkK42XM+41NCDO1HrE/2q
GDs0ES/ryRLOW8dPFBZHNxMnoju5EYu+55PLETFqJjcXdGb7YQ31JxxEoSi3Cwt7
JvdiOS8d5KeAkJXDjO8JClOOVamKlqtp8mpd6070fLLOiEADs8qKg9bUpCarCng1
2kEfk9lcj488NoGQyotqc6wbLT1C/xQe2Jve+RqOFbff4I2rTgnnQ9+vQwRC3b9i
dTcwhEzvUQn1rWebMSAkULQNoZiV4mhZ3yneL/jqpKFjQXsNxzscCdRu5w39/oY/
bD8VR0QkC7qb20nABSF3Lwm2syYkXCCclxvI0ZeOGLpNjlsNLlfEnSqz3b8kwOMj
V9/G4Y6QjG6QT9EU6X6Av/Nak9lvxdtuZV6LZr8JMxvKnbso7NZfLOgNZbUdA0+J
eGogjUJWzifjgQ==
=Ijd0
-----END PGP SIGNATURE-----
--- End Message ---