* bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages
@ 2022-11-11 9:20 ykonai via Bug reports for GNU Guix
2022-11-12 9:16 ` bug#59200: Sharlatan Hellseher
2022-11-15 23:09 ` bug#59200: reproducibility ykonai via Bug reports for GNU Guix
0 siblings, 2 replies; 7+ messages in thread
From: ykonai via Bug reports for GNU Guix @ 2022-11-11 9:20 UTC (permalink / raw)
To: 59200
guix shell sbcl sbcl-uuid --pure -- sbcl --eval '(require :asdf)' --eval '(asdf:load-system :uuid)'
#<THREAD "main thread" RUNNING {100B1E8123}>:
Error opening #P"/gnu/store/in6ndcrnqg9pp2glkbvl1s072zp7r34y-sbcl-uuid-2012.12.26-1.e7d6680/lib/common-lisp/sbcl/uuid/uuid-tmpGHU3ALSV.fasl":
Read-only file system
The issue seems to be that the sbcl-uuid package has an empty
lib/common-lisp/sbcl/uuid directory: the FASL files don't get built.
The build log shows everything is fine
https://ci.guix.gnu.org/build/1670426/log/raw so I believe this has to
be an issue with the asdf-build-system/sbcl itself. It also seems to
affect a number of packages, including from what I've seen: sbcl-numcl,
sbcl-lack, and sbcl-mito. It doesn't seem to be a missing #:asd-systems
argument either (the .asd file is loaded fine per the build log).
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59200:
2022-11-11 9:20 bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages ykonai via Bug reports for GNU Guix
@ 2022-11-12 9:16 ` Sharlatan Hellseher
2022-11-15 10:32 ` bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages Guillaume Le Vaillant
2022-11-15 23:09 ` bug#59200: reproducibility ykonai via Bug reports for GNU Guix
1 sibling, 1 reply; 7+ messages in thread
From: Sharlatan Hellseher @ 2022-11-12 9:16 UTC (permalink / raw)
To: 59200
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
Hi,
I've got the same issue while packing cl-graph which has cl-containers as
one of the inputs. It's fails exactly the same where it can't assess
cl-containers FASL file.
Regards,
Oleg
[-- Attachment #2: Type: text/html, Size: 336 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages
2022-11-12 9:16 ` bug#59200: Sharlatan Hellseher
@ 2022-11-15 10:32 ` Guillaume Le Vaillant
0 siblings, 0 replies; 7+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-15 10:32 UTC (permalink / raw)
To: 59200
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
Hi,
I can't reproduce this issue.
I tried
--8<---------------cut here---------------start------------->8---
guix shell sbcl sbcl-uuid --pure -- sbcl --eval '(require :asdf)' --eval '(asdf:load-system :uuid)'
guix shell sbcl sbcl-cl-containers --pure -- sbcl --eval '(require :asdf)' --eval '(asdf:load-system :cl-containers)'
--8<---------------cut here---------------end--------------->8---
and both commands worked without any error.
With each of the following commands, do you see the "uuid.fasl" file at
the end or not?
--8<---------------cut here---------------start------------->8---
ls -l $(guix build sbcl-uuid)/lib/common-lisp/sbcl/uuid/
ls -l $(guix build --check --no-grafts sbcl-uuid)/lib/common-lisp/sbcl/uuid/
--8<---------------cut here---------------end--------------->8---
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59200: reproducibility
2022-11-11 9:20 bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages ykonai via Bug reports for GNU Guix
2022-11-12 9:16 ` bug#59200: Sharlatan Hellseher
@ 2022-11-15 23:09 ` ykonai via Bug reports for GNU Guix
2022-11-16 10:20 ` Guillaume Le Vaillant
1 sibling, 1 reply; 7+ messages in thread
From: ykonai via Bug reports for GNU Guix @ 2022-11-15 23:09 UTC (permalink / raw)
To: 59200
Hi,
I can definitely consistently reproduce this issue. Maybe something in
your filesystem could interfere with this? Try:
guix shell sbcl sbcl-uuid --container -- sbcl --eval '(require :asdf)'
--eval '(asdf:load-system :uuid)'
This is on guix commit 8f9588185d74f1f251b041b84d43302c337588ff, which
is from a fresh guix pull.
I was wrong wrt. .fasl files missing: ls -l $(guix build
sbcl-uuid)/lib/common-lisp/sbcl/uuid/ does show that the FASL is there,
it is simply that SBCL arbitrarily decides it needs to be recompiled,
which looks like the problem here. It could be some ASDF upstream bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59200: reproducibility
2022-11-15 23:09 ` bug#59200: reproducibility ykonai via Bug reports for GNU Guix
@ 2022-11-16 10:20 ` Guillaume Le Vaillant
2022-11-16 12:46 ` ykonai via Bug reports for GNU Guix
0 siblings, 1 reply; 7+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-16 10:20 UTC (permalink / raw)
To: ykonai; +Cc: 59200
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
ykonai via Bug reports for GNU Guix <bug-guix@gnu.org> skribis:
> I can definitely consistently reproduce this issue. Maybe something in
> your filesystem could interfere with this? Try:
> guix shell sbcl sbcl-uuid --container -- sbcl --eval '(require :asdf)'
> --eval '(asdf:load-system :uuid)'
>
> This is on guix commit 8f9588185d74f1f251b041b84d43302c337588ff, which
> is from a fresh guix pull.
>
> I was wrong wrt. .fasl files missing: ls -l $(guix build
> sbcl-uuid)/lib/common-lisp/sbcl/uuid/ does show that the FASL is there,
> it is simply that SBCL arbitrarily decides it needs to be recompiled,
> which looks like the problem here. It could be some ASDF upstream bug.
I tried:
--8<---------------cut here---------------start------------->8---
guix time-machine --commit=8f9588185d74f1f251b041b84d43302c337588ff -- \
shell sbcl sbcl-uuid --container -- \
sbcl --no-userinit --eval '(require :asdf)' --eval '(asdf:load-system :uuid)'
--8<---------------cut here---------------end--------------->8---
and it worked without error.
Maybe there is something in your local CL configuration (.sbclrc) that
ASDF doesn't like...
Could you check if you still have an error when ignoring the local
configuration with:
--8<---------------cut here---------------start------------->8---
guix shell sbcl sbcl-uuid --container -- \
sbcl --no-userinit --eval '(require :asdf)' --eval '(asdf:load-system :uuid)'
--8<---------------cut here---------------end--------------->8---
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59200: reproducibility
2022-11-16 10:20 ` Guillaume Le Vaillant
@ 2022-11-16 12:46 ` ykonai via Bug reports for GNU Guix
2022-11-16 13:05 ` Guillaume Le Vaillant
0 siblings, 1 reply; 7+ messages in thread
From: ykonai via Bug reports for GNU Guix @ 2022-11-16 12:46 UTC (permalink / raw)
To: Guillaume Le Vaillant; +Cc: 59200
Hi,
It turns out this was due to the fact that I had ironclad git cloned on
my computer, which was accidentally visible via :tree in the ASDF
configuration. ASDF detected that a different ironclad was used and
tried to compile-file to the gnu/store. I thought it was guix-related
since it did occur with both --pure and --container, but I was running
it with the default cwd share on.
Using --container --no-cwd is the solution to this problem.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59200: reproducibility
2022-11-16 12:46 ` ykonai via Bug reports for GNU Guix
@ 2022-11-16 13:05 ` Guillaume Le Vaillant
0 siblings, 0 replies; 7+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-16 13:05 UTC (permalink / raw)
To: ykonai; +Cc: 59200-close
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
ykonai <mail@ykonai.net> skribis:
> Hi,
>
> It turns out this was due to the fact that I had ironclad git cloned on
> my computer, which was accidentally visible via :tree in the ASDF
> configuration. ASDF detected that a different ironclad was used and
> tried to compile-file to the gnu/store. I thought it was guix-related
> since it did occur with both --pure and --container, but I was running
> it with the default cwd share on.
>
> Using --container --no-cwd is the solution to this problem.
Ok. Closing.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-11-16 13:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 9:20 bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages ykonai via Bug reports for GNU Guix
2022-11-12 9:16 ` bug#59200: Sharlatan Hellseher
2022-11-15 10:32 ` bug#59200: ASDF build system/sbcl doesn't build FASLs on some packages Guillaume Le Vaillant
2022-11-15 23:09 ` bug#59200: reproducibility ykonai via Bug reports for GNU Guix
2022-11-16 10:20 ` Guillaume Le Vaillant
2022-11-16 12:46 ` ykonai via Bug reports for GNU Guix
2022-11-16 13:05 ` Guillaume Le Vaillant
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.