GNU bug report logs - #75097
[PATCH rust-team 1/8] gnu: override-jemalloc: Add variable.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Herman Rimm <herman@HIDDEN>; Keywords: patch; dated Wed, 25 Dec 2024 20:22:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 26 Dec 2024 13:45:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 26 08:45:39 2024
Received: from localhost ([127.0.0.1]:40514 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQoBG-0006sV-Ui
	for submit <at> debbugs.gnu.org; Thu, 26 Dec 2024 08:45:39 -0500
Received: from mail-wr1-f49.google.com ([209.85.221.49]:44519)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim.flashner@HIDDEN>) id 1tQoBD-0006sG-PA
 for 75097 <at> debbugs.gnu.org; Thu, 26 Dec 2024 08:45:36 -0500
Received: by mail-wr1-f49.google.com with SMTP id
 ffacd0b85a97d-385d7f19f20so2999287f8f.1
 for <75097 <at> debbugs.gnu.org>; Thu, 26 Dec 2024 05:45:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1735220670; x=1735825470; darn=debbugs.gnu.org;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to
 :cc:subject:date:message-id:reply-to;
 bh=ki3VRPoKm8ql4Q/tjft0SiD5Wn3r0qY4AqSPo6EByPk=;
 b=FJLzwpbsZd+u2z0i2OXGak7a3lcipIKuuzqouZ+SukT7xRKwI4KwgIsIdsFj3CdrqH
 957s1gCCWDCZnheexuus2sDELIskvf4HlPSufv+iXAgOjzjDDhQqCg2lrl6FQi4xNOpC
 A/8RsDsGIagxYnnsRXHNymJlolyZqYQpNvc2wATz+V0c/CklAmZEzMbd6Xj4f0Ks+Dff
 znXWtsao4igEr4WljHtPPh3Qfxbq1mnoiqYJZo8HQl3h2/k6WGeoNnvmHAEFUvtdG7JX
 eSSY5dXKig5R4gNfjsUezbjX8WbmCKrCTDBOWMn28Fmf0+VPs7Bl0O0ADfFvPt7fQYC+
 n8Wg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1735220670; x=1735825470;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=ki3VRPoKm8ql4Q/tjft0SiD5Wn3r0qY4AqSPo6EByPk=;
 b=a+AcCnyAqfoefP8I1H6rL1dk+n6YkCvqGH0erKERQODygqM5pPcsJvi2oCNAnbXwiI
 h619VWYs/RylJRaHU+pRVC5A6AfzaNyo6QvvaXUFZsTsZ+V0XEII8/bKSooegNluWZ00
 NGnoBLhH/o0UezYqdzd9M2pA4TpQzhnmGpTOSN2RxSxH1faI4999C20M/GaDgrT0DzmR
 NsiSNqgD3Z+smpYsE76MCMmTkJpeXStP+pEiE/PmKZxLELnJ89Bmppzk9HwxaVvfLNoK
 yKtXWtbh8TLJ4EQf1muFUZbUTw7nxFdaxKEbMR3KTjjUbZSd9KacMVfsBmq3G56FeGXD
 dStw==
X-Gm-Message-State: AOJu0YyPCysEIISM1TdBW3jKlhq8yOAxNhe7c973/8PPb31LTZGaC2FM
 TvR883T0GbtYXyye3DCuM6hPLFhNB5EvZ0tTOVFB0JliPxn1pmJQ
X-Gm-Gg: ASbGncvLqOq5ISg551F+9od8SDVfS4AbBpeoRBn6W81j5uh+3UoIX+RnL1BtfnH0Rof
 9/aVdBixsLUut0SvugGzv4lFQTjHKje0q4X2OsUzTwOfjLf1jfoAr4BN4wEeSWjr5K4ZaKU7k11
 u/mGtlf7d/lV/IdYFJayOAVDHG8ao1QylZB8cYBDxhIrUlJ+Lehff58I0D3Sw6+mRMnbK9gDdrU
 4Ih/mHPbCEZRqxGtz4z6eomlhOFps6t9o1Qqt73IuHozDdLxZPrEpVWlw==
X-Google-Smtp-Source: AGHT+IGNh/uOWhihohyP3n0c+SB6DbaI4F2eqXmm9+0jfIOHg+prXmQIfDpayMF4pvUUmkcMXx3Inw==
X-Received: by 2002:a05:6000:1ac8:b0:385:f071:a1c9 with SMTP id
 ffacd0b85a97d-38a224049f1mr18455164f8f.50.1735220670010; 
 Thu, 26 Dec 2024 05:44:30 -0800 (PST)
Received: from localhost ([188.120.128.147]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-38a1c89e2f9sm20027917f8f.81.2024.12.26.05.44.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 26 Dec 2024 05:44:29 -0800 (PST)
Date: Thu, 26 Dec 2024 15:44:28 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Herman Rimm <herman@HIDDEN>
Subject: Re: [bug#75097] [PATCH rust-team 1/8] gnu: override-jemalloc: Add
 variable.
Message-ID: <Z21dvOrma1li0WPe@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Herman Rimm <herman@HIDDEN>, 75097 <at> debbugs.gnu.org
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="fbe4iSm5ZfA4XZeG"
Content-Disposition: inline
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 75097
Cc: 75097 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


--fbe4iSm5ZfA4XZeG
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This one I'm unconvinced about.  I could see adding CARGO_FEATURE... to
the cargo-build-system, but this seems like a temporary problem that I
hope gets fixed upstream.  If we move this out to a separate location
I'm worried we'll forget about it when it's no longer needed.

Plus we're using libjemalloc_pic.a here and libjemalloc.so in
rust-apps.scm, and I'd prefer to not hard-code one or the other.

On Wed, Dec 25, 2024 at 09:20:20PM +0100, Herman Rimm wrote:
> * gnu/packages/crates-io.scm (override-jemalloc): Add variable.
>=20
> Change-Id: I3e1666306c9f005072f9ed230f03386b2f78b0b2
> ---
>  gnu/packages/crates-io.scm | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>=20
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index b3d9bcd783..fb7710c5a9 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -39209,6 +39209,19 @@ (define-public rust-javascriptcore-rs-sys-0.2
>       "Sys functions for the Rust bindings of the javacriptcore library.")
>      (license license:expat)))
> =20
> +(define override-jemalloc
> +  #~(modify-phases %standard-phases
> +      (add-after 'configure 'override-jemalloc
> +        (lambda* (#:key inputs #:allow-other-keys)
> +          ;; This flag is needed when not using the bundled jemalloc.
> +          ;; https://github.com/tikv/jemallocator/issues/19
> +          (setenv
> +            "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS"
> +            "1")
> +          (setenv "JEMALLOC_OVERRIDE"
> +                  (string-append (assoc-ref inputs "jemalloc")
> +                                 "/lib/libjemalloc_pic.a"))))))
> +
>  (define-public rust-jemalloc-ctl-0.5
>    (package
>      (name "rust-jemalloc-ctl")
>=20
> base-commit: 32ab343e03e998ada27c063ef7d8a00aa88436dd
> --=20
> 2.45.2
>=20
>=20
>=20

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--fbe4iSm5ZfA4XZeG
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmdtXbwACgkQQarn3Mo9
g1G8+w//akYmsSa+jTDh/MiDPMLwQueiDAbMyIWokGNmk7Me7i9E8zd7oPY9kBcR
/Kzllc+TS/a69Xak8nSinjFh8+jLkCuETx7ydt9jPLvdqHwOBShjWq63mAJeppUH
GUhCubCHsf5jXIf0oEBHANyRYQYLWdvVWvDgJOtcsCDOoLOYq8DRLuis1fIFxLG0
Ds+RJdkV0yJ2T+k7h9NaoOVtr510Y2HRMPLLAgTJg3L7yTXV9Q1AK5T5650wkkz7
VCy+2Yr+Gf6PGijdYEGTqoiVtvbfvKu33iYzRbuc9Ly9Gs5EFZtxC3BfY2IyTlmW
bL3RSyDrty6PQbVwk7HRsmCGIUjVun7G5X0Eq1nkIh7q6Hc1bSCQHd3KAWnFtJqm
UXs4WekCMDZT520L5GBJrEnuFM3UGUcqti8LdfQbphqlUJLNcCh1XLbTId3u8BXK
SZKwsWu3jsmmJ/WuAvO/+3QTeZt+lxUlBS98fwSBMWTZmDu5EU6oIE20219YB8GR
G/Y4x5XFtr2HfMJ6OSnlIiH1jyVZ6ADah7G0eOSerc9ntl4QsGrvWSnchFNX9VIp
CzDNy2UGqQxxgDQ1Bz7XP0rgkhOnqL4FnGtHQyqim8j+U0Sx9ej4svzv7WfdPgh+
IYdkQx2BrMcIy3RkJMDkvvjYJRrgrA9uGHos9L4YHNwzu0MIKi4=
=B+Y0
-----END PGP SIGNATURE-----

--fbe4iSm5ZfA4XZeG--




Information forwarded to guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:58 2024
Received: from localhost ([127.0.0.1]:38985 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXuD-0006z9-RN
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:58 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu8-0006xf-Rc
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158164;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=q9AsNtwiPQpXYXOXFZnkiFABn8Oew0gL9GkgdSL/Wss=;
 b=MR64g/7VLy05wpeeXkAwSuGTDyFtlNQxyhUsMZnxZdOBnxRnG5d87IkLgaER6I6Vl1udy4
 wBPElPl3ihcUjY2W4SeXS8J2NVNEpsfJRYfOOySLvFRH+7LD13r9ATXUenp298/ajW12yg
 7ODEuKU+UJEI2OqG3oNEJgORZO2FOEIHQQMXzDF9YoZH/DVd3O0rSe/22qf5DIxKv6af22
 fLvJ1BwqrcdhJ8cS3vj6kpAg+90gCS19bHKhixiMy5RsfLpJFABn17Luk66gbznDUGTJkR
 dV4k3KAQ7JVUi6IyMM5CYop1CDqsOfAc4sx8k4ItykJErbpDgfxiNz1THXurog==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 30e4d72d
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:44 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 8/8] gnu: rust-nom-5: Use override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:57 +0100
Message-ID: <b3ce03d55ea7b538280d2b7bd53b2ed9f01150b2.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-nom-5)[arguments]: Adjust.

Change-Id: Iddfad33f6a53aff6faa85d0a3a72b95ffa29ac10
---
 gnu/packages/crates-io.scm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa73b59a9e..13d222c5de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51513,13 +51513,7 @@ (define-public rust-nom-5
        (("rust-criterion" ,rust-criterion-0.2)
         ("rust-doc-comment" ,rust-doc-comment-0.3)
         ("rust-jemallocator" ,rust-jemallocator-0.1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a"))))))))))
+       #:phases ,override-jemalloc))))
 
 (define-public rust-nom-4
   (package
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:57 2024
Received: from localhost ([127.0.0.1]:38983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXuD-0006z3-Fh
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:57 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu8-0006xf-4A
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158163;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=upGi4lZqW9xTpKMLMgB6lO40CQY8dQAVMLhytM750uk=;
 b=Zpd43lJslnu+DDWYWcRBqzwFpsRN1lLXLj+0aD3pBRX87BpOvtDQUp/eSG3ENi1qn2Dyx9
 Z7TJ26do0hFKU994IWep4gFXmVuODuxO8dW0Idp4YOhoXFvRoisDw0CzDwkfQXuRTaIB/2
 LOxlrI+EZQk857sGUxlIIQhcDiV++DoL01Y8/vpqOH8xv01JKK8WvqlzQL+Wou34ulOnd8
 3g3a+/3wgqKqqCscWfehfDkavYcndBBYk7eJNeml3yX11Q9OnBYa68KZALx8taJvd34cu3
 kLuDsX8MXdMKbtXCPOuhpiAwjgWiOpUAoZ5KGSZ5Ybkcvv8Tul7+ST3r7UZLhg==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 2fa89590
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:43 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 7/8] gnu: rust-nom-6: Use override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:56 +0100
Message-ID: <a0a7163d1cd84d4e4d48cf41108527e85fd666e5.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-nom-6)[arguments]: Adjust.

Change-Id: Iddfad33f6a53aff6faa85d0a3a72b95ffa29ac10
---
 gnu/packages/crates-io.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1216e85226..aa73b59a9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51486,14 +51486,7 @@ (define-public rust-nom-6
        (("rust-criterion" ,rust-criterion-0.3)
         ("rust-doc-comment" ,rust-doc-comment-0.3)
         ("rust-jemallocator" ,rust-jemallocator-0.3))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a")))
-             #t)))))
+       #:phases ,override-jemalloc))
     (native-inputs (list jemalloc))))
 
 (define-public rust-nom-5
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:57 2024
Received: from localhost ([127.0.0.1]:38981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXuD-0006yu-3Y
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:57 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu7-0006xf-E0
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158163;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=AKI7RplxWdid/otc5BOn4TtHRZ9Z2IVPRtE485ct1JU=;
 b=gPqRhP00SQtJQsoPYs5u+GKO36LwvMAKdwlQV+uSD2t/5CO5XdAmmzIoIVpHIM25tn2vGZ
 spuSO7Vd6F5x0DpzfSCa+ONHshOUpqL0c5RnRBWNN8Vm4FoU1L2zTZQjw3qmjTzKrHZGKT
 l6s0AEAICvXFXT1wMjYSw+qa1MtePJ/CP0gexsu2wTkpyq0iJuBO1KimHCAb901ajCpjNC
 ImybA5lBmlJecWowKBLI5tWYb+4fFz/BLMEpohYaecOLGxGrYVIUMzWinloG0uaZLZ4PeF
 jh75+5+spH8t3Z+VOcjrhj4CSkqfjzadgLoXabWh7xJTfyQxwKet6Bj+p1oRJw==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 951368a7
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:43 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 6/8] gnu: rust-jemallocator-0.1: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:55 +0100
Message-ID: <168efe2ea80756ba9fd560411fcf7b1c6e2bd8cf.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-jemallocator-0.1)[arguments]: Adjust.

Change-Id: Ida6507dff8624d22dc1c6dd77e11426179edb512
---
 gnu/packages/crates-io.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index afc90512c2..1216e85226 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39388,14 +39388,7 @@ (define-public rust-jemallocator-0.1
      `(#:cargo-inputs
        (("rust-jemalloc-sys" ,rust-jemalloc-sys-0.1)
         ("rust-libc" ,rust-libc-0.2))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a")))
-             #t)))))
+       #:phases ,override-jemalloc))
     (native-inputs
      (list jemalloc))))
 
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:57 2024
Received: from localhost ([127.0.0.1]:38979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXuC-0006yn-Mj
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:57 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu6-0006xf-PW
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158161;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=V7mLTrVy9/ilu3bkghfeSbgdQjRa//fP8XN25vnS5zw=;
 b=m1zi+njHV3ymqY0HSxcOI/2AGDKFmIx56x2U8Jf9Zbv8cT+L0caVA7pOQNKt/zD1cFu7N8
 ETBKhK64K1+IfeNup/oXK08S0zm5NumQvITEDtIT4ExngonqCFhpjG2jyoFGF7qkVkwb0P
 aELYJNIRdf3J7AyXg4goz49YVadwuZWp43THc97BKgWL4mBarue39707eoH5ZT6OSxnOT/
 zzL5km48OdVDa6DSQGbAklE934faUnbDk3vw40OM1BAvL0l63nNq7RGYVY12P/STImr3EZ
 kLDHxIuNKuUKxcrSzFIpG0YvTeJILSckItu71DqpZ5iZBNovn58pdF2I1J0OQw==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0564be24
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:41 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 5/8] gnu: rust-jemallocator-0.5: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:54 +0100
Message-ID: <c30aeef79ebe2419690ab63aa0cc0cfb69b1a09c.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-jemallocator-0.5)[arguments]: Adjust.

Change-Id: I329aaa334575c0c89e60e4011ba1274f91098ff0
---
 gnu/packages/crates-io.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 05d61f4209..afc90512c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39338,16 +39338,7 @@ (define-public rust-jemallocator-0.5
        #:cargo-development-inputs
        (("rust-jemalloc-ctl" ,rust-jemalloc-ctl-0.5)
         ("rust-paste" ,rust-paste-1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               ;; This flag is needed when not using the bundled jemalloc.
-               ;; https://github.com/tikv/jemallocator/issues/19
-               (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1")
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a"))))))))
+       #:phases ,override-jemalloc))
     (native-inputs
      (list jemalloc))
     (home-page "https://github.com/tikv/jemallocator")
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:56 2024
Received: from localhost ([127.0.0.1]:38977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXuC-0006yg-BP
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:56 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu6-0006xf-1c
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158161;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=r3C54cfla506cjcxoKXPPjlvdpgO6LtdvvxevRBB8uA=;
 b=HoffRVQqkGjL9/KM8RgxOlR82lrOKdd4yJWkEMOWhiY7KzSkQwHJnNDiGZXmTH8sN493dP
 dnkqe0gmokXs8A5J0OoTfOV58sMsPQEV15y+0uxFwJeP+AXFhGg455LIQzd0RZnsYAbTbp
 XfvicKWukgAsyiTWUTxWmb2XprFfpYAtKJ/vNe1xyM30+m4sOdaVtYMByBzPSCGfYaKFWb
 BNtiEOx00d/z4qYVk3aUbmBRYJDV50AsembnGwXA8rGdu6igEs/9KwwAVHPZvz+GvXLYlX
 /B6CNmUQYrMRS+Ne1AilcjGDzmmlxVGWKI87t5fFqYa/J684+XdCWj+aCqf+1g==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 3fdc290b
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:41 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 4/8] gnu: rust-jemalloc-sys-0.3: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:53 +0100
Message-ID: <33a21eda2eed7bf3f912f382b6936eaebdb7b208.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-jemalloc-sys-0.3)[arguments]: Adjust.

Change-Id: Ifc1f2ad115054f7c7db2447e8680cc070273c6f3
---
 gnu/packages/crates-io.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0a499a6400..05d61f4209 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39297,14 +39297,7 @@ (define-public rust-jemalloc-sys-0.3
         ;; Build dependencies:
         ("rust-cc" ,rust-cc-1)
         ("rust-fs-extra" ,rust-fs-extra-1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a")))
-             #t)))))))
+       #:phases ,override-jemalloc))))
 
 (define-public rust-jemalloc-sys-0.1
   (package
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:56 2024
Received: from localhost ([127.0.0.1]:38975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXuC-0006yd-1V
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:56 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu5-0006xf-AT
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158161;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=YyD9E8aloyXHethRinqRk24aM2leymvgOYg7AMj4eVw=;
 b=sDpO0jU6/6eYlsFb7KYFdkhNYhx/JqewJ+dmAR3AWETLQfbDXcpaGQ/ES1W0uT08QcbcuV
 1L5GAd8+vjZoyuymZ/AD7jGQa69blfyk4nTAw2zdc+RrulDOicFymWGOBPzVMzEc0c0Amx
 tU0gT/9UZCIOrf2qYESDry8OUXC6zROlit/YOpeO0geRWrVHmLNmNf7v+I2WuC4GInnga2
 bKiFcQN/CpFeNNHTDX55BDu5JJsyPlK2ipoHIk0NVZsZORqWXjq20ueGz0DAeBgqUz2CBE
 MogMklyODE07IrkC9uoD/zSDOoWtOL1YjPOU5ieS/761RI+iJdRWNX0fCaAqvQ==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id d8efe501
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:41 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 3/8] gnu: rust-jemalloc-sys-0.5: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:52 +0100
Message-ID: <3ba7e85a54f44f3cb9a01c74024b15b35a377992.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-jemalloc-sys-0.5)[arguments]: Adjust.

Change-Id: Ib7c45999b55c95a3db0944d92985d64e4dadfc3a
---
 gnu/packages/crates-io.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5945fd0a72..0a499a6400 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39267,16 +39267,7 @@ (define-public rust-jemalloc-sys-0.5
      `(#:cargo-inputs
        (("rust-cc" ,rust-cc-1)
         ("rust-libc" ,rust-libc-0.2))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               ;; This flag is needed when not using the bundled jemalloc.
-               ;; https://github.com/tikv/jemallocator/issues/19
-               (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1")
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a"))))))))
+       #:phases ,override-jemalloc))
     (native-inputs
      (list jemalloc))
     (home-page "https://github.com/tikv/jemallocator")
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at 75097 <at> debbugs.gnu.org:


Received: (at 75097) by debbugs.gnu.org; 25 Dec 2024 20:22:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:22:50 2024
Received: from localhost ([127.0.0.1]:38968 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXu5-0006xu-Mm
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:49 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56251
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXu4-0006xf-Fc
 for 75097 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:22:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158160;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=wN6aT8/oqT+AI2CC09IoXqP6DVPnNhlzweTkK7I+jUs=;
 b=exvV5dIhS0244TvP9ZuRbzgBHQxzb/tlIPewdn/0SrLPjeJSlgETvgAa2Xpzr2VBh4lNY1
 CKrn3FYBEw8G6v+ZK0Uip98DwMEbuWoAhR7zKVjk5eTV56opDAPuEf0VNQPEUkqJr/EeD3
 cq6zaNhttxRJ03LQlWnHTg8P5C197/+vw0lQvDUTEko9QSNTxixX92nzFvWOdc7iIo6G/k
 mrJfsQv/gZTf/S9afbJy1Y5kg5O84BrfC1ZuJLSFi4EOVRvfjSJ44CbAlVGkvIZ9osHT14
 jY70WUHoXkan1BbBgxy2d9HR2hJB8m83wY1/Iqxno2ZkIRg/5ASBd4hSjSl8mw==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 44c018b0
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75097 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:22:40 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75097 <at> debbugs.gnu.org
Subject: [PATCH rust-team 2/8] gnu: rust-jemalloc-ctl-0.5: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:51 +0100
Message-ID: <7092c5f8b869ed9f15ecce513069cec2095223bf.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75097
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-jemalloc-ctl-0.5)[arguments]: Disable
parallel tests.  Use override-jemalloc.

Change-Id: I23718f05ffd3deeb0ea0f9b32412ae6b6f0692db
---
 gnu/packages/crates-io.scm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb7710c5a9..5945fd0a72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39239,16 +39239,8 @@ (define-public rust-jemalloc-ctl-0.5
                        ("rust-libc" ,rust-libc-0.2)
                        ("rust-paste" ,rust-paste-1))
        #:cargo-development-inputs (("rust-jemallocator" ,rust-jemallocator-0.5))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               ;; This flag is needed when not using the bundled jemalloc.
-               ;; https://github.com/tikv/jemallocator/issues/19
-               (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1")
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a"))))))))
+       #:parallel-tests? #f ; Tests fail non-deterministically.
+       #:phases ,override-jemalloc))
     (native-inputs (list jemalloc))
     (home-page "https://github.com/tikv/jemallocator")
     (synopsis "Wrapper over jemalloc's control and introspection APIs")
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 20:21:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:21:15 2024
Received: from localhost ([127.0.0.1]:38961 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQXsZ-0006v1-9A
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:21:15 -0500
Received: from lists.gnu.org ([209.51.188.17]:51606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQXsW-0006ur-LG
 for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:21:13 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <herman@HIDDEN>) id 1tQXsW-0002au-5R
 for guix-patches@HIDDEN; Wed, 25 Dec 2024 15:21:12 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]
 helo=email.rimm.ee)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <herman@HIDDEN>) id 1tQXsR-0002NA-SB
 for guix-patches@HIDDEN; Wed, 25 Dec 2024 15:21:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158061;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=jrUuv7HAAPUSMAJW9vdsYCcg1tnawKTXFZtAIrmixxw=;
 b=qS34x/8LUmH6a6QijYZ3HuPK/LO+9fhnnBxWjOXt8w7EMw+xkX1eG7/KG03nZGP9XeRJAX
 E3aWZ/tqBu/gKusYWUGm0d/g+gShcN/doWa2UBuaUZtySHBNekOdwsGiz1I93tr0fq+sUK
 h+7Bj1F9QFzROHkMOHpfV8h3BSN2HC44LmNfYYiD65KqQBZs0s8r4GfL29kAz0JeJ5OnBm
 XJmSn1C6jwzGVsH6CyLbphOJXa+lIlXGdeDP4F6pkREqxyMzG/CtjRHx8/KlwXvTic5UzQ
 twE0odTUnjiAwVORRf0Ch+xqRiFEDGPaufkipvJT7qIzTqfmUn6Zvysj3aWDow==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id ccf91cc0
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <guix-patches@HIDDEN>; Wed, 25 Dec 2024 20:21:01 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH rust-team 1/8] gnu: override-jemalloc: Add variable.
Date: Wed, 25 Dec 2024 21:20:20 +0100
Message-ID: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=81.205.150.117; envelope-from=herman@HIDDEN;
 helo=email.rimm.ee
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/crates-io.scm (override-jemalloc): Add variable.

Change-Id: I3e1666306c9f005072f9ed230f03386b2f78b0b2
---
 gnu/packages/crates-io.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3d9bcd783..fb7710c5a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39209,6 +39209,19 @@ (define-public rust-javascriptcore-rs-sys-0.2
      "Sys functions for the Rust bindings of the javacriptcore library.")
     (license license:expat)))
 
+(define override-jemalloc
+  #~(modify-phases %standard-phases
+      (add-after 'configure 'override-jemalloc
+        (lambda* (#:key inputs #:allow-other-keys)
+          ;; This flag is needed when not using the bundled jemalloc.
+          ;; https://github.com/tikv/jemallocator/issues/19
+          (setenv
+            "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS"
+            "1")
+          (setenv "JEMALLOC_OVERRIDE"
+                  (string-append (assoc-ref inputs "jemalloc")
+                                 "/lib/libjemalloc_pic.a"))))))
+
 (define-public rust-jemalloc-ctl-0.5
   (package
     (name "rust-jemalloc-ctl")

base-commit: 32ab343e03e998ada27c063ef7d8a00aa88436dd
-- 
2.45.2





Acknowledgement sent to Herman Rimm <herman@HIDDEN>:
New bug report received and forwarded. Copy sent to efraim@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75097; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.