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

Install broken (Crystal v1.0.0 not found and Crystal 1.1 is seg fault) #10949

Closed
Nicolab opened this issue Jul 15, 2021 · 4 comments
Closed

Install broken (Crystal v1.0.0 not found and Crystal 1.1 is seg fault) #10949

Nicolab opened this issue Jul 15, 2021 · 4 comments
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:infrastructure

Comments

@Nicolab
Copy link
Contributor

Nicolab commented Jul 15, 2021

Bug Report

Hello,

On the website https://crystal-lang.org/, the last Crystal version is v1.0.0, but Crystal v1.0.0 is not found http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_18.04/

The last release is v1.1.0 but this version doesn't work #10948 (Segmentation fault)

So https://crystal-lang.org/install.sh is broken

@Nicolab Nicolab added the kind:bug A bug in the code. Does not apply to documentation, specs, etc. label Jul 15, 2021
@straight-shoota
Copy link
Member

straight-shoota commented Jul 15, 2021

As a workaround you can install the package from a newer repository. It should work on 18.04 as well.

wget -O- https://crystal-lang.org/install.sh | sudo DISTRO_REPO=xUbuntu_20.04 bash

@Nicolab
Copy link
Contributor Author

Nicolab commented Jul 16, 2021

Unless I'm mistaken, there is no v1.0.0 in the repo of xUbuntu 20.04 http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_20.04/all/

@straight-shoota
Copy link
Member

The simple workaround described in #10948 (comment) seems to fix this. All packages should be working now.

@Nicolab OBS only serves the latest release, that is 1.1.0 by now.

@Nicolab
Copy link
Contributor Author

Nicolab commented Jul 16, 2021

Ok thanks

dentarg added a commit to 84codes/sparoid that referenced this issue Jul 27, 2021
I noticed that CI failed because it couldn't find 1.0.0:
https://github.com/84codes/sparoid/runs/3166205736?check_suite_focus=true#step:3:48

Apparently their new repo ("openSUSE Build Service") will only host the latest release:
crystal-lang/crystal#10949 (comment)

...but there's no Docker image for 1.1.1 right now.

Also no need to compile src/ext/sigfault.c since crystal-lang/crystal#10463
carlhoerberg pushed a commit to 84codes/sparoid that referenced this issue Jul 28, 2021
I noticed that CI failed because it couldn't find 1.0.0:
https://github.com/84codes/sparoid/runs/3166205736?check_suite_focus=true#step:3:48

Apparently their new repo ("openSUSE Build Service") will only host the latest release:
crystal-lang/crystal#10949 (comment)

...but there's no Docker image for 1.1.1 right now.

Also no need to compile src/ext/sigfault.c since crystal-lang/crystal#10463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants