GNU bug report logs - #24083
guix lint doesn't actually fail on some errors

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Tue, 26 Jul 2016 22:26:01 UTC

Severity: normal

Tags: moreinfo

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24083: closed (guix lint doesn't actually fail on some errors)
Date: Fri, 31 Mar 2023 16:58:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 31 Mar 2023 12:57:12 -0400
with message-id <87edp4x3iv.fsf <at> gmail.com>
and subject line Re: bug#24083: guix lint doesn't actually fail on some errors
has caused the debbugs.gnu.org bug report #24083,
regarding guix lint doesn't actually fail on some errors
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24083: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24083
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: bug-guix <at> gnu.org
Subject: guix lint doesn't actually fail on some errors
Date: Wed, 27 Jul 2016 00:25:02 +0200
guix lint doesn't actually fail on some errors.

$ guix lint perl-io-socket-inet6 ; echo $?
;;; note: source file /x/home/dannym/src/guix/gnu/packages/networking.scm
;;;       newer than compiled /x/home/dannym/src/guix/gnu/packages/networking.go
;;; note: source file /x/home/dannym/src/guix/gnu/packages/mail.scm
;;;       newer than compiled /x/home/dannym/src/guix/gnu/packages/mail.go
;;; note: source file /x/home/dannym/src/guix/gnu/packages/ldc.scm
;;;       newer than compiled /x/home/dannym/src/guix/gnu/packages/ldc.go
gnu/packages/networking.scm:437:1: perl-io-socket-inet6-2.72: line 464 is way too long (96 characters)
gnu/packages/networking.scm:437:1: perl-io-socket-inet6-2.72: line 483 is way too long (92 characters)
0
^--- ooops


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 24083-done <at> debbugs.gnu.org,
 zimoun <zimon.toutoune <at> gmail.com>
Subject: Re: bug#24083: guix lint doesn't actually fail on some errors
Date: Fri, 31 Mar 2023 12:57:12 -0400
Hi,

Danny Milosavljevic <dannym <at> scratchpost.org> writes:

> On Tue, 13 Jul 2021 11:05:49 +0200
> zimoun <zimon.toutoune <at> gmail.com> wrote:
>
>> On Wed, 27 Jul 2016 at 22:57, ludo <at> gnu.org (Ludovic Courtès) wrote:
>> > Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
>> >  
>> >> guix lint doesn't actually fail on some errors.  
>> >
>> > It never pretended to exit with non-zero when warnings are emitted.  :-)
>> > (These are warnings, not errors.)  
>
> Sure, it makes sense.  I'm just doing " |wc -l" now.
>
>> Because of that, I propose to close without modifying the returned code.
>> WDYT?
>
> Agreed.
>
> But I would suggest to document in the manual that the exit status is
> not set,  though.

Acting on the proposed and agreed closing action :-).

-- 
Thanks,
Maxim


This bug report was last modified 2 years and 130 days ago.

Previous Next


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