From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A3A1D1581D3 for ; Wed, 22 May 2024 16:56:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA187E2A1D; Wed, 22 May 2024 16:56:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 CD804E2A1D for ; Wed, 22 May 2024 16:56:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C92AF335DC5 for ; Wed, 22 May 2024 16:56:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B792AAF for ; Wed, 22 May 2024 16:56:46 +0000 (UTC) From: "Sam James" 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" Message-ID: <1716396991.9728fbba80abeec5adad8ba6cf7580c16c039a45.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/90config-impl-decl X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9728fbba80abeec5adad8ba6cf7580c16c039a45 X-VCS-Branch: master Date: Wed, 22 May 2024 16:56:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fb1444c6-5d09-479d-9e0d-f1a21ecccf65 X-Archives-Hash: 0768aa067c7b16d0323b6a571fcb334f commit: 9728fbba80abeec5adad8ba6cf7580c16c039a45 Author: Eli Schwartz gmail com> AuthorDate: Tue May 21 23:22:31 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 22 16:56:31 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=9728fbba install-qa-checks.d: suppress some gnulib implicit decls on musl These happen in tons of GNU packages because of using gnulib's regex.m4 specifically, which pulls in a macro that checks for some functionality and spit out many implicit function declaration errors if regex.h isn't GNU's specifically. The compile tests do fail either way, it's just very dirty in the logs. Bug: https://bugs.gentoo.org/906027 Signed-off-by: Eli Schwartz gmail.com> Closes: https://github.com/gentoo/portage/pull/1327 Signed-off-by: Sam James gentoo.org> bin/install-qa-check.d/90config-impl-decl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bin/install-qa-check.d/90config-impl-decl b/bin/install-qa-check.d/90config-impl-decl index adea7d4051..8768c99c62 100644 --- a/bin/install-qa-check.d/90config-impl-decl +++ b/bin/install-qa-check.d/90config-impl-decl @@ -58,6 +58,18 @@ add_default_skips() { # also gnulib, but checks both linux/non-linux headers MIN ) + if [[ ${CHOST} = *musl* ]]; then + QA_CONFIG_IMPL_DECL_SKIP+=( + # gnulib checks for functions that aren't available on musl. + + # regex.m4 always emits these warnings, but they are noisy to fix + # and the check will correctly fail due to missing macros anyway. + re_set_syntax + re_compile_pattern + re_search + re_match + ) + fi } find_log_targets() {