[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/75: gnu: patchelf: Update to 0.17.2.
From: |
guix-commits |
Subject: |
14/75: gnu: patchelf: Update to 0.17.2. |
Date: |
Sun, 21 Jan 2024 13:21:42 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 2e403edc895fb976492d80bbe809b44e90614b12
Author: Winter <winter@winter.cafe>
AuthorDate: Mon Mar 6 22:47:52 2023 -0500
gnu: patchelf: Update to 0.17.2.
* 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.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
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 a100038f14..f199ee5e4d 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -276,16 +276,16 @@ static analysis of the ELF binaries at hand.")
(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
@@ -300,6 +300,14 @@ static analysis of the ELF binaries at hand.")
;; 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")))
@@ -308,9 +316,6 @@ static analysis of the ELF binaries at hand.")
(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
- branch core-updates updated (18eb00ecb8 -> 87e62148c4), guix-commits, 2024/01/21
- 06/75: gnu: tzdata: Update to 2023d., guix-commits, 2024/01/21
- 04/75: gnu: openjdk11: Fix build., guix-commits, 2024/01/21
- 08/75: gnu: python-pyyaml: Update to 6.0.1., guix-commits, 2024/01/21
- 11/75: gnu: pcre2: Update to 10.42., guix-commits, 2024/01/21
- 12/75: gnu: qpdf: Update to 11.3.0., guix-commits, 2024/01/21
- 16/75: build-system/font: Customize %license-file-regexp., guix-commits, 2024/01/21
- 18/75: gnu: font-lato: Install license file., guix-commits, 2024/01/21
- 02/75: gnu: icedtea-7: Fix build., guix-commits, 2024/01/21
- 03/75: gnu: openjdk9: Fix build., guix-commits, 2024/01/21
- 14/75: gnu: patchelf: Update to 0.17.2.,
guix-commits <=
- 15/75: build-system/font: Add #:license-file-regexp argument., guix-commits, 2024/01/21
- 07/75: gnu: python-pytz: Update to 2023.3.post1., guix-commits, 2024/01/21
- 23/75: gnu: font-fira-go: Install license file., guix-commits, 2024/01/21
- 25/75: gnu: font-space-grotesk: Remove obsolete phase., guix-commits, 2024/01/21
- 29/75: gnu: font-dseg: Simplify "install" phase., guix-commits, 2024/01/21
- 10/75: gnu: imagemagick: Update to 6.9.12-91., guix-commits, 2024/01/21
- 01/75: gnu: ffmpeg: add svt-av1 support, guix-commits, 2024/01/21
- 05/75: dist_patch_DATA: Unregister unlisted patch., guix-commits, 2024/01/21
- 20/75: gnu: font-wqy-zenhei: Install all license files., guix-commits, 2024/01/21
- 24/75: gnu: font-comic-neue: Install license file., guix-commits, 2024/01/21