Bug 15977 – `rdmd --eval' fails with `Error: module syserror is in file 'std/syserror.d' which cannot be read'

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-05-01T10:35:00Z
Last change time
2016-05-01T11:38:12Z
Assigned to
nobody
Creator
d2016-05-01.20.mlaker

Comments

Comment #0 by d2016-05-01.20.mlaker — 2016-05-01T10:35:58Z
msl@james:~/d$ rdmd --eval='0.writeln' /tmp/.rdmd-1000/eval.3C912A95D0396E2AE5D418B044008E7B.d(14): Error: module syserror is in file 'std/syserror.d' which cannot be read import path[0] = /tmp/.rdmd-1000 import path[1] = /usr/include/dmd/phobos import path[2] = /usr/include/dmd/druntime/import Failed: ["dmd", "-d", "-v", "-o-", "/tmp/.rdmd-1000/eval.3C912A95D0396E2AE5D418B044008E7B.d", "-I/tmp/.rdmd-1000"] msl@james:~/d$ dmd --version DMD64 D Compiler v2.071.0 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright msl@james:~/d$ I'm running on a fully updated Debian Wheezy. I downloaded and installed the latest dmd (and rdmd) .deb from dlang.org earlier today.
Comment #1 by d2016-05-01.20.mlaker — 2016-05-01T11:38:12Z
I see that CyberShadow has beaten me to a pull request, and that Dmitry has merged it: <https://github.com/dlang/tools/commit/350b8105473bd933660ffe2d17225d75b951ad4d>. Apologies for the unnecessary bug report.