dlang / dub

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

Library compilation broken on windows with latest LDC #952

Closed WebFreak001 closed 7 years ago

WebFreak001 commented 8 years ago
Performing "release" build using ldc2 for x86.
dub 1.1.0-beta.1: building configuration "library"...
C:\Users\this_\AppData\Roaming\dub\packages\dub-1.1.0-beta.1\dub\source\dub\internal\sdlang\lexer.d(16): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Users\this_\AppData\Roaming\dub\packages\dub-1.1.0-beta.1\dub\source\dub\compilers\utils.d(92): Deprecation: dub.compilers.buildsettings.array is not visible from module utils
Error: Output file '.dub\obj\utils.obj' for module 'dub.internal.utils' collides with previous module 'dub.compilers.utils'. See the -oq option
ldc2 failed with exit code 1.

Another error:

../../../../../.dub/packages/dub-1.1.0-beta.1/dub/source/dub/internal/sdlang/lexer.d(16,8): Error: module stream is in file 'std/stream.d' which cannot be read
git clone https://github.com/dlang/dub.git
dub build --config=library --build=release --compiler=ldc2

More info: https://github.com/Pure-D/code-d/issues/80

s-ludwig commented 7 years ago

Fixed on DUB master and LDC 1.1.0-beta6.