From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1635791-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97B311581D3 for <garchives@archives.gentoo.org>; Sun, 26 May 2024 23:12:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72439E29F9; Sun, 26 May 2024 23:12:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DDB2E29F8 for <gentoo-commits@lists.gentoo.org>; Sun, 26 May 2024 23:12:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 692A7343051 for <gentoo-commits@lists.gentoo.org>; Sun, 26 May 2024 23:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAFCA1B9A for <gentoo-commits@lists.gentoo.org>; Sun, 26 May 2024 23:12:51 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1716765065.7dacecf376120d114419b41885bcfa01ed1d981e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/valgrind/valgrind-3.22.0-r2.ebuild dev-debug/valgrind/valgrind-3.23.0.ebuild dev-debug/valgrind/valgrind-9999.ebuild X-VCS-Directories: dev-debug/valgrind/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7dacecf376120d114419b41885bcfa01ed1d981e X-VCS-Branch: master Date: Sun, 26 May 2024 23:12:51 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b325e348-b9e9-4fa4-b238-df7246f41eed X-Archives-Hash: 1a6f4f554fe3bf9e551bea7cb3fb6449 commit: 7dacecf376120d114419b41885bcfa01ed1d981e Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun May 26 22:17:49 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 26 23:11:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dacecf3 dev-debug/valgrind: add whitelist for false positive configure implicit decls The issue here is, yet again, that clang is a trash compiler and cannot handle sensible diagnostic output. It warns you for implicit function decls because it doesn't permit nested function definitions, *after* it tells you that it doesn't permit the nested function. Instead of just telling you that the former is forbidden. Closes: https://bugs.gentoo.org/900396 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 7 +++++++ dev-debug/valgrind/valgrind-3.23.0.ebuild | 7 +++++++ dev-debug/valgrind/valgrind-9999.ebuild | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild index b9204af91b7b..86ec190689c8 100644 --- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild +++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild @@ -53,6 +53,13 @@ PATCHES=( "${FILESDIR}"/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch ) +QA_CONFIG_IMPL_DECL_SKIP+=( + # "checking if gcc accepts nested functions" but clang cannot handle good + # errors and reports both "function definition is not allowed here" and + # -Wimplicit-function-declaration. bug #900396 + foo +) + src_prepare() { # Correct hard coded doc location sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die diff --git a/dev-debug/valgrind/valgrind-3.23.0.ebuild b/dev-debug/valgrind/valgrind-3.23.0.ebuild index efcec418f726..48014039f07e 100644 --- a/dev-debug/valgrind/valgrind-3.23.0.ebuild +++ b/dev-debug/valgrind/valgrind-3.23.0.ebuild @@ -55,6 +55,13 @@ PATCHES=( # From stable branch ) +QA_CONFIG_IMPL_DECL_SKIP+=( + # "checking if gcc accepts nested functions" but clang cannot handle good + # errors and reports both "function definition is not allowed here" and + # -Wimplicit-function-declaration. bug #900396 + foo +) + src_prepare() { # Correct hard coded doc location sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild index efcec418f726..48014039f07e 100644 --- a/dev-debug/valgrind/valgrind-9999.ebuild +++ b/dev-debug/valgrind/valgrind-9999.ebuild @@ -55,6 +55,13 @@ PATCHES=( # From stable branch ) +QA_CONFIG_IMPL_DECL_SKIP+=( + # "checking if gcc accepts nested functions" but clang cannot handle good + # errors and reports both "function definition is not allowed here" and + # -Wimplicit-function-declaration. bug #900396 + foo +) + src_prepare() { # Correct hard coded doc location sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die