www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15977] New: `rdmd --eval' fails with `Error: module syserror

https://issues.dlang.org/show_bug.cgi?id=15977

          Issue ID: 15977
           Summary: `rdmd --eval' fails with `Error: module syserror is in
                    file 'std/syserror.d' which cannot be read'
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: 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.

--
May 01 2016