GNU bug report logs - #75098
[PATCH rust-team 0/2] Use override-jemalloc.

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:36:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 75098) by debbugs.gnu.org; 25 Dec 2024 20:36:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:36:42 2024
Received: from localhost ([127.0.0.1]:39024 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQY7W-0007hS-0k
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:36:42 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:59195
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQY7U-0007gz-DA
 for 75098 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:36:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158987;
 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=kAc3Rb41ZiZFHs3NIV9knqLUgq9lx/59dLWVGtTbE6Q=;
 b=VdHWspFZzSncnrIdmW+W60SYfxrEJabgr0az25T+AmdE0DdZoL0D57eDfWJKVSEIwu+LG5
 /V8XPgAl5fsMY6uZZ55v3tVogf/OcFu4vtkKXHSukPYh8OI+1Xl2LljLfpkfTEAKo2TrIP
 U5gzgAA33w6LOytS3Culc/ztnGS+MEtzOlic1SVHSMrDD7tOjXxXRnfuUsFLbS06xQoOz0
 O4Yf2gKKJKHje5axYcMcjLpiSXoDCG1q3VQq8c4ExzTQQ0qJEWoXKq9ezrbLVJdWRgxghg
 AQL4uYq0aFBlXz+xYpNsETM+Uj2APHlB0ZLMJ/9Wkm1qAXdOPQdKxVDLcaQI5w==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 235f20ae
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75098 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:36:27 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75098 <at> debbugs.gnu.org
Subject: [PATCH rust-team 2/2] gnu: rust-tikv-jemallocator-0.6: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:35:46 +0100
Message-ID: <36572fce5dc3d4b8313fba390a923079a8d97ccc.1735158600.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <cover.1735158599.git.herman@HIDDEN>
References: <cover.1735158599.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: 75098
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-tikv-jemallocator-0.6): Adjust.

Change-Id: I149192a509e9175d7951129ecd1a7319f449912a
---
 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 58cfd7f1c8..b55c2e66b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88957,16 +88957,7 @@ (define-public rust-tikv-jemallocator-0.6
        #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
                        ("rust-tikv-jemalloc-sys" ,rust-tikv-jemalloc-sys-0.6))
        #:cargo-development-inputs (("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))
     (inputs (list jemalloc))
     (home-page "https://github.com/tikv/jemallocator")
     (synopsis "Rust allocator backed by jemalloc")
-- 
2.45.2





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

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


Received: (at 75098) by debbugs.gnu.org; 25 Dec 2024 20:36:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:36:42 2024
Received: from localhost ([127.0.0.1]:39022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQY7V-0007hN-MC
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:36:41 -0500
Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:59195
 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQY7T-0007gz-GY
 for 75098 <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:36:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158986;
 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=tCzGwFQ4uS/yD+HwM4hNRQbBNQ9G4Lc0WRs7svQw03M=;
 b=i0pnKKpTrEiBr1xlpwoQYOpBMrp/KTddeFpVECtr1DdGf7gkNQrb2PPFAe/7VAdlDmRv5Y
 k6KvtKdIpBoDICidFa0PVB5V7yStqFZj8HaLf9Ygqdk0PknJUHDqcps3fjJ3tdWasE6Qmi
 72rhLOD/B5SM8LaqptZJy1USwqLtgl2bfg7fOFT8jQQYY/5qTfHNB9TbOH5TcBKTlRh5C/
 DyY+eZ4aJ/czvZBFOFnxN1B31rAt0xBIVgU9bORp+Dkb/FDHNTxhHPhFOMSF86twXAJCPF
 hW8tb3fghL9iFc6pop6gxCORFhBjAaDuPAyoLRJxcMoA7qNOokUE9+CcHq7Wwg==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 63247005
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <75098 <at> debbugs.gnu.org>; Wed, 25 Dec 2024 20:36:26 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: 75098 <at> debbugs.gnu.org
Subject: [PATCH rust-team 1/2] gnu: rust-tikv-jemalloc-sys-0.6: Use
 override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:35:45 +0100
Message-ID: <3b9879c4b8ba7850b0d39cd03f110bffccdacfb3.1735158599.git.herman@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <cover.1735158599.git.herman@HIDDEN>
References: <cover.1735158599.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: 75098
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-tikv-jemalloc-sys-0.6): Adjust.

Change-Id: I579e7ac913f5b5123ee29ebd0889fea2ab18e363
---
 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 13d222c5de..58cfd7f1c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88910,16 +88910,7 @@ (define-public rust-tikv-jemalloc-sys-0.6
     (arguments
      `(#: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))
     (inputs (list jemalloc))
     (home-page "https://github.com/tikv/jemallocator")
     (synopsis "Rust FFI bindings to jemalloc")
-- 
2.45.2





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#75098; 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:35:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 15:35:31 2024
Received: from localhost ([127.0.0.1]:39015 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQY6N-0007eq-8G
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:35:31 -0500
Received: from lists.gnu.org ([209.51.188.17]:42010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <herman@HIDDEN>) id 1tQY6K-0007eh-R2
 for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 15:35:29 -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 1tQY6K-0004CL-Kr
 for guix-patches@HIDDEN; Wed, 25 Dec 2024 15:35:28 -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 1tQY6J-0004Ig-8a
 for guix-patches@HIDDEN; Wed, 25 Dec 2024 15:35:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman;
 t=1735158924;
 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=fR4qCuxzGjyLrT7JbE3TV9CJL8RlMBEYf8q7ODdYQKo=;
 b=EB1JV4Hpj3teVebQVkCjjG4SXQjwJh4b4jlitPGJKJjUFNC1vF/6dngt2okQrxGRUYA/26
 Zk7E5D0P7YWkqPnABTZ+NTzhyullNf53lP8WXwIzz+immecTftay9uXfACr/rG5WpReXsD
 JmLiF6X/2/DiNl3Eit4s+HCGdZGX4WWGGkCXQAYpXRnbQWlrFLQh3q0MWsvtvkdkucEK8q
 1oh+m6vh7VSsgow8Z/d/9tt99FGGL5gdMrYSL1y4sFKvpJWN2If38Q8fAohFOMIDf2v26k
 gBSgcI8pjRlqGyNBXRle3VofkqpHAd+WKAPddW5yqCp/brvkAWhO8iVMXtndzQ==
Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id bc04fedf
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO)
 for <guix-patches@HIDDEN>; Wed, 25 Dec 2024 20:35:23 +0000 (UTC)
From: Herman Rimm <herman@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH rust-team 0/2] Use override-jemalloc.
Date: Wed, 25 Dec 2024 21:34:40 +0100
Message-ID: <cover.1735158599.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 (--)

Hello,

Follow-up to [bug#75097], two packages with relevant phases got added
since I created the override-jemalloc variable.

Cheers,
Herman

Herman Rimm (2):
  gnu: rust-tikv-jemalloc-sys-0.6: Use override-jemalloc phases.
  gnu: rust-tikv-jemallocator-0.6: Use override-jemalloc phases.

 gnu/packages/crates-io.scm | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)


base-commit: b3ce03d55ea7b538280d2b7bd53b2ed9f01150b2
-- 
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#75098; 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.