Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e20d70cf6a
!44 revert previous fix, as it causes too many regressions
From: @fundawang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-12-06 15:39:55 +00:00
Funda Wang
914f319e1c revert previous fix, as it causes too many regressions 2024-12-06 20:25:21 +08:00
openeuler-ci-bot
94312beef1
!40 [sync] PR-35: fix AC_CHECK_LIB no longer works with g++ (debian bug#992981)
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-12-06 00:51:41 +00:00
Funda Wang
c397f12769 fix AC_CHECK_LIB no longer works with g++ (debian bug#992981)
(cherry picked from commit 5a8cef4eba2c3b5c1c0744f434405630811a01a3)
2024-12-05 17:51:21 +08:00
openeuler-ci-bot
484a683973
!33 update release
From: @fly_fzc 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
2024-11-13 03:04:15 +00:00
fly_fzc
109c38714d update release 2024-11-13 09:45:39 +08:00
openeuler-ci-bot
f001f78b2e
!20 Fix testsuite failures with bash 5.2.15
From: @fly_fzc 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2023-07-18 13:02:04 +00:00
fly_fzc
74e3b4b752 Fix testsuite failures with bash 5.2.15 2023-07-18 17:37:20 +08:00
openeuler-ci-bot
681f326844
!17 【Mainline】fix typo in variable name
From: @yixiangzhike 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-10-22 08:50:04 +00:00
yixiangzhike
d3c1d1756f fix typo in variable name
Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
2022-10-22 14:55:22 +08:00
3 changed files with 124 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: autoconf
Version: 2.71
Release: 2
Release: 9
Summary: An extensible package to automatically configure software source code packages
License: GPLv2+ and GPLv3+ and GFDL-1.3-only
URL: https://www.gnu.org/software/%{name}/
@ -11,6 +11,9 @@ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: config.site
Source2: autoconf-el.el
Patch1: backport-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch
Patch2: backport-Fix-testsuite-failures-with-bash-5.2.patch
Patch9000: skip-one-test-at-line-1616-of-autotest.patch
BuildArch: noarch
@ -70,6 +73,30 @@ fi
%changelog
* Fri Dec 06 2024 Funda Wang <fundawang@yeah.net> - 2.71-9
- revert previous fix, as it causes too many regressions
* Wed Dec 04 2024 Funda Wang <fundawang@yeah.net> - 2.71-8
- fix AC_CHECK_LIB no longer works with g++ (debian bug#992981)
* Wed Nov 13 2024 fuanan <fuanan3@h-partners.com> - 2.71-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Bump release in order to upgrade from openEuler-24.03-LTS
* Tue Jul 18 2023 fuanan <fuanan3@h-partners.com> - 2.71-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix testsuite failures with bash 5.2.15
* Sat Oct 22 2022 yixiangzhike <yixiangzhike007@163.com> - 2.71-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix typo in variable name
* Thu Jul 28 2022 fuanan <fuanan3@h-partners.com> - 2.71-2
- Type:bugfix
- ID:NA

View File

@ -0,0 +1,65 @@
From 412166e185c00d6eacbe67dfcb0326f622ec4020 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <xry111@xry111.site>
Date: Fri, 30 Sep 2022 11:36:03 -0400
Subject: [PATCH] Fix testsuite failures with bash 5.2.
Bash v5.2 includes several new optimizations to the number of
subshells used for various constructs; as a side effect, the value of
SHLVL is less stable than it used to be. Add SHLVL to the list of
built-in shell variables with unstable values, to be ignored when
checking for inappropriate differences to the shell environment
before and after a macro invocation / between two configure runs.
Problem and solution reported by Xi Ruoyao in
https://lists.gnu.org/archive/html/autoconf/2022-09/msg00015.html
Problem also reported by Bruce Dubbs in
https://lists.gnu.org/archive/html/bug-autoconf/2022-09/msg00010.html
* tests/local.at (_AT_CHECK_ENV, AT_CONFIG_CMP): Ignore changes in
value of SHLVL.
Copyright-paperwork-exempt: yes
---
tests/local.at | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/local.at b/tests/local.at
index 193fd118..a9cf4050 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -352,7 +352,7 @@ m4_define([AT_CHECK_CONFIGURE],
# - AC_SUBST'ed variables
# (FIXME: Generate a list of these automatically.)
# - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
-# |START_TIME|ToD|_AST_FEATURES
+# |SHLVL|START_TIME|ToD|_AST_FEATURES
# Some variables some shells use and change.
# `.[*#?$].' catches `$#' etc. which are displayed like this:
# | '!'=18186
@@ -404,7 +404,7 @@ if test -f state-env.before && test -f state-env.after; then
[GREP|[EF]GREP|SED],
[[_@]|.[*@%:@?$].],
[argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM],
- [SECONDS|START_TIME|ToD|_AST_FEATURES]))=' \
+ [SECONDS|SHLVL|START_TIME|ToD|_AST_FEATURES]))=' \
$act_file ||
test $? -eq 1 || echo failed >&2
) 2>stderr-$act_file |
@@ -435,6 +435,7 @@ fi
# - PPID [bash, zsh]
# - RANDOM [bash, zsh]
# - SECONDS [bash, zsh]
+# - SHLVL [bash]
# - START_TIME [NetBSD sh]
# - ToD [NetBSD sh]
# - '$' [zsh]
@@ -483,6 +484,7 @@ do
/^PPID=/ d
/^RANDOM=/ d
/^SECONDS=/ d
+ /^SHLVL=/ d
/^START_TIME=/ d
/^ToD=/ d
/'\'\\\$\''=/ d
--
2.27.0

View File

@ -0,0 +1,31 @@
From f460883035ef849a2248b1713f711292ec19f4f0 Mon Sep 17 00:00:00 2001
From: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date: Fri, 14 May 2021 09:06:20 +0300
Subject: [PATCH] _AC_PROG_CXX_STDCXX_EDITION_TRY: fix typo in variable name
The typo causes "ac_prog_cxx_stdcxx" to be always set to "cxx11",
regardless of whether the C++ compiler supports C++11.
Message-Id: <YJ4TXAeJcvU0oSec@FSAPPLE2215.fi.f-secure.com>
(tiny change)
---
lib/autoconf/c.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index 9f881f0b..47434c89 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -2749,8 +2749,8 @@ AC_DEFUN([_AC_PROG_CXX_STDCXX_EDITION_TRY],
[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]))
--
2.27.0