unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob 7b49f7aead0e7e9745edb75e28ee155af2c15b8e 757 bytes (raw)
name: gnu/packages/patches/patchelf-skip-no-rpath-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
diff -Nur patchelf-0.10.orig/tests/no-rpath.sh patchelf-0.10/tests/no-rpath.sh
--- patchelf-0.10.orig/tests/no-rpath.sh	1969-12-31 19:00:01.000000000 -0500
+++ patchelf-0.10/tests/no-rpath.sh	2019-11-08 13:46:44.132511756 -0500
@@ -1,4 +1,14 @@
 #! /bin/sh -e
+# This test would fail under Guix since gcc always adds RUNPATH entries,
+# so `$oldRPath` below for the built `no-rpath` binary is never empty.
+#
+# Hopefully the `no-rpath-prebuild.sh` test does include a binary
+# for this architecture without a RUNPATH, and this test is redundant,
+# so just skip it (see "Scripts-based Testsuites" in Automake's manual).
+#
+# See <https://issues.guix.gnu.org/issue/38055> for more info.
+exit 77
+
 SCRATCH=scratch/$(basename $0 .sh)
 
 rm -rf ${SCRATCH}

debug log:

solving 7b49f7aead ...
found 7b49f7aead in https://yhetil.org/guix-bugs/20191111153030.GP17621@sax.terramar.selidor.net/

applying [1/1] https://yhetil.org/guix-bugs/20191111153030.GP17621@sax.terramar.selidor.net/
diff --git a/gnu/packages/patches/patchelf-skip-no-rpath-test.patch b/gnu/packages/patches/patchelf-skip-no-rpath-test.patch
new file mode 100644
index 0000000000..7b49f7aead

1:23: trailing whitespace.
 
Checking patch gnu/packages/patches/patchelf-skip-no-rpath-test.patch...
Applied patch gnu/packages/patches/patchelf-skip-no-rpath-test.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 7b49f7aead0e7e9745edb75e28ee155af2c15b8e	gnu/packages/patches/patchelf-skip-no-rpath-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).