unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67714: “guix build racket” different from “guix shell racket”
@ 2023-12-08 16:45 Simon Tournier
  2023-12-08 18:08 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2023-12-08 16:45 UTC (permalink / raw)
  To: 67714

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#67714: “guix build racket” different from “guix shell racket”
  2023-12-08 16:45 bug#67714: “guix build racket” different from “guix shell racket” Simon Tournier
@ 2023-12-08 18:08 ` Ludovic Courtès
  2023-12-08 18:33   ` Simon Tournier
  2023-12-11 12:05   ` Simon Tournier
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-12-08 18:08 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 67714

Hi,

Simon Tournier <zimon.toutoune@gmail.com> skribis:

> Using Guix aabfddb (Oct 2023),
>
> $ guix build racket-minimal --no-grafts -d
> /gnu/store/hcdvhp36c51f6854mzggacsylkks24jj-racket-minimal-8.10.drv
>
> $ 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
>
>
> Well, the derivations are not the same and their output neither.
>
> $ 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

This is likely <https://issues.guix.gnu.org/66662>, fixed on Oct. 27th
with commit 67effc1560fc175dfbcb58ef5b965b08b3942d6c.

I guess we can close if it’s not reproducible now?

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#67714: “guix build racket” different from “guix shell racket”
  2023-12-08 18:08 ` Ludovic Courtès
@ 2023-12-08 18:33   ` Simon Tournier
  2023-12-11 12:05   ` Simon Tournier
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Tournier @ 2023-12-08 18:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 67714-done

Hi Ludo,

On Fri, 8 Dec 2023 at 19:08, Ludovic Courtès <ludo@gnu.org> wrote:

> This is likely <https://issues.guix.gnu.org/66662>, fixed on Oct. 27th
> with commit 67effc1560fc175dfbcb58ef5b965b08b3942d6c.

Cool!  Thanks for the quick answer.  You saved me some investigation time. :-)

> I guess we can close if it’s not reproducible now?

Yeah, done.

Cheers,
simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#67714: “guix build racket” different from “guix shell racket”
  2023-12-08 18:08 ` Ludovic Courtès
  2023-12-08 18:33   ` Simon Tournier
@ 2023-12-11 12:05   ` Simon Tournier
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Tournier @ 2023-12-11 12:05 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 67714

Hi,

On ven., 08 déc. 2023 at 19:08, Ludovic Courtès <ludo@gnu.org> wrote:

> I guess we can close if it’s not reproducible now?

Well, I reproduce the issue with my laptop using Guix 8e61e63 pulled on
Dec. 11th.  Running “guix shell” launches the ’install’ phase when “guix
build” just fetches the substitute; see below.

From “guix shell”, the derivation builder reads:

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

And from “guix build”, the derivation builder reads:

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


Now, let checkout:

        $ ./pre-inst-env guix describe
        Git checkout:
          repository: /home/simon/src/guix/guix/
          branch: HEAD
          commit: 8e61e6351510f5665d09c6debc0584b3ed218e73

Then, it just works:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell racket --no-grafts
The following derivation will be built:
  /gnu/store/ylwx5qdv5lqjmd476fld8gzwv5ngw01p-profile.drv

0,2 MB will be downloaded
 module-import-compiled  177KiB                                            646KiB/s 00:00 ▕██████████████████▏ 100.0%
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
generating GdkPixbuf loaders cache...
generating GLib schema cache...
creating GTK+ icon theme cache...
building cache files for GTK+ input methods...
building directory of Info manuals...
building XDG desktop file cache...
building XDG MIME database...
building profile with 1 package...
--8<---------------cut here---------------end--------------->8---

The profile derivation refers to the item:

    /gnu/store/ygf3aip0r2fl8mjnanwf03sxbjmdr1qj-racket-8.10.drv

which compares to:

    $ guix build racket -d --no-grafts
    /gnu/store/ygf3aip0r2fl8mjnanwf03sxbjmdr1qj-racket-8.10.drv


Hum, the bug is probably trickier than I initially thought.

Cheers,
simon


--8<---------------cut here---------------start------------->8---
$ guix shell chez-scheme racket guile --pure
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
9,9 MB will be downloaded
 chez-scheme-9.5.8-doc  2.1MiB        763KiB/s 00:03 ▕██████████████████▏ 100.0%
 chez-scheme-9.5.8  2.4MiB            600KiB/s 00:04 ▕██████████████████▏ 100.0%
 cups-minimal-2.4.7  4.9MiB           711KiB/s 00:07 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
5,4 MB will be downloaded
 cups-2.4.7                                  533KiB/s 00:11 | 5.5MiB transferred
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 will be built:
  /gnu/store/5wkp5xwbrn4qqyrnfk9v9vzaiahk3h4k-racket-8.10.drv
  /gnu/store/ll9dxprspbjm2phqpbz58imgpiy9rbnr-racket-minimal-8.10.drv

26,6 MB will be downloaded
 glu-9.0.2  265KiB                    2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 racket-vm-cs-8.10  25.1MiB           450KiB/s 00:57 ▕██████████████████▏ 100.0%
building /gnu/store/ll9dxprspbjm2phqpbz58imgpiy9rbnr-racket-minimal-8.10.drv...
building /gnu/store/5wkp5xwbrn4qqyrnfk9v9vzaiahk3h4k-racket-8.10.drv...
/ 'install' phase  C-c C-c

$ guix build racket
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
125,7 MB will be downloaded:
  /gnu/store/cbm1pbg9zgpj6wg9m0l0xjz72gi6cp8f-racket-minimal-8.10
  /gnu/store/4bwp8syfwdlkzxbhx52i6l9yjfp1znkh-racket-8.10
substituting /gnu/store/cbm1pbg9zgpj6wg9m0l0xjz72gi6cp8f-racket-minimal-8.10...
downloading from https://ci.guix.gnu.org/nar/lzip/cbm1pbg9zgpj6wg9m0l0xjz72gi6cp8f-racket-minimal-8.10 ...
 racket-minimal-8.10  11KiB           1.5MiB/s 00:00 ▕██████████████████▏ 100.0%

substituting /gnu/store/4bwp8syfwdlkzxbhx52i6l9yjfp1znkh-racket-8.10...
downloading from https://ci.guix.gnu.org/nar/zstd/4bwp8syfwdlkzxbhx52i6l9yjfp1znkh-racket-8.10 ...
 racket-8.10  132.1MiB                440KiB/s 05:08 ▕██████████████████▏ 100.0%

The following grafts will be made:
   /gnu/store/1cdi64z69h2fq1sdhzwqmhjqdir4yd90-racket-8.10.drv
   /gnu/store/8w5mgd0s4lrjh541kq36k9i8fq2nsy35-glu-9.0.2.drv
   /gnu/store/bg0ajbgqbvc8sxgj48grcqnmy4iq1kyr-racket-vm-cs-8.10.drv
   /gnu/store/yknjcsgp0asimg2ik99d42q3xspsds96-lz4-1.9.3.drv
   /gnu/store/i2p2k7v7l0cv6wrb7iafb9mhzccc7lj7-gtk+-3.24.37.drv
   /gnu/store/0c6cyncz0g5yyx0rs63i1ymg6s3pphsw-cups-2.4.7.drv
   /gnu/store/0qmw4vj1by85bmdj1l35iv9122pnnzjr-cups-filters-1.28.15.drv
   /gnu/store/8vvbr8khaqg9v8in2b3g09y3yrxx6la7-cups-minimal-2.4.7.drv
   /gnu/store/l5sjy9jn0ydlvgcsdwvndzp9jz2v0kcz-ghostscript-with-cups-9.56.1.drv
   /gnu/store/vd49ihqmrf5jnmnmv6n5c8gyqdc30d2f-racket-minimal-8.10.drv
applying 3 grafts for glu-9.0.2 ...
grafting '/gnu/store/p6h3qkzh7azp0djcwhks6cr3z7jj3cmw-glu-9.0.2' -> '/gnu/store/n7df20wiwjmqj96cxrdgvydydd1z7k92-glu-9.0.2'...
successfully built /gnu/store/8w5mgd0s4lrjh541kq36k9i8fq2nsy35-glu-9.0.2.drv
applying 12 grafts for cups-minimal-2.4.7 ...
grafting '/gnu/store/jnbdnn8x1hr4smlxx53migv0bnzsc9m9-cups-minimal-2.4.7' -> '/gnu/store/97d4pyag67py10gzlj0j27wfc6sh862y-cups-minimal-2.4.7'...
successfully built /gnu/store/8vvbr8khaqg9v8in2b3g09y3yrxx6la7-cups-minimal-2.4.7.drv
applying 2 grafts for lz4-1.9.3 ...
grafting '/gnu/store/qym8x2bhabj79cqx51jihlz0hd7nkch0-lz4-1.9.3' -> '/gnu/store/h2i1rj2nn7hada0dhsqc5pm93343zydm-lz4-1.9.3'...
successfully built /gnu/store/yknjcsgp0asimg2ik99d42q3xspsds96-lz4-1.9.3.drv
applying 23 grafts for ghostscript-with-cups-9.56.1 ...
grafting '/gnu/store/l546pfngkkk0xb84j2svrvax3h4rcsdx-ghostscript-with-cups-9.56.1-doc' -> '/gnu/store/kvxbxpk2cg6y7lmr0aiq4gbxqq6nz80y-ghostscript-with-cups-9.56.1-doc'...
grafting '/gnu/store/1fv5dv221zcp1080p3kdxfsd6b10nllj-ghostscript-with-cups-9.56.1' -> '/gnu/store/h2jmnszansk01rsa40h7ws45mr89blrv-ghostscript-with-cups-9.56.1'...
successfully built /gnu/store/l5sjy9jn0ydlvgcsdwvndzp9jz2v0kcz-ghostscript-with-cups-9.56.1.drv
applying 5 grafts for racket-vm-cs-8.10 ...
grafting '/gnu/store/apxq5vmqqxlcxmqdndnwb6cshwnvm6yw-racket-vm-cs-8.10' -> '/gnu/store/nrzsbqijrphs9j5spy171rq0h6j5ngg1-racket-vm-cs-8.10'...
successfully built /gnu/store/bg0ajbgqbvc8sxgj48grcqnmy4iq1kyr-racket-vm-cs-8.10.drv
applying 29 grafts for cups-filters-1.28.15 ...
grafting '/gnu/store/7d64r375qwsvfqyx235p5zgh6dc133bj-cups-filters-1.28.15' -> '/gnu/store/p12dwhnqwa861lagmzvv2nnpqyxb4kxv-cups-filters-1.28.15'...
successfully built /gnu/store/0qmw4vj1by85bmdj1l35iv9122pnnzjr-cups-filters-1.28.15.drv
applying 9 grafts for racket-minimal-8.10 ...
grafting '/gnu/store/cbm1pbg9zgpj6wg9m0l0xjz72gi6cp8f-racket-minimal-8.10' -> '/gnu/store/h1s4211ym2xzfffxkrzsqx7qjyhwgb2y-racket-minimal-8.10'...
successfully built /gnu/store/vd49ihqmrf5jnmnmv6n5c8gyqdc30d2f-racket-minimal-8.10.drv
applying 16 grafts for cups-2.4.7 ...
grafting '/gnu/store/m3i72ximavwa480l4piv9zjfha4v639p-cups-2.4.7' -> '/gnu/store/414fi9w41yg776vi2pxam0x64xvwz8cm-cups-2.4.7'...
successfully built /gnu/store/0c6cyncz0g5yyx0rs63i1ymg6s3pphsw-cups-2.4.7.drv
applying 28 grafts for gtk+-3.24.37 ...
grafting '/gnu/store/6p5snzv6mkwkxpyr9cf1idi93lj5m8np-gtk+-3.24.37' -> '/gnu/store/bxcrh60vx2xg86p2lvddkyhxxxypk8p1-gtk+-3.24.37'...
successfully built /gnu/store/i2p2k7v7l0cv6wrb7iafb9mhzccc7lj7-gtk+-3.24.37.drv
applying 24 grafts for racket-8.10 ...
grafting '/gnu/store/4bwp8syfwdlkzxbhx52i6l9yjfp1znkh-racket-8.10' -> '/gnu/store/am5ilghrzkcyxpmbxdacdbijygvvbglp-racket-8.10'...
successfully built /gnu/store/1cdi64z69h2fq1sdhzwqmhjqdir4yd90-racket-8.10.drv
/gnu/store/am5ilghrzkcyxpmbxdacdbijygvvbglp-racket-8.10
--8<---------------cut here---------------end--------------->8---






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-12 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 16:45 bug#67714: “guix build racket” different from “guix shell racket” Simon Tournier
2023-12-08 18:08 ` Ludovic Courtès
2023-12-08 18:33   ` Simon Tournier
2023-12-11 12:05   ` Simon Tournier

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