From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GGOcMyURJ2SKlgAASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 18:58:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YLwjMyURJ2QEswAAauVa8A (envelope-from ) for ; Fri, 31 Mar 2023 18:58:13 +0200 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 7D55C10AF1 for ; Fri, 31 Mar 2023 18:58:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piI4i-0005fM-MI; Fri, 31 Mar 2023 12:58:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piI4h-0005ec-Jz for bug-guix@gnu.org; Fri, 31 Mar 2023 12:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piI4h-0002th-CW for bug-guix@gnu.org; Fri, 31 Mar 2023 12:58:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piI4g-0001ae-Md for bug-guix@gnu.org; Fri, 31 Mar 2023 12:58:02 -0400 Subject: bug#24083: guix lint doesn't actually fail on some errors Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 31 Mar 2023 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24083 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Danny Milosavljevic Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 24083-done@debbugs.gnu.org, zimoun Mail-Followup-To: 24083@debbugs.gnu.org, maxim.cournoyer@gmail.com, dannym@scratchpost.org Received: via spool by 24083-done@debbugs.gnu.org id=D24083.16802818436048 (code D ref 24083); Fri, 31 Mar 2023 16:58:02 +0000 Received: (at 24083-done) by debbugs.gnu.org; 31 Mar 2023 16:57:23 +0000 Received: from localhost ([127.0.0.1]:34408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piI43-0001ZR-68 for submit@debbugs.gnu.org; Fri, 31 Mar 2023 12:57:23 -0400 Received: from mail-qv1-f53.google.com ([209.85.219.53]:38682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piI40-0001ZC-T8 for 24083-done@debbugs.gnu.org; Fri, 31 Mar 2023 12:57:21 -0400 Received: by mail-qv1-f53.google.com with SMTP id kr22so2786273qvb.5 for <24083-done@debbugs.gnu.org>; Fri, 31 Mar 2023 09:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680281835; x=1682873835; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=gihrHMBP4bKFLrZ8+KVejmTzKA3l7k7dLdE1tSS9zjI=; b=fjm0b8JikL27BwC1GDkCoTwXD1HmxGeeSsT5tC3d/5BDp38SBh2psNIUC3LLQmNUrH +GQ8XDjEOlZiyySGNnDcjjNoF3TO1Qm14F9E7SkneVYKu5fFNU/nW4O20yJr71c6guTv /GbogrBhX0IQRufJdhf4b9G2LavXACyGLN4z+ySTngNhEitp8awKWSYmR0kkUVQ4QBdG c5v27WoZLqjEI2GFtY+lkM9dzjaMS+S3YVOd5qw731vkMXN5l7fwdmoxjhpyt7Wyj8cX wQcpkyyYxpp180CkBz4CPzPi7t7sImQDPqxkbALocKOXyy2RCW+UT3b/9AEMG2VGWVZI tOvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281835; x=1682873835; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gihrHMBP4bKFLrZ8+KVejmTzKA3l7k7dLdE1tSS9zjI=; b=Uf3JVHfYTzxIh5TZ77XGQwkYvCsnFpcM2OvYe5z1JDP2BolqdnnwF+pFXNZkDsvnI1 B3pZkXvGwCtS36teyDNb+kdqoJ3MlfBKPGzvMga+Qs9hrCUBHBlT6MWnLC94evyYFI9A nWxprZ00pq0j3wNlU89S/UKBnx4EuqKmURrrxW8iDXoS2sPqTwh5HHL2VOMHD32mcV0u pUIeEZNG6jwbtVoOL60war//LXwIyJQ31SO9O6X8KMATwcVQENB5m9liyL15DBO4dvZr bMuMND9pNwS2IsUCHZy91SqAtSUTtXRBlAOYX4S01rwmhZtizG0TmIcua1aZQT+11P32 yD4Q== X-Gm-Message-State: AAQBX9efGsjA//CcyNIJtOgBIH6t07HhvIOGYlNEFrPClVYA9TF6XCZl XrOT6j2ni7sJruVfGMm66DkzrsYGh1h0Yw== X-Google-Smtp-Source: AKy350ZyR2d1SwtDo4Qpnt1vhF6ihvUHO+NnKtN1YaHJg63eTHCzSUTjkO2M8OnE/P7fodnHBVk47w== X-Received: by 2002:a05:6214:2604:b0:5e0:30cc:830b with SMTP id gu4-20020a056214260400b005e030cc830bmr14666824qvb.0.1680281834585; Fri, 31 Mar 2023 09:57:14 -0700 (PDT) Received: from hurd (dsl-10-149-138.b2b2c.ca. [72.10.149.138]) by smtp.gmail.com with ESMTPSA id t7-20020a37aa07000000b0074a0a47a1f3sm807266qke.5.2023.03.31.09.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:57:14 -0700 (PDT) From: Maxim Cournoyer References: <20160727002502.4acf8f47@scratchpost.org> <87mvl2x0ic.fsf@gnu.org> <86pmvmoa6q.fsf@gmail.com> <20210713122021.258f00f7@scratchpost.org> Date: Fri, 31 Mar 2023 12:57:12 -0400 In-Reply-To: <20210713122021.258f00f7@scratchpost.org> (Danny Milosavljevic's message of "Tue, 13 Jul 2021 12:20:21 +0200") Message-ID: <87edp4x3iv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680281893; a=rsa-sha256; cv=none; b=jMZG8SFLJOywHHE5m8RIWscuB/XvMUw9uApP1t0plII5IFc0oMy96DeP53mlCKUqpxZwg8 cZLQDilBPrJZHgSkzhrgF6wJddAvz7JnatfIRrnVdUhmwz89VdOIky2ReGik/II1cwenyz nOOVKZOAk5KofoOvbbpMYbiHLYsK8ulO9xuEgW4gibo9IFC4qZh2TCJ0RKE0p2+FIjfnSj IqwtZdnRzMacDyA5xUnTmXmtg+lKdggXKyCj312XNCuXCI9J5tCv4RBB/QvPoO9r72o1xR 16C0n9U6xoy4Ieig8bhFtEjbxS0gaDmFCZXtATKBjR7zGocoKFu8b2Pztr2D/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fjm0b8Ji; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680281893; 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-to: 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=gihrHMBP4bKFLrZ8+KVejmTzKA3l7k7dLdE1tSS9zjI=; b=GlWZENp3PRDYi+OycFkffnGt/tVuofWUM4pEunGJEKHHoP70lvXNS+MgZdm+gjCOGPHFlh WEuljLNG78XJ8rxmM67iWm7oOzBMPUcDNz9xvZliUb6SI7jtEAhcGgcwlZsOQzaswhbg/B cHblhlulKKNjga+DPbfSBV8gkscSNfkg/QIHAMR4bUGbOthhDPtBt07iYvc2H04b0bn4gz 8qj3e6Qo6t0G4+bsdCa8zVwo4aCi1rwsuRYOnwoocbnXm4UEbiPkUbrV0y2SmsBsMzdCRK OR7RQHBITMQ74OoQeksMmXO39Hnj5Wc2/U4ykaGaSWMTH46yAwauByldsIihFw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fjm0b8Ji; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.72 X-Spam-Score: -1.72 X-Migadu-Queue-Id: 7D55C10AF1 X-TUID: +V/iCWGWB4FL Hi, Danny Milosavljevic writes: > On Tue, 13 Jul 2021 11:05:49 +0200 > zimoun wrote: > >> On Wed, 27 Jul 2016 at 22:57, ludo@gnu.org (Ludovic Court=C3=A8s) wrote: >> > Danny Milosavljevic skribis: >> >=20=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.)=20=20 > > 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 :-). --=20 Thanks, Maxim