-
Notifications
You must be signed in to change notification settings - Fork 294
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
Cannot compile on Yakkety #507
Comments
I think this is related to compiling with PIE as there was an Ubuntu 16.10 bug open for this (ldc-developers/ldc#1618). It's also been fixed but I'm not sure if it's made it to yaketty/debian repos yet. Does it work if you add the fPIC flag,
|
Nope, I get the same errors. |
I'm wondering if the problem is the opposite of getting dmd to use fPIC, I suspect that the d-apt packages need to be rebuilt with -fPIC for yakkety, specifically libphobos. Since dmd uses gcc to do the linking, wouldn't it pick up Ubuntu changing to use PIE automatically? I also tried the proposed version of LDC in the Ubuntu repositories and it has the same problem. Not sure there's much I can do here, I see this more as a distro issue then a terminix issue. |
Could easily be that the d-apt repo is not yet Yakkety-friendly. |
The error message complains about symbols in phobos, so the solution is indeed to recompile phobos with |
Thanks @jpf91, I'm going to close this issue as it's outside the scope of Terminix. |
I'm on a brand new computer now (my old one died) and I deliberately did not migrate my old setting, packages, home dir etc. So I did a clean start with Yakkety, "apt-get install dub", Terminix from git, but (as opposed to last time) no sign of "gtkd" installed or "d-apt" in my apt config, and no ~/.dub directory. As far as I understand your homepage and the output of "dub build", it should fetch gtkd automatically, right? I get a totally different error now, maybe you have a clue what's wrong here? Thanks in advance!
|
If I "apt-get install ldc" as well, the error becomes this:
|
I'm not an expert on the alternative compilers however the first stack trace is because you are using GDC which is unfortunately based on an older version of DMD and won't compile Terminix. The second track trace still seems to be using GDC, what happens if you explicitly specify LDC, it should be something like:
|
@egmontkob If you can, just use the .deb package from Debian (you can also recompile it for Ubuntu), which uses Automake and LDC (although I would rather like to see Meson instead of Automake, or a better maintained and heavily improved Automake setup, because the current thing has several (minor) issues) |
@ximion Thanks, I just installed zesty's packages (which are probably exactly the same as Debian's). This is good enough for me right now, I probably won't go into the troubles of recompiling for a while. |
Just for the record: Tilix compiles fine on Zesty. Hooray! |
Clean checkout at current master (3fead8c).
The text was updated successfully, but these errors were encountered: