digitalmars.D.bugs - [Issue 6543] New: RDMD -I character limitation
- d-bugmail puremagic.com (35/35) Aug 21 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6543
- d-bugmail puremagic.com (14/14) Aug 25 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6543
- d-bugmail puremagic.com (16/17) Aug 27 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6543
http://d.puremagic.com/issues/show_bug.cgi?id=6543
Summary: RDMD -I character limitation
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: pastas4 gmail.com
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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 21 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6543
Nick Sabalausky <cbkbbejeap mailinator.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cbkbbejeap mailinator.com
21:52:00 PDT ---
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 25 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6543
GreatEmerald <pastas4 gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
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 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 27 2011









d-bugmail puremagic.com 