-
Notifications
You must be signed in to change notification settings - Fork 24
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
>=dev-lang/dmd-2.068 circular dependency on itself #55
Comments
It is normal that dmd:2.073 compiled with USE=dmd-2_073 pulls in dmd:2.073 as a dependency. Try to compile dmd with an already installed Dlang compiler or one of the long-term support "bootstrap" compilers that are still written entirely in C++. E.g. dmd-2.067 or ldc2-0.17. |
Thanks for the hint on dmd-2.067. That's a tricky situation for the user I must say. I wonder if something like |
I don't think the dependency resolver could do anything about it. I mean, as soon as the dmd-2_073 USE flag is set, dmd-2.073 (in any revision) is pulled in as dependency and the dmd to be compiled is about to be linked against an installed libphobos 2.073. |
Dmd is now installable out of the blue on Linux (and in theory FreeBSD) using the pre-compiled binaries shipped with the source distribution. This behavior is enabled by not selecting any compiler USE flags, which was previously an error. |
I noticed that if you you start from zero emerging an app like |
No idea really. I can turn "dmd-2_074" into just "dmd" for entirely static builds, but that doesn't change the dependency on an already installed dmd as soon as you enable the "dmd" USE flag in make.conf. Should I prefix the compiler USE flags for dmd, so they need to be set separately? Then we'd also need to maintain two USE flag description lists in the overlay's metadata. |
I have a vague memory that in |
Thank, I'll have a look when I decide to drop the explicit version dependencies for the compiler. For now it works as expected unless portage learns to magically emerge the same package twice with different USE flags: These are the packages that would be merged, in order: |
Closing to keep https://github.com/issues clean for myself… |
In relation to #53 I was about to re-install dmd and gtkd, but:
Could it be that dmd depending on itself is new and happended by mistake? dmd was installable out of the blue recently, as far as I remember.
Best, Sebastian
The text was updated successfully, but these errors were encountered: