GNU bug report logs - #23349
Compile output shall be error output

Previous Next

Package: guile;

Reported by: Jean Louis <guix <at> rcdrun.com>

Date: Sat, 23 Apr 2016 19:38:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

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 23349 in the body.
You can then email your comments to 23349 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#23349; Package guile. (Sat, 23 Apr 2016 19:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean Louis <guix <at> rcdrun.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 23 Apr 2016 19:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <guix <at> rcdrun.com>
To: bug-guile <at> gnu.org
Subject: Compile output shall be error output
Date: Sat, 23 Apr 2016 13:36:30 +0200
When editing a guile file and running it, it is going to compile it, and
there are warnings:

;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/data1/protected/bin/webm2html
;;; compiled
;;;       /home/data1/protected/.cache/guile/ccache/2.0-LE-8-2.0/home/data1/protected/bin/webm2html.g\
o

This kind of warnings is not desired in the output of the command and
warning shall be given on the error output and not on standard output,
so that it is possible, just with any other programs to redirect the
warnings to dev null, for example: myguile.scm 2 > /dev/null, to avoid
such warnings.

This does not work as warnings are given on standard output.

Jean Louis




Information forwarded to bug-guile <at> gnu.org:
bug#23349; Package guile. (Sat, 25 Jun 2016 20:14:01 GMT) Full text and rfc822 format available.

Message #8 received at 23349 <at> debbugs.gnu.org (full text, mbox):

From: Matt Wette <matt.wette <at> gmail.com>
To: 23349 <at> debbugs.gnu.org
Subject: Compile output shall be error output  
Date: Sat, 25 Jun 2016 13:12:59 -0700
This issue is very similar to that in #16364.





Information forwarded to bug-guile <at> gnu.org:
bug#23349; Package guile. (Sat, 25 Jun 2016 20:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 23349 <at> debbugs.gnu.org (full text, mbox):

From: Matt Wette <matt.wette <at> gmail.com>
To: 23349 <at> debbugs.gnu.org
Subject: Re: Compile output shall be error output  
Date: Sat, 25 Jun 2016 13:54:25 -0700
[Message part 1 (text/plain, inline)]
And I believe this works as asked.  Below I execute the same “load” three times under guile, under bash: first two w/o “2>/dev/null”, and the third time with “2>/dev/null” .  For the fourth time, I use “2>/dev/null -s ,update” to process as script (and skip the banner).

mwette$ guile
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (load ",update") 
;;; note: source file /Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm
;;;       newer than compiled /Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm
;;; compiled /Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm.go
$1 = 0
scheme@(guile-user)> ^D

mwette$ guile 
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (load ",update")
;;; note: source file /Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm
;;;       newer than compiled /Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm
;;; compiled /Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/Users/mwette/repo/sv/nyacc.git/module/nyacc/lang/c99/cpp.scm.go
$1 = 0
scheme@(guile-user)> ^D

mwette$ guile 2>/dev/null
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (load ",update")
$1 = 0
scheme@(guile-user)> ^D

mwette$ guile 2>/dev/null -s ,update

mwette$ 

[Message part 2 (text/html, inline)]

Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Tue, 28 Feb 2017 15:08:02 GMT) Full text and rfc822 format available.

Notification sent to Jean Louis <guix <at> rcdrun.com>:
bug acknowledged by developer. (Tue, 28 Feb 2017 15:08:02 GMT) Full text and rfc822 format available.

Message #16 received at 23349-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Matt Wette <matt.wette <at> gmail.com>
Cc: 23349-done <at> debbugs.gnu.org
Subject: Re: bug#23349: Compile output shall be error output
Date: Tue, 28 Feb 2017 16:07:39 +0100
On Sat 25 Jun 2016 22:54, Matt Wette <matt.wette <at> gmail.com> writes:

> And I believe this works as asked. Below I execute the same “load” three times under guile, under bash: first two w/o “2>/dev/null”, and the third time with “2>/dev/null” . For the
> fourth time, I use “2>/dev/null -s ,update” to process as script (and skip the banner).

Thanks for checking.  Closing as done; please follow up on the bug if
there is an error.

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Mar 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.