Bug 12453 – 'ini' directory missing in ZIP release bundles
Status
RESOLVED
Resolution
WONTFIX
Severity
regression
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2014-03-24T12:24:00Z
Last change time
2015-06-09T05:15:16Z
Assigned to
nobody
Creator
alienballance
Comments
Comment #0 by alienballance — 2014-03-24T12:24:36Z
Reproduce:
# Download and unzip http://downloads.dlang.org/releases/2014/dmd.2.065.0.linux.zip
# cd src/dmd
# make -f posix.mak install
Result:
Install phase fails because in recent versions, Makefile accesses ../ini/$(OS)/$(bin_dir)/dmd.conf which is not bundled in archive.
Comment #1 by dlang-bugzilla — 2014-03-25T10:15:51Z
Did this used to work in older versions? If so, this issue should be marked as a regression.
Comment #2 by alienballance — 2014-03-25T10:20:21Z
Directory existed before, but it wasn't referenced in "install" target so it wasn't a problem ( at least for me ).
Comment #3 by edwards.ac — 2014-07-08T03:02:27Z
Temporary workaround:
Change line 376 of posix.mak from:
cp ../ini/$(OS)/$(bin_dir)/dmd.conf $(INSTALL_DIR)/bin/dmd.conf
to:
cp ../../$(OS)/$(bin_dir)/dmd.conf $(INSTALL_DIR)/bin/dmd.conf
Will be addressed before final release of 2.066.0
Comment #4 by code — 2014-07-25T13:40:26Z
The install target doesn't work/isn't maintained anyhow, the folder layout in src is messed up and it doesn't make much sense to deploy source code with binary releases in the first place.
You can get working source archives directly from github, e.g.
https://github.com/D-Programming-Language/dmd/releases.
I also wrote a small build script to work with github sources.
https://gist.github.com/MartinNowak/c5f714fb16be96db13e5
It would be a little simpler with a meta repo as proposed in issue 11792.