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

dub dependency version problems #776

Closed
Laeeth opened this issue Feb 23, 2016 · 3 comments
Closed

dub dependency version problems #776

Laeeth opened this issue Feb 23, 2016 · 3 comments

Comments

@Laeeth
Copy link

Laeeth commented Feb 23, 2016

Unfortunately I don't understand things well enough to reduce to a simple test case. You can speak to John Colvin who may understand what's going on a bit better. But I have had some nightmarish cyclical dependency problems with dub where the packages of a project reference different versions of another package (eg vibe-d). One problem is that the error reporting from dub is very unhelpful:

Root package server references unknown package vibe-d

This seems to be the consequence of subpackages referencing different versions of vibe-d.

Another problem is that dub (build and verbose) gets stuck in a loop and never finishes.

I build a primitive tool here to report all versions used by dub.sdl or dub.json projects in subdirectories of a particular directory, and this helps a lot. Will post gist shortly.

@Laeeth
Copy link
Author

Laeeth commented Feb 23, 2016

Gist is here: https://gist.github.com/Laeeth/9e62861414329721ca39 sort doesn't work, but I didn't bother figuring out why.

@MartinNowak
Copy link
Member

Might be related to #652.

@Geod24
Copy link
Member

Geod24 commented Aug 6, 2022

This looks a lot like #1706 / #1217 . Regarding the need for more information on dependencies, Jan is working on #2359

@Geod24 Geod24 closed this as completed Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants