Bug 17268 – Build dub with dmd version that included in the release

Status
NEW
Severity
enhancement
Priority
P4
Component
installer
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-03-20T01:37:56Z
Last change time
2025-01-02T15:46:42Z
Assigned to
No Owner
Creator
Roman
Moved to GitHub: installer#659 →

Comments

Comment #0 by freeslave93 — 2017-03-20T01:37:56Z
I may be wrong, but it looks like dub that bundled with dmd in tar.xz archives is built with earlier dmd version than the one included in the same archive. If it's the case, this should be fixed. Phobos and dmd may have fixes that affects dub too, so it should be built against the latest standard library. E.g. check this issue https://github.com/dlang/dub/issues/1096
Comment #1 by greensunny12 — 2018-03-27T07:55:04Z
Looking at the source (https://github.com/dlang/installer/blob/master/create_dmd_release/create_dmd_release.d#L532), it seems like this was done on purpose: // build dub with stable (host) compiler, b/c it breaks // too easily with the latest compiler, e.g. for nightlies Though I agree that the released dub should use the freshly built Phobos.
Comment #2 by greeenify — 2018-07-17T10:28:19Z
Ideally dub should be built with a stable LDC though...
Comment #3 by robert.schadek — 2025-01-02T15:46:42Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/659 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB