Your message dated Sun, 15 Aug 2021 12:08:45 +0000
with message-id <[email protected]>
and subject line Bug#979030: fixed in sollya 7.0+ds-4
has caused the Debian Bug report #979030,
regarding sollya 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.)


-- 
979030: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979030
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sollya
Version: 7.0+ds-3
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

sollya fails to cross build from source, because it uses AC_RUN_IFELSE a
lot. Such tests cannot be performed during cross builds. A number of
them test whether libraries work at runtime. There is little we can do
here about during cross builds, so skipping these checks during cross
builds only seems best. Another pile checks whether the linker accepts
certain flags. Those can be converted to AC_LINK_IFELSE at no loss.
That removes the big chunk. For the remainders it would help to
introduce cache variables using AC_CACHE_CHECK such that a cross builder
could provide the expected results. Please consider applying the
attached patch.

Helmut
--- sollya-7.0+ds.orig/configure.ac
+++ sollya-7.0+ds/configure.ac
@@ -385,7 +385,8 @@
                                [[mpz_t a; mpz_init(a); mpz_clear(a); return 0;]])],
 	      [AC_MSG_RESULT(yes)],
               [AC_MSG_RESULT(no)
-               AC_MSG_WARN([libgmp is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])])
+               AC_MSG_WARN([libgmp is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])],
+              [AC_MSG_RESULT(cross. assuming yes)])
 
 
 AC_MSG_CHECKING([if libmpfr is found at runtime])
@@ -393,7 +394,8 @@
                                [[mpfr_t a; mpfr_init2(a, 53); mpfr_clear(a); return 0;]])],
 	      [AC_MSG_RESULT(yes)],
               [AC_MSG_RESULT(no)
-               AC_MSG_WARN([libmpfr is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])])
+               AC_MSG_WARN([libmpfr is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])],
+              [AC_MSG_RESULT(cross. assuming yes)])
 
 
 AC_MSG_CHECKING([if libmpfi is found at runtime])
@@ -401,7 +403,8 @@
                                [[mpfi_t a; mpfi_init(a); mpfi_clear(a); return 0;]])],
 	      [AC_MSG_RESULT(yes)],
               [AC_MSG_RESULT(no)
-               AC_MSG_WARN([libmpfi is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])])
+               AC_MSG_WARN([libmpfi is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])],
+              [AC_MSG_RESULT(cross. assuming yes)])
 
 
 AC_MSG_CHECKING([if libxml2 is found at runtime])
@@ -409,7 +412,8 @@
                                [[xmlCleanupParser(); return 0;]])],
 	      [AC_MSG_RESULT(yes)],
               [AC_MSG_RESULT(no)
-               AC_MSG_WARN([libxml2 is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])])
+               AC_MSG_WARN([libxml2 is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])],
+              [AC_MSG_RESULT(cross. assuming yes)])
 
 
 
@@ -636,7 +640,8 @@
               ],
               [AC_MSG_RESULT(yes)],
               [AC_MSG_RESULT(no)
-               AC_MSG_WARN([libfplll is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])])
+               AC_MSG_WARN([libfplll is found at compile time but not at run time. This may or may not be an issue. If it is an issue (viz. if compilation fails), try checking /etc/ld.so.conf and run ldconfig and/or check all settings concerning search paths for shared libraries.])],
+              [AC_MSG_RESULT(cross. assuming yes)])
 
 AC_LANG_POP([C++])
 
@@ -658,46 +663,46 @@
 
 LDFLAGS="$AM_LDFLAGS -Wl,--export-dynamic $USER_LDFLAGS"
 AC_MSG_CHECKING([for --export-dynamic support])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],
-                               [[exit(0);]]
-                              )],
-              [
-                 AC_MSG_RESULT(yes)
-                 AM_LDFLAGS="$AM_LDFLAGS -Wl,--export-dynamic"
-              ],
-              [
-                 AC_MSG_RESULT(no)
-                 LDFLAGS="$AM_LDFLAGS $USER_LDFLAGS"
-              ])
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],
+                                [[exit(0);]]
+                               )],
+               [
+                  AC_MSG_RESULT(yes)
+                  AM_LDFLAGS="$AM_LDFLAGS -Wl,--export-dynamic"
+               ],
+               [
+                  AC_MSG_RESULT(no)
+                  LDFLAGS="$AM_LDFLAGS $USER_LDFLAGS"
+               ])
 
 
 LDFLAGS="$AM_LDFLAGS -Xlinker --allow-multiple-definition $USER_LDFLAGS"
 AC_MSG_CHECKING([for -Xlinker --allow-multiple-definition support])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],
-                               [[exit(0);]]
-                              )],
-              [
-                 AC_MSG_RESULT(yes)
-                 AM_LDFLAGS="$AM_LDFLAGS -Xlinker --allow-multiple-definition"
-              ],
-              [
-                 AC_MSG_RESULT(no)
-                 LDFLAGS="$AM_LDFLAGS $USER_LDFLAGS"
-              ])
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],
+                                [[exit(0);]]
+                               )],
+               [
+                  AC_MSG_RESULT(yes)
+                  AM_LDFLAGS="$AM_LDFLAGS -Xlinker --allow-multiple-definition"
+               ],
+               [
+                  AC_MSG_RESULT(no)
+                  LDFLAGS="$AM_LDFLAGS $USER_LDFLAGS"
+               ])
 
 LDFLAGS="$AM_LDFLAGS -z muldefs $USER_LDFLAGS"
 AC_MSG_CHECKING([for -z muldefs support])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],
-                               [[exit(0);]]
-                              )],
-              [
-                 AC_MSG_RESULT(yes)
-                 AM_LDFLAGS="$AM_LDFLAGS -z muldefs"
-              ],
-              [
-                 AC_MSG_RESULT(no)
-                 LDFLAGS="$AM_LDFLAGS $USER_LDFLAGS"
-              ])
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],
+                                [[exit(0);]]
+                               )],
+               [
+                  AC_MSG_RESULT(yes)
+                  AM_LDFLAGS="$AM_LDFLAGS -z muldefs"
+               ],
+               [
+                  AC_MSG_RESULT(no)
+                  LDFLAGS="$AM_LDFLAGS $USER_LDFLAGS"
+               ])
 
 AC_MSG_CHECKING([if compiler activates FTZ by default])
 AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdint.h>]],

--- End Message ---
--- Begin Message ---
Source: sollya
Source-Version: 7.0+ds-4
Done: Nilesh Patra <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sollya, 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.
Nilesh Patra <[email protected]> (supplier of updated sollya 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: Sun, 15 Aug 2021 15:33:36 +0530
Source: sollya
Architecture: source
Version: 7.0+ds-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Nilesh Patra <[email protected]>
Closes: 979030
Changes:
 sollya (7.0+ds-4) unstable; urgency=medium
 .
   * Team Upload.
   * d/p/cross.patch: Make build cross buildable to some extent, with
     avoiding test during cross builds (Closes: #979030)
Checksums-Sha1:
 4da23119eb07d59d15a0ca2cf107d42d9957ffe9 2317 sollya_7.0+ds-4.dsc
 f5c8ba8db060c08a92b1148984a139f989a68c43 15696 sollya_7.0+ds-4.debian.tar.xz
 997a7df9dc7c76629a256ea6b3f151e419c0c016 9573 sollya_7.0+ds-4_amd64.buildinfo
Checksums-Sha256:
 71ced96e6e348470260eb7d55af4db6fa3dcc15b3a844a71c2713dd1a4f78b9d 2317 
sollya_7.0+ds-4.dsc
 c4f2b3b74afaf10fa6ff06c9ab9178d4c4751c4ca24afe01771bb297a33eaddf 15696 
sollya_7.0+ds-4.debian.tar.xz
 0319c8c401804405cd2172b1a7c0d832e9aa1872883f6040d97c791d6e78eccb 9573 
sollya_7.0+ds-4_amd64.buildinfo
Files:
 0295f1435d1b364a15ba2511ccc45cb3 2317 math optional sollya_7.0+ds-4.dsc
 04629ab2a98589b932a9ab4ef46f2380 15696 math optional 
sollya_7.0+ds-4.debian.tar.xz
 b276f1b20f33de19f03cc22c478ef9ce 9573 math optional 
sollya_7.0+ds-4_amd64.buildinfo

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

iQJIBAEBCgAyFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmEY/VoUHG5wYXRyYTk3
NEBnbWFpbC5jb20ACgkQALrnSzQzafEZKw//WtkW4qA5w4rxXljWN7y4/ZLBkWva
PLoKhcWi6bfuTXom1p2oU53f2OzSDd0L0xE+HVbATmQhbzRK8wGgDRKetcUYKvHA
gmgXReu0NpLlwpNW98pr1p1x9kX0r4zMw6ca7KkFX0vqSVOlmeExSmoQXBdJC6kW
Te2981lYUH/FLrFSdv8M6U40opO+Bq2QDRRhVNv+m5opwt/bAlckErG8QUdfrNzp
qmnulYeEOfJ6W/a/mJWY4wJPwHZapKuhwDLFxKnkUBUZvOEJ9nrwcZCvcMRCIdJc
tVxqmk2biWE+UJJKUhVZMbxh7FIVZlvMXc91VRKmGCPsh+GSvtqTO7oXd9HDzS5J
JF43h0pMoBlss5pQr81RYcXaMKGT/kxI8SwsT1f3DnRjUfXDfawPEYnsEY3HHPSA
vY37T7LqizjhFSKU4wcRhO8sAHZogNGArlStOEAVzw3jtRKqFRUSQ2e3eaHIDB8u
Px8hmDPLuum+Alxden9YGHyF1eOGab0t/Gj0ZQr9VGUTr+AvaPmmakYKmwSAGwr4
0pRwnB3ngkktXrHvmcDGIsEpeWXKVcXb2Ruc8EEBf9qtWyV7vTEo3BLMATT9760Q
MLSaR8Q7xdMpcwpBlRhkhK3ZC7VkwftJKKivF4XtIkUqfe5ium+FNS9gdvsE8YfH
FbbXuXWIfKqEbGA=
=V+qA
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to