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
building on debian problems #307
Comments
Thanks! I've noticed:
That looks like the D build toolchain segfaulted before Lix was successfully compiled. That's strange. Expected output during compilation by dub be something like
Idea: You can produce even better debugging output by Idea: dub fetches bindings and puts them somewhere, maybe it segfaults during that stage already? The Arch Linux package recipe calls dub with (By coincidence, this week, I've troubleshot the build on Ubuntu where we had linker errors. The answer on Ubuntu was to change in |
Hi, have you looked into the build again? |
tarzeau (alexmyczko) met me on IRC (quakenet #lix) and we conjectured that Debian packages may not access the internet during building. My advice thus was: You can try to build Lix outside of the Debian build system once, this will populate |
D builds on Debian seem problematic these months. Thread on D forums: On Debian, DMD builds broken 32-bit Hello World GDC ships as a Debian package (unlike DMD: for DMD, you must manually add a package repository). Debian's policy demands that GDC be a dependency of any D-using Debian package. But with GDC, the Lix source doesn't compile -- I seem to rely on cutting-edge language features. [2] Furthermore, on a virtual machine with 32-bit Debian 9.4, dub took a long time to check versions of Lix's dub dependencies -- about 30 minutes for all dependencies. Then, fetching the selected versions timed out while storing the fetched zip file. (Might be related to a slow virtual machine, accessing webpages took ~2 minutes even though downloads were faster afterwards.) Both for DMD and for GDC, the following workaround didn't help: Fetch all dub dependencies manually, e.g., run dub on a machine where everything works and copy its dub package cache over to the Debian virtual machine. This fails for DMD because of the segfaults (like [1] above) and it fails for GDC because Lix relies on newer D than what GDC offers ([2] above). |
To work around dub's fetching problems on Debian, you can download my dub package cache directory and extract into
Furthermore, to skip dub's online checks altogether, add my dub.selections.json to your Lix directory (where Lix's README.md sits) and build with |
Thanks for all the help, meanwhile, the ITP is active again and the packaging is done: |
hi Simon
i'm having issues to build this on debian:
http://sid.ethz.ch/debian/lix/ check the *.build file
any hints welcome...
The text was updated successfully, but these errors were encountered: