Skip to content

Comments

Stub out the DUB download for GDC#7692

Merged
dlang-bot merged 1 commit intodlang:masterfrom
wilzbach:gdc_semaphore
Jan 13, 2018
Merged

Stub out the DUB download for GDC#7692
dlang-bot merged 1 commit intodlang:masterfrom
wilzbach:gdc_semaphore

Conversation

@wilzbach
Copy link
Contributor

The install script downloads dub by default if it isn't shipped by the
binary release. That's the case for old DMD releases + GDC.
So as mentioned in #7685, the gdc builds often fail with:

++ CURL_USER_AGENT='DMD-CI curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3'
++ bash install.sh gdc --activate
curl: (28) Operation too slow. Less than 1024 bytes/sec transferred the last 30 seconds
curl: (28) Operation too slow. Less than 1024 bytes/sec transferred the last 30 seconds
curl: (28) Operation too slow. Less than 1024 bytes/sec transferred the last 30 seconds
curl: (28) Operation too slow. Less than 1024 bytes/sec transferred the last 30 seconds
curl: (28) Operation too slow. Less than 1024 bytes/sec transferred the last 30 seconds
Failed to download 'http://code.dlang.org/download/LATEST'

However, dub is only used for the DMD as library tests and they don't work with
gdc at the moment.

In summary: we try to fetch dub from rather unstable code.dlang.org
server and break the build due to download failures, but we don't even
need dub.

See also: #7691

The install script downloads `dub` by default if it isn't shipped by the
binary release. That's the case for old DMD releases + GDC.

`dub` is only used for the DMD as library tests and they don't work with
`gdc` at the moment.

In summary: we try to fetch `dub` from rather unstable `code.dlang.org`
server and break the build due to download failures, but we don't even
need `dub`.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@dlang-bot dlang-bot merged commit 6ff7ab6 into dlang:master Jan 13, 2018
@wilzbach wilzbach deleted the gdc_semaphore branch March 13, 2018 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants