RejectedSoftware Forums

Sign up

Failed to build vibe.d 0.7.20 with dub

Hi,

I have troubles building vibe.d 0.7.2. The error I am receiving is:

Error: module metastrings is in file 'std\metastrings.d' which cannot be read

And indeed, metastrings were sheduled for deprecation in March 2014.

This error occurs in files templ/parsertools.d and templ/diet.d

Aparently, commenting them out does not break anything.

Is this fixed in the upcoming version?

Cheers,
Drasha

Re: Failed to build vibe.d 0.7.20 with dub

On Wed, 08 Oct 2014 12:54:43 GMT, Drasha wrote:

Hi,

I have troubles building vibe.d 0.7.2. The error I am receiving is:

Error: module metastrings is in file 'std\metastrings.d' which cannot be read

And indeed, metastrings were sheduled for deprecation in March 2014.

You're using dmd 2.066 which removed the module.
That went unnoticed with vibe.d because it wasn't previously possible to deprecate importing a module.
We've fixed this since then and will add std.metastrings back in 2.066.1.
https://github.com/D-Programming-Language/phobos/pull/2596

The import is already removed in vibe.d's master and
you can use "vibe-d": ">=0.7.21-rc.2" in the meantime.

Re: Failed to build vibe.d 0.7.20 with dub

On Wed, 08 Oct 2014 16:57:52 GMT, Martin Nowak wrote:

You're using dmd 2.066 which removed the module.
That went unnoticed with vibe.d because it wasn't previously possible to deprecate importing a module.
We've fixed this since then and will add std.metastrings back in 2.066.1.
https://github.com/D-Programming-Language/phobos/pull/2596

The import is already removed in vibe.d's master and
you can use "vibe-d": ">=0.7.21-rc.2" in the meantime.

Thank you, it works...