Your message dated Mon, 08 Oct 2018 05:53:43 +0000
with message-id <[email protected]>
and subject line Bug#910129: fixed in sqsh 2.5.16.1-2
has caused the Debian Bug report #910129,
regarding sqsh FTCBFS: uses AC_TRY_RUN
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.)


-- 
910129: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sqsh
Version: 2.5.16.1-1
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

sqsh fails to cross build from source, because it uses AC_TRY_RUN. It
does provide cache variables, but caching ac_cv_bit_mode is rather
useless, because it solely depends on the compiler and thus can be
computed with AC_TRY_COMPILE. The attached patch implements that and
makes sqsh cross buildable if one supply a cache variable for the signal
behaviour (that one cannot be checked by compiling only and needs to
stay AC_TRY_RUN). Please consider applying the patch.

Helmut
Index: sqsh-2.5.16.1/aclocal.m4
===================================================================
--- sqsh-2.5.16.1.orig/aclocal.m4	2018-10-03 07:34:39.000000000 +0200
+++ sqsh-2.5.16.1/aclocal.m4	2018-10-03 07:36:05.440553841 +0200
@@ -120,13 +120,12 @@
 	AC_MSG_CHECKING(Compiling 32/64 bit mode)
 	AC_CACHE_VAL(ac_cv_bit_mode,
 	[
-		AC_TRY_RUN(
+		AC_TRY_COMPILE(
 		[
 main() {
 #if defined (__LP64__) || defined (__LP64) || defined (_LP64) || defined (__arch64__)
-    exit (0);
 #else
-    exit (1);
+# error not 64 bit
 #endif
 }
 		], ac_cv_bit_mode=64, ac_cv_bit_mode=32)

--- End Message ---
--- Begin Message ---
Source: sqsh
Source-Version: 2.5.16.1-2

We believe that the bug you reported is fixed in the latest version of
sqsh, 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.
Steve Langasek <[email protected]> (supplier of updated sqsh 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, 07 Oct 2018 21:54:29 -0700
Source: sqsh
Binary: sqsh
Architecture: amd64 source
Version: 2.5.16.1-2
Distribution: unstable
Urgency: medium
Maintainer: Steve Langasek <[email protected]>
Changed-By: Steve Langasek <[email protected]>
Closes: 910129
Description: 
 sqsh       - commandline SQL client for MS SQL and Sybase servers
Changes:
 sqsh (2.5.16.1-2) unstable; urgency=medium
 .
   * Bump debhelper compat to 11.
   * Drop manual handling of config.sub, long obsolete.
   * Bump standards-version.
   * aclocal.m4: use AC_TRY_COMPILE instead of AC_TRY_RUN, for
     cross-buildability.  Thanks to Helmut Grohne for the patch.
     Closes: #910129.
Checksums-Sha1: 
 f17eb6f9300cbce199c54e5c8a89016a45bafdb6 2025 sqsh_2.5.16.1-2.dsc
 bf6c9207a2e23ca4b475f223f44e488ab8fc6fe6 21083 sqsh_2.5.16.1-2.diff.gz
 7520382202a16fdf9e738db0473214ebf630f42a 386356 
sqsh-dbgsym_2.5.16.1-2_amd64.deb
 1de2a179597afb0328e177a2df4eea8d3c031af5 7250 sqsh_2.5.16.1-2_amd64.buildinfo
 d909985e0a7ae7251bfb45fde2a4ba5265e6a226 186088 sqsh_2.5.16.1-2_amd64.deb
Checksums-Sha256: 
 a23fdeeee74da0ea3474d0c43cc57e0e58713d344ad36d7dd8669832ce59cd4f 2025 
sqsh_2.5.16.1-2.dsc
 b6fa3f5481b8870ddc19f4264dd8001b9ab99f80ee501f961da3ef8d5a61c427 21083 
sqsh_2.5.16.1-2.diff.gz
 ee6416f775d5aa1f6afe918f64709d02a3f20d7d224f8092eb7b6c90a9195b1d 386356 
sqsh-dbgsym_2.5.16.1-2_amd64.deb
 410de2f4762464899d59f17773ed4c3b32b4e5dc15926e24d8100a5fb78fde2a 7250 
sqsh_2.5.16.1-2_amd64.buildinfo
 24f6c8684b4259a15981d4666e8807e87d138541ed6646239a4439d9d64113f2 186088 
sqsh_2.5.16.1-2_amd64.deb
Files: 
 dbc67637006565f91b067b3bbc8a9c21 2025 utils optional sqsh_2.5.16.1-2.dsc
 85be18da8b042706f7dcca06d0a87437 21083 utils optional sqsh_2.5.16.1-2.diff.gz
 dfb73e6ea6d3a4d52d574e21e516b427 386356 debug optional 
sqsh-dbgsym_2.5.16.1-2_amd64.deb
 08f459f31f2f677fec40b1c8ba1dcda2 7250 utils optional 
sqsh_2.5.16.1-2_amd64.buildinfo
 fcd373dc5f2ca8f35855ebab5127229f 186088 utils optional 
sqsh_2.5.16.1-2_amd64.deb

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

iQJGBAEBCgAwFiEErEg/aN5yj0PyIC/KVo0w8yGyEz0FAlu67KwSHHZvcmxvbkBk
ZWJpYW4ub3JnAAoJEFaNMPMhshM9/GcP/ig9Sk6zqAaDskNHiN4qvQW4kbut+c+n
f/rbD4BmkThLhQyYLFJmsNCg8q/e5siGiLtTA5/JGPoH2SBX75R00m22U+QlpA+l
6x3NlEK63JklGjb0pHCgRZBs480NI0uRMt4mpOyupHmMH74UNq44X850md+Nzvh5
dXIMAd1mYhEzx4N+h9vuCOVhZsC6bwkkpuImhBGQkSL9lQGlEbem63ceUUYwdQzb
qqXEFceEBuPH19+Vt5uZPvxU0IlTVqB+6okvM8lySHvajXA+7YpOXwidQxgSxuVH
nZ4j/S6ywa50lfTFOwl+0CZWuBKiqMCih2otLlKmKEoZS7Ihk+AeY65kLGzVBK9e
g2teBwOYggL2AyZQBvlohcItg1c8cJ6NuhxK7G1Vl1FwdcXPwr6yN8nS/VeeDwT1
rSEyxzysT/0cSvKnjMtDlStueBiEMZqe4WeXGcrY5ADg6Ip2m+/dPs/mFRCJu116
hD5Q2PCBNBNT4RiDvO6OagE4tDqqGO7H+f57oV6ohxGcklak4cVIRM4iOOwKuNJK
EHuCwhRs/4UTuA8TgMrCx5+do8acn5vAAZMjrzUT3E/jJMS3JrhzZ1ddz0gv/anU
HWyUlP5/svddsk7NoHLoute+xsisF55Qadz0xKIDaAe4VcXNE/ewYKYMu1XWCVhU
GjaeffvGvvwR
=YZbF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to