From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#24083: guix lint doesn't actually fail on some errors Date: Wed, 27 Jul 2016 23:12:22 +0200 Message-ID: <20160727231222.66849389@scratchpost.org> References: <20160727002502.4acf8f47@scratchpost.org> <87mvl2x0ic.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSW8a-0007nZ-7m for bug-guix@gnu.org; Wed, 27 Jul 2016 17:13:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSW8U-0004zr-4b for bug-guix@gnu.org; Wed, 27 Jul 2016 17:13:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSW8U-0004zn-0z for bug-guix@gnu.org; Wed, 27 Jul 2016 17:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bSW8T-00035C-OU for bug-guix@gnu.org; Wed, 27 Jul 2016 17:13:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mvl2x0ic.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 24083@debbugs.gnu.org On Wed, 27 Jul 2016 22:57:15 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Danny Milosavljevic skribis: >=20 > > guix lint doesn't actually fail on some errors. =20 >=20 > It never pretended to exit with non-zero when warnings are emitted. :-) > (These are warnings, not errors.) Too bad :) I wrote a little helper script which was supposed to prevent me from postin= g packages that don't build or lint. Then I found out that the lint actuall= y doesn't fail on warnings. So now my script is only half as useful (the bu= ilder does fail on build error). It would be nice to have a way to also check the lint status.