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 kITCBZokNGXQMAAAauVa8A:P1 (envelope-from ) for ; Sat, 21 Oct 2023 21:20:58 +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 kITCBZokNGXQMAAAauVa8A (envelope-from ) for ; Sat, 21 Oct 2023 21:20:58 +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 C572E666E9 for ; Sat, 21 Oct 2023 21:20:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=proton.me header.s=protonmail header.b="C3wqcV/i"; 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=1697916058; 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=LDGRx//dDCGOg2n1FiY2uuDiFNCkEt8JHD4l+yBlNCY=; b=s+WUjlV19taz/nlGQ7eCZQLedneHP1neML0TIZsy26lvWG3uo64OsTy/bwv9cy4gJQhC+J PTakIMUkWZD8LswlqrQGtYxsklEBBLTesNjDUVpoI+SPb/aUaoS2HxkYRy5KqOYQjKNfe2 WSbKNugoAELVHu7MyM9daZD/QGG9K5F1F6FBhdZGCTepdTFrPmrHnTxhOwZz/wJUAsyhwB 4v1JsjhZMwyx6GJcJkbMPqxKJ75f2OaGgoLzMl/8Wxem7I1khHE9pnvvJEXz5httKihA3b GGSLB9qdb6E8u0RNEUymguUxEOfjYO7CdXlGNUjfX2eyd7gaUVp4opotNlwfgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697916058; a=rsa-sha256; cv=none; b=qTCM2wi/w8qTBZqLNvleGYCvZl6D2B+gRYjQDALb9DPi4SJRERUEo/l87dr3z+fxHzE/cI b4l+9zpM5Nnybkp1D6OovjzxMTf+/eO2AyAE5d27BGyTyu1SUo8YH3NHDyhHh7BYKLdI5q JhAni+PofmjlGYm1Tgq9MjthULfPIQNhcJX4HexaOqqiYItnEwJA9Dmv38hc33GftchCug XFXWBFEc/PbHg8uFx9Pei11SdDHFviMK6CQk07ZU4FP9c1+TGD7SS0ilHWtzzagWSX+qJX mPezhwNnUmPMWjCMFq0ynC8b4ZrHgsXYNJ+X2sF9MOGyznO368DxjDliu8qygA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=proton.me header.s=protonmail header.b="C3wqcV/i"; 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 1quHWH-00032O-Rd; Sat, 21 Oct 2023 15:20:21 -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 1quHWF-0002zv-Lp for help-guix@gnu.org; Sat, 21 Oct 2023 15:20:19 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quHW8-0006ih-Jg for help-guix@gnu.org; Sat, 21 Oct 2023 15:20:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1697916006; x=1698175206; bh=LDGRx//dDCGOg2n1FiY2uuDiFNCkEt8JHD4l+yBlNCY=; 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=C3wqcV/ifP6jrSXf6poNBVDkQxNmntG1jLF2y3p1xodx3Uy25G4ide2Lk7QTkzmFb 2eJHp9EwiUueCcKdGAD+XgPUO6EIyKbqKWuV4cudRjTKGSgevzXUN9H8ujvNvynBm1 V0lz78IgnD7Yhf4Uq0TM5wu1XeyM6cKMTwA0W+iP8ftA4Pp4hJqHlErili5nfLFd7Z tpL1gGDuGRYLtb5TXDLmk+D/jEuknMmICPwMUnvpHRCxSM5N+QRpBnKGo/01lRP1OT YJpTjqKBxIqQNepdRFwX4uY9zniAosqsY1FP1kZ+MR22R/++u3M88Tnkd3upGazs1V +pO1JZPCKzNwA== Date: Sat, 21 Oct 2023 19:20:01 +0000 To: help-guix@gnu.org From: Hiep Pham Subject: Re: How to bump a package version locally? Message-ID: <13e65a49-14b6-46e4-ae68-311b551425b3@proton.me> 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.43.16; envelope-from=hiepph9@proton.me; helo=mail-4316.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.44 X-Migadu-Queue-Id: C572E666E9 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.44 X-TUID: 6YSzQEGUGQKC On 10/20/23 01:39, Tomas Volf wrote: > 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: >>> >>> I believe this is the preferred way. >>> >>>> >>>> guix shell -C -D guix git help2man strace >>>> ./bootstrap >>>> ./configure --localstatedir=3D/var >>> >>> I would recommend to use >>> >>> ./configure --localstatedir=3D/var --sysconfdir=3D/etc >>> >>> as described in the latest version of the manual: >>> >>> https://guix.gnu.org/manual/devel/en/html_node/Building-from-Git.html >>> >>> (notice the /devel/ in the path). Your version is from 1.4.0 version o= f 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 `Sendin= g >>>> a Patch Series' >>>> make[2]: *** [Makefile:5003: doc/guix.de.info] Error 1 >>>> ``` >>> >>> 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. >> >> >> I ran `guix pull` but no luck for me. I still met the same error when I >> was running `make`: >=20 > What version of makeinfo is present? For me: >=20 > $ guix shell -D guix -- makeinfo --version > texi2any (GNU texinfo) 6.8 >=20 >=20 >> >> ``` >> contributing.de.texi:1659: @menu reference to nonexistent node >> `Configuring Git' >> contributing.de.texi:1660: @menu reference to nonexistent node `Sending >> 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, >> 2023. >> >> And my `which guix` is: >> >> /home/[username]/.config/guix/current/bin/guix >=20 > I have to admit, I am unsure what the problem exactly is. Unless someone= else > comes with a better idea, what you could try: >=20 > 1. Clean up the git worktree (I use `git clean -xffd') > 2. Do the whole process step-by-step again I ran `git clean -xffd`, and started anew in a container. guix shell --container --network --nesting --development guix help2man \ =09git strace font-ghostscript fontconfig guile-gnutls Things now work!! ./bootstrap ./configure --localstatedir=3D/var --sysconfdir=3D/etc make make check I now can build `jsonnet` with a new version (0.17.0 -> 0.20.0): /pre-inst-env guix build jsonnet Of course, the build failed, since *there should be more work than just=20 bumping the version*. But this is a good start for me to start=20 contributing to the master tree. Long way to go, though. Developing in a foreign distro (Fedora in my case) was difficult.=20 Luckily, I discovered `--container`, `--network` and most importantly,=20 `--nesting` so that Guix _inside_ the container can interact with the=20 build daemon that runs _outside_ the container. Anyway, thanks a lot for your help! --=20 Hiep