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 WJ/jFWr4nWR62gAASxT56A (envelope-from ) for ; Thu, 29 Jun 2023 23:32:26 +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 kGoNFmr4nWRXEwEAauVa8A (envelope-from ) for ; Thu, 29 Jun 2023 23:32:26 +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 1747A26F9A for ; Thu, 29 Jun 2023 23:32:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=J4LERXjL; 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=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1688074346; a=rsa-sha256; cv=fail; b=XozlAh1fXFuB9cRocBVygV7tAuXXR2PM62gZO1FrUqn0VEa1PvLdMmTOQbT+wRYkTCFZ38 aDouoZ4xhpXw6PxazGcVdOdT7eTi8C9QHr09zdpDjUVTULqv0tiuvnkvWjmcerZoeEhyBa rlwlGBiG8zreI4buMH946s1wjGF5UlfOo744RLVg/5MNVnngnvk2NO2WfozCQcn1pqmSzr lwxB/KbF91khGhrBtNrvzuYW7/suqDnmLBOJYCOaG4W/AxNt5tehksJET31Lb4i9HUAF2v MXmi9Aiid5wZSY7HMTuq6ujMn8taLRo0f2oEfdXQtJJtRUD5F/5I08bexp0b5A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=J4LERXjL; 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=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688074346; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0JTFCe/HGSYeSYEH5dKvgzHWXsI8njNpoKS7LtCIHs8=; b=F+Z+kGziAIRZU/uKg+3lDIaugXaibsuSlV5p36RsUpUfibKsx9s674e7mWRaAse/ezUwtB HNbX1PqHBtYJHlLe2NzVrUZHJGy8d6KI+Yq+3pKzvfZz3tA16gd0tIGHQ6HrYp5t9NTc5z KIYZ1fZMTmmstq5/oi6u+FPGrfFHBf3rNVrKiQObCKGwTeWrEd/baNF7NidobRMRS0LOjm KOQRvLyLPt54AxOyPuxGZ8EgydryIr1ki1/foYDV5g/lJmVTseLdmfMMxzUIzKVlyhcIwR QGaEoDrif4XoJrH4LZXTyvpyGhs67xBr/n0c8KYr121/hQErGyFOq5i8cPtBAQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEzFE-00010P-12; Thu, 29 Jun 2023 17:32: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 1qEzFC-00010B-Nf for bug-guix@gnu.org; Thu, 29 Jun 2023 17:32:02 -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 1qEzFC-0001vf-F6 for bug-guix@gnu.org; Thu, 29 Jun 2023 17:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qEzFB-0007TJ-TJ for bug-guix@gnu.org; Thu, 29 Jun 2023 17:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64358: =?UTF-8?Q?=E2=80=9Cguix_?= =?UTF-8?Q?refresh=E2=80=9D?= chokes on cran.scm Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 29 Jun 2023 21:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64358 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64358@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168807427428659 (code B ref -1); Thu, 29 Jun 2023 21:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jun 2023 21:31:14 +0000 Received: from localhost ([127.0.0.1]:54169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEzEQ-0007SA-4I for submit@debbugs.gnu.org; Thu, 29 Jun 2023 17:31:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:35778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEzEK-0007Ry-H5 for submit@debbugs.gnu.org; Thu, 29 Jun 2023 17:31:11 -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 1qEzEE-0000vi-3v for bug-guix@gnu.org; Thu, 29 Jun 2023 17:31:03 -0400 Received: from sender3-of-o59.zoho.com ([136.143.184.59]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEzEC-0001mC-18; Thu, 29 Jun 2023 17:31:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1688074252; cv=none; d=zohomail.com; s=zohoarc; b=CK9p2cdj/NWDf/ysSofezqcXVxFO7+uCKgQuGkDQwvnsN3UZnTt6/yztmzVSEh34yUXPGKkIyOGm/hTmiZ15iAYJOYEws80RUDugF2MNgeYMYKsePa1mbLXCWZIg7tjzARglQeRCi9LOb93lRuWGCX0AGvkTGwOXHC1rBIJ2YzE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1688074252; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=0JTFCe/HGSYeSYEH5dKvgzHWXsI8njNpoKS7LtCIHs8=; b=gNih+vfQux7e10ZvUsq6r2efZhxNt56meEN1RSxrC97w/t9WporQP2vEyu9EvY0UHpq638vZB/aNGKKsA3RGZb+C44exhzwID/E8VMga8CVIOEysaFtQNJxA04FiLflzQuKD6LaTKAuHFFD+ilK5E+VnI97VfVQuywJreyI+uHE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1688074252; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=0JTFCe/HGSYeSYEH5dKvgzHWXsI8njNpoKS7LtCIHs8=; b=J4LERXjLfoDExYZ+hveuHINapDBCFavqzr4PL8Iv09aGD7cWMo2oaRvf5JhUkP/Z s8fxtnXaFvLXHt9Ud5X7d9Rkabbmo0AHZWCIVttH22qXihE2Dj+D5NpCLvPLRwkD7qY r8JMQXqlSdAhhHuLfzChPMQ7XOydo7i/w0xfblck= Received: from localhost (45-110-142-46.pool.kielnet.net [46.142.110.45]) by mx.zohomail.com with SMTPS id 1688074247819256.7903934227902; Thu, 29 Jun 2023 14:30:47 -0700 (PDT) User-agent: mu4e 1.10.3; emacs 28.2 From: Ricardo Wurmus Date: Thu, 29 Jun 2023 23:26:48 +0200 Message-ID: <87bkgyklbv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.59; envelope-from=rekado@elephly.net; helo=sender3-of-o59.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.46 X-Migadu-Queue-Id: 1747A26F9A X-Spam-Score: -1.46 X-TUID: QPgSPOVbrLes The new refresh behavior to update inputs automatically seems to sometimes cause the updater to lose track of the position in the file, leading to errors like this: --8<---------------cut here---------------start------------->8--- Backtrace: In ice-9/boot-9.scm: 1752:10 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 17 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 16 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 15 (_ #(#(#))) In guix/ui.scm: 2309:7 14 (run-guix . _) 2272:10 13 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 12 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1752:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 659:37 10 (thunk) 2168:25 9 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) In guix/scripts/refresh.scm: 592:16 8 (_ _) In srfi/srfi-1.scm: 634:9 7 (for-each # _) In guix/scripts/refresh.scm: 363:21 6 (update-package _ # _ =E2=80=A6) In ice-9/boot-9.scm: 1747:15 5 (with-exception-handler # _ #:unwind? _ #:unwind-for-type _) In ice-9/ports.scm: 433:17 4 (call-with-input-file _ _ #:binary _ #:encoding _ #:guess-enco= ding _) In guix/packages.scm: 762:17 3 (_ #) In guix/utils.scm: 423:23 2 (go-to-location # 30341 2) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: unexpected end of line # --8<---------------cut here---------------end--------------->8--- Prior to that we see warnings like this: --8<---------------cut here---------------start------------->8--- /home/rekado/dev/gx/branches/master/gnu/packages/cran.scm:36350:2: r-readte= xt: updating from version 0.82 to version 0.90... /home/rekado/dev/gx/branches/master/gnu/packages/cran.scm:36350:2: warning:= r-readtext: no `version' field in source; skipping --8<---------------cut here---------------end--------------->8--- It=E2=80=99s as if the position in the file has been lost and it tries to u= pdate the definition of r-readtext that is no longer where the current port position is. I use =E2=80=9C./pre-inst-env guix refresh -t cran -u=E2=80=9D, which updat= es dozens of packages. Perhaps the changes result in untracked position shifts in the file? --=20 Ricardo