From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KEa5N2W+MWW9WwEAauVa8A:P1 (envelope-from ) for ; Fri, 20 Oct 2023 01:40:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KEa5N2W+MWW9WwEAauVa8A (envelope-from ) for ; Fri, 20 Oct 2023 01:40:22 +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 6000946A68 for ; Fri, 20 Oct 2023 01:40:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=OgEREhob; dkim=pass header.d=wolfsden.cz header.s=mail header.b=y960lOoP; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697758821; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6EOrtBKZ+eGELrFb1GtsvxdJ2JKdne2G+suFg/8lbsY=; b=HJEIT1gteagMyhm+NvNI+Qf8VLk5DJ4KyjQljTrVb2YYl3U7hoetgoSxyXcdeT7RJAE0t8 /RG9KMZzX6fZV0pVUr0YfUsSo8Jxt+jgAkHH963RM0bVd7khyJIMBVKgTMlp6Heu/X/IdJ 86XaZilDN1wdyqg0rHdIFEJTQ64BMN7uRW/jfxL4d2xF2UnN7z6BlF8FvDmAM8jT2vXJhG XwkpGzeXee4WgcasqkkpPJSrDzYmQzz38B4+vNnuz3to17PT2EMAf0rq5aRZpNvvUkDR5l GS5T6i99MdPLff/43PRu608ldUedRFOAi1JdLOFnrqy0OKYlPUneGdbv5FP+3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697758821; a=rsa-sha256; cv=none; b=YIRHJzE+Xg4iDfXqrIus2MpVRrQQgrLR43aDwfIuISvn2izO1GXDaiKDXUZRWLl4HUqL0S STSpiXOCiIkbsJ8t5Ol4rOitxkMc/s9/6bmr2PuZMYosV4vamLVBq+Sq2TCgmEL5JuPVcv AtD9mw1lWgDgYfNVktFsP87/X1KW/2gCCq8lkVmhwXp1CWLW7sEpgwJfghiik3hBOV7oh5 1LRByjYbmXtr9jcBSc917UHWYvjXNrZKZP7j26bMTNlRUkZyX+GVk5WcFu6mtZarKonl90 JRE2z0CtJxtuIaClvITvy6+1xBIwpF7pKcDXVeFnjEbEtvEpR6OJRWRsO7Np8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=OgEREhob; dkim=pass header.d=wolfsden.cz header.s=mail header.b=y960lOoP; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtccF-0000F2-3q; Thu, 19 Oct 2023 19:39:47 -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 1qtcc7-0000Ek-Dy for help-guix@gnu.org; Thu, 19 Oct 2023 19:39:39 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtcc4-0005Ef-Fj for help-guix@gnu.org; Thu, 19 Oct 2023 19:39:39 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 1327526EE70; Thu, 19 Oct 2023 23:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1697758771; bh=qZwQe0gLAYEZkQ9/cn65oyzHnEWq3L0w6j/raF+msoo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=OgEREhobPD8eBNZ+/XFiiZ+za86OlvAqfsrxu/9jQ9CQFT8rNzNsSuEgC06gHeMa7 XcuxgJGFewHrjTdmEdFaokC3Zhg1JEk0b1gBa6Hj0O2S1DZ/ShM4yB/idHcOACvlHJ cARLQQnShHs1OD+Xb1JQEqQhkaCBb/kikyamBw0vv2X5q1mjxbYH0n37DChzO6e0o4 1/ccVe4WPTS9aWdpjs1UJmDl7rB2H/1pdBo42XGzMPB30ZqMQaNVinRoFZHUG0E8jc WEaWmev/7u5c+Ok+U02VzDvtzV93GS/iNOmeEo+zyoAJYpFJc5c3k1KF/r0wUva9QO HFx2MnmIvKNEznC6w6I92OAvWhGZo/MqO+FxqRWvjwfWtGxsSuS6c7hKFgpAYpDa/Q yogTXZm5QasLUBHnwELOk1jvZYEwfV4/Xp1bx1XteYLikq6esNjNCjTMRGT/7kaTLK GSqfyIwKe919zkqr2Z/SM7ZXwXSaH6DA+kr4PSeG+VQ+wyZRcIHdC+EVahB2//DB2N hRajq0SaWXIxHKx6k2mdJvbInimjBUhpDNy8J945bTTB8d/gvRqOR4QFuflqrYzfgi vTvReXDuzxTlOLBiYz2Vv57RzENigekxc7IwG7hvNFFBW2SLdQe+i4jiBlI0B4jgPQ qGWH0h0vQ2kzdahex3rnSNqg= Received: from localhost (unknown [193.32.127.156]) by wolfsden.cz (Postfix) with ESMTPSA id ECEFD26FFCA; Thu, 19 Oct 2023 23:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1697758770; bh=qZwQe0gLAYEZkQ9/cn65oyzHnEWq3L0w6j/raF+msoo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=y960lOoPoOMcngxFNnw11VwYs5gNKw/NL4BwU4rLI4plOWjvqdL5rGLmm4gGk9Ty1 quZxqPvkFmsU8/TgSEsfBLfst1PrtBpmvCTJb7O0fhWuEPYzzPlAnQDr0P2woYKoZI RMl74vyPiS0K5plqoilUtFwIFbFCRFloDmjpXlhDg7mApGsDHjcyKSEUQJWA253Yqm NEKrAHWtQj0rNtZZxS4A1OkaH5Big1MRL+kA+R6JdqQwmRcrvm7iGpRgtChQt0eAA6 PodE1+mOujVbm8xmd2vnXaJVUR3IzNm+pbN+RHzUQYUBKSg2XkTRNtXs4wcFCDO8YD tCL3HatUEihxhcOx4MWxe+TsTz9DCPZ6vG0zNsrDVIgcR1l4jWqKw2ISX3PG4PyLg3 rBUEzHlLSEQ+fsPsAC3ynKAZ/T0OCQUJ7RYNPhjH45O1iseqWZmPr9sCAo5SIaogFc EzpNaEBJBMOera47ccJ1kbBNVPZC+v3yQ4Ilp01GJT0Rzi7ZC3lxS0AumwMrRp3k0r RmeDiN8yC5AES8l4ve1DBjROk/jUYoRbixZP+sGK3iiOSev5UopoPOdIgWj3OyQbQ+ eG2Vg91kWn+uTBSYFaDaZit+12pLHxSRD+8o2t//mxCYC1aiZmKP43XAOt0398fzMv zR1oCtPKOATTO3RnfLkArv/I= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ba277be3; Thu, 19 Oct 2023 23:39:28 +0000 (UTC) Date: Fri, 20 Oct 2023 01:39:28 +0200 From: Tomas Volf To: Hiep Pham Cc: help-guix@gnu.org Subject: Re: How to bump a package version locally? Message-ID: Mail-Followup-To: Hiep Pham , help-guix@gnu.org References: <1063470d-1f49-47b2-84fa-cb097055182b@proton.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ll6974FWpPjePEho" Content-Disposition: inline In-Reply-To: Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -10.25 X-Migadu-Queue-Id: 6000946A68 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -10.25 X-TUID: VI5alnOUXIfl --ll6974FWpPjePEho Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-10-19 16:47:13 +0000, Hiep Pham wrote: > On 10/18/23 21:00, wolf wrote: > > On 2023-10-18 18:24:48 +0000, Hiep Pham wrote: > >> Hi, > >> > >> I want to bump `jsonnet` version from 0.17.0 to 0.20.0 from the master > >> branch of the `guix` repository. I edited the version in > >> `gnu/packages/cpp.scm`: > >> > >> (define-public jsonnet > >> (package > >> (name "jsonnet") > >> (version "0.20.0") > >> [snip] > >> )) > > [trim] > >> > >> 2. Followed the contributing guide [1], I created a shell instead: > >=20 > > I believe this is the preferred way. > >=20 > >> > >> guix shell -C -D guix git help2man strace > >> ./bootstrap > >> ./configure --localstatedir=3D/var > >=20 > > I would recommend to use > >=20 > > ./configure --localstatedir=3D/var --sysconfdir=3D/etc > >=20 > > as described in the latest version of the manual: > >=20 > > https://guix.gnu.org/manual/devel/en/html_node/Building-from-Git.html > >=20 > > (notice the /devel/ in the path). Your version is from 1.4.0 version o= f the > > manual and it has some limitations. >=20 > Okay, so I followed exactly this, and ... >=20 > >> > >> This generated `pre-inst-env`, but `make` step failed with: > >> > >> ``` > >> MAKEINFO doc/guix.de.info > >> contributing.de.texi:1659: @menu reference to nonexistent node > >> `Configuring Git' > >> contributing.de.texi:1660: @menu reference to nonexistent node `Sending > >> a Patch Series' > >> make[2]: *** [Makefile:5003: doc/guix.de.info] Error 1 > >> ``` > >=20 > > Yes, this happens when you try to build guix source using too old guix = version. > > So try to run `guix pull' first and then attempt to compile it again. = It should > > succeed. >=20 >=20 > I ran `guix pull` but no luck for me. I still met the same error when I= =20 > was running `make`: What version of makeinfo is present? For me: $ guix shell -D guix -- makeinfo --version texi2any (GNU texinfo) 6.8 >=20 > ``` > contributing.de.texi:1659: @menu reference to nonexistent node=20 > `Configuring Git' > contributing.de.texi:1660: @menu reference to nonexistent node `Sending= =20 > a Patch Series' > ``` >=20 > My `guix describe` (on my Fedora machine): >=20 > ``` > guix c065da0 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: c065da01ff956d3c2bdfc45a33d910e509a211d9 > ``` >=20 > c065da01ff956d3c2bdfc45a33d910e509a211d9 is the latest commit on Oct 19,= =20 > 2023. >=20 > And my `which guix` is: >=20 > /home/[username]/.config/guix/current/bin/guix I have to admit, I am unsure what the problem exactly is. Unless someone e= lse comes with a better idea, what you could try: 1. Clean up the git worktree (I use `git clean -xffd') 2. Do the whole process step-by-step again 3. Send here the full output (commands executed and their output); also inc= lude both guix describe output and git commit of the guix repository you are = on Maybe there will be more ideas based on that. Sorry I cannot be of more us= e. >=20 > >> > >> So I was blocked to progress further :( > >> > >=20 > > After that the pre-inst-env should work. > >=20 > >> > >> [1] https://guix.gnu.org/manual/en/guix.html#Contributing > >> > >> --=20 > >> Hiep > >> > >> > >=20 > > W. > >=20 >=20 > --=20 > Hiep >=20 >=20 > W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --ll6974FWpPjePEho Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmUxvjAACgkQL7/ufbZ/ wak6axAAsHvCWk30osDiYlFOcKSEnd7rZpeUgVh8jKOi5MztJxoyqb7UCWy4QnX2 p8CuOZFPEKCjVbFx8br3i1vfEAlK4Mm6qvil3IrGpEL8pzVJwpjZfd2bOWZMaTt7 dJWyOdzE4unydemz4uvzUkOy4c6bXfuYj3hLO05J8eXGzJC9mISuraOHeFzSYpyy 8l38fN/FDLu+6I/tHOxV8mqXj6IIu/d3TUHPN7OvfV8SW0FcxWDUL9Qvj+bmqZQj mwGtskYbWWqI6u7AtmBRnDrdWusYZBjV4wgJf1vmilrSO0xKcOF7gKA32346M93V lLeM41FyN8Jg4ihgIa6JvXVeAd9SRItdWe/Xg20MK5OYSzcC9CJ4TxyhuzNwfCgB oAw9fqMA+dKOpAnyBJi3BWXWjDlOvVhp1Et7PAt1K0mfZQm30qe2WQuzFX5r00G+ VhO08irIdgLvmRsMHCT8RaivwsKHT6F1+IMcSXFMVtzhJgNEfRYd6+folrFCgqv7 +ZF28w8qvCoc6bxSbOkdki9R6AAYXgEzUdsHk8f6Mv9Qj2kyIvhMLklBB+eS51As 3fu179wStQtGZaZr9x99lDSh0AQBKZqMwytMjybxBVNEJAe43eajqKRhRdzShe/y Z4Aq+JSyaPXrsfOxOqY8VBTDbPd5cm+O3ldKjW+7+q9n5O7FLiU= =YGBM -----END PGP SIGNATURE----- --ll6974FWpPjePEho--