From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yDMSOC2cMmWD7gAA9RJhRA:P1 (envelope-from ) for ; Fri, 20 Oct 2023 17:26:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yDMSOC2cMmWD7gAA9RJhRA (envelope-from ) for ; Fri, 20 Oct 2023 17:26:37 +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 92A9B51944 for ; Fri, 20 Oct 2023 17:26:37 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=BZ58CeQt; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697815597; 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=mFW1RbnKXIcidObzAz40bMxKaJXV2IhQhgbHk8iwxxI=; b=Q6u3Hzm6PPTFV6HE+cUrnTCdJrT3+ta7XpvH2Dutvm6BU/mYPtS2Lu90e7lVF/rkbgH+4c zdDxmG4n4aLqCVvPlXyhOHu0XC5eDd3eRm+73f/3T7Ld2JDxOidNTCLSD9DZ5XZhJxWV0l piL4355ol0ngXMgzv99uYsuNpqtqgIGFgYUxSFKNnLs+T5sMJ5aHe/xzrlBkUyUMppnp+U c0mzQBs4AeybV3Vgfix+5mu0dIKyhYhNtTWkFz3kr2p4L9ym9j1EZkeF28IkX71THwv3Pb 6/lbt7DLI/pX2q10SXosvc1/USSVla1bGOAFtKJTxew/d2f8Xutojtj3VmmmRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=BZ58CeQt; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697815597; a=rsa-sha256; cv=none; b=Bh18BJY8nIcWjgGn36OuT5KBiWRPLZYP0IfvTYigB+nsWbpJbukDUmn3Cr0JIywCwFQAyu 2SUmRBrqYV0v/66aiWOPQdQyunuRTKAFohAilhr0zG5twBV3SwzYZgh3NVXFjm2YjwY/lW nXO8pZSdsCp/TQQ6eWczr1uNwrbL8LDBki/3EbnqNVZoPjYOiMypXvta+veFYSEy2MfR0P fQT69vSzHfpu8ug9sn4vsJlQmZTAcF0LZ+pxWZ4cNUW90MVMaJBfbbWHlpzf8ktv0Mz1Et 5IYBfcrXClfDgc1SXiCucf9WboyBr504/sDLNVo+1U1nfjoJv4AhXJcLNwWyzQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtrNs-0002aF-CH; Fri, 20 Oct 2023 11:25:56 -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 1qtrNk-0002Zt-UI for help-guix@gnu.org; Fri, 20 Oct 2023 11:25:50 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtrNj-0006kb-4h for help-guix@gnu.org; Fri, 20 Oct 2023 11:25:48 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c508e76eb4so2424351fa.0 for ; Fri, 20 Oct 2023 08:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697815543; x=1698420343; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=mFW1RbnKXIcidObzAz40bMxKaJXV2IhQhgbHk8iwxxI=; b=BZ58CeQtIopJROTA1YcgB+QeuhthUjKsZVrMSGZVzggJkLciSa1QxReNs8IRiydSru Gu1G7lT+v4d3hO/vWaCUFVawTFv6oe1xJGj9oC+2imKrRSelct5aIf1YHg1ETioPccme 7qqdZ6WzjbLXietrhXUpz6/fmBxA4s7k3ixf83mfwOffi4n+J+F6fup6jNPWT5KeStMW wOs8EBfzn2IPYiPy2qCEJUQRyVJ/tI3dC8DJkfXMhR56vbWDxE/9LH52ugt1j57hhF0H vKuySaoT/rsyKXzsktq4mH2a30jOAh77w5Wkb67yUxS40MueFzkdqPG5/qvFZzh7ToDw wDOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697815543; x=1698420343; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=mFW1RbnKXIcidObzAz40bMxKaJXV2IhQhgbHk8iwxxI=; b=lg8BGjL+BAf3LYh7x5D14N7c1gf6asPeSPYOgTmM6dH1spExb1w5zI4nEahsyoHZLe eENp4oq3zuz/55rOKeqJJNqezxeak07yDPse0EUamm/+5tL7hdkmGRKvZXq6GvZYohv+ UVTNCSqrT6sYfJP9/Ava4T42Sj3ZdzEH6Nq/EXhhD+JZIkLPmyinBAvsG9HBshtfV7ds Igs0qzpYkPlSgvqb71RTJVEJ0/P6E/QoZzyzPy1eEJhXDoxO77G6Ov9gyzQ1nJo/nvv6 +hxErmaJsO57cvgtho8MSgSPe0vVVTQrvRliFDbm/SWf8KmU61Wd3/VHke7e16bjTIQl xd9Q== X-Gm-Message-State: AOJu0YwIejI0jpLk5phEYV9h4YgU56MRGoJz6scNLdb2y2cloQLHeJMj vwDVqKci73nMBcn9yupapVlROpO/Jno= X-Google-Smtp-Source: AGHT+IHkKQBPmxqH8Vp9zgTTUhFLZLVjxXuX5SC9aCgev3erySddZQ9oAvJqE6ZIfiZ7Cn2KtTJ8bA== X-Received: by 2002:a2e:81cc:0:b0:2be:5485:4a99 with SMTP id s12-20020a2e81cc000000b002be54854a99mr1553268ljg.4.1697815543325; Fri, 20 Oct 2023 08:25:43 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id g38-20020a05600c4ca600b004078d71be9csm7094789wmp.13.2023.10.20.08.25.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 08:25:43 -0700 (PDT) From: Simon Tournier To: Hiep Pham , help-guix@gnu.org Subject: Re: How to bump a package version locally? In-Reply-To: <1063470d-1f49-47b2-84fa-cb097055182b@proton.me> References: <1063470d-1f49-47b2-84fa-cb097055182b@proton.me> Date: Fri, 20 Oct 2023 15:15:24 +0200 Message-ID: <87lebxmo43.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=zimon.toutoune@gmail.com; helo=mail-lj1-x232.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.42 X-Spam-Score: -8.42 X-Migadu-Queue-Id: 92A9B51944 X-Migadu-Scanner: mx2.migadu.com X-TUID: QGhnvJXpbFyq Hi, On Wed, 18 Oct 2023 at 18:24, Hiep Pham wrote: > I want to bump `jsonnet` version from 0.17.0 to 0.20.0 from the master=20 > branch of the `guix` repository. I edited the version in=20 > `gnu/packages/cpp.scm`: > > (define-public jsonnet > (package > (name "jsonnet") > (version "0.20.0") > [snip] > )) > > *How do I test building/installing this change locally?* > Here what I tried so far: > > 1. Standing at the root of the `guix` repository, build with: > > guix build -L . jsonnet > > This failed: What is the content of the folder =E2=80=99.=E2=80=99? I guess the command above =E2=80=9Cguix build -L .=E2=80=9D is run from the= Guix checkout, right? If yes, the failure is expected. Here, you are loading too much and conflicting definitions. > 2. Followed the contributing guide [1], I created a shell instead: > > guix shell -C -D guix git help2man strace > ./bootstrap > ./configure --localstatedir=3D/var > > This generated `pre-inst-env`, but `make` step failed with: > > ``` > MAKEINFO doc/guix.de.info > 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' > make[2]: *** [Makefile:5003: doc/guix.de.info] Error 1 > ``` Before running =E2=80=9Cguix shell=E2=80=9D, what is your revision of Guix?= What is the output of =E2=80=9Cguix describe=E2=80=9D? Well, I recommend to run first =E2=80=9Cguix pull=E2=80=9D. Then, if the e= rror still happens, maybe try =E2=80=9Cmake distclean=E2=80=9D before running =E2=80= =9C./bootstrap=E2=80=9D, =E2=80=9C./configure=E2=80=9D and =E2=80=9Cmake=E2=80=9D. Hope that helps, simon