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

Can't build without hacking the version of unit-threaded being used #58

Closed
SenorCMasMas opened this issue May 30, 2018 · 4 comments
Closed

Comments

@SenorCMasMas
Copy link

When I try to use mysql-native 2.2.2 and sdlang 0.10.2 in the same project, it fails because of a conflict between unit-threaded 0.6.28 and 0.7.45. dub goes into an infinite loop every time.

If I allow a downgrade of either package, I end up with bugs or without features that I need.
If I cache the package locally and hack the unit-threaded version to 0.7.45, everything builds and works. Perhaps there are side affects that I don't see.

I am new to 'd' so it is possible that I am missing something. Sorry if that is the case.
Please do whatever you need to in order for sdlang to coexist with the latest mysql-native.

For me, it was hack/upgrading the unit-threaded version to 0.7.45.
Thank you!

@Abscissa
Copy link
Collaborator

The infinite loop is definitely a dub issue and should be filed here. Even if it only happens with that unit-threaded conflict, it still needs to get looked at and fixed.

The unit-threaded conflict is actually an already-known bug in dub.

In the meantime, I will try to adjust SDLang-D to work around those bugs.

@SenorCMasMas
Copy link
Author

WOW! Thank you!! I will file a bug against dub as you recommend.
Really nice work. Your classes made my job easy. ;^)

@Abscissa
Copy link
Collaborator

Tagged new release: v0.10.3

Should work with that now. Let me know if it doesn't.

@SenorCMasMas
Copy link
Author

Your bug or not, I can't thank you enough.
Man this feels good: "git rm stupid_pre_build_hack"

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