GNU bug report logs -
#61442
[PATCH] gnu: Add ddd
Previous Next
Reported by: Andy Tai <atai <at> atai.org>
Date: Sun, 12 Feb 2023 00:41:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 61442 <at> debbugs.gnu.org (full text, mbox):
Hello,
Andy Tai <atai <at> atai.org> writes:
> * gnu/packages/debug.scm (ddd): New variable
Thank you. Some comments follow.
> + (build-system gnu-build-system)
> + (inputs (list motif ncurses gdb))
> + (native-inputs (list pkg-config xorg-server-for-tests))
Nitpick: Could you move these 2 lines after arguments?
> + (arguments
> + (list #:tests? #f ;Those are manual
If I understand correctly, you're running tests in the `pre-check'
phase. Then this is not the correct way to proceed.
First you need to remove this keyword, and use (replace 'check ...)
instead of (add-before 'check 'pre-check ...)
> + ;; avoid "friend declaration specifies default arguments and isn’t a definition" errors.
Nitpick: ;; Avoid ...
and proper filling.
> + #:configure-flags #~(list "CXXFLAGS=-fpermissive")
> + #:phases #~(modify-phases %standard-phases
> + (add-before 'check 'pre-check
> + (lambda* (#:key native-inputs inputs
> + #:allow-other-keys)
Here you need to add "tests?" key, then wrap the function body within
(when tests? ...)
> + (setenv "HOME" "/tmp")
> + (let ((xvfb (search-input-file (or native-inputs
> + inputs)
> + "bin/Xvfb"))
> + (display ":1"))
> + (setenv "DISPLAY" display)
> + (system (string-append xvfb " " display " &"))))))))
Should this be (invoke xvfb ":1 &") ?
> + (synopsis "graphical front end for the command-line debugger GDB")
graphical -> Graphical.
> + (description
> + "GNU Data Display Debugger (GNU DDD) is a graphical user interface ]
Spurious "]" character.
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
This bug report was last modified 2 years and 96 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.