wilzbach / tools-test

1 stars 0 forks source link

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

Closed wilzbach closed 8 years ago

wilzbach commented 8 years ago

Note: the issue was created automatically migrated from https://issues.dlang.org

Original bug ID: BZ#15977 From: Markus Laker <d2016-05-01.20.mlaker@spamgourmet.com> Reported version: D2

wilzbach commented 8 years ago

Comment author: Markus Laker <d2016-05-01.20.mlaker@spamgourmet.com>

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.

wilzbach commented 8 years ago

Comment author: Markus Laker <d2016-05-01.20.mlaker@spamgourmet.com>

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.