From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IPccCHC7W2BVCgEAgWs5BA (envelope-from ) for ; Wed, 24 Mar 2021 23:21:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gIXxA3C7W2DFUQAA1q6Kng (envelope-from ) for ; Wed, 24 Mar 2021 22:21:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5891425B11 for ; Wed, 24 Mar 2021 23:21:35 +0100 (CET) Received: from localhost ([::1]:46326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPBsc-0000Ig-9I for larch@yhetil.org; Wed, 24 Mar 2021 18:21:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPBs6-0000Hb-Fr for bug-guix@gnu.org; Wed, 24 Mar 2021 18:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPBs6-000387-7b for bug-guix@gnu.org; Wed, 24 Mar 2021 18:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPBs6-0000ay-2u for bug-guix@gnu.org; Wed, 24 Mar 2021 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#24083: guix lint doesn't actually fail on some errors Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Mar 2021 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24083 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Received: via spool by 24083-submit@debbugs.gnu.org id=B24083.16166244302219 (code B ref 24083); Wed, 24 Mar 2021 22:21:02 +0000 Received: (at 24083) by debbugs.gnu.org; 24 Mar 2021 22:20:30 +0000 Received: from localhost ([127.0.0.1]:36313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPBrZ-0000Zj-Nz for submit@debbugs.gnu.org; Wed, 24 Mar 2021 18:20:29 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:37513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPBrY-0000ZS-FP for 24083@debbugs.gnu.org; Wed, 24 Mar 2021 18:20:28 -0400 Received: by mail-wr1-f44.google.com with SMTP id x16so348264wrn.4 for <24083@debbugs.gnu.org>; Wed, 24 Mar 2021 15:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=SACZidwT32HfOYkZ6wPFyozXQuTROsHHyiK8y2GFhqc=; b=UvZGptFgl/qx1nqkywY4SQ1YO0PSLw05rORLLiYMHVplF88RNU+YEqYo/Cx7KwdTtc Morhl6GXky6C+EesrDqwR6ksTEUmKBaWcn3l45qSgQjLG8IB1lngWFkAX5AXGNRPrsSy JA7hjpvjuOVE7ej5VM1UmN2ef9HG4AEuGRSH8w9uZ2eErPzPKJo5/tdSVvHyWKj5+p8e TNWT4vvtfsBC2mIrLXlqvJ/INhikoCWsousxd+ssFrUwDZhQU8mI3FZhmryIS08bwcM+ yNTIoQtqC6a6AQngrRPlusZ65k37km+J7GrqMm1cwTR4+3zOPBqYic03E/hj64QF/JS0 WSuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=SACZidwT32HfOYkZ6wPFyozXQuTROsHHyiK8y2GFhqc=; b=gub5Kv+Cd71wkQaMyeNtlUFDG/Qhqf4xd8BJdolREfm+Bu2jWPhycPAv9OrT0TI1vd yLbl9dqvYEicLUE5PBKZGXwfdG29R3xN6JnwdffgkxTaA4BGG45MK93sVvGNQv2EKyEr 1CkNQoZnBqWfVImO/w2Ha1spHqZ/im5J4yWaIZHLP47vOpEqpiR4Hs+QwOhHJC1GhpF3 q3tJK4O/R7dQpVODbskF+kKMVnhFe83NlswsY4yo46eNh9V3PZ/QX6+N6Ppl+zQqPvsg MgPVDGan4qfwRhQUaCc+vr9hXPGDPH3xBQtAtBprF+aqghWUDRKnGN4uMEbtVPwfjoY6 7xTA== X-Gm-Message-State: AOAM530JHqhshR54MORq/ipTfkaR4fOWDIZHMPXmKRUcmzoGnfGSkqnv PvlohJpBo0HY3JWx/xkQiF50a+nqrnA= X-Google-Smtp-Source: ABdhPJw+IeHnBiNRpC6MhtS6BWzcIp+S6agyVLNDalWpzzVvHl0NWE7y8yhymOz6qc6b7rn13UT4Gw== X-Received: by 2002:a05:6000:108b:: with SMTP id y11mr5830032wrw.196.1616624422644; Wed, 24 Mar 2021 15:20:22 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id q9sm4790530wrp.79.2021.03.24.15.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 15:20:22 -0700 (PDT) From: zimoun References: <20160727002502.4acf8f47@scratchpost.org> <87mvl2x0ic.fsf@gnu.org> <20160727231222.66849389@scratchpost.org> Date: Wed, 24 Mar 2021 23:19:04 +0100 In-Reply-To: <20160727231222.66849389@scratchpost.org> (Danny Milosavljevic's message of "Wed, 27 Jul 2016 23:12:22 +0200") Message-ID: <86tup09ovb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 24083@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616624495; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SACZidwT32HfOYkZ6wPFyozXQuTROsHHyiK8y2GFhqc=; b=kFe8VYnLaY64aEna1LxxDeQl0IobYpmdC48MGGBcCPZT1y33fMx4EThEZ492rs1L2DLBG+ NT9p8jqghu7+wzNEVmhurU3unZBoRJ1/dIVJvBZW3sijSiwbT2Sw64WIrK9BRGGBJS40Zv EHFXOxKn/+zyRp0doWhwZMT8y4yPd9sXMDPvu3bN5+HA5RuWhGSEXp2vjVfBAPMAJBaCiv jlr3uW3mU1Y7G9DcSOL9WoNXB8ltyj93KGEFeI/HO+89i3JdypO7L+2uKOT353puw8XEJb DI2j6Kjrx1sv1hYuIhxZcGxKQbypwsBK9DSeclxvLNkVGtEb8vCXlGTGBBUQpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616624495; a=rsa-sha256; cv=none; b=BQBnoX1/KjBC0egxiPCyiizl6PXw26C+b4FEarxRzJQNUM4hJ5dihgprkWKtuw5Gg1iQEl 3QqymUv8L9yi3t+G0oaAk+uVlLlm8HnGOhc+99AC+dzsG5gNAe3cyN4lBPA/ea/k2p1GhY zh2NLRZmYTBi3qRfyGzrtE/DGtwr67lyp168+kFR3fWSlCsgLT+/VXpeDsaU/BxN66MjZB n38/TKMHtEEnkhuGtWvTxkn8Xn9+SHhoETBMoSbFTP8MbOmHJ9Kjd65VR9+GOS6KgY7FgY G+t+M3PY048qIGiQS24bV2kOlrBo4wFw1tnG2Mld/NJ7XbhFWsJw8NHOtz9vYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=UvZGptFg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=UvZGptFg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5891425B11 X-Spam-Score: -1.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: utsMUpbVWGeZ Hi, On Wed, 27 Jul 2016 at 23:12, Danny Milosavljevic = wrote: > On Wed, 27 Jul 2016 22:57:15 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wr= ote: >> Danny Milosavljevic skribis: >>=20 >> > guix lint doesn't actually fail on some errors.=20=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 post= ing > packages that don't build or lint. Then I found out that the lint actually > 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. The good news is that the initial example =E2=80=99perl-io-socket-inet6=E2= =80=99 now does not report any linting error. :-) Well, on the other side, it is still the same behaviour. --8<---------------cut here---------------start------------->8--- $ guix lint julia ; echo $? gnu/packages/julia.scm:301:0: julia@1.5.3: line 301 is way too long (107 ch= aracters) gnu/packages/julia.scm:303:0: julia@1.5.3: line 303 is way too long (106 ch= aracters) gnu/packages/julia.scm:226:13: julia@1.5.3: can be upgraded to 1.6.0 gnu/packages/julia.scm:227:12: julia@1.5.3: source not archived on Software= Heritage 0 --8<---------------cut here---------------end--------------->8--- What do we do. On one hand, =C2=ABit never pretended to exit with non-zero when warninf=C2=BB and on the other hand it could be annoying. Well, since it is 4 years and 34 weeks, I consider it is not a big deal and so we can close. WDYT? All the best, simon