From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IOdqM0JebWeZewAA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Dec 2024 13:46:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IOdqM0JebWeZewAA62LTzQ (envelope-from ) for ; Thu, 26 Dec 2024 14:46:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=BL3uO80P; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FJLzwpbs; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735220802; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ki3VRPoKm8ql4Q/tjft0SiD5Wn3r0qY4AqSPo6EByPk=; b=BFRacztubxubbqZO5Alv18PPGWdh84OshwLX8230nZuOOJKfiQb6XQmCq4na9brSQoAykv OHz8jNoxKjmgzAx2+xpRED/XHn2uAAbK5X4TetO4KBR0EclwZud97/AXQOLS6CUUsGs0s9 Fvm9dNgBoxopv73RPOVIPaHWirAVxmfZTRRmI8G9rE6Q9jrJkqQwHokN0S9Dgkus6upqE6 IiQLtogxC6uU8Fy06sTzJl8bbNXasBon/pij8SNV7PmBznUd8COpsPxCCSygrUemGW3wGt +ZiPowmW2cNcopO/xrgUUeQCxNGY/IllNcDUxc5rP4kofAzFJvNQ5i1vmWnG/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=BL3uO80P; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FJLzwpbs; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735220802; a=rsa-sha256; cv=none; b=l95ggL/fC9ExUziWmbX2Q2sBaACV7UBAh1N1Dh2Cn3gI3HMBO8EPKl4/AybikbJCzr89eD qeWnaMrig0gj0jPVskyxXgRcrDzQUtTfWKb0lAOF6cLmCIO2x9GCGxpHGA0Gyy2oIIl3+N JeAxQAgdYPEDDKLS0Nr1FrUf6QNnrK2t85K3aiXgDV8Vu6+oJ8HKPohOC8Ja4XVuncn/oE fZ2CA8rcOVzZ7B58wRPXyyRYlCop0r7876jFDDts3NKxyIhaMgZ1yTPkGmX9pVzp2wUQsP V8d91jqDli7IWkWaEY6bWl/Y4L1nwTw1OxRZYLn55xvx5voXq8WikT+93Yr5qg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A117E32A66 for ; Thu, 26 Dec 2024 14:46:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQoBj-0002ze-3k; Thu, 26 Dec 2024 08:46:07 -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 ) id 1tQoBe-0002yp-Nd for guix-patches@gnu.org; Thu, 26 Dec 2024 08:46:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQoBe-0001jK-FO for guix-patches@gnu.org; Thu, 26 Dec 2024 08:46:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=ki3VRPoKm8ql4Q/tjft0SiD5Wn3r0qY4AqSPo6EByPk=; b=BL3uO80PHhbGDauPBBR1i6v3bVg6DL3xXsuHII7dVxePNywcYjTfE0+PvYhB5qSMzdPasWV6uvodqyWzepnryw2CRxKXorJuKTr9QLsi2rpFrhNyJgglxF+9fmhCRFragoVXQTmAyVCrE4p1Fm5TUV37of64U1UmaSBkJnqP6fZlMKNfVJg78VDjfjrDZcF6XfL//godA8FTNnweC2TWxwgJqxuAOtR2noc19Kztp+TnaMJk6OwD2ecLSg1PzKIqnZ4wNpuzlMMZWP172YQfm28yl7By7TR8Goa6Hv0SgB+MrA44xNmpGGoOvo4wgzF/SANJKCeObnYTzR8nqD8wlA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQoBe-0006tS-9F for guix-patches@gnu.org; Thu, 26 Dec 2024 08:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75097] [PATCH rust-team 1/8] gnu: override-jemalloc: Add variable. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Dec 2024 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75097 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm Cc: 75097@debbugs.gnu.org Received: via spool by 75097-submit@debbugs.gnu.org id=B75097.173522073926447 (code B ref 75097); Thu, 26 Dec 2024 13:46:02 +0000 Received: (at 75097) by debbugs.gnu.org; 26 Dec 2024 13:45:39 +0000 Received: from localhost ([127.0.0.1]:40514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQoBG-0006sV-Ui for submit@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 ) id 1tQoBD-0006sG-PA for 75097@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@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 Message-ID: Mail-Followup-To: Efraim Flashner , Herman Rimm , 75097@debbugs.gnu.org References: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@rimm.ee> 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@rimm.ee> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.97 X-Spam-Score: -5.97 X-Migadu-Queue-Id: A117E32A66 X-TUID: kwDcyLG9rHxg --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 =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--