From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yCw8C36U1mQoVwAASxT56A (envelope-from ) for ; Fri, 11 Aug 2023 22:05:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AKc6Cn6U1mQKvgAAG6o9tA (envelope-from ) for ; Fri, 11 Aug 2023 22:05:18 +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 70D0A38621 for ; Fri, 11 Aug 2023 22:05:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=oozzBp3B; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691784318; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=hTsY0MUgq4zR+3jMLWQwiSOSPdMrBY6tYXCUVi/EmBo=; b=gwe5u6BmOzZmvK/gEzmO4j8NUHfN5hTe8T4lWVgX9OFFjVOUeUkG5hmfF7oQvaNoez2QWX 5LLQ+FPGfXXcoknDQLBSAZdUBYQ38znvN9IoXAupGODHoBNO4ghRii26g1rf14Xzb5zXFj bHWiJIvLJXNowk9au8m7K2KkU6g1W/+m6Ij2rsKc97uUNOye0brgn6+r8FXtEqV1rbh+g3 /FDvY4YT+j1g8dnoNoqIYRjsXExOPkZ17eYsyspwj0fau1JwyvIvsFjGgLcA0wsP4sgtZo 3D61ZQ7P0OaPNguxEswueNuyTOgHPX2GnuD6EpGrHQoi0gbnjKwRgYiK1qXY5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=oozzBp3B; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691784318; a=rsa-sha256; cv=none; b=gLsNQgtzKFf7YM6tB33vEVf4pIKcCzCdHGufuo89Vs2OQtcnWTLZ+aPbLbqgm47t0loJGN 49jf2JbfKFogSnF9JmM7vKwe306dbOHH9/kdhm3dOBaRsNSTbwt2w4tEzh+9H37SsQhIbf lZKlQsQLHQXoG6Pd+G6g1pxtWL+Khz3T2kXSMyVvbk8qJUiGjaMjwuoyHBlUvsPCIWc7eG 8Fr6Y0WhWGaZlELywCtWcMUZ2WyYVMC7XNlJS21K8wU7z0LpxHaK1UuwNa6cpq4b3I/MB6 fVbeD0hgmJvojnGiMvgsISGD2OqpqPM+83ydEYImHaMHJVUJvdZb/kUnQElqAg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUYNc-0003d4-Qh; Fri, 11 Aug 2023 16:05: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 1qUYNb-0003cw-OE for bug-guix@gnu.org; Fri, 11 Aug 2023 16:05:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUYNb-0007M3-FL for bug-guix@gnu.org; Fri, 11 Aug 2023 16:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUYNb-0004TS-7J for bug-guix@gnu.org; Fri, 11 Aug 2023 16:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65231: refresh: Exception in manifest is silenced, cause all packages to be selected Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Aug 2023 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65231@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.169178428017146 (code B ref -1); Fri, 11 Aug 2023 20:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2023 20:04:40 +0000 Received: from localhost ([127.0.0.1]:48116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUYND-0004ST-Jr for submit@debbugs.gnu.org; Fri, 11 Aug 2023 16:04:40 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUYNA-0004SA-FB for submit@debbugs.gnu.org; Fri, 11 Aug 2023 16:04:38 -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 1qUYN5-0003Zz-1Q for bug-guix@gnu.org; Fri, 11 Aug 2023 16:04:31 -0400 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUYN3-00070c-JO for bug-guix@gnu.org; Fri, 11 Aug 2023 16:04:30 -0400 Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-6418d8a659fso5585426d6.0 for ; Fri, 11 Aug 2023 13:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691784268; x=1692389068; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hTsY0MUgq4zR+3jMLWQwiSOSPdMrBY6tYXCUVi/EmBo=; b=oozzBp3BqdFfznH/2P9iIQHo3vcGF+3dPXBRI08vNmzgCMWbTCRCrGYZHs0VtbFhOZ w1yrJZ5sK/XGijN9W3FWihveLccZFYJ0VGA6PBTF/SRElQjUDhmDxjdVObzucyQhSojS 6ORhC/EasvSdFCkQLKgbXIGfB0sN8AVARLPBzwITN0rwYvWYTuPz5rVtVOzm8JqEdAa+ wrFoAzui4Zy2TmwADij8J9INNhxu/tRGau6CuCe9qk4Is7BA5LaCGUAuhACavD5phyDv 3RxABbYqp0yR4ynfLS1+xenGPPmzJh4WuwvUtUGXsDt3IdI47ECv82ruVuZAZweT9owr NQ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691784268; x=1692389068; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hTsY0MUgq4zR+3jMLWQwiSOSPdMrBY6tYXCUVi/EmBo=; b=ThWnjJXiePMEVL/vipxgCQ21J4dk4eszvTp2a1Iz2GgYHknjnxFQbxJMmUFeP0YywT /lF2j8VzTTKR1RCjrL5hb/BFOUXHZ0xd4rsQjqwSc/QlkFrqqPAvvKyYFjTeiyxwbrde jeSJEFAcdX6LlmN3N+6+z+wb2RQVfkObYNhoX77sxVaYFGhll4yvY6lYqZ2y6tRx7wuI NJad1CITm1C1namV7nGfVQfkRWxNUt2XxThMar0ZFFMVY/gOGy3KITtK6EqUtxdjGNbm fKAsfcBLshrXFfmUxtheCu2A96dARNDYDa/+tYSUeG72J1fFhr4sRswMsYMx5qpjeXm2 b57Q== X-Gm-Message-State: AOJu0YxoyPN3vr8QciDRIehysEh7pimGAnIRjn3CLyKNlBM5/9+oKvsD 4VuddoaupwMSBYtiFRWGoqYy+xHJ8youYA== X-Google-Smtp-Source: AGHT+IGZDrOQdUv6qOZiyo9NadZQrsZA+DSX5qMZzeXmQ0/Jg2nD9TOqBGePHENqWCvII91vbTRNow== X-Received: by 2002:a0c:e281:0:b0:63c:fbe9:6837 with SMTP id r1-20020a0ce281000000b0063cfbe96837mr2454115qvl.11.1691784268253; Fri, 11 Aug 2023 13:04:28 -0700 (PDT) Received: from hurd (dsl-205-236-230-92.b2b2c.ca. [205.236.230.92]) by smtp.gmail.com with ESMTPSA id p14-20020a0ccb8e000000b0063d245c00b5sm1449966qvk.0.2023.08.11.13.04.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 13:04:28 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 11 Aug 2023 16:04:27 -0400 Message-ID: <87sf8pl510.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 70D0A38621 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 2.82 X-Migadu-Spam-Score: 2.82 X-TUID: Fja3MVMtz666 Hi Guix, Consider the following manifest: --8<---------------cut here---------------start------------->8--- (use-modules (guix packages) (guix profiles) (guix utils) (gnu packages)) (define %qt-major-version "6") (manifest (map package->manifest-entry (fold-packages (lambda (package lst) (let ((uri (and=> (package-source package) (lambda (x) (and (origin? x) (origin-uri x)))))) (if (and uri (string? uri) (string-prefix? "mirror://qt/" uri) (= %qt-major-version (version-major (package-version package)))) (cons package lst) lst))) '()))) --8<---------------cut here---------------end--------------->8--- There's a subtle bug in it, which is the '=' function which is used instead of 'string=?'. I'd expect 'guix refresh -m qt-manifest.scm' to let this exception interrupt execution, but instead it proceeds to refresh all (?) the packages (taking a long time to compute). At the REPL, the error is reported as: --8<---------------cut here---------------start------------->8--- ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure =: Wrong type argument in position 1: "6" --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim