From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/autoconf/, dev-build/autoconf/files/
Date: Mon, 22 Jan 2024 11:51:23 +0000 (UTC) [thread overview]
Message-ID: <1705924212.d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f.sam@gentoo> (raw)
commit: d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 11:50:12 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:50:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7dbfacb
dev-build/autoconf: skip AC_FUNC_GETLOADAVG test for 2.13
The macro itself is broken in autoconf-2.13 but this is caused by newer kernels
etc rather than anything else. Very, very few packages use autoconf-2.13, let
alone AC_FUNC_GETLOADAVG, so not going to worry about it much.
Do as Fedora and Debian do and skip the test for it.
Closes: https://bugs.gentoo.org/406723
Closes: https://bugs.gentoo.org/677926
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/autoconf/autoconf-2.13-r8.ebuild | 1 +
.../autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/dev-build/autoconf/autoconf-2.13-r8.ebuild b/dev-build/autoconf/autoconf-2.13-r8.ebuild
index 36e5700446c5..8c87a2c23cfb 100644
--- a/dev-build/autoconf/autoconf-2.13-r8.ebuild
+++ b/dev-build/autoconf/autoconf-2.13-r8.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${P}-perl-5.26.patch
"${FILESDIR}"/${P}-K-R-decls-clang.patch
"${FILESDIR}"/${P}-Clang-16-fixes-for-various-tests.patch
+ "${FILESDIR}"/${P}-skip-AC_FUNC_GETLOADAVG-test.patch
)
src_configure() {
diff --git a/dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch b/dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch
new file mode 100644
index 000000000000..280578ac6b0a
--- /dev/null
+++ b/dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch
@@ -0,0 +1,20 @@
+The macro itself is broken in autoconf-2.13 but this is caused by newer kernels
+etc rather than anything else. Very, very few packages use autoconf-2.13, let
+alone AC_FUNC_GETLOADAVG, so not going to worry about it much.
+
+Do as Fedora and Debian do and skip the test for it.
+
+https://bugs.gentoo.org/406723
+https://bugs.gentoo.org/677926
+--- a/testsuite/autoconf.s/syntax.exp
++++ b/testsuite/autoconf.s/syntax.exp
+@@ -2,7 +2,8 @@
+
+ send_user "Checking for syntax errors in the specific tests...\n"
+ set script {s/^AC_DEFUN(\([^,]*\).*/\1/p}
+-set macros [exec sed -n $script $srcdir/../acspecific.m4]
++# XXX: AC_FUNC_GETLOADAVG skipped for bug #406723, bug #677926
++set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v AC_FUNC_GETLOADAVG]
+
+ foreach mac $macros {
+ if { [string match "*F77*" "$mac"] && [catch {exec which g77} ignore_output] } then {
reply other threads:[~2024-01-22 11:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1705924212.d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox