GNU bug report logs -
#73541
[PATCH] gnu: Add patchelf-0.16.
Previous Next
Reported by: Hilton Chain <hako <at> ultrarare.space>
Date: Sun, 29 Sep 2024 01:34:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73541 in the body.
You can then email your comments to 73541 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#73541
; Package
guix-patches
.
(Sun, 29 Sep 2024 01:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hilton Chain <hako <at> ultrarare.space>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 29 Sep 2024 01:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <http://www.gnu.org/licenses/>.
(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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#73541
; Package
guix-patches
.
(Sun, 06 Oct 2024 10:29:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 73541 <at> debbugs.gnu.org (full text, mbox):
user guix
usertag 73541 + reviewed-looks-good
thanks
<#secure method=pgpmime mode=sign>
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“You can tell whether a man is clever by his answers.
You can tell whether a man is wise by his questions.”
— Naguib Mahfouz
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 07 Oct 2024 10:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hilton Chain <hako <at> ultrarare.space>
:
bug acknowledged by developer.
(Mon, 07 Oct 2024 10:03:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 73541-done <at> debbugs.gnu.org (full text, mbox):
Hilton Chain <hako <at> ultrarare.space> skribis:
> * gnu/packages/elf.scm (patchelf-0.16): New variable.
>
> Change-Id: Ide4c547734156ffe909a6d010974a7450aaa45cd
Applied, thank you and Attila!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 Nov 2024 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.