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 9FE5B158043 for ; Thu, 18 Apr 2024 21:49:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD5DAE29B9; Thu, 18 Apr 2024 21:49:14 +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 AF531E29B9 for ; Thu, 18 Apr 2024 21:49:14 +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 AB41D343489 for ; Thu, 18 Apr 2024 21:49:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC880171B for ; Thu, 18 Apr 2024 21:49:11 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1713476541.e735907abbff44872d16a5320a6041fd47c18f4e.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ruff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ruff/ruff-0.3.7.ebuild X-VCS-Directories: dev-util/ruff/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: e735907abbff44872d16a5320a6041fd47c18f4e X-VCS-Branch: master Date: Thu, 18 Apr 2024 21:49:11 +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: 42801cfd-84bf-454a-b9c8-f8d24bf6c169 X-Archives-Hash: 02afb7fbed6d9a9bf589fb796be556af commit: e735907abbff44872d16a5320a6041fd47c18f4e Author: LinuxUserGD gmail com> AuthorDate: Sun Apr 14 16:58:26 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Apr 18 21:42:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e735907a dev-util/ruff: disable unprefixed malloc on unsupported platforms Closes: https://bugs.gentoo.org/927338 Closes: https://bugs.gentoo.org/928621 Signed-off-by: LinuxUserGD gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36256 Signed-off-by: Patrick McLean gentoo.org> dev-util/ruff/ruff-0.3.7.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-util/ruff/ruff-0.3.7.ebuild b/dev-util/ruff/ruff-0.3.7.ebuild index d41abd5727bb..533fabb61427 100644 --- a/dev-util/ruff/ruff-0.3.7.ebuild +++ b/dev-util/ruff/ruff-0.3.7.ebuild @@ -399,7 +399,7 @@ BDEPEND=" >=virtual/rust-1.71 " RDEPEND=" - dev-libs/jemalloc:= + !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) ) ) " DEPEND=" ${RDEPEND} @@ -422,8 +422,11 @@ src_configure() { } src_compile() { - local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 - local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + # Gentoo bug #927338 + if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then + local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 + local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + fi cargo_src_compile --bin ruff --bin ruff_shrinking local releasedir