From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aM0nBzoWsmMSVgEAbAwnHQ (envelope-from ) for ; Mon, 02 Jan 2023 00:24:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id rnoQBzoWsmO3SgEA9RJhRA (envelope-from ) for ; Mon, 02 Jan 2023 00:24:42 +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 D640539927 for ; Mon, 2 Jan 2023 00:24:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pC7gn-0003su-V2; Sun, 01 Jan 2023 18:24: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 1pC7gm-0003se-7Q for guix-devel@gnu.org; Sun, 01 Jan 2023 18:24:24 -0500 Received: from mout.kundenserver.de ([212.227.17.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pC7gk-00034l-7E for guix-devel@gnu.org; Sun, 01 Jan 2023 18:24:24 -0500 Received: from hermia.goebel-consult.de ([87.176.132.107]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M4s8v-1pCwUz0I7D-001wqa; Mon, 02 Jan 2023 00:24:14 +0100 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0B94666268; Mon, 2 Jan 2023 00:24:26 +0100 (CET) Message-ID: Date: Mon, 2 Jan 2023 00:24:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: All updaters are broken To: Ricardo Wurmus , guix-devel@gnu.org References: <874jtb7icl.fsf@elephly.net> From: Hartmut Goebel Content-Language: de-DE, en-US Organization: crazy-compilers.com In-Reply-To: <874jtb7icl.fsf@elephly.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:LqrrLY+0GMr3KZaK/FIpRHlb5Y2jeONxJv5edJpWc3BqbuTShts pUyqA83q79NoianOmY9VPO6++SI+dvguHLxYKFJ7Ep7AwB4vp2C2m1vYfQGb7Nu8tZiDSPi ot3QAwzRgv+DvyU/O2T3/Ql3G3pfAbat40ZPXIo4V0KKS47vLEtspDRoZEfKXT0y/5kdUjR Mpf0AIFLgNoVxg74wHq9g== UI-OutboundReport: notjunk:1;M01:P0:04FrSkdmJyM=;fD2falhE4jcwC0FrsmY+ahIESxj 1WYGjJXAT2EY/3XlRdkHRXDNrEg0sZTUtNvvVnC6G/X91VOqNX69w77idtqdPhofMbdF2UYOl 1PPSCt1URhHimLDNURSw4NzPfPkQcPCu5QMANSrk5mFqiXVLclB4SlwCZVRKmT8YbP5WzPyLg 1DCauHs4K3/IZeSQI9K34LpaAXhw24TJKkCp5Sxa3/GV7Q7yE5JdON/WPuaYJ5eGhUxtvVIxP 9z7AoSjISREKd+U8gluVLWiUrCqjGbrOJsLn6dd5qT0AVs0dzbrw7y/ahQr5Lq2q527BxjfLd 6xvm1H4A4B+spt3y3hy1t41M3YOtosDC9+2rjOB2IMynqI9snWHGSkM8WYzceS2/cXvY4DOus uvRCjMXdXqDG2jMUHNEhs1K5+WYbPLWXHyo1WJriiL4DeXvaEC1ysB2b37zwDVpsXYunAxkGA 4j+QPujzUPF6Qt+1Ey6ix7RnRV3VJLjdTvw7pYQC7tTNpxyQiNId1yAPPQom+63HXCZf6jLBb BgGFBDLYG3oHdOH6+trSRGJdAZgXtbt5GwvMT1CRiz8hDCfganVym9jSI/Yu9EhfVQ988rZN8 zdajGTRI8UuN48sQpRLCH/rlaz6Sfzq2oMYJ1yoBPamMbEGhcDfZKp2zk6uMFcyaw0A0pDgBa IM76RjyuGk9D/NDrvbuo7JR0SkVlVpmkRmz1A4ZaCg== Received-SPF: pass client-ip=212.227.17.10; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -46 X-Spam_score: -4.7 X-Spam_bar: ---- X-Spam_report: (-4.7 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-2.802, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672615481; a=rsa-sha256; cv=none; b=PBORRx/J/A8ED+Nf26r2ArErYvBzRuuAe5TgiIbkQzdVlUhyFo9Cf4EH/QpGFPYkJh3yUT czZQBBnfXJluKUPt7EVcClARyvbmWVEuGBT/ZRMsw0RdaNugjORJ21UyHVSW9OKTfNIOmg YRDB5aWZoRlnwpyqZgn9417VuR44/oAwYUQPG7L02JOfrV+/H6moGjsROFX+BM5877QK2g KTFLZ83bSm0sE595Nb2J0Y4bTisNv4JYLff+Mli9Uh5HEoDqIvfLsYfbKmxfCvxeTMIw0m FpS0tQREeqhLFIE1RPQ1ozn3VJnjMnVBmi8BtzdNj4TI5CGWb776cJ7da28RNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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=1672615481; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=GSuX+6m7O75Um3hoDoYRMwTsG3azjOA6ZLiKO0MTPEQ=; b=p0yvEWCrnfR77dXYMlytw+RaSlBrRbN+q7rl2h9bnGAWdUXlBMLefeJmakBBFglJL6xk07 giWzKksFrRq0HyG5MVudoiICG/8sReZUJt7gTUSRU8o+pqX3p5L+dbTX8RA5RQf/WAf6Di YTgB8zaEB/d9rxYzXb45jkhSi70hSdK64fpy5wBb4HHDTrKtIdO5ssrAXD8NHePRRfoDHL aJ8KLqQ+LEHIHzcQL3u1a7QolWGrBk9D9X1PiPZYeoJp615zi89PQSjGXVBXax9W6Jaxm1 Doih+7rm74xdOJIZ/DFb0U8QDyF33AakEC3WXlQ3H/bfcVtdCiYeldXtJk+uiQ== X-Spam-Score: -2.65 X-Migadu-Queue-Id: D640539927 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.65 X-TUID: UFcuYH02n/Ut Hi Ricardo, I managed working on this this evening already. Am 31.12.22 um 15:27 schrieb Ricardo Wurmus: > Commit 8aeccc6240ec45f0bc7bed655e0c8149ae4253eb seems like the problem > here. Hartmut, can you please fix this? Otherwise I’d like to revert > this and related commits ASAP. I fixed he tests and pushed as d7a9d72bb02a2a3b1a99183655bf878547116032. Regarding the command "guix refresh": According to my tests only invocations not providing a package name failed (see below). Anyhow I did not manage fixing this: options->update-specs need to return update-specs in all cases, and currently returns packages if no packages have been named on the command line. guix/scripts/refresh.scm (options->update-specs), lines 252ff:   (if (assoc-ref opts 'recursive?)       (mlet %store-monad ((edges (node-edges %bag-node-type                                              (all-packages))))         (return (node-transitive-edges packages edges)))       (with-monad %store-monad         (return packages)))) Any hints? These invocations fail: /pre-inst-env guix refresh -t crane -u /pre-inst-env guix refresh -t hexpm -u /pre-inst-env guix refresh -t hexpm All these invocations pass: ./pre-inst-env guix refresh --list-updaters ./pre-inst-env guix refresh -u python-flask ./pre-inst-env guix refresh -u python-flask=2.2.1 ./pre-inst-env guix refresh --list-transitive python-flask ./pre-inst-env guix refresh --list-dependent python-flask ./pre-inst-env guix refresh -l python-flask Untested: --recursive — did nothing? --select -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | H