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 6L9KJsxdMWUD8AAAauVa8A:P1 (envelope-from ) for ; Thu, 19 Oct 2023 18:48:12 +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 6L9KJsxdMWUD8AAAauVa8A (envelope-from ) for ; Thu, 19 Oct 2023 18:48:12 +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 4D4606E139 for ; Thu, 19 Oct 2023 18:48:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=proton.me header.s=protonmail header.b=j0xnChgN; 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=quarantine) header.from=proton.me ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697734092; 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:dkim-signature; bh=a/aDbPsDmPJQ+h4ZTkVFSFqQVSzF1iBmNc5iSu//IU4=; b=MNA6LFpRVKPR+NmhZACi6ATOOkhUBVUt3osSxhgvizips1S+Jc4lqFiX2L5twZsPDtLrUF Vwa/s/rYTo7p2lirAAvQ1eZpxytLCm0/rQxY7sNyZirQvL6r/SCmUFYyTunuVAofOvJNlw LUdyYwLOwG1fqDnmHZ9qyzqCorXkQ7AJVMhVATWVJGj70A/jveJaG9faKUi5BTaOeV/N+7 zVgnan1Gqd27eRUB+Ev7ODMo9IwfnsXoq7hJ+wmcMA/MIi08rQqRvOkrp+qmJB5ImNO4IH EiDuLwpVgnYHeCbaZQOeL0j9ftJCnBhkEXT6r1mJ3mTVToZ6wu6obMNsCkbNSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697734092; a=rsa-sha256; cv=none; b=IMsH4Za1TkxoCh9M/ZhWldSCdxlJbTMjOsc1+z7OEv+Q63j4COyxFkX1wi5t6H9jiNHNfF ieRjnFKhMc9VG+V7eiUoiGQCGEWr2YNsGBGU8ilywkz/FOa16WyRJ2WD6b6TKTmkovekpy lQAO7eJnOywUNrPGwb9jQmTeVU1nAWjBkdFOoS5cv3it5ZLQzV5Gmevojta2Kffkb/E/KZ P2ktBbTwokVT3n3iGoarKwl/t/3rsuQjGpMnZyv2lNUuPazo/hm/8WtinCrxbbWtlfLYZq 11JZrvvsR/L4GvcDUMRIlDb3Cx7A6o306dRZl4C4Ycw6DP+nZVtohC12v1QWeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=proton.me header.s=protonmail header.b=j0xnChgN; 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=quarantine) header.from=proton.me Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtWBP-0002nk-Ec; Thu, 19 Oct 2023 12:47:39 -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 1qtWBN-0002iu-DI for help-guix@gnu.org; Thu, 19 Oct 2023 12:47:37 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtWBK-0005qY-BX for help-guix@gnu.org; Thu, 19 Oct 2023 12:47:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1697734051; x=1697993251; bh=a/aDbPsDmPJQ+h4ZTkVFSFqQVSzF1iBmNc5iSu//IU4=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=j0xnChgNjizMRlkY6KSy5aI6RHvVOWgqO5SI/yzYfPmg04EqEbWXfJw6rxtpAoLKH HxvEzVLVq/q72TJU0zy2GAwfaNphBPf9nD3c88ZrMJBAZVXrJ8KKl9BdcCxsFAAZvB FcerMJekfSpRUB+ev8WkiBKUMp5WoTBwNT51vQAJVEj6IHSEpAZv8gGivq5Ysro2a8 /XBU7+Q7/4YQq05cMQB7Fj5TJLX1bhqWKlIon7LAAyfD/aJsdKWfRkHgz2/+tq15TC dwkCCEt4B8DRhtsqYg8SOmZO9sLOELJ7Yty6hmDQM1HVBIUvfPFdl6FAf/11nKCmyC VdwGpzYsuuybA== Date: Thu, 19 Oct 2023 16:47:13 +0000 To: help-guix@gnu.org From: Hiep Pham Subject: Re: How to bump a package version locally? Message-ID: In-Reply-To: References: <1063470d-1f49-47b2-84fa-cb097055182b@proton.me> Feedback-ID: 87094561:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=hiepph9@proton.me; helo=mail-40131.protonmail.ch 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: -8.46 X-Migadu-Queue-Id: 4D4606E139 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.46 X-TUID: Qm0GrUTVYWi1 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 of = the > manual and it has some limitations. Okay, so I followed exactly this, and ... >> >> 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 ve= rsion. > So try to run `guix pull' first and then attempt to compile it again. It= should > succeed. I ran `guix pull` but no luck for me. I still met the same error when I=20 was running `make`: ``` 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' ``` My `guix describe` (on my Fedora machine): ``` guix c065da0 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: c065da01ff956d3c2bdfc45a33d910e509a211d9 ``` c065da01ff956d3c2bdfc45a33d910e509a211d9 is the latest commit on Oct 19,=20 2023. And my `which guix` is: /home/[username]/.config/guix/current/bin/guix >> >> 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 Hiep