dlang / dub

Package and build management system for D
MIT License
678 stars 227 forks source link

dub build failure with the latest dmd #667

Closed Passw closed 9 years ago

Passw commented 9 years ago
~/dub$ ./build.sh
Generating version file...
Running dmd...
/home/sun/INSTALL/dmd/include/d2/object.d(2329): Error: argument s.opDispatch!"__xpostblit" has no parent
/home/sun/INSTALL/dmd/include/d2/std/conv.d(4054): Error: template instance object._postblitRecurse!(Json) error instantiating
/home/sun/INSTALL/dmd/include/d2/std/conv.d(3917):        instantiated from here: emplaceImpl!(Json)
/home/sun/INSTALL/dmd/include/d2/std/array.d(2829):        instantiated from here: emplaceRef!(Json, Json)
/home/sun/INSTALL/dmd/include/d2/std/array.d(135):        instantiated from here: put!(Json)
source/dub/generators/sublimetext.d(39):        instantiated from here: array!(MapResult!(targetFolderJson, Result))
source/dub/generators/sublimetext.d(61): Error: template instance std.array.array!(MapResult!(Json, string[])) error instantiating
source/dub/generators/sublimetext.d(95): Error: template instance std.array.array!(Json[]) error instantiating
source/dub/generators/sublimetext.d(99): Error: template instance std.array.array!(MapResult!(makeBuildSystem, string[])) error instantiating
source/dub/internal/sdlang/lexer.d-mixin-1260(1260): Deprecation: constructor std.datetime.SysTime.this is deprecated - Please use the overload which takes a Duration instead of a FracSec.
source/dub/internal/sdlang/lexer.d-mixin-1268(1268): Deprecation: constructor std.datetime.SysTime.this is deprecated - Please use the overload which takes a Duration instead of a FracSec.
~/dub$ dmd --version
DMD32 D Compiler v2.069-devel-adc51b1
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
~/dub$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Wily Werewolf (development branch)
Release:        15.10
Codename:       wily
~/dub$ uname -a
Linux sun 4.1.0-3-generic #3-Ubuntu SMP Tue Jul 28 12:22:42 UTC 2015 i686 i686 i686 GNU/Linux
MartinNowak commented 9 years ago

This looks more like a bug in druntime, see Issue 15029 – [Reg 2.068.0] _postblitRecurse invokes opDispatch with __xpostblit (breaks emplace).