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

Е500 on the download page #26

Closed
code-hunger opened this issue Apr 24, 2019 · 15 comments
Closed

Е500 on the download page #26

code-hunger opened this issue Apr 24, 2019 · 15 comments

Comments

@code-hunger
Copy link

I'm excited about perl6 and I'm trying to install Rakudo, though I seem to be unable to get it on my computer.

The download button for Rakudo for Linux on http://rakudo.perl6.org/files leads to http://rakudo.perl6.org/latest/star/source, which gives Error 500 and asks to report the behaviour here. This is what I've been getting for the last few days.

The instructions to install from source on http://perl6.org/downloads/ make use of wget with http://rakudo.perl6.org/downloads/star/rakudo-star-2019.03.tar.gz as an address, which gives Error 404.

Are there some official mirrors from which I could get the tarball? I'm thinking of building directly from the rakudo github repo, though I'm unsure of which branch to use. I'd love to get any hints of this!

@lizmat
Copy link
Contributor

lizmat commented Apr 25, 2019

The hardware on which the downloads are hosted, has crashed and maybe beyond repair. The current perl6.org servers are temporary replacements that apparently don't contain everything.

If you're on linux, there is also an external repo from which you can download: https://nxadm.github.io/rakudo-pkg/ .

We expect to return to normal services soon. Thank you for our patience.

@code-hunger
Copy link
Author

code-hunger commented Apr 26, 2019

Thanks for the link, but I'm not sure how to make use of it. I'm running ArchLinux, so I tried downloading the source I found in the link in the "Build your own packages" section.
I'm not sure what to do with it, though - I guess I have to use docker somehow, but I have no idea how it works, and also everything docker-related in that folder is targeted at a specific linux distro.

The README in the archive is the same as the link you provided, so it isn't of much help either.
Do I need docker to install rakudo? The page shows this command:

$ docker run -ti --rm -v /var/tmp:/staging -e RAKUDO_VERSION=$RAKUDO_URL -e NQP_VERSION=$NQP_VERSION -e MOARVM_VERSION=$MOARVM_VERSION -e REVISION:$REVISION -e OS=$OS -e RELEASE=$RELEASE -e ARCH=$ARCH -e MAINTAINER=$MAINTAINER nxadm/rakudo-pkg:$TAG

which refers to a lot of variables I'm not sure how to set even if I had docker.

Is this the way you suggested to install it? And if yes, how should I set e.g. $RAKUDO_URL or $REVISION?
I see nqp is referred there, too, which I also cannot install because the package builder tries to fetch the source from rakudo.org, but unsuccessfully.

Thank you for your assistance!

@Altai-man
Copy link
Member

@code-hunger hi!
If you are using Arch Linux, you can try rakudo package from AUR, and then install zef using instructions at https://github.com/ugexe/zef
Another option is using https://github.com/skaji/p6env

@code-hunger
Copy link
Author

That was my initial attempt to install it, even before going to the webpage to download it manually.

When I try to install the rakudo package from the AUR, it fails with an error for missing nqp>=2019.03.

When I try to install nqp from the AUR (it's unavailable in the official repos), it tries to fetch the source from http://rakudo.org/downloads/nqp/nqp-2019.03.tar.gz - unsuccessfully, for that same reason I cannot download it manually.

If it worked from the AUR I wouldn't be posting here, but it turns out the AUR package just does automatically what I'm trying to do manually.

@timo
Copy link
Member

timo commented Apr 27, 2019 via email

@code-hunger
Copy link
Author

code-hunger commented Apr 27, 2019

@timo Thanks! Does that mean I can make an Arch package myself? But still, the problem with fetching the source persists.

I skimmed through the files in the docker/ folder; seems the Dockerfile-* files are just some configuration and the actuall install is performed by pkg_rakudo.pl, which too downloads the sources from rakudo.perl6.org.
So even if I make a docker config this way, I wouldn't be able to install it. At least that's how I understand it… which doesn't really leave much hope. Any suggestions?

@timo
Copy link
Member

timo commented Apr 27, 2019 via email

@code-hunger
Copy link
Author

Thanks! I'll try this later today and will keep you up with the results.

@Altai-man
Copy link
Member

Another option is rakudobrew, see https://github.com/tadzik/rakudobrew, just rakudobrew build 2019.03 should be enough as it uses git.

@niner
Copy link

niner commented Apr 27, 2019

Err...why don't you just do:

git clone https://github.com/rakudo/rakudo.git
cd rakudo
perl Configure.pl --backends=moar
make install

That should get you up and running in a matter of minutes

@timo
Copy link
Member

timo commented Apr 27, 2019 via email

@code-hunger
Copy link
Author

@niner that was what I thought and wrote about in my first post - to fetch directly from git, but I was a bit hesitant to do a raw-install from the master branch.

Now I looked again at http://perl6.org/downloads/ and found that the address to wget has been updated to https://perl6intro.com/files/rakudo-star-2019.03.tar.gz. I downloaded it successfully;
At the moment I'm running Configure.pl on it, hope it will work.

Thanks to whoever updated the link!

@Altai-man thanks for you suggestion, too. I'm not planning to have multiple rakudo installations at the same time so unless rakudobrew does anything different from fetching the rakudo git repo, I think it will be unnecessary.

@code-hunger
Copy link
Author

Thank you all for your responses!
I'm happy to announce that installing from https://perl6intro.com/files/rakudo-star-2019.03.tar.gz worked;
Maybe if you leave a note on http://rakudo.org/files about this it will be easier for future visitors, though perl6.org/downloads/ now shows a working way to install rakudo and further actions might be unnecessary.

I'll submit a comment on the rakudo package in the AUR about this, though I'm not sure what is the right thing to do with it (nor it is my duty to do anything - I'm just wondering).
Currently the install fails because of the missing nqp dependency (which also fails to install because it's stored on rakudo.org). If the PKGBUILD is changed to download the source from the link above, then the modularity is lost, becase the nqp binaries will be part of the rakudo package, and they will conflict with the nqp package (when it will be available in the future).

Thanks again! Feel free to close this issue at your discretion.

@pmqs
Copy link

pmqs commented Apr 30, 2019

Getting the same 500 error when trying to build a perl6 module via AppVeyor. Failing on the URL https://rakudo.org/latest/star/win64

Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
if not exist "C:\Rakudo" cinst rakudostar
Chocolatey v0.10.11
Installing the following packages:
rakudostar
By installing you accept licenses for the packages.
Progress: Downloading rakudostar 2019.03... 100%
rakudostar v2019.03 [Approved]
rakudostar package files install completed. Performing other installation steps.
Attempt to get headers for https://rakudo.org/latest/star/win64 failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://rakudo.org/latest/star/win64'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (500) Internal Server Error."
Downloading rakudostar 64 bit
from 'https://rakudo.org/latest/star/win64'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://rakudo.org/latest/star/win64'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (500) Internal Server Error."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of rakudostar was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\rakudostar\tools\chocolateyinstall.ps1'.
See log for details.

@coke
Copy link
Collaborator

coke commented Jul 10, 2020

Closing this ticket about the original server failure.

@coke coke closed this as completed Jul 10, 2020
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

7 participants