unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: 67714@debbugs.gnu.org
Subject: bug#67714: “guix build racket” different from “guix shell racket”
Date: Fri, 08 Dec 2023 17:45:09 +0100	[thread overview]
Message-ID: <877clo8wyy.fsf@gmail.com> (raw)

Hi,

Using Guix aabfddb (Oct 2023),

--8<---------------cut here---------------start------------->8---
$ guix build racket-minimal --no-grafts -d
/gnu/store/hcdvhp36c51f6854mzggacsylkks24jj-racket-minimal-8.10.drv
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
$ guix shell racket-minimal --no-grafts --dry-run
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations would be built:
  /gnu/store/vy5y76f25ni3kxjfa8x6c3rjgvrvach1-profile.drv
  /gnu/store/jxbm1inf8mj7fvs8z9xxxcrlqv9i1hs7-racket-minimal-8.10.drv
--8<---------------cut here---------------end--------------->8---

Well, the derivations are not the same and their output neither.

--8<---------------cut here---------------start------------->8---
$ guix build /gnu/store/hcdvhp36c51f6854mzggacsylkks24jj-racket-minimal-8.10.drv
/gnu/store/rvvyiy90dh2dpwn52r84xx4rsvvijz8q-racket-minimal-8.10

$ guix build /gnu/store/jxbm1inf8mj7fvs8z9xxxcrlqv9i1hs7-racket-minimal-8.10.drv
/gnu/store/f2vky2mswm2h7w3jjiw7s28d25kzbmrl-racket-minimal-8.10
--8<---------------cut here---------------end--------------->8---

Hum?!  Looking more closely, their builder reads,

From “guix build”:

  (apply invoke racket
  "/gnu/store/xgaj5m1yhyrc80jhx9djsvg4r7lgrz05-configure-layer.rkt"

From “guix shell”:

  (apply invoke racket
  "/gnu/store/3k9f2j9arycxd5r6fw1dpidj51pbv41n-configure-layer.rkt"

And the bug is:

--8<---------------cut here---------------start------------->8---
$ diff \
  /gnu/store/xgaj5m1yhyrc80jhx9djsvg4r7lgrz05-configure-layer.rkt \
  /gnu/store/3k9f2j9arycxd5r6fw1dpidj51pbv41n-configure-layer.rkt
diff: /gnu/store/xgaj5m1yhyrc80jhx9djsvg4r7lgrz05-configure-layer.rkt: No such file or directory
--8<---------------cut here---------------end--------------->8---

Well, on more more recent revisions, e.g., 06f25a9a85, I am not able to
reproduce.  Other said, I am not able to tell if the bug had been fixed
or if it is not hit.

Cheers,
simon





             reply	other threads:[~2023-12-08 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08 16:45 Simon Tournier [this message]
2023-12-08 18:08 ` bug#67714: “guix build racket” different from “guix shell racket” Ludovic Courtès
2023-12-08 18:33   ` Simon Tournier
2023-12-11 12:05   ` Simon Tournier

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=877clo8wyy.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=67714@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).