GNU bug report logs -
#28667
[PATCH] gnu: cflow: Fix preprocess option.
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Mon, 2 Oct 2017 05:08:02 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
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 28667 in the body.
You can then email your comments to 28667 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#28667
; Package
guix-patches
.
(Mon, 02 Oct 2017 05:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 02 Oct 2017 05:08:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-cflow-Fix-preprocess-option.patch (text/x-patch, inline)]
From c2a8265ecb4e52b4447f75112dace21ed5ccc12a Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Mon, 2 Oct 2017 07:38:09 +0300
Subject: [PATCH] gnu: cflow: Fix preprocess option.
* gnu/packages/code.scm (cflow): Fix preprocess option.
---
gnu/packages/code.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 6e04739f6..819c3e8d4 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -58,7 +58,12 @@
;; Needed to have cflow-mode.el installed.
(native-inputs `(("emacs" ,emacs-minimal)))
-
+ (propagated-inputs `(("gcc" ,gcc-7)))
+ (arguments
+ '(#:configure-flags (list (string-append "CPPFLAGS="
+ "-D" "CFLOW_PREPROC=\\\""
+ (assoc-ref %build-inputs "gcc")
+ "/bin/cpp\\\""))))
(home-page "https://www.gnu.org/software/cflow/")
(synopsis "Create a graph of control flow within a program")
(description
--
2.14.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28667
; Package
guix-patches
.
(Tue, 03 Oct 2017 07:42:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 28667 <at> debbugs.gnu.org (full text, mbox):
Oleg Pykhalov <go.wigust <at> gmail.com> writes:
>>From c2a8265ecb4e52b4447f75112dace21ed5ccc12a Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust <at> gmail.com>
> Date: Mon, 2 Oct 2017 07:38:09 +0300
> Subject: [PATCH] gnu: cflow: Fix preprocess option.
>
> * gnu/packages/code.scm (cflow): Fix preprocess option.
> ---
> gnu/packages/code.scm | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
> index 6e04739f6..819c3e8d4 100644
> --- a/gnu/packages/code.scm
> +++ b/gnu/packages/code.scm
> @@ -58,7 +58,12 @@
>
> ;; Needed to have cflow-mode.el installed.
> (native-inputs `(("emacs" ,emacs-minimal)))
> -
> + (propagated-inputs `(("gcc" ,gcc-7)))
I also build and used successfully without propagated-inputs.
$ guix gc --references /gnu/store/v71isli6q49clai9kkc0yylq26sl5x1d-cflow-1.5
/gnu/store/3x53yv4v144c9xp02rs64z7j597kkqax-gcc-5.4.0-lib
/gnu/store/5sv5zy2kgg6iaqyv8zw49w4243j0xkd0-gcc-5.4.0
/gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25
/gnu/store/v71isli6q49clai9kkc0yylq26sl5x1d-cflow-1.5
Do I actually need to propagated input `gcc-5' (aka `gcc')?
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Tue, 03 Oct 2017 13:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 03 Oct 2017 13:36:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 28667-done <at> debbugs.gnu.org (full text, mbox):
Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
> From c2a8265ecb4e52b4447f75112dace21ed5ccc12a Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust <at> gmail.com>
> Date: Mon, 2 Oct 2017 07:38:09 +0300
> Subject: [PATCH] gnu: cflow: Fix preprocess option.
>
> * gnu/packages/code.scm (cflow): Fix preprocess option.
> ---
> gnu/packages/code.scm | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
> index 6e04739f6..819c3e8d4 100644
> --- a/gnu/packages/code.scm
> +++ b/gnu/packages/code.scm
> @@ -58,7 +58,12 @@
>
> ;; Needed to have cflow-mode.el installed.
> (native-inputs `(("emacs" ,emacs-minimal)))
> -
> + (propagated-inputs `(("gcc" ,gcc-7)))
> + (arguments
> + '(#:configure-flags (list (string-append "CPPFLAGS="
> + "-D" "CFLOW_PREPROC=\\\""
> + (assoc-ref %build-inputs "gcc")
> + "/bin/cpp\\\""))))
Applied without the ‘propagated-inputs’, which is unnecessary, as you
hinted. :-)
Thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 01 Nov 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.