From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KO6FOxRrUmVDEQEAG6o9tA:P1 (envelope-from ) for ; Mon, 13 Nov 2023 19:29:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KO6FOxRrUmVDEQEAG6o9tA (envelope-from ) for ; Mon, 13 Nov 2023 19:29:41 +0100 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 7E31A1530F for ; Mon, 13 Nov 2023 19:29:40 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="aYT/1U7Q"; 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=1699900180; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TaupDSGCVXkr8pdvvYdsgyLDIf48skAZG/K2r/gKI4Q=; b=hMtOwC2NVsYZFBt75f9Rc2REQfken0odzR5iW3pXZ7EknJfzKMsif3k8NyH022+SSznRmK 4ZaQdV4ayqImZTQrXhI8A8zkyr3/RpH1sPo4fTzkjJj/FqP2eM5Zqn1MAyd4TlOX4aLHvy tjGI/dPKhQ7GzP77IB3Hz5ENbJ0Qu8eftW3dlaGEEsmDUEHb0VvwNR0OacRNIK0gn0r8mH u5A9us2j7sI52A/fZPaKtb/Ht1evupVP/fFdOOehfeZw2hKXQw5Hd2VdQ4Sac793DNgBuA vWfRdW8Wqw1L0dUMWxZ9dMQNoGueqDtv4FPgd7cySvJM0aPTVwn6kZN/ugMZqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="aYT/1U7Q"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1699900180; a=rsa-sha256; cv=none; b=R56yWHj2vmdSOK0Us5BxmfRVsxBFAFhxjL//tWYPBc+NNyX7938Bk+iP0AgDlDKOadcQXj u2h3YpEDGixmkfqXa3qnBYHl8WouJp0RZmxFueRbgWpAXeV0Yftn2vRQK5D1R4Npv0Bh1x Ir872Ea+UgrA/qdNTlOlJg7WsZZBSzKOngb7su3WEQAwdnvwPj2M6irs0W8ZbYams+bt4g HgrEIzQ0+56NRpDm+/e5TAY/tQx6zSlJ0l4N7mEss6ooCU7z+YDD+wlvZxivBd/FSdFr76 CSuDe/ouEI4Jfjj0fu65UwgEM829I9Iq884AHghJgDFXh42KIeh886JmO/kD5Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2bgZ-0000yj-OD; Mon, 13 Nov 2023 13:29:23 -0500 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 1r2bgX-0000xb-2P for bug-guix@gnu.org; Mon, 13 Nov 2023 13:29:21 -0500 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 1r2bgW-0002Tu-Q9 for bug-guix@gnu.org; Mon, 13 Nov 2023 13:29:20 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2bhC-0007b5-86 for bug-guix@gnu.org; Mon, 13 Nov 2023 13:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67048: guix refresh -u -L does not work with relative path Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Nov 2023 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67048 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge , 67048@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 67048-submit@debbugs.gnu.org id=B67048.169990015729124 (code B ref 67048); Mon, 13 Nov 2023 18:30:02 +0000 Received: (at 67048) by debbugs.gnu.org; 13 Nov 2023 18:29:17 +0000 Received: from localhost ([127.0.0.1]:59324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2bgT-0007Zg-4Z for submit@debbugs.gnu.org; Mon, 13 Nov 2023 13:29:17 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:41402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2bgR-0007ZS-2u for 67048@debbugs.gnu.org; Mon, 13 Nov 2023 13:29:16 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-408fd07bb78so5198935e9.1 for <67048@debbugs.gnu.org>; Mon, 13 Nov 2023 10:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699900107; x=1700504907; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=TaupDSGCVXkr8pdvvYdsgyLDIf48skAZG/K2r/gKI4Q=; b=aYT/1U7QX1ZFN9YLjSSacnZoH5XnhihccelrNd5uBvURj3RX2QI512t/AG1Nh9leyr ZAW1QOZBZgHvTRSQ+PmuLTIFEyt8Xcg6psxRQMyO3PNIP8adD43E7yMaxClqFhVbCdoU x4ruccfF21CfNXdi3UzniQstEJSa/xt9EReY7wOOnRayW9t9QqZBF4jpHPEBIY813gCv sGmQxdNc714eZSbkkbsEOtXlD2Cthil7NS0NfFcfeR+WAR0sF8IsC7LtDAWmkEQV9HD8 BBxg3nMbD0pMXng+WMv+vc19LY91SAvcrble2BnM5w05PuWqimviBeAtVyV7EeqnIfnG YBbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699900107; x=1700504907; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TaupDSGCVXkr8pdvvYdsgyLDIf48skAZG/K2r/gKI4Q=; b=DfdalQ5yMdZ1PZHgdJd+P2H9DAikPh+lg37j9SjDpCjtKa+PYspTJv21AvW3fTlfTE GSkjubwaDJKQdB5GNPM9hdghjKh/Ws474ze3JM7dGWfq2+WgDMdvRB+F7NIaejDR+P9h W0rEGQJ2MnaCMmLvDNxMGQ7uM4e81CIvSGt8aPxPOhhWQMBpdtd/DFxdPPuhaol8wh+m knwzoGfpUY2JyZOG66R7dpQt2XEvOiUqQyRZ/6IMWkvvPHSrKTG4IDSswmkYmcbCC146 QRI9Ik/yoVQle7WlKWFnVLsG4mDtTPXPzr/deoRPr83LB/QhbOmnpY5X4ffwVtwtRkZD h3HQ== X-Gm-Message-State: AOJu0YzGqdmhHrAchUusOwGj8KvHTH638Buruw0zU0335xvh3ceCCvCS H6GxOPELhuOlZ93rskNLayLnJgFfhEM= X-Google-Smtp-Source: AGHT+IFA05AzJI+Qz/favGE3sKFFo+FfqCmyeplppPmAiIkPcekLFubErOK1cFdtSXpWH+94lVidwQ== X-Received: by 2002:a05:600c:28f:b0:403:334:fb0d with SMTP id 15-20020a05600c028f00b004030334fb0dmr6220936wmk.4.1699900107191; Mon, 13 Nov 2023 10:28:27 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s19-20020a7bc393000000b00405391f485fsm8758107wmj.41.2023.11.13.10.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 10:28:26 -0800 (PST) From: Simon Tournier In-Reply-To: References: Date: Mon, 13 Nov 2023 19:28:25 +0100 Message-ID: <8734x9fqye.fsf@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.90 X-Spam-Score: 2.90 X-Migadu-Queue-Id: 7E31A1530F X-Migadu-Scanner: mx10.migadu.com X-TUID: yZOU8imO+L9M Hi, On Fri, 10 Nov 2023 at 18:11, Andreas Enge wrote: > guix refresh -u -L proj python-numpy-illustrated > yields the error > proj/example.scm:10:2: python-numpy-illustrated: updating from version 0.= 3 to version 0.3.1... > proj/example.scm:10:2: warning: python-numpy-illustrated: no `version' fi= eld in source; skipping The issue is from several layers; (search-path %load-path file) returns #false. See: 1. package-field-location from (guix packages) called by update-package-source from (guix upstream) 2. update-package-source from (guix upstream) called by package-update from same module called by update-package from (guix scripts refresh) The issue looks similar as #66901 [1]. Well, I have tried to improve the situation by setting some =E2=80=99canonicalize-path=E2=80=99 here or t= here. However, then the next issue is from the call =E2=80=99(absolute-location l= oc)=E2=80=99 in =E2=80=99update-package-source=E2=80=99 from module (guix upstream); it = returns: --8<---------------cut here---------------start------------->8--- Backtrace: In ice-9/boot-9.scm: 724:2 19 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 18 (_ #(#(#))) In guix/ui.scm: 2324:7 17 (run-guix . _) 2287:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1752:10 14 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 659:37 13 (thunk) 2168:25 12 (run-with-store # # #:guile-for-build _ #:syst= em _ =E2=80=A6) In ice-9/eval.scm: 191:27 11 (_ #(#(# #) (#< package= =E2=80=A6>) =E2=80=A6)) In ice-9/boot-9.scm: 152:2 10 (with-fluid* _ _ _) 152:2 9 (with-fluid* _ _ _) 152:2 8 (with-fluid* _ _ _) In ice-9/eval.scm: 619:8 7 (_ #(#(# (#< package: #) =E2=80=A6))) In srfi/srfi-1.scm: 634:9 6 (for-each # (#< package: #)) In ice-9/eval.scm: 619:8 5 (_ #(#(#(#(#(#(#(#(#(#(#(#(#) # =E2=80=A6) =E2=80= =A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6)) 155:9 4 (_ #(#(#(#(#(#(#(#(#(#(#(#(#) # =E2=80=A6) =E2=80= =A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6)) In guix/diagnostics.scm: 354:20 3 (absolute-location #< file: "proj/example.scm" line:= 10 column: 2>) In unknown file: 2 (raise #<&formatted-message format: "file '~a' not found on lo= ad path\n" arguments: ("proj/example.scm")>) 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: Wrong type (expecting exact integer): #<&formatted-message format: "file '~= a' not found on load path\n" arguments: ("proj/example.scm")> --8<---------------cut here---------------end--------------->8--- Hum, it needs to be investigated=E2=80=A6 1: https://issues.guix.gnu.org/66901 Cheers, simon