D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14274 - tools/update.sh must install and use dmd 2.066.1 if not present
Summary: tools/update.sh must install and use dmd 2.066.1 if not present
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: x86 Mac OS X
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-10 23:38 UTC by Andrei Alexandrescu
Modified: 2020-04-10 03:48 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrei Alexandrescu 2015-03-10 23:38:15 UTC
Trying to install dmd HEAD on a fresh ubuntu machine now requires a preexisting installation of dmd 2.066.1. tools/update.sh should detect if dmd is missing and automatically clone it and use it (similar to dlang.org/posix.mak).
Comment 1 Vladimir Panteleev 2015-03-30 19:43:49 UTC
FWIW Digger can build master already.
Comment 2 Mathias LANG 2020-04-09 11:01:00 UTC
Fixed by https://github.com/dlang/tools/pull/236 (you do setup a new machine quite often Andrei).
Comment 3 Andrei Alexandrescu 2020-04-09 12:05:40 UTC
Are we sure the issue described in https://forum.dlang.org/post/r5e8uj$i1b$1@digitalmars.com did not break this? Or would that deserve its own bug report?
Comment 4 Mathias LANG 2020-04-10 03:48:32 UTC
Right... The underlying bug is: https://issues.dlang.org/show_bug.cgi?id=20727
`setup.sh` doesn't pass `AUTO_BOOTSTRAP` when doing clean.
I submitted a workaround here: https://github.com/dlang/tools/pull/399

I'd say there is no need to re-open this issue because the bug it is describing (lack of bootstrapping) has been fixed, and the fix is correct, it's the DMD makefile that isn't.