www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19052] New: dmd-2.081.0 generates compilation issue: Error:

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

          Issue ID: 19052
           Summary: dmd-2.081.0 generates compilation issue: Error: module
                    `stdlib` is in file 'std/c/stdlib.d' which cannot be
                    read
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: alex.braunegg gmail.com

When using Travis CI or 'curl -fsS https://dlang.org/install.sh | bash -s dmd'
to install DMD as of today, this now installs dmd-2.081.0. Prior to this date,
this command installed dmd-2.080.1

When running compilations using dmd-2.081.0 - either locally of via Travis CI,
compilations now fail with the following error message:

Error: module `stdlib` is in file 'std/c/stdlib.d' which cannot be read
import path[0] = /root/dlang/dmd-2.081.0/linux/bin64/../../src/phobos
import path[1] = /root/dlang/dmd-2.081.0/linux/bin64/../../src/druntime/import

Downgrading to dmd-2.080.1 there is no error & compilation succeeds.

Is this a regression between dmd-2.081.0 and dmd-2.080.1 or is there some sort
of change required in my code due to changes in stdlib inclusions & needing to
add something?

--
Jul 03 2018