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

Bug#1016728: marked as done (autoconf: _AC_PROG_CXX_STDCXX_EDITION_TRY test is broken due to typo)



Your message dated Sat, 14 Jan 2023 18:19:22 +0000
with message-id <E1pGl7i-005lfk-6m@fasolo.debian.org>
and subject line Bug#1016728: fixed in autoconf 2.71-3
has caused the Debian Bug report #1016728,
regarding autoconf: _AC_PROG_CXX_STDCXX_EDITION_TRY test is broken due to typo
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.)


-- 
1016728: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016728
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: autoconf
Version: 2.71-2
Severity: important
Tags: patch

Hi,

One of the changes to AC_PROG_CXX since 2.69 is that it now tries to
enable C++11 by default.  In most cases now that is a no-op since the
gcc default is already C++14, but I have some code that explicitly
forces -std=gnu++98 and which make it obvious this test is simply
failing "unnoticed" in the case where the compiler default isn't already
greater than C++11 ...

The problem is a simple typo in _AC_PROG_CXX_STDCXX_EDITION_TRY which
is fixed by the patch below.  Its correctness can be cross checked
against the behaviour and code of _AC_PROG_CC_STDC_EDITION_TRY where the
analogous variable is ac_cv_prog_cc_c$1 and which does work correctly
out of the box when the default (or explicitly set by CFLAGS) compiler
standard is something earlier than C11 ...

  Cheers,
  Ron



--- c.m4.orig	2022-08-06 18:54:47.444388264 +0930
+++ c.m4	2022-08-06 18:56:24.341810320 +0930
@@ -2749,8 +2749,8 @@
 [AC_REQUIRE([_AC_CXX_CXX$1_TEST_PROGRAM])]dnl
 [AS_IF([test x$ac_prog_cxx_stdcxx = xno],
 [AC_MSG_CHECKING([for $CXX option to enable C++$1 features])
-AC_CACHE_VAL(ac_cv_prog_cxx_$1,
-[ac_cv_prog_cxx_$1=no
+AC_CACHE_VAL([ac_cv_prog_cxx_cxx$1],
+[ac_cv_prog_cxx_cxx$1=no
 ac_save_CXX=$CXX
 AC_LANG_CONFTEST([AC_LANG_DEFINES_PROVIDED][$][ac_cxx_conftest_cxx$1_program])
 for ac_arg in '' m4_normalize(m4_defn([_AC_CXX_CXX$1_OPTIONS]))

--- End Message ---
--- Begin Message ---
Source: autoconf
Source-Version: 2.71-3
Done: Matthias Klose <doko@debian.org>

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

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated autoconf 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: SHA256

Format: 1.8
Date: Sat, 14 Jan 2023 18:42:30 +0100
Source: autoconf
Architecture: source
Version: 2.71-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1016728
Changes:
 autoconf (2.71-3) unstable; urgency=medium
 .
   * QA upload.
   * Fix the _AC_PROG_CXX_STDCXX_EDITION_TRY test. Closes: #1016728.
   * Bump standards version.
Checksums-Sha1:
 bbc3cdda2033616872278a7bdb0c6f792b340339 1988 autoconf_2.71-3.dsc
 8041f0af8c00a73f1253066ea8c5c955c23867bd 23896 autoconf_2.71-3.debian.tar.xz
 a29f207ec54665d82096924c69236211839a6866 6108 autoconf_2.71-3_source.buildinfo
Checksums-Sha256:
 2230ca8950e9b1abeeba54844c9e8184891fa2474a101c25f5d125bdacb92ef2 1988 autoconf_2.71-3.dsc
 3c12ade6e26e8ccacd8e35de3eb93a1fcf360b02364cbe4690b958a749daf4d7 23896 autoconf_2.71-3.debian.tar.xz
 35c766fd5139faba4e6c73afa64bdeb085af515d2b45a2069be11636bfc9c8f9 6108 autoconf_2.71-3_source.buildinfo
Files:
 d675dcf7efbd3f663ce5691d34ca7386 1988 devel optional autoconf_2.71-3.dsc
 93611f174048f8b121e32cd6f5dedfa9 23896 devel optional autoconf_2.71-3.debian.tar.xz
 5583b32f5bca4e67beb3fcf676b815ff 6108 devel optional autoconf_2.71-3_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmPC6qoQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9cUNEACaGTw0Dl2T+D+qMCAB4QIe6ak9gPA18yaz
N5rcK4nOSiVjAk8Wpr5dJ3z2+iZL8T+c1PoOOz9lmJjEneDgz/IrItk2MpWSZ57O
XX6Z8tWKFAWoJS2OpytnY9C0h+b/CW0Vwxg14iZ3jhXJQF7Xm1VV/AftWgYx+Tis
lLIDk5jHhx8xvAK896ywX5nnwZzpvU3PKaBUkIWdAxuGu8xcEa7pliLFgk7DTrs7
ycx1wExiqL7kQ1xISif2e1ptp3IsQPrdASdpu1MPhQbBBJH9GbHOwdx8g2oUlOVZ
SHNep7Ont5guKh653oQaOMFbcXLQ4c7oalLLEfw6H0p7gXjlB4ZzHycrOe/72E5s
OkeArwl+IYJTZmbOfHC9EdiIjNPq5o7GGFv+byhOZui2B1DSs1p4bS89zwMfv1uR
IAPfPCkl+CgdAo2tCP8mvO5FpesY7QQF2Be3urGPfyXPlw9SUa5bNNsmHO4Fb2xV
MzZnmMD5Y8L0G3XH0jDs4+fQ6ODc457KTzZd0pXXXZUA6vKUur+6QCgZ5tSIpX3L
jjdyMBAWC2ZNWjjdE/Lq8DOfK+p22EHIscfIsBx59597rZDTGvydXQ36Qd1LcZYI
0XOuXq2HTQzT//svH7CREnz/JbwQAJ5qKd8WELnRejJ3qFC7pCl1Z/0Vty0SV6pM
GBMbKBHifw==
=kRIv
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: