Bug 18791 – No VERSION file in DMD .zip distribution

Status
NEW
Severity
regression
Priority
P1
Component
installer
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-04-22T23:25:12Z
Last change time
2025-01-02T15:46:56Z
Assigned to
Martin Nowak
Creator
Vladimir Panteleev
Moved to GitHub: installer#693 →

Comments

Comment #0 by dlang-bugzilla — 2018-04-22T23:25:12Z
https://forum.dlang.org/post/[email protected] Since 2.078.0, the source code in DMD .zip files is unbuildable due to the VERSION file missing: dmd/globals.d(361): Error: file "VERSION" cannot be found or not in a path specified with -J posix.mak:449: recipe for target '../generated/linux/release/32/lexer.a' failed
Comment #1 by b2.temp — 2019-03-02T20:06:13Z
This is a bit different nowadays but still doesn't work: make: *** No rule to make target '../config.d', needed by '../generated/linux/release/64/version_check'. Stop.
Comment #2 by dlang-bugzilla — 2020-02-04T02:05:47Z
2.090 contains a VERSION file. However, now `make -f posix.mak` it fails with: dmd/doc.d(366): Error: file `"default_ddoc_theme.ddoc"` cannot be found or not in a path specified with `-J` make: *** [posix.mak:110: dmd] Error 1 Indeed, the file is nowhere to be found in the distribution.
Comment #3 by johnnymarler — 2020-02-13T13:47:18Z
Looks like it's in res/default_ddoc_theme.ddoc in the DMD repo. My guess is that this was probably missed/broken when we moved to build.d? But I don't know how the release process works so I'm not sure. I'm surprised that we don't test that sources releases can be built before we release them. Sounds like something that would be good to add.
Comment #4 by robert.schadek — 2025-01-02T15:46:56Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/693 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB