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

Build from source fails when using tor #86

Open
tetrahedras opened this issue Dec 26, 2019 · 4 comments
Open

Build from source fails when using tor #86

tetrahedras opened this issue Dec 26, 2019 · 4 comments

Comments

@tetrahedras
Copy link

When building from source on a fedora-30 VM which is using sys-whonix as a NetVM, the Docker build script continually fails at sexplib0.v0.12.0 with the error "Curl failed." It looks like something is blocking connections from Tor.

@palainp
Copy link
Member

palainp commented Nov 16, 2022

Hi, thanks for reporting this issue, I just configured sys-whonix and anon-whonix to try and reproduce. A lot of things have changed since your issue in mirage, but I can confirm that I also had the same failure with the current mirage (4.3.1) once.
But surprisingly, after the curl failed it worked with a second make depend.
Would you mind to try to run make depend a second time if it fails?

And now after cleaning the repository and/or using a fresh qmf clone it works fine every time... I guess that we can have trouble with timeouts when using tor, or I had a circuit change during the make depend process, don't know why it also appears on the same package sexplib.

@tetrahedras
Copy link
Author

tetrahedras commented Nov 27, 2022 via email

@palainp
Copy link
Member

palainp commented Nov 28, 2022

Thanks for your reply, I'm still a bit buzzled as to why it fails on the exact same package, and, for me, github doesn't filter Tor at all (as the curl command points to a sexplib binary release on github).

Now the issue sounds unrelated to qubes-mirage-firewall. If you manage to build with success when the sleep issue is fixed, I think we can close this issue.

@palainp
Copy link
Member

palainp commented Nov 28, 2022

I think the exact same package failure is just a coincidence, I now had the following failure:

...
 ↳ fetch monorepo rependencies in the duniverse folder
==> Using lockfile mirage/qubes-firewall-xen.opam.locked
opam-monorepo: [ERROR] Failed to pull /home/user/qubes-mirage-firewall/duniverse/io-page: https://github.com/mirage/io-page/releases/download/v3.0.0/io-page-3.0.0.tbz (Curl failed: "/usr/bin/curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/2.1.3 -L -o /home/user/qubes-mirage-firewall/duniverse/io-page/io-page-3.0.0.tbz.part -- https://github.com/mirage/io-page/releases/download/v3.0.0/io-page-3.0.0.tbz" exited with code 6)
make[1]: *** [Makefile:43: pull] Error 1
make: *** [Makefile:53: depend] Error 2

and another make depend succeed immediately.

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

2 participants