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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BFCEE15838C for ; Tue, 23 Jan 2024 15:14:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F46AE29C9; Tue, 23 Jan 2024 15:14:23 +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 DDD8CE29C9 for ; Tue, 23 Jan 2024 15:14:22 +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 D20BF3430A7 for ; Tue, 23 Jan 2024 15:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 40A59F7D for ; Tue, 23 Jan 2024 15:14:20 +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: <1706022827.39e7dae5ae53f438bb94c464b05aba169938d9fb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/, profiles/features/musl/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/default/linux/make.defaults profiles/features/musl/make.defaults X-VCS-Directories: profiles/features/musl/ profiles/default/linux/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 39e7dae5ae53f438bb94c464b05aba169938d9fb X-VCS-Branch: master Date: Tue, 23 Jan 2024 15:14:20 +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: ad91f062-6137-4d5b-8b63-6152525aa310 X-Archives-Hash: 8603c0ff647d1736abf4139317d14097 commit: 39e7dae5ae53f438bb94c464b05aba169938d9fb Author: Sam James gentoo org> AuthorDate: Mon Jan 22 16:11:52 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 23 15:13:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e7dae5 profiles: workaround sandbox bug with getcwd() configure test (gl_cv_func_getcwd_path_max) Workaround for sandbox bug which causes this gnulib configure test to take many real hours on slower machines, and certainly a huge amount of CPU hours on others. Spoof the same result as configure gets on a modern glibc & musl system for now. Bug: https://bugs.gentoo.org/447970 Closes: https://bugs.gentoo.org/922652 Signed-off-by: Sam James gentoo.org> profiles/default/linux/make.defaults | 9 ++++++++- profiles/features/musl/make.defaults | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults index 74dd59d5d817..4e21cd58fdf2 100644 --- a/profiles/default/linux/make.defaults +++ b/profiles/default/linux/make.defaults @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # # System-wide defaults for the Portage system @@ -54,3 +54,10 @@ LDFLAGS="-Wl,-O1 -Wl,--as-needed" # Prevent automagic use of 64-bit time_t. # https://bugs.gentoo.org/828001 enable_year2038="no" + +# Sam James (2024-01-22) +# Workaround for sandbox bug which causes this gnulib configure test to take +# many real hours on slower machines, and certainly a huge amount of CPU hours +# on others. Spoof the same result as configure gets on a modern glibc system +# for now. See bug #447970 and bug #922652. +gl_cv_func_getcwd_path_max="yes" diff --git a/profiles/features/musl/make.defaults b/profiles/features/musl/make.defaults index 3078bdd61b09..ca792276e394 100644 --- a/profiles/features/musl/make.defaults +++ b/profiles/features/musl/make.defaults @@ -17,3 +17,10 @@ FEATURES="-multilib-strict" # that use a charset, it causes package collisons. # Note: we use a full path for locale.alias for bug #799437 INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" + +# Sam James (2024-01-22) +# Workaround for sandbox bug which causes this gnulib configure test to take +# many real hours on slower machines, and certainly a huge amount of CPU hours +# on others. Spoof the same result as configure gets on a modern musl system +# for now. See bug #447970 and bug #922652. +gl_cv_func_getcwd_path_max="no, but it is partly working"