[phobos] OSX/64 Phobos unittest failure

Andrei Alexandrescu andrei at erdani.com
Sat Apr 7 17:31:17 PDT 2012


Looks like a problem caused by a preexisting /tmp/deleteme. I'll add a fix.

Andrei

On 4/7/12 7:29 PM, Andrei Alexandrescu wrote:
> Before I look into this, I wonder if this is known. On my OSX, make
> unittest fails with the message below. Has anyone seen it?
>
> std.file.FileException at std/file.d(1492): /tmp/deleteme/a: Not a directory
> ----------------
> 5 file 0x00073d42 void std.file.mkdir(const(char[])) + 94
> 6 file 0x00073dc9 void std.file.mkdirRecurse(const(char[])) + 105
> 7 file 0x00073d9c void std.file.mkdirRecurse(const(char[])) + 60
> 8 file 0x00073d9c void std.file.mkdirRecurse(const(char[])) + 60
> 9 file 0x00073d9c void std.file.mkdirRecurse(const(char[])) + 60
> 10 file 0x00073d9c void std.file.mkdirRecurse(const(char[])) + 60
> 11 file 0x00073d9c void std.file.mkdirRecurse(const(char[])) + 60
> 12 file 0x00073d9c void std.file.mkdirRecurse(const(char[])) + 60
> 13 file 0x000755cf void std.file.__unittest20() + 95
> 14 file 0x0007229f void std.file.__modtest() + 91
> 15 file 0x00090705 extern (C) bool core.runtime.runModuleUnitTests().int
> __foreachbody279(ref object.ModuleInfo*) + 45
> 16 file 0x0009fa9a int rt.minfo.moduleinfos_apply(scope int delegate(ref
> object.ModuleInfo*)) + 66
> 17 file 0x000905f6 runModuleUnitTests + 134
> 18 file 0x0009b6da extern (C) int rt.dmain2.main(int, char**).void
> runAll() + 38
> 19 file 0x0009b068 extern (C) int rt.dmain2.main(int, char**).void
> tryExec(scope void delegate()) + 24
> 20 file 0x0009b008 main + 184
> 21 file 0x00072231 start + 53
> 22 ??? 0x00000001 0x0 + 1
>
>
> Andrei


More information about the phobos mailing list