[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
87/115: gnu: gdb: Patch references to /bin/sh and add debug output.
From: |
guix-commits |
Subject: |
87/115: gnu: gdb: Patch references to /bin/sh and add debug output. |
Date: |
Fri, 15 Oct 2021 09:49:14 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 55833ddcab4b4ac736ac3ea427bcfd754261b9cf
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Sep 14 16:09:47 2021 -0400
gnu: gdb: Patch references to /bin/sh and add debug output.
* gnu/packages/gdb.scm (gdb-10)[outputs]: Add a debug output.
[phases]{patch-paths}: New phase.
[inputs]: Add bash.
---
gnu/packages/gdb.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index e51e17d..c3cdaf1 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -24,6 +24,7 @@
(define-module (gnu packages gdb)
#:use-module (gnu packages)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages hurd)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages readline)
@@ -57,6 +58,7 @@
(search-patches "gdb-hurd.patch"))))
(build-system gnu-build-system)
+ (outputs '("out" "debug"))
(arguments
`(#:tests? #f ; FIXME "make check" fails on single-processor systems.
@@ -66,6 +68,14 @@
,@%gnu-build-system-modules)
#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((sh (string-append (assoc-ref inputs "bash")
+ "/bin/sh")))
+ (substitute* '("gdb/ser-pipe.c"
+ "gdbsupport/pathstuff.cc")
+ (("\"/bin/sh\"")
+ (format #f "~s" sh))))))
(add-after
'configure 'post-configure
(lambda _
@@ -95,7 +105,8 @@
(for-each delete-file common)
#t)))))))
(inputs
- `(("expat" ,expat)
+ `(("bash" ,bash)
+ ("expat" ,expat)
("mpfr" ,mpfr)
("gmp" ,gmp)
("readline" ,readline)
- 74/115: gnu: python-keras: Skip a flaky test., (continued)
- 74/115: gnu: python-keras: Skip a flaky test., guix-commits, 2021/10/15
- 77/115: gnu: tzdata: Update to 2021c., guix-commits, 2021/10/15
- 83/115: gnu: curl: Honor #:tests?., guix-commits, 2021/10/15
- 75/115: gnu: glibc: Remove unneeded nscd patching., guix-commits, 2021/10/15
- 78/115: gnu: gtk+-2: Fix ‘builder’ test., guix-commits, 2021/10/15
- 79/115: gnu: diffutils: Fix signal processing., guix-commits, 2021/10/15
- 80/115: gnu: diffutils: Update to 3.8., guix-commits, 2021/10/15
- 84/115: gnu: gcc-5: Fix powerpc64le-linux build, guix-commits, 2021/10/15
- 81/115: gnu: glib: Skip ‘testfilemonitor’ test., guix-commits, 2021/10/15
- 86/115: gnu: Add ld-gold-wrapper., guix-commits, 2021/10/15
- 87/115: gnu: gdb: Patch references to /bin/sh and add debug output.,
guix-commits <=
- 88/115: gnu: gdb: Normalize indentation., guix-commits, 2021/10/15
- 92/115: gnu: rust: Bootstrap rust from 1.39.0 and optimize build time., guix-commits, 2021/10/15
- 72/115: gnu: libnice: Update to 0.1.18-0.47a9633., guix-commits, 2021/10/15
- 85/115: gnu: make-ld-wrapper: Add a LINKER argument., guix-commits, 2021/10/15
- 102/115: gnu: python-pathlib2: Update to 2.3.6., guix-commits, 2021/10/15
- 108/115: gnu: inkscape: Remove the legacy 0.92 version., guix-commits, 2021/10/15
- 100/115: gnu: python-setuptools-scm: Update to 6.3.2, guix-commits, 2021/10/15
- 101/115: gnu: python-pytest-6: Fix version via setuptools-scm., guix-commits, 2021/10/15
- 105/115: build: glib-or-gtk-build-system: Fix indentation., guix-commits, 2021/10/15
- 107/115: gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape., guix-commits, 2021/10/15