RejectedSoftware Forums

Sign up

Fail to build dub from git master on win7 64bit

D:\MinGW\msys\1.0\home\Elvis\github\dub>build.cmd
Generating version file...
Executing dmd...
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin....\src\phobos\std\stdio.d
(579): Error: undefined identifier 'fileno', did you mean 'function fileno'?
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin\..\..\src\phobos\std\stdio.d
(580): Error: undefined identifier '
setmode'
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin....\src\phobos\std\stdio.d
(580): Error: undefined identifier OBINARY
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin....\src\phobos\std\stdio.d
(581): Error: undefined identifier '_setmode'
source\dub\internal\vibecompat\core\file.d(36): Error: template instance std.std
io.File.rawWrite!ubyte error instantiating
source\dub\internal\vibecompat\core\file.d(172): Deprecation: function std.file.
dirEntry is deprecated - Please use DirEntry constructor directly instead.
source\dub\internal\vibecompat\core\file.d(172): Deprecation: function std.file.
dirEntry is deprecated - Please use DirEntry constructor directly instead.

Re: Fail to build dub from git master on win7 64bit

On Thu, 03 Oct 2013 08:33:12 GMT, Zhouxuan wrote:

D:\MinGW\msys\1.0\home\Elvis\github\dub>build.cmd
Generating version file...
Executing dmd...
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin....\src\phobos\std\stdio.d
(579): Error: undefined identifier 'fileno', did you mean 'function fileno'?
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin\..\..\src\phobos\std\stdio.d
(580): Error: undefined identifier '
setmode'
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin....\src\phobos\std\stdio.d
(580): Error: undefined identifier OBINARY
D:\MinGW\msys\1.0\home\Elvis\dhome\dmd2\windows\bin....\src\phobos\std\stdio.d
(581): Error: undefined identifier '_setmode'
source\dub\internal\vibecompat\core\file.d(36): Error: template instance std.std
io.File.rawWrite!ubyte error instantiating
source\dub\internal\vibecompat\core\file.d(172): Deprecation: function std.file.
dirEntry is deprecated - Please use DirEntry constructor directly instead.
source\dub\internal\vibecompat\core\file.d(172): Deprecation: function std.file.
dirEntry is deprecated - Please use DirEntry constructor directly instead.

It's a phobos bug.

http://d.puremagic.com/issues/show_bug.cgi?id=10227