From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uGUUD9QLj2CEBQAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 22:30:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +FnLCtQLj2BzPwAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 20:30:12 +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 4F5A7A83B for ; Sun, 2 May 2021 22:30:11 +0200 (CEST) Received: from localhost ([::1]:41380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldIjC-0000yJ-GH for larch@yhetil.org; Sun, 02 May 2021 16:30:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIj5-0000wk-0D for bug-guix@gnu.org; Sun, 02 May 2021 16:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldIj4-0006kB-OD for bug-guix@gnu.org; Sun, 02 May 2021 16:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldIj4-0000Qz-IP for bug-guix@gnu.org; Sun, 02 May 2021 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48166: Dont stop the upgrade process - Better guix handling when Package failed to build Resent-From: bo0od Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 02 May 2021 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48166@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16199873921639 (code B ref -1); Sun, 02 May 2021 20:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2021 20:29:52 +0000 Received: from localhost ([127.0.0.1]:44556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldIiu-0000QN-Bb for submit@debbugs.gnu.org; Sun, 02 May 2021 16:29:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:42854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldIis-0000QH-A0 for submit@debbugs.gnu.org; Sun, 02 May 2021 16:29:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIir-0000tO-Sv for bug-guix@gnu.org; Sun, 02 May 2021 16:29:50 -0400 Received: from mx1.riseup.net ([198.252.153.129]:47450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIip-0006Y9-MY for bug-guix@gnu.org; Sun, 02 May 2021 16:29:49 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FYHlY3DjyzDrL8 for ; Sun, 2 May 2021 13:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1619987385; bh=5m0NBSU51gsbvHjuSl5vq1n5FPsX7L7g548vfQGXy+s=; h=To:From:Subject:Date:From; b=tCvXzCaMZYhQ3y2PZbB+Rr28pSGyjQZ9Z8vy2MY9kNhCaSzLdFge+4sW8F/F4p6+/ yaSeEV0LmQIPNZuUBZJFncjyXHzU0ZAiRlSywd6tFqL/X48tpXsjgxasox/DcZGuSg aiZgFALDpr5oWKU4P1wHV5SSpRnowAE6GjHbTsiQ= X-Riseup-User-ID: 8D2482C70C1BF9289086D95CD25BD6757E24A057282463779995073BE1AEC990 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FYHlW65D7z5vgT for ; Sun, 2 May 2021 13:29:43 -0700 (PDT) From: bo0od Message-ID: Date: Sun, 2 May 2021 20:29:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=bo0od@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619987411; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pRBlenDnN415swfwpI0Pn+7PrLQylGNJMGS/BrIQPuc=; b=k0FXiWbs0Anm+/4rGVYBDQ4Wuh8UtMtux2j3ag8Kgor0OQEUgAFZqjtIOzLsAXhpz7Uram n8WsdFO1pWa+BomUfSC5ErkAW7Rt6mRXOA4ie06v+35BKVcc6X7mIzqy/J7nAQjwkkoPFM qIVRhVCjpCXQ6Ysq936PLIhhQ8e6WlQmh/M7VG0FU2Os5FCD1gYKiaTEVxvRjv1OcmawpG rbVkgSBFCeMj2ch09hHnwrIa1K7Ut1QaYbRgETiHIPkKhHpq+fIjBmOaOB0YpwBKpIRR3d paN3MmQAht/XQFcRBMLNmgZAlu5PCZ3QAEqmtna3G02xNZQnUtRNM9mrzE41ng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619987411; a=rsa-sha256; cv=none; b=HWdC0/at1Jq5hzJ+eYDdiubbFQ5aDUnMOa7SgY1gyz47hcgX3ii0drKjpE0d7+W8peuTl7 YyoVVHaVVL3G/SBRxnHDylguxCcp4a6681MSueYRUN+O7jUbqEdIwA9x+OL0fyqBwm6ZXZ vOu2r+1kvVlxXEuW2/zFD0YV3CVf5JVWtAF4S0SRaKYlv9PvRwJrV0tJ/1P11gr2fjis9i aqbK0Epu1Vc9o9Yc0kQzWKLCnTNqTr8do9vFU0W8W9r4DkIY4d5QMfs4QaOvde5Ge0zRrx Ebha4rh+WRvioKdgHUcE/3DFz2NXoHJmKc+eKkGv/PnlmgHHqbLDSjsLrPiprQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=tCvXzCaM; 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.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=tCvXzCaM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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: 4F5A7A83B X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3XtgbrdU2mKN Hi There, Guix distro is a rolling distro, Packages almost hourly/daily get upgraded. This is nice but it wont go through without errors due to many factors. Current situation when there is an error and package failed to build guix will stop upgrading all the upgrade process e.g: If you have package x and y in your system guix upgrade (or guix upgrade x y) and there is error in x guix will stop the upgrade process for y as well, even though y package has no problems with its upgrade. Current (manual) solution is: guix package --upgrade . --do-not-upgrade x Why this is not useful: - Straight forward bad usability for end user - Average/New user want guix upgrade to work at 100% percent whenever possible, Since there is an error possibility then it should work at 90% or so (depending on how many packages having errors). Current situation by default either all build fine then upgrade or one error then no upgrade, Which is below good expectation. - If user just kept waiting for an upstream/package maintainer fixation (without reporting the issue or communicate with the support, and i would expect that from average users) which will take several days if not more y package will be kept on an outdated stage and this give security issues as well (because upgrades are not just new features or fixing bugs many of the upgrades contain fixes for critical security issues) Real Example: https://issues.guix.gnu.org/48140 Caused to stop the upgrade process for all of guix users (at least who had icedove installed) and no automatic solutions except the manual one. Solution: guix upgrade x y x contain error cant be upgraded skip building it due to meow error message upgrading y from 1.0 to 2.0 upgrade successful without x package couldnt be built due to meow error message This will insure all the packages on the distro going to be upgraded except the one which contain error/couldnt successfully upgraded. ------------------ Faster(?) workaround for current situation: Note: This is just faster to implement but not better than the previous solution. Current error message is: https://issues.guix.gnu.org/issue/48140/attachment/0/1 Better as well to add something like: Use guix package --upgrade . --do-not-upgrade PackageNameWithError to build other packages seccessfully. (Or any better wording message). ThX!