That was it. Thanks. I do have to keep running:

find /software/ -name \*.egg-info -empty -delete -print

as check-errors.egg-info seems to be a pervasive problem. Maybe it would be
worth it to add a defence against this?




On Mon, Oct 30, 2023 at 12:18 AM Mario Domenech Goulart <
ma...@parenteses.org> wrote:

> On Mon, 30 Oct 2023 06:53:05 +0100 Mario Domenech Goulart <
> ma...@parenteses.org> wrote:
>
> > On Sun, 29 Oct 2023 20:22:53 -0700 Matt Welland <mattrwell...@gmail.com>
> wrote:
> >
> >> I'm guessing I've done something wrong in my setup but some eggs did
> install and some do not and I'm not sure what
> >> I'm missing.
> >>
> >>  MINGW32 ~
> >> $ chicken-install base64
> >> fetching base64
> >> C:\msys64\tmp\tempa4ea.8676\base64.egg
> >> C:\msys64\tmp\tempa4ea.8676\base64.scm
> >> C:\msys64\tmp\tempa4ea.8676\tests\run.scm
> >> 3 File(s) copied
> >> building base64
> >>    c:/msys64/software/bin/csc -host -D compiling-extension -J -s
> -regenerate-import-libraries -setup
> >> -mode -I C:\Users\Owner\AppData\Local\chicken-install\base64 -C
> -IC:\Users\Owner\AppData\Local\chick
> >> en-install\base64 -O2 -d1 base64.scm -o
> C:\Users\Owner\AppData\Local\chicken-install\base64\base64.s
> >> o
> >>    c:/msys64/software/bin/csc -regenerate-import-libraries -M
> -setup-mode -static -I C:\Users\Owner\
> >> AppData\Local\chicken-install\base64 -emit-link-file
> C:\Users\Owner\AppData\Local\chicken-install\ba
> >> se64\base64.link -host -D compiling-extension -c -unit base64 -D
> compiling-static-extension -C -IC:\
> >> Users\Owner\AppData\Local\chicken-install\base64 -O2 -d1 base64.scm -o
> C:\Users\Owner\AppData\Local\
> >> chicken-install\base64\base64.static.obj
> >>    c:/msys64/software/bin/csc -setup-mode -s -host -I
> C:\Users\Owner\AppData\Local\chicken-install\b
> >> ase64 -C -IC:\Users\Owner\AppData\Local\chicken-install\base64 -O2 -d0
> base64.import.scm -o C:\Users
> >> \Owner\AppData\Local\chicken-install\base64\base64.import.so
> >>
> >> Error: (assq) bad argument type: #!eof
> >
> > I seem to remember seing such errors when .egg-info files get corrupted.
> > I'd start by checking for abnormally small (or even empty) .egg-info
> > files in the directories printed by
> >
> >   $ csi -p '(begin (import (chicken platform)) (repository-path))'
> >
> > If you find a corrupted file, say for egg foo, just copy any other good
> > .egg-info file over foo.egg-info and reinstall foo with `chicken-install
> foo'.
>
> Actually simply removing the corrupted .egg-info file and installing its
> corresponding egg again should do the trick.
>
> > Once the corrupted files have been fixed, you should be able to install
> > eggs again.
> >
> All the best.
> Mario
> --
> http://parenteses.org/mario
>
>

-- 
--
Complexity is your enemy. Any fool can make something complicated.
It is hard to keep things simple. - Richard Branson.

Reply via email to