[phobos] 2.052 failure to build Phobos

Andrei Alexandrescu andrei at erdani.com
Mon Jan 17 00:34:31 PST 2011


False alarm. 2.052 does work, but I needed to make clean to remove the 
previous build in order to get it right.

FWIW std.datetime still doesn't unittest on my OSX.

TZName which threw: +VERSION
core.exception.AssertError at std/datetime.d(29414): assertNotThrown 
failed: TimeException was thrown.
----------------
5   datetime                            0x0016a633 void 
std.datetime.assertNotThrown!(core.time.TimeException, 
void).assertNotThrown(lazy void, immutable(char)[], immutable(char)[], 
uint) + 147
6   datetime                            0x00159862 void 
std.datetime.PosixTimeZone.__unittest340() + 154
7   datetime                            0x0000258e void 
std.datetime.__modtest() + 1506
8   datetime                            0x001b16dd extern (C) bool 
core.runtime.runModuleUnitTests().int __foreachbody238(ref 
object.ModuleInfo*) + 45
9   datetime                            0x001acda3 int 
object.ModuleInfo.opApply(scope int delegate(ref object.ModuleInfo*)) + 79
10  datetime                            0x001b15ce runModuleUnitTests + 134
11  datetime                            0x001ba83e extern (C) int 
rt.dmain2.main(int, char**).void runAll() + 38
12  datetime                            0x001ba792 extern (C) int 
rt.dmain2.main(int, char**).void tryExec(scope void delegate()) + 38
13  datetime                            0x001ba723 main + 179
14  datetime                            0x00001f85 start + 53


Andrei

On 1/17/11 2:25 AM, Andrei Alexandrescu wrote:
> I've had trouble building Phobos with 2.051 so I upgraded to the latest
> and greatest from svn. I'm getting this while attempting to build Phobos:
>
> std/random.d(603): Error: forward reference to type ()
> std/random.d(603): Error: cannot implicitly convert expression
> (2463534242L) of type long to ()
> Error: no size for type ()
> std/random.d(766): Error: template instance
> std.random.XorshiftEngine!(uint,32,13,17,5) error instantiating
> make[1]: *** [generated/osx/debug/32/unittest/std/datetime] Error 1
>
> How can I climb out of this?
>
>
> Andrei


More information about the phobos mailing list