-
-
Notifications
You must be signed in to change notification settings - Fork 227
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 fetch broken on ubuntu:focal ? #1928
Comments
In very rare cases it succeeds only for heroku fallback server. |
Hi @ximion If I use the dub from e.g. https://github.com/ldc-developers/ldc/releases/download/v1.20.0/ldc2-1.20.0-linux-x86_64.tar.xz it works without any issue.
|
Maybe you need to open a bug in the respective Ubuntu/Debian bug tracker then? |
I also notified the dlang debian team via email. Not really sure how to officially file an issue for a debian package. But I think @ximion got the notification. |
Hi! Yeah, I don't really know what exactly broke this, but it's really annoying that this could just suddenly break. We even had that in the past and it fixed itself just as randomly as it appeared. At the moment I don't have time to debug this, so in case someone wants to give it a try.... ;-) We have a CI test for Debian for exactly this issue, since the last time DUB broke: When it broke, unfortunately both Curl-GnuTLS and LLVM were updated - I would guess the former update may have something to do with the issue. Since the dub package itself wasn't touched, I wonder whether something else is to blame. Or it's one of the classic issues of D ABI instability and dub just needs a rebuild. |
@ximion The ubuntu bug report mentions a curl bug in Phobos which needs to be integrated into the debian GDC package. |
That would indeed explain the issue. In Debian, there will likely be a transition to GDC 10 soon, which (presumably) doesn't have this issue, Ubuntu will need that patch though. |
I suppose this is the PR needed : dlang/phobos#6752 ? |
I'm seeing the same thing on Alpine Linux BTW, build with GCC 9.3:
|
See https://forum.dlang.org/thread/[email protected] |
What do you think about a quick fix for this issue: change dub registry server (code.dlang.org) to not use http/2 until were are in a good shape with the linux packages? |
Thanks. I guess I'll have to backport this to GCC9 for Alpine then...
That'd be great. CC @s-ludwig |
Done. |
Fantastic, thanks a lot |
Validated, it works fine now. |
For this dockerfile
I get following docker build result:
DUB version 1.19.0-1build2, built on Mar 24 2020
The text was updated successfully, but these errors were encountered: