From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 04 17:58:48 2023 Received: (at submit) by debbugs.gnu.org; 4 Mar 2023 22:58:49 +0000 Received: from localhost ([127.0.0.1]:37978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYaq0-00083p-H3 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 17:58:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:47466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYapy-00083h-T0 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 17:58:47 -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 1pYapw-0006dU-Mf for guix-patches@gnu.org; Sat, 04 Mar 2023 17:58:44 -0500 Received: from out-49.mta0.migadu.com ([91.218.175.49]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYapu-0000rx-GP for guix-patches@gnu.org; Sat, 04 Mar 2023 17:58:44 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=winter.cafe; s=key1; t=1677970717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=x+jY0QpFtOnVy7oM16BsobRHZcK7M7ADKWvc9RJDYVI=; b=POhmcCqe8Io8det/LZKZSYnMxpCF0oxRYnVdi5svxR1+qfRvJt1N+6Hl1wPjtmfMa35JaY f+UNfpBAk2NxACH2F31y260kt/kKnp9AXSOOxYAm0ER9nrd8e6S4q+VdNlc9kzYK/sJVxn WbVi3kLnECbGbnvx60ZgApqckxrw1zyKYFv7u3zUI+RvD9vi4QYczwhgocAUug/ZEqmqWi ha6FIpNPBvFSn8TyBIaIJK4/qdob1Ici1fjwo9/fK1xXyF6jotwSzaJQw4Qg1hTgAuCkJL ObNhc+bGpWV3a0LRqThjDevgyBOMO2EzlrsDyBZ+4HqGp+VHjt5CeVfLecYHhQ== From: Winter To: guix-patches@gnu.org Subject: [PATCH core-updates] gnu: patchelf: Update to 0.17.2. Date: Sat, 4 Mar 2023 17:58:25 -0500 Message-Id: <20230304225825.3080-1-winter@winter.cafe> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.49; envelope-from=winter@winter.cafe; helo=out-49.mta0.migadu.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Winter X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/elf.scm (patchelf): Update to 0.17.2. [uri]: Use the release tarballs posted to GitHub releases, which have superseded the ones hosted on releases.nixos.org. [arguments]: Add fixes for two tests added since the last update. [properties]: Remove release-monitoring-url, as the GitHub updater will be used now that the releases are hosted there. --- gnu/packages/elf.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 6ef09399d4..3074d22d7d 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -247,16 +247,16 @@ (define-public libelf (define-public patchelf (package (name "patchelf") - (version "0.11") + (version "0.17.2") (source (origin (method url-fetch) (uri (string-append - "https://nixos.org/releases/patchelf/patchelf-" + "https://github.com/NixOS/patchelf/releases/download/" version "/patchelf-" version ".tar.bz2")) (sha256 (base32 - "16ms3ijcihb88j3x6cl8cbvhia72afmfcphczb9cfwr0gbc22chx")))) + "1qnql97ghbb7nhv9zpm4ip0cqj05xyyxk391jv0j5r3jc0vymqms")))) (build-system gnu-build-system) (arguments '(#:phases @@ -271,6 +271,14 @@ (define-public patchelf ;; Find libgcc_s.so, which is necessary for the test: (("/xxxxxxxxxxxxxxx") (string-append (assoc-ref inputs "gcc:lib") "/lib"))) + (substitute* "tests/replace-needed.sh" + ;; This test assumes that only libc will be linked alongside + ;; libfoo when we explictly link libgcc_s. (It passes when using Nixpkgs' + ;; toolchain because of special casing: https://github.com/NixOS/patchelf/blob/65bf3d9dc12d994e73694a49c0813d753071d450/tests/Makefile.am#L73-L74.) + (("grep -v 'foo\\\\.so'") "grep -E 'libc.*\\.so'")) + (substitute* "tests/set-empty-rpath.sh" + ;; Binaries with empty RPATHs cannot run on Guix. + (("^\\$\\{SCRATCH\\}\\/simple.$") "")) #t))))) (native-inputs `(("gcc:lib" ,gcc "lib"))) @@ -279,9 +287,6 @@ (define-public patchelf (description "PatchELF allows the ELF \"interpreter\" and RPATH of an ELF binary to be changed.") - ;; This can probably be removed with the next release. - (properties - '((release-monitoring-url . "https://github.com/NixOS/patchelf/releases"))) (license gpl3+))) (define-public libdwarf base-commit: a56eafd28bdafda9824a6a85e1ab974b8210f9bb -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 22:48:06 2023 Received: (at 61969) by debbugs.gnu.org; 7 Mar 2023 03:48:06 +0000 Received: from localhost ([127.0.0.1]:44185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZOJ3-0002Jn-Lg for submit@debbugs.gnu.org; Mon, 06 Mar 2023 22:48:06 -0500 Received: from out-42.mta0.migadu.com ([91.218.175.42]:15436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZOJ0-0002Iq-IL for 61969@debbugs.gnu.org; Mon, 06 Mar 2023 22:48:04 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=winter.cafe; s=key1; t=1678160880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tBqHxnEBSWwm9y8FSfODkl/NcKJHicXNkOUHq4/KosA=; b=ZaCD+fbtmW502GO4F9HZuOtVfwSX9LX4MzlntcmtTb0RkRfPe1LNM52n2jAmnQSLc68kWP u/PioG4lTiMHGacgz1CFyexYfsbCsuz+IS0fYUGKqiBQ1DFvd6+cOYm21DUu27FG37E2In RrNYEa0iIoTmfzlJNEvEaY0q7DCOGh2QBdjdi9y+CU/4M9jBOnlXiaBphzxtGXJE3cq/cY UFOOqP4waK7fvb4smBasFSRHz3M2b1Xm0mthDNaFo1aUyXsoaghWGuKEshKdiQnuAShdsX LFwWDEU8Y1IZw79Q0iwK3wdAefc3aau9KwmkDnre1Ekqmn2HyOXr4VR/r+8InA== From: Winter To: 61969@debbugs.gnu.org Subject: [PATCH core-updates v2] gnu: patchelf: Update to 0.17.2. Date: Mon, 6 Mar 2023 22:47:52 -0500 Message-Id: <20230307034752.3113-1-winter@winter.cafe> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61969 Cc: Winter X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/elf.scm (patchelf): Update to 0.17.2. [uri]: Use the release tarballs posted to GitHub releases, which have superseded the ones hosted on releases.nixos.org. [arguments]: Add fixes for two tests added since the last update. [properties]: Remove release-monitoring-url, as the GitHub updater will be used now that the releases are hosted there. --- gnu/packages/elf.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 6ef09399d4..1c8fc80365 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -247,16 +247,16 @@ (define-public libelf (define-public patchelf (package (name "patchelf") - (version "0.11") + (version "0.17.2") (source (origin (method url-fetch) (uri (string-append - "https://nixos.org/releases/patchelf/patchelf-" + "https://github.com/NixOS/patchelf/releases/download/" version "/patchelf-" version ".tar.bz2")) (sha256 (base32 - "16ms3ijcihb88j3x6cl8cbvhia72afmfcphczb9cfwr0gbc22chx")))) + "1qnql97ghbb7nhv9zpm4ip0cqj05xyyxk391jv0j5r3jc0vymqms")))) (build-system gnu-build-system) (arguments '(#:phases @@ -271,6 +271,14 @@ (define-public patchelf ;; Find libgcc_s.so, which is necessary for the test: (("/xxxxxxxxxxxxxxx") (string-append (assoc-ref inputs "gcc:lib") "/lib"))) + (substitute* "tests/replace-needed.sh" + ;; This test assumes that only libc will be linked alongside + ;; libfoo, but we also link libgcc_s. + (("grep -v 'foo\\\\.so'") "grep -E 'libc.*\\.so'")) + (substitute* "tests/set-empty-rpath.sh" + ;; Binaries with empty RPATHs cannot run on Guix, because + ;; we still need to find libgcc_s (see above). + (("^\\$\\{SCRATCH\\}\\/simple.$") "")) #t))))) (native-inputs `(("gcc:lib" ,gcc "lib"))) @@ -279,9 +287,6 @@ (define-public patchelf (description "PatchELF allows the ELF \"interpreter\" and RPATH of an ELF binary to be changed.") - ;; This can probably be removed with the next release. - (properties - '((release-monitoring-url . "https://github.com/NixOS/patchelf/releases"))) (license gpl3+))) (define-public libdwarf base-commit: a56eafd28bdafda9824a6a85e1ab974b8210f9bb -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 22:49:26 2023 Received: (at 61969) by debbugs.gnu.org; 7 Mar 2023 03:49:26 +0000 Received: from localhost ([127.0.0.1]:44190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZOKM-0002O2-BM for submit@debbugs.gnu.org; Mon, 06 Mar 2023 22:49:26 -0500 Received: from out-12.mta0.migadu.com ([91.218.175.12]:16473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZOKK-0002Nt-Sc for 61969@debbugs.gnu.org; Mon, 06 Mar 2023 22:49:25 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=winter.cafe; s=key1; t=1678160964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZYFOEbxYp22Rcpu452/SftPve5gWS4RpA0eNnqt1suw=; b=aeSof2IbgHhQaFNFCQ0iC9xIIuiNZilsZ1qCv71ZU+rjrQ1FDXtl6kjHC4hnGAhBnn3kdf 3iqsx7ZhceINsAhzfMRwntGeojiWEHDkJzHyADNvJxLrdNWkonQoYGa1QBDmVgrhgqQHyx 8J6P7d9wjIVVI9vezrlFC/QLIJ+h2TNxvicSCiVcmr1Vg4CaRsWww5RmlDoQdZRAGam51c cD/1zg/6PFyNPYFug4TDdwfmxyY+yozscpHGo2KxjVYDlm8O9F3ghIubI2tNiHPNGKq9uo GZbXYUfSa1aY1Ls7Rsc4x0Zof/RIqj6r3Qt6IiRtJdDBuQ8qeFu7TqAKnjasaw== From: Winter Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: Re: [PATCH core-updates v2] gnu: patchelf: Update to 0.17.2. Date: Mon, 6 Mar 2023 22:49:12 -0500 References: <20230307034752.3113-1-winter@winter.cafe> To: 61969@debbugs.gnu.org In-Reply-To: <20230307034752.3113-1-winter@winter.cafe> Message-Id: X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61969 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) v2 fixes the comments to be more accurate, the actual code remains unchanged. Thanks, Winter From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 21 23:37:10 2024 Received: (at 61969-done) by debbugs.gnu.org; 22 Jan 2024 04:37:10 +0000 Received: from localhost ([127.0.0.1]:39627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRm3Z-0004U4-N8 for submit@debbugs.gnu.org; Sun, 21 Jan 2024 23:37:09 -0500 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]:46533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRm3S-0004TF-SJ for 61969-done@debbugs.gnu.org; Sun, 21 Jan 2024 23:37:06 -0500 Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-68543244259so12553316d6.1 for <61969-done@debbugs.gnu.org>; Sun, 21 Jan 2024 20:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705898213; x=1706503013; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=FF33pyKav0m1/0Bp3jarpjg3yiWMxi5t4j0u3am6F8U=; b=PArE6V9PaqbYRFkpd7r4zxg40kp1sIMPAxx+SncQoUnRt3K1ikRFbUYb+g06P3G7Ep Q8RXaXHr6wnfo71v/ig4HigH5O821hzywupAzyRDqGSplQh6sJPfss/ap1gIs6PzTv+v Qaj1rWgO2+B7QiMkK1vcXAuWK0IYFm2KNZp2EM3x1hPWFU73F//6PiyG8w/PTBdMNXkT 5Io3ghR0KwTnz51c4/6to1WZi5ZQSQZQrIYa/AvSyTyl9DH2BsIqTG67cHGhfh3Wlo9K BI245pYbux/vh1rOlCITScKt5eJE2wblMXkYnJXWZRzpK3L1Sl1VjF4yYeuXenRNcD0U FrCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705898213; x=1706503013; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FF33pyKav0m1/0Bp3jarpjg3yiWMxi5t4j0u3am6F8U=; b=gA6BD2+MgubFdN3fnIit/a//gIkT+nnDiNecLOu9kyc0bNScl8ythe7HzznQz5yjMA B0/B2GnO5mnttlmDclBXmJtoNCXteFp4xSMrNPN1UVKOAaTzRR5GenmN697XTjpr9bjQ /sCeKh07+NMX10h2/s0ncaVXoGGwKGY5G/6VM/sPh6XQC1iiwMXM/xeMIzfnv3DcfJkr Nl3LBsefm4pKq1iObt5hXYxBHXgDLGMh4yS7VbzCtwChGsFoTYPG1QFt0ywpDJuDBnCj rEYwXM2NJFUINhubyrV5z5dFEBhT2gu6ciy10dbPjMa1UE0uFN54/67wWXgLLxLmaA0p WZ5g== X-Gm-Message-State: AOJu0YxdiNnVKEbhcOpmqQc2jLRhtFawyiMTr4a3InP/hCHu6wKRmNZH skrNJ6AWJR2DBGK0BuGLHZ/mWo44R/5hLnmopFeR+sCTRG3kdHYq2GJVQzqPDrk= X-Google-Smtp-Source: AGHT+IHvJfZzuhlnGkac9TQBmRQefWxTvYVmJfepmXcsEzAk0W/zlFykJqvWtPpPLfhhx1nhjPpmjw== X-Received: by 2002:a05:6214:2587:b0:681:87aa:260 with SMTP id fq7-20020a056214258700b0068187aa0260mr5263977qvb.88.1705898212834; Sun, 21 Jan 2024 20:36:52 -0800 (PST) Received: from hurd (dsl-10-128-232.b2b2c.ca. [72.10.128.232]) by smtp.gmail.com with ESMTPSA id y20-20020ad445b4000000b006816ffc7113sm2055899qvu.63.2024.01.21.20.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 20:36:52 -0800 (PST) From: Maxim Cournoyer To: Winter Subject: Re: bug#61969: [PATCH core-updates] gnu: patchelf: Update to 0.17.2. In-Reply-To: (winter@winter.cafe's message of "Mon, 6 Mar 2023 22:49:12 -0500") References: <20230307034752.3113-1-winter@winter.cafe> Date: Sun, 21 Jan 2024 23:36:51 -0500 Message-ID: <874jf656ho.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61969-done Cc: 61969-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Winter writes: > v2 fixes the comments to be more accurate, the actual code remains unchanged. Applied to core-updates (with a post-update to 0.18.0). -- Thanks, Maxim From unknown Fri Jun 20 20:02:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 19 Feb 2024 12:24:19 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator