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

Error on make image #163

Open
fabiosvm opened this issue Sep 23, 2022 · 1 comment
Open

Error on make image #163

fabiosvm opened this issue Sep 23, 2022 · 1 comment

Comments

@fabiosvm
Copy link

I'm trying to add my own programming language called Hook (https://github.com/fabiosvm/hook-lang) to this riju project. Reading the guides, I found the entry of new languages friendly. That's true?

I created a langs\hook.yaml file and following the guide when running the command: make image shell I=admin I got the following error:

root@ubuntu-s-1vcpu-1gb-intel-nyc1-01:~/riju# make image shell I=admin
docker build . -f docker/admin/Dockerfile -t riju:admin 
Sending build context to Docker daemon  2.751MB
Step 1/8 : FROM ubuntu:21.04
 ---> 7cc39f89fa58
Step 2/8 : COPY docker/admin/install.bash /tmp/
 ---> Using cache
 ---> 041cdea14b2f
Step 3/8 : RUN /tmp/install.bash
 ---> Running in d3c6194006c3
+ mkdir /tmp/riju-work
+ pushd /tmp/riju-work
/tmp/riju-work /
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ apt-get update
Ign:1 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Err:2 http://security.ubuntu.com/ubuntu hirsute-security Release
  404  Not Found [IP: 185.125.190.36 80]
Ign:3 http://archive.ubuntu.com/ubuntu hirsute InRelease
Ign:4 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu hirsute Release
  404  Not Found [IP: 185.125.190.36 80]
Err:7 http://archive.ubuntu.com/ubuntu hirsute-updates Release
  404  Not Found [IP: 185.125.190.36 80]
Err:8 http://archive.ubuntu.com/ubuntu hirsute-backports Release
  404  Not Found [IP: 185.125.190.36 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu hirsute-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu hirsute Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu hirsute-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu hirsute-backports Release' does not have a Release file.
The command '/bin/sh -c /tmp/install.bash' returned a non-zero code: 100
make: *** [Makefile:52: image] Error 100

Can someone help me?

I'm in Ubuntu 20.04 on VPS (DigitalOcean)

@raxod502
Copy link
Member

Yes, this is a known problem, and I apologize. I made some decisions in the design of Riju which, in retrospect, made it very hard to maintain the project. One of them was using non-LTS Ubuntu versions in the base images. As a result of this, much of the build tooling has rotted, and it's impossible even for me to add new languages without doing extensive manual hacks.

Unfortunately, in order to unblock adding new languages again, significant reworking of the build system is needed. I plan to do this in the medium term future - it's my current focus for the part of my time dedicated to improving the maintainability of my open-source projects - but I'm not working on it just this moment.

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

No branches or pull requests

2 participants