[phobos] Is the build broken?
Jonathan M Davis
jmdavisProg at gmx.com
Sat Nov 12 21:35:23 PST 2011
On Saturday, November 12, 2011 19:21:41 Andrei Alexandrescu wrote:
> I just updated everything (dmd, druntime, phobos) and make unittest
> fails for phobos on OSX/32 with the error below. Is it reproducible?
>
> core.exception.AssertError at std/regex.d(7138): bmatch(R,RegEx) if
> (is(RegEx == Regex!(BasicElementOf!(R)))): mismatch pattern #204:
> \b\w+\b expected: abde4 vs de
> ----------------
> 5 regex 0x001086b6 _d_assert_msg + 26
> 6 regex 0x0008a25d void
> std.regex.__unittest7().void
> __T9run_testsS173std5regex6bmatchZ.run_tests() + 82613
> 7 regex 0x00005fd5 void
> std.regex.__unittest7() + 13
> 8 regex 0x00001fb1 void
> std.regex.__modtest() + 21
> 9 regex 0x000ff8b1 extern (C) bool
> core.runtime.runModuleUnitTests().int __foreachbody265(ref
> object.ModuleInfo*) + 45
> 10 regex 0x000fa617 int
> object.ModuleInfo.opApply(scope int delegate(ref object.ModuleInfo*)) + 79
> 11 regex 0x000ff7a2 runModuleUnitTests + 134
> 12 regex 0x00108e2f extern (C) int
> rt.dmain2.main(int, char**).void runAll() + 43
> 13 regex 0x001089a1 extern (C) int
> rt.dmain2.main(int, char**).void tryExec(scope void delegate()) + 29
> 14 regex 0x0010893b main + 179
> 15 regex 0x00001f89 start + 53
> 16 ??? 0x00000001 0x0 + 1
The OSX build has been broken ever since the new std.regex was merged in:
http://d.puremagic.com/test-results/
You can read the discussion about it on the pull request:
https://github.com/D-Programming-Language/phobos/pull/310 It sounds like it's
a compiler bug, but I don't think that they've quite figured it out yet.
- Jonathan M Davis
More information about the phobos
mailing list