Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing chickadee after upgrading to CHICKEN Scheme 5.3.0 (installed using homebrew on macOS) puts the .../share/chickadee directory in the wrong place #1

Open
tkurtbond opened this issue Dec 24, 2021 · 1 comment

Comments

@tkurtbond
Copy link

This is on macOS using CHICKEN Scheme 5.3.0 installed using homebrew.

After installing chicken-doc and then chickadee, but now when I run "chickadee serve" I get the following message:

$ chickadee  serve

Error: (change-directory) cannot change current directory - No such file or directory: "/usr/local/Cellar/chicken/5.3.0/share/chicken/chickadee"

Call history:

spiffy.scm:548: chicken.condition#with-exception-handler
spiffy.scm:548: ##sys#call-with-values
spiffy.scm:548: scheme#eval
<syntax>  (let () (import openssl) ssl-port?)
<syntax>  (##core#let () (import openssl) ssl-port?)
spiffy.scm:548: k691
spiffy.scm:547: g694
spiffy.scm:610: dynamic-import
spiffy.scm:548: scheme#call-with-current-continuation
spiffy.scm:548: chicken.condition#with-exception-handler
spiffy.scm:548: ##sys#call-with-values
spiffy.scm:548: scheme#eval
<syntax>  (let () (import openssl) ssl-port->tcp-port)
<syntax>  (##core#let () (import openssl) ssl-port->tcp-port)
spiffy.scm:548: k691
spiffy.scm:547: g694   <--

And, indeed, that directory is missing. I've uninstalled chickadee and installed it again, but that made no difference.

The chickadee.install.sh commands that create .../share/chicken and copy the directory chickadee to it use /usr/local/Cellar/chicken/5.3.0/usr/local/Cellar/chicken/5.3.0/share/chicken instead of /usr/local/Cellar/chicken/5.3.0/share/chicken.  That is, it repeats the /usr/local/Cellar/chicken/5.3.0 part, so the files end up in the wrong place.
Here are the commands from chickadee.install.sh:

mkdir -p "${DESTDIR}"'/usr/local/Cellar/chicken/5.3.0/usr/local/Cellar/chicken/5.3.0/share/chicken
cp -v -r '/Users/tkb/.cache/chicken-install/chickadee/chickadee' "${DESTDIR}"'/usr/local/Cellar/chicken/5.3.0/usr/local/Cellar/chicken/5.3.0/share/chicken'

So, something is going wrong when chickadee.install.sh is generated.

@tkurtbond
Copy link
Author

Ken Lovett pointed out on the chicken-users mailing list that there is a similar bug report on in the Chicken bug database: https://bugs.call-cc.org/ticket/1721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant