From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UAIVL8GsSmQ/AAEASxT56A (envelope-from ) for ; Thu, 27 Apr 2023 19:11:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MLDrLsGsSmTYbQEAauVa8A (envelope-from ) for ; Thu, 27 Apr 2023 19:11:29 +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 9AD783D904 for ; Thu, 27 Apr 2023 19:11:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps3hB-000890-AV; Thu, 27 Apr 2023 11:38:09 -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 1ps3h4-00087v-Pv for bug-guix@gnu.org; Thu, 27 Apr 2023 11:38: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 1ps3h4-0003LE-He for bug-guix@gnu.org; Thu, 27 Apr 2023 11:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ps3h3-0001P6-VG for bug-guix@gnu.org; Thu, 27 Apr 2023 11:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63122: guix refresh wrote the wrong version number Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 Apr 2023 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63122 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63122@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16826098355337 (code B ref -1); Thu, 27 Apr 2023 15:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2023 15:37:15 +0000 Received: from localhost ([127.0.0.1]:59576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps3gJ-0001O1-Ao for submit@debbugs.gnu.org; Thu, 27 Apr 2023 11:37:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:45850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps3gF-0001Nr-BC for submit@debbugs.gnu.org; Thu, 27 Apr 2023 11:37:13 -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 1ps3gE-0007t3-Hi for bug-guix@gnu.org; Thu, 27 Apr 2023 11:37:10 -0400 Received: from minsky.hcoop.net ([104.248.1.95]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps3gC-00037w-QA for bug-guix@gnu.org; Thu, 27 Apr 2023 11:37:10 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ps3gA-0002Hw-O6 for bug-guix@gnu.org; Thu, 27 Apr 2023 11:37:06 -0400 Date: Thu, 27 Apr 2023 11:36:56 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682615489; a=rsa-sha256; cv=none; b=eVv0dfRiKhMxk3l7uonO0potsivxiC3a072m2LwYN1EYrU5ov1pi3rrRAy+W840Ga9wv4S 4ck7H4DKjbSdKiqcGmXa/8QvpaBAqaXi8Y9Pq7vRkRgJG4mrE6OEvb5qkgwU4nzh48Y9ym SdzUUWlvIaqOwy4vjcLWkdYBIjihzg9SEKFa7Y8kTiDevFYbkAT9e5FP+2Xb19yKDE8bIB QuaUT8Hn/950m5eUMZTd/uqJARKevzIG58vIRHdkwF5bTtnw2b4s6UotIIzgGhmqXH0b8V LqntaxCLcZhczZy2TAzxa87aJ/rHTX4mT8J32M2Az7Tm2spN0h+6hlxErcSDaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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=1682615489; 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; bh=NPYJ0pgcykqIP8VDVgRu8N7iRezPXySG5yPwwu6NtmU=; b=Uj+RUnROZ6YG9/likdW8dTUY3L0HN8Nz2HwVHMfqthYgpamBT6fHaVa4jcph+POAn/plPP 4SoB/cuAOztCRgp657mMiyi2v2if96pZ/O8DyXzQ8PhLcAuX3uclFJkW64kh/z1QzcA3Z4 fdmpTk7J29r1WXgqgeH5h/kdnl/Ky17KiAqCGIsindFjlqr9Bb612xvlOK6UIhWa/Sxy9Z xSrC9ksiTdO8JCuu5VH9j0okrM/8F/3JzE3V6ZDxnx+8ow6P6Zb1ZdlDg7u0vDn0eNbyhx 6G/D/9qF5YGdqIc99yhqY4T7RZGVtREsRAyz8ljFJZLZRquMLMfql9Lvwj5FqA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -1.90 X-Spam-Score: -1.90 X-Migadu-Queue-Id: 9AD783D904 X-TUID: joHeSdoo80nl Hi Guix, While working on the wlroots and sway update [0], I noticed the following odd behavior with `guix refresh`: The problem occurred when using `guix refresh` to update sway. A plain `guix refresh sway` reported correctly that sway could be updated to 1.8.1. However, when I ran `guix refresh -u sway`, the version written to the package definition way 1.8.1.1. However the hash was correct for 1.8.1. Of course building the source for version 1.8.1.1 failed because the corresponding tag couldn't be found (and it wasn't yet in a content-addressed mirror). After correcting the version everything worked as expected. I did this all with a pre-inst-env guix at commit 8093c6ba21c51efe901ba98ce698c545bf13dcd0. Best, Jack [0] https://issues.guix.gnu.org/63085