From: Simon Tournier <zimon.toutoune@gmail.com>
To: Hiep Pham <hiepph9@proton.me>, help-guix@gnu.org
Subject: Re: How to bump a package version locally?
Date: Fri, 20 Oct 2023 15:15:24 +0200 [thread overview]
Message-ID: <87lebxmo43.fsf@gmail.com> (raw)
In-Reply-To: <1063470d-1f49-47b2-84fa-cb097055182b@proton.me>
Hi,
On Wed, 18 Oct 2023 at 18:24, Hiep Pham <hiepph9@proton.me> wrote:
> 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]
> ))
>
> *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 ’.’?
I guess the command above “guix build -L .” 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=/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
> `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
> ```
Before running “guix shell”, what is your revision of Guix? What is the
output of “guix describe”?
Well, I recommend to run first “guix pull”. Then, if the error still
happens, maybe try “make distclean” before running “./bootstrap”,
“./configure” and “make”.
Hope that helps,
simon
prev parent reply other threads:[~2023-10-20 15:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 18:24 How to bump a package version locally? Hiep Pham
2023-10-18 19:00 ` wolf
2023-10-19 16:47 ` Hiep Pham
2023-10-19 23:39 ` Tomas Volf
2023-10-21 19:20 ` Hiep Pham
2023-10-20 13:15 ` Simon Tournier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lebxmo43.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=help-guix@gnu.org \
--cc=hiepph9@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).