Comment #1 by moonlightsentinel — 2021-01-21T14:53:49Z
This isn't strictly a build.d issue because it the old makefile implementation had the same problem.
The real problem is that the tarball uses a different directory layout than the git project. The tarball includes only the configuration files for the current os:
Git:
- ini/
- linux/
- bin32/
- bin64/
- windows/
- ...
Tarball:
- linux/
- bin32/
- bin64/
Comment #2 by dlang-bot — 2021-01-21T16:39:17Z
@MoonlightSentinel created dlang/dmd pull request #12144 "Fix 21567 - build.d install fails for sources from official releases" fixing this issue:
- Fix 21567 - build.d install fails for sources from official releases
The official releases only include the configuration of the current OS
in the root directory instead off multiple configurations nested in
the `ini` folder.
This commit checks whether the `ini` directory exists and falls back to
the expected path for releases otherwise.
https://github.com/dlang/dmd/pull/12144
Comment #3 by dlang-bot — 2021-01-22T11:47:30Z
dlang/dmd pull request #12144 "Fix 21567 - build.d install fails for sources from official releases" was merged into stable:
- 3b09e469d17965044488d946e5a4ab0b2bc083f5 by MoonlightSentinel:
Fix 21567 - build.d install fails for sources from official releases
The official releases only include the configuration of the current OS
in the root directory instead off multiple configurations nested in
the `ini` folder.
This commit checks whether the `ini` directory exists and falls back to
the expected path for releases otherwise.
https://github.com/dlang/dmd/pull/12144
Comment #4 by dlang-bot — 2021-02-13T12:29:56Z
dlang/dmd pull request #12195 "Merge stable" was merged into master:
- e769818ae27045ec1667c23d7d389fa513d117fd by Florian:
Fix 21567 - build.d install fails for sources from official releases (#12144)
The official releases only include the configuration of the current OS
in the root directory instead off multiple configurations nested in
the `ini` folder.
This commit checks whether the `ini` directory exists and falls back to
the expected path for releases otherwise.
https://github.com/dlang/dmd/pull/12195