public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, sys-apps/portage/files/
Date: Fri, 17 May 2024 13:05:30 +0000 (UTC)	[thread overview]
Message-ID: <1715951051.2cdb1b2ae41b13dc7f25b6d64c0b6ab19e4272dd.sam@gentoo> (raw)

commit:     2cdb1b2ae41b13dc7f25b6d64c0b6ab19e4272dd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 13:03:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 17 13:04:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cdb1b2a

sys-apps/portage: backport tweak to implicit func. decl QA check

We're going to try kw GCC 14 soon so we want to reduce FPs to see what
remains to be done.

Bug: https://bugs.gentoo.org/906027
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...checks.d-suppress-some-gnulib-implicit-co.patch | 42 ++++++++++++++++++++++
 ...tage-3.0.63.ebuild => portage-3.0.63-r1.ebuild} |  4 +++
 ...e-3.0.64-r1.ebuild => portage-3.0.64-r2.ebuild} |  1 +
 3 files changed, 47 insertions(+)

diff --git a/sys-apps/portage/files/0001-install-qa-checks.d-suppress-some-gnulib-implicit-co.patch b/sys-apps/portage/files/0001-install-qa-checks.d-suppress-some-gnulib-implicit-co.patch
new file mode 100644
index 000000000000..8844e5029f07
--- /dev/null
+++ b/sys-apps/portage/files/0001-install-qa-checks.d-suppress-some-gnulib-implicit-co.patch
@@ -0,0 +1,42 @@
+From 8256473c6a9fa93e7cf81c46fa920cd522507c21 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz93@gmail.com>
+Date: Fri, 17 May 2024 01:52:53 -0400
+Subject: [PATCH] install-qa-checks.d: suppress some gnulib implicit configure
+ declarations
+
+These happen in tons of GNU packages because of using gnulib, which
+pulls in macros that check for some functionality and spit out an
+implicit function declaration error if they aren't supported, which is
+*expected*.
+
+Bug: https://bugs.gentoo.org/906027
+Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
+Closes: https://github.com/gentoo/portage/pull/1323
+Signed-off-by: Sam James <sam@gentoo.org>
+---
+ bin/install-qa-check.d/90config-impl-decl | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/bin/install-qa-check.d/90config-impl-decl b/bin/install-qa-check.d/90config-impl-decl
+index 7969dff17..adea7d405 100644
+--- a/bin/install-qa-check.d/90config-impl-decl
++++ b/bin/install-qa-check.d/90config-impl-decl
+@@ -49,6 +49,15 @@ add_default_skips() {
+ 		res_ndestroy
+ 		statacl
+ 	)
++
++	QA_CONFIG_IMPL_DECL_SKIP+=(
++		# Available in c23, these gnulib checks are expected to fail
++		alignof
++		static_assert
++		unreachable
++		# also gnulib, but checks both linux/non-linux headers
++		MIN
++	)
+ }
+ 
+ find_log_targets() {
+-- 
+2.45.1
+

diff --git a/sys-apps/portage/portage-3.0.63.ebuild b/sys-apps/portage/portage-3.0.63-r1.ebuild
similarity index 98%
rename from sys-apps/portage/portage-3.0.63.ebuild
rename to sys-apps/portage/portage-3.0.63-r1.ebuild
index 4cf41d63b8e0..b58137ac2902 100644
--- a/sys-apps/portage/portage-3.0.63.ebuild
+++ b/sys-apps/portage/portage-3.0.63-r1.ebuild
@@ -108,6 +108,10 @@ PDEPEND="
 	)
 "
 
+PATCHES=(
+	"${FILESDIR}"/0001-install-qa-checks.d-suppress-some-gnulib-implicit-co.patch
+)
+
 pkg_pretend() {
 	local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
 

diff --git a/sys-apps/portage/portage-3.0.64-r1.ebuild b/sys-apps/portage/portage-3.0.64-r2.ebuild
similarity index 98%
rename from sys-apps/portage/portage-3.0.64-r1.ebuild
rename to sys-apps/portage/portage-3.0.64-r2.ebuild
index 80f59b5d3560..edec27b9f08b 100644
--- a/sys-apps/portage/portage-3.0.64-r1.ebuild
+++ b/sys-apps/portage/portage-3.0.64-r2.ebuild
@@ -106,6 +106,7 @@ PDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${P}-clang-splitdebug.patch
+	"${FILESDIR}"/0001-install-qa-checks.d-suppress-some-gnulib-implicit-co.patch
 )
 
 pkg_pretend() {


             reply	other threads:[~2024-05-17 13:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-17 13:05 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-10 18:26 [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, sys-apps/portage/files/ Sam James
2023-12-03  8:02 Sam James
2023-10-26 15:53 Mike Gilbert
2023-07-30 13:10 Sam James
2023-07-15  3:45 Sam James
2023-02-28  3:14 Sam James
2023-01-13  3:50 Sam James
2022-11-30  7:07 Sam James
2022-11-20 23:37 Sam James
2022-11-20  2:46 Sam James
2022-10-26  0:23 Mike Gilbert
2022-10-20 15:49 Mike Gilbert
2022-04-24 16:45 WANG Xuerui
2022-04-15  8:37 Sam James
2018-01-02  2:49 Mike Gilbert
2016-09-19 14:00 Mike Gilbert
2016-05-16 16:20 Brian Dolbec

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=1715951051.2cdb1b2ae41b13dc7f25b6d64c0b6ab19e4272dd.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