Bug 6543 – RDMD -I character limitation

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-08-21T09:29:00Z
Last change time
2011-08-27T12:21:24Z
Assigned to
nobody
Creator
pastas4

Comments

Comment #0 by pastas4 — 2011-08-21T09:29:27Z
This might be an isolated case, but it might also be an indication of deeper issues. If I try to include LuaD using RDMD, and the path I enter into the -I argument is longer than around 25 characters, RDMD fails with an error "Error: cannot read file dmd.d". For example: --------- #These work correctly: rdmd -ILuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I../LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I~/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -Iinclude/LuaD -L-llua --build-only -ofLuaTest LuaTest.d #These throw an error: rdmd -I../../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -Iprojecttest/include/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I~/Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d --------- Like I said, this only happens with LuaD for some reason. Perhaps because of the amount of files it has. I'm using RDMD build 20110706, DMD v2.054, openSUSE 11.4 x86_64.
Comment #1 by bus_dbugzilla — 2011-08-25T21:52:00Z
This is likely just an instance of issue 6452. Please check if that's the case by checking RDMD's commandline to DMD with --chatty: rdmd --chatty -I../../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
Comment #2 by pastas4 — 2011-08-27T12:21:24Z
Yeap, I believe so, the output reads: dmd -I../../../../Documents/D/LuaD -Isrc -L-llua -v -o- 'clarcomage.d' -I'.' >clarcomage.d.deps dmd '@/tmp/.rdmd/rdmd.BCB020D4C2774917E15EAB178F8B5D3C.rsp' Error: cannot read file dmd.d So I guess it's resolved duplicate, then. *** This issue has been marked as a duplicate of issue 6452 ***