From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: Kaelyn <kaelyn.alexi@protonmail.com>
Cc: Simon Tournier <zimon.toutoune@gmail.com>,
Tobias Geerinckx-Rice <me@tobias.gr>,
guix-devel@gnu.org
Subject: Re: Rebuilding a package after removing a build step
Date: Mon, 23 Sep 2024 10:22:28 +0200 [thread overview]
Message-ID: <m1frpqpynv.fsf@fastmail.net> (raw)
In-Reply-To: <C9lQMfmoVJhrRX_TdFtqBKG4uta_ElNZY3oCBTF5iJySxvjq22cHvC9tt1cAXR7qFEI86t2jflph7GOU-N-ujQM-lMTSNzJ7wUKFIRL9MLA=@protonmail.com>
Hi Kaelyn,
> Whether it does or doesn't depends on the versions of the duplicate
> packages in question. If both packages have the same version, then the
> command line tools will warn about the ambiguous package
> specification. If the version numbers are different, then the tools
> will quietly choose the "newer" version (the larger version number).
My case was in neither of these well-defined situations. I had different
version number strings without an obvious order relation between them.
Not obvious to me at least. Here is an example (edited for focus):
$ guix show -L . sbcl-websocket-driver
name: sbcl-websocket-driver
version: 0.2.0-0.df94496
location: gnu/packages/lisp-xyz.scm:30847:4
name: sbcl-websocket-driver
version: 0.2.0-0.17ba553
location: ./kh/packages/lisp.scm:53:4
$ guix build -L . sbcl-websocket-driver
/gnu/store/nd9ajz9ni395792f03ggf3jprf44cgz2-sbcl-websocket-driver-0.2.0-0.df94496
There are two definitions for sbcl-websocket-driver, differing only in
the commit id. How did "guix build" choose the first one? The second one
is newer, but figuring this out requires checking out the repository
and analyzing its DAG. It looks like Guix picked the larger one by
alphanumeric order, which is not a reasonable choice in a development
context.
Cheers,
Konrad.
next prev parent reply other threads:[~2024-09-23 8:24 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-17 15:59 Rebuilding a package after removing a build step Konrad Hinsen
2024-09-17 16:27 ` Tobias Geerinckx-Rice
2024-09-18 8:33 ` Konrad Hinsen
2024-09-18 17:40 ` Suhail Singh
2024-09-18 18:27 ` Konrad Hinsen
2024-09-19 15:32 ` Suhail Singh
2024-09-20 17:10 ` Simon Tournier
2024-09-22 8:34 ` Konrad Hinsen
2024-09-22 16:48 ` Kaelyn
2024-09-23 8:22 ` Konrad Hinsen [this message]
2024-09-23 8:42 ` Andreas Enge
2024-09-23 15:29 ` Konrad Hinsen
2024-09-23 16:03 ` Vagrant Cascadian
2024-09-23 18:17 ` Suhail Singh
2024-09-24 0:16 ` Kaelyn
2024-09-24 5:24 ` Konrad Hinsen
2024-09-23 16:27 ` Tobias Geerinckx-Rice
2024-09-26 13:35 ` Ludovic Courtès
2024-09-30 14:25 ` Konrad Hinsen
2024-09-18 19:32 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1frpqpynv.fsf@fastmail.net \
--to=konrad.hinsen@fastmail.net \
--cc=guix-devel@gnu.org \
--cc=kaelyn.alexi@protonmail.com \
--cc=me@tobias.gr \
--cc=zimon.toutoune@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.