From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +PP9LoCu+GY7gAEAqHPOHw:P1 (envelope-from ) for ; Sun, 29 Sep 2024 01:33:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +PP9LoCu+GY7gAEAqHPOHw (envelope-from ) for ; Sun, 29 Sep 2024 03:33:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cfeui6Gn; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=I4EGScR8; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727573632; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sCISXDDMAXqI4l8mCgfyN3vQ+poTQ0o/0gVlB95aJec=; b=etTxOr1KjlXGWU3t5UlmZJUMEURjFfV9r6TMKgxyCyN3+vbP2HRPuJooCAablsHry4SMJS Amyci6IEfPAj6bre/7yln4xDcz9CzAWragyYTxiD0HJAb9UKKvfMjef1f/foUDxB2mODXo 7SqXAOuE7H/taljxD2eb4iXwyVT3ACw9XrRzqtt9KrjASCB1KVNhI8lLkMYnp92myj5RpH kTsfFK/iG8tuv5gG4zaRhIUJDlVZvMMkL5eZoo5S6nacalzCl0X77kmbzUgT0SWRVFigrk Xztux9Gj9wCh8w0GgxCp90ZhsqkW13irMmDGz0ves5KV+3/mw1TdUV+37JzPMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727573632; a=rsa-sha256; cv=none; b=DERwXfXmMlEwJlkIZfbYueNJY5KJs3p3t+AVIvK3/ewoHyLZuEFGSrQfj/zXsaAYmYv3Gt z2IFIOPVOFtRK/CcayErPYzIkK8uwGwmGWdLXrhc/CEiXnrFrTiCokYe1Fgxw66MM52e3j 4IMg7FjQFQFTxUSGWUeOBSDa/v5cfQPUi7tbfF7mI84zrfutNG3C6XIoa+1QDOaCFAj/ZY /yHxW7hau2/MD6BWjWFR67WauMmuC1CQxd+TTscWK+oBe1uZE15JS96OebVoLwAuukcd1z rhMKjBv4SjxsQuMhL+hEtZFPASB5V0Bg3xRRVVvCiMOiUwf8hu39bAKSkDXMdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cfeui6Gn; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=I4EGScR8; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 2D87678928 for ; Sun, 29 Sep 2024 03:33:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suioa-0000mJ-Ie; Sat, 28 Sep 2024 21:33:36 -0400 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 1suioW-0000m1-M2 for guix-patches@gnu.org; Sat, 28 Sep 2024 21:33:33 -0400 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 1suioW-0007yF-Cz for guix-patches@gnu.org; Sat, 28 Sep 2024 21:33:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=sCISXDDMAXqI4l8mCgfyN3vQ+poTQ0o/0gVlB95aJec=; b=cfeui6Gnl1bp4FCJ1ad2Gn14g5MPuQ4Vd7/THO6EW3psc3H9JhL7HXeCDzb4WukdR4KT626UoN34jKc5l7JoqchW3Suu4u68mEt3O7KlLZ/oY+EcDmVKFHx6U0mRwA6g0yzhCdl9XNZewxUzu9agXVy4SjBfm1zISUTS7097nsIcfPUlCH77SlvMAg+TM+iXjNN1CoCr3wslEjpM5memZ0QDOiswk3TUv4NbRYfslQ3EU6GmpduwTl1kTCaxZoMRgzORugS/k3GgA0O1NwCOCjgDKmYiHOr5jDqaK1lZg2ewC/9vVvP9aCKYlEmh1IZi+peon2PD6xblVoeC8FBoSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1suip0-0004Ww-EP for guix-patches@gnu.org; Sat, 28 Sep 2024 21:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73541] [PATCH] gnu: Add patchelf-0.16. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 01:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73541@debbugs.gnu.org Cc: Hilton Chain X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172757361517362 (code B ref -1); Sun, 29 Sep 2024 01:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2024 01:33:35 +0000 Received: from localhost ([127.0.0.1]:58819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suioZ-0004Vy-0a for submit@debbugs.gnu.org; Sat, 28 Sep 2024 21:33:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:46030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suioW-0004Vq-5L for submit@debbugs.gnu.org; Sat, 28 Sep 2024 21:33:33 -0400 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 1suio1-0000j7-8G for guix-patches@gnu.org; Sat, 28 Sep 2024 21:33:01 -0400 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suinz-0007wq-K3 for guix-patches@gnu.org; Sat, 28 Sep 2024 21:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1727573573; 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=sCISXDDMAXqI4l8mCgfyN3vQ+poTQ0o/0gVlB95aJec=; b=I4EGScR8Ye+nRkNSmIKpPSds+MGQpIthfjc5qQp3mXN3KrfK287wEHVfO8/5SxvloPx+YK v7jAD1epyosrZEuHFIk1BBtHI7vCIpLmY6NQsEP8LbZesAluWZTHo34f9RZfJ12NeBhbNA JWVlm2sOa67jhPrI7xPVe4W8wBcyaWpd0EANPKxZJiYEapCwkj284CymnEifIstBpMP6Q4 QZdLIVFq7ozsuOyEHQkMiq72OH0Gsp51QXHNqxNfvmgQBLB8SnkhjYekKZw1unvpacUgkH 2A2BmhsecFSyRyP6pA0YJQjPBRdpB4PSngy+ut6xtY+2NCUNF9jS4AY7JPmUSw== Date: Sun, 29 Sep 2024 09:32:39 +0800 Message-ID: <921d0ef8b647b8f0ddae91a2e1004b6ebbab284b.1727573463.git.hako@ultrarare.space> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: - Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via 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-Queue-Id: 2D87678928 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -3.31 X-Migadu-Spam-Score: -3.31 X-TUID: 72o3zDzAYIG4 * gnu/packages/elf.scm (patchelf-0.16): New variable. Change-Id: Ide4c547734156ffe909a6d010974a7450aaa45cd --- gnu/packages/elf.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index dc2db83632..119f8d13dd 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -28,6 +28,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages elf) + #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) @@ -320,6 +321,32 @@ (define-public patchelf changed.") (license gpl3+))) +;; Newer patchelf may break binaries. e.g. When setting RUNPATH for a Go +;; program. +;; See also: https://github.com/NixOS/patchelf/issues/482 +(define-public patchelf-0.16 + (package + (inherit patchelf) + (name "patchelf") + (version "0.16.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/NixOS/patchelf/releases/download/" + version + "/patchelf-" version ".tar.bz2")) + (sha256 + (base32 + "0zdby3gpmm8q4735pviaq92zj41i2rdnhwhyrsb3sinc9hzmz4db")))) + (arguments + (substitute-keyword-arguments (package-arguments patchelf) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (add-after 'fix-tests 'skip-empty-rpath-test + (lambda _ + (substitute* "tests/set-empty-rpath.sh" + (("^\\$\\{SCRATCH\\}\\/simple.$") "")))))))))) + (define-public libdwarf (package (name "libdwarf") base-commit: 5e888ec915cfdd256e726959cdc23293bc36277e -- 2.46.0