<code>
vagrant@precise32:/vagrant$ cd vibed/
vagrant@precise32:/vagrant/vibed$ dir
test test2
vagrant@precise32:/vagrant/vibed$ cd test
vagrant@precise32:/vagrant/vibed/test$ dub
Target vibe-d (0.7.19) is up to date. Use --force to rebuild.
Building test configuration "application", build type debug.
Compiling...
Linking...
.dub/build/application-debug-linux.posix-x86-dmd-08D2ED1DCE0817D775B8F64CE7DD970
7/test.o:(.data.D162TypeInfoS3std8typecons130T5TupleTS3std9container54T5Ar
rayTS4vibe4core7drivers9libevent212TimeoutEntryZ5ArrayVAyaa65f73746f7265TkVAyaa
75f6c656e677468Z5Tuple6initZ+0x30): undefined reference to `_D3std8typecons13
0T5TupleTS3std9container54T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntr
yZ5ArrayVAyaa6_5f73746f7265TkVAyaa7_5f6c656e677468Z5Tuple15fieldPostBlitMFZv'
collect2: ld returned 1 exit status
--- errorlevel 1
FAIL .dub/build/application-debug-linux.posix-x86-dmd-08D2ED1DCE0817D775B8F64CE7
DD9707/ test executable
Error executing command run: dmd failed with exit code 1
</code>
On Wed, 16 Apr 2014 06:55:37 GMT, mjax wrote:
vagrant@precise32:/vagrant$ cd vibed/ vagrant@precise32:/vagrant/vibed$ dir test test2 vagrant@precise32:/vagrant/vibed$ cd test vagrant@precise32:/vagrant/vibed/test$ dub Target vibe-d (0.7.19) is up to date. Use --force to rebuild. Building test configuration "application", build type debug. Compiling... Linking... .dub/build/application-debug-linux.posix-x86-dmd-08D2ED1DCE0817D775B8F64CE7DD970 7/test.o:(.data._D162TypeInfo_S3std8typecons130__T5TupleTS3std9container54__T5Ar rayTS4vibe4core7drivers9libevent212TimeoutEntryZ5ArrayVAyaa6_5f73746f7265TkVAyaa 7_5f6c656e677468Z5Tuple6__initZ+0x30): undefined reference to `_D3std8typecons13 0__T5TupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntr yZ5ArrayVAyaa6_5f73746f7265TkVAyaa7_5f6c656e677468Z5Tuple15__fieldPostBlitMFZv' collect2: ld returned 1 exit status --- errorlevel 1 FAIL .dub/build/application-debug-linux.posix-x86-dmd-08D2ED1DCE0817D775B8F64CE7 DD9707/ test executable Error executing command run: dmd failed with exit code 1
Which version of DMD is in use here? DMD <2.065 had issues with using std.container.Array
in conjunction with BinaryHeap
, which seems to be involved in the error here. If this already DMD 2.065, does a dub --force
help? There are still some cases where the code isn't rebuilt when it should, so that could also be the cause (fixed for the latest GIT master version of DUB).