From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sJKjBZRkTmX6IwEAG6o9tA:P1 (envelope-from ) for ; Fri, 10 Nov 2023 18:12:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sJKjBZRkTmX6IwEAG6o9tA (envelope-from ) for ; Fri, 10 Nov 2023 18:12:52 +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 B03F815239 for ; Fri, 10 Nov 2023 18:12:51 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699636371; 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=B/gRQGmQ350jfwjk5tTDJdmFOmHhjo8lovDeo22wXJM=; b=SUCLNScM2ik0LlV+b7nJE2UaAvdePZmLn00H+Xpr27CAKhR9SwTO/KK4BA6XcTuLhXmsFd o2XDvVd5eM+2HwHcjqif9ayJpjIZGi4RX+3CfD0W9s/PNdnXsyR2cXrjbzgTgI/SlBJaIz 1+i03oqJrs7qwazk2vB916kvlEfo63jgyBO+bzL0dcUyqLCMW0ZClf47KDysWxFgmouwgJ flFiYggD0fucxaGO2aKO/vS+8TqH3nMIShkrl2UYxBPa4iv0FrEugRoQWYmwVmnqyeTSjF QUNTInbhRhNYlegzIKl+/C5Q9EL2m2tAVg6fg/V8oZ+rlRvwjuJCdou4FV7rHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699636371; a=rsa-sha256; cv=none; b=T4BwID2CJddMq0Unc7mO8A2JEI4TrPASwfryV95lmbUzs8wTnSjFUTDFpXAQbJ1Ih/Ud+O vJ8TutKxmi0bmt1WMk6U+e1qQbfcKxzktH22s91dXlX+AS7rySjiy/Ep5tadX10FGnELM3 F97kmjAMWdpVni9N5mqHT90TsOxcKULvmQ6K3boiB7tY4SqqsEwcWnOyVQogYYnyupVEfP dwbVBUDH3AEYoxylsMNolcRehOnWRKEgjeAu7qtcAcp98fORKG0IJXQnFXC2XbfwhiYuED 4uWsDY76wm1ePak7pruvO8/IA54K8uWoUUlasq5iy+SZ8L4JjDdKmwGmfp04Kw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1V3R-0002Vq-F3; Fri, 10 Nov 2023 12:12:25 -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 1r1V3P-0002R9-5B for bug-guix@gnu.org; Fri, 10 Nov 2023 12:12:23 -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 1r1V3O-0007qp-TQ for bug-guix@gnu.org; Fri, 10 Nov 2023 12:12:22 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1V42-0001j0-5l for bug-guix@gnu.org; Fri, 10 Nov 2023 12:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67048: guix refresh -u -L does not work with relative path Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Nov 2023 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67048 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67048@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16996363526587 (code B ref -1); Fri, 10 Nov 2023 17:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2023 17:12:32 +0000 Received: from localhost ([127.0.0.1]:50765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1V3X-0001iA-JV for submit@debbugs.gnu.org; Fri, 10 Nov 2023 12:12:32 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1V3S-0001hs-Ou for submit@debbugs.gnu.org; Fri, 10 Nov 2023 12:12:30 -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 1r1V2j-0002Ma-AS for bug-guix@gnu.org; Fri, 10 Nov 2023 12:11:41 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1V2g-0007Yl-VN for bug-guix@gnu.org; Fri, 10 Nov 2023 12:11:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D3F462B2; Fri, 10 Nov 2023 18:11:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sOSIaAcYe5_M; Fri, 10 Nov 2023 18:11:32 +0100 (CET) Received: from jurong (unknown [IPv6:2a04:cec0:122a:5fe0:e8fc:614c:3a86:e6f2]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D9ECE12C; Fri, 10 Nov 2023 18:11:31 +0100 (CET) Date: Fri, 10 Nov 2023 18:11:29 +0100 From: Andreas Enge Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1qQLKUBUpGfVJvC0" Content-Disposition: inline Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr 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_PASS=-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 X-Migadu-Spam-Score: -5.61 X-Spam-Score: -5.61 X-Migadu-Queue-Id: B03F815239 X-Migadu-Scanner: mx13.migadu.com X-TUID: 3AkyLe7HnZow --1qQLKUBUpGfVJvC0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, to reproduce this weird (and very specific!) problem, do the following: cd /tmp mkdir proj copy the attached example.scm into /tmp/proj Now 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' field in source; skipping and does not update the package; whereas guix refresh -u -L /tmp/proj python-numpy-illustrated works as expected. Without the "-u" things work with a relative path (as indicated by the first line before the error message above), and I have not found other guix commands that pose problems with relative paths. Andreas --1qQLKUBUpGfVJvC0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="example.scm" (define-module (example) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix packages) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (gnu packages python-xyz)) (define-public python-numpy-illustrated (package (name "python-numpy-illustrated") (version "0.3.1") (source (origin (method url-fetch) (uri (pypi-uri "numpy-illustrated" version)) (sha256 (base32 "0s7ki6lm9xwd4pj7rx6al230wbywqk11wjvgdk44lbdq2fz7kfxd")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) (home-page "https://github.com/axil/numpy-illustrated") (synopsis "Helper functions from the NumPy Illustrated guide") (description "This package provides helper functions for the @url{https://betterprogramming.pub/numpy-illustrated-the-visual-guide-to-numpy-3b1d4976de1d?sk=57b908a77aa44075a49293fa1631dd9b, NumPy Illustrated} programming guide.") (license license:expat))) --1qQLKUBUpGfVJvC0--