On Thursday, 17 September 2015 at 15:15:33 UTC, Jack Stouffer wrote:
My dub build is failing with LDC but working with DMD. All I get is this unhelpful error message

$ dub build --compiler=ldc2
Target derelict-util 2.0.3 is up to date. Use --force to rebuild. Building derelict-sdl2 1.9.7 configuration "library", build type debug.
Running ldc2...
Target derelict-gl3 1.0.15 is up to date. Use --force to rebuild.
Building dgame 0.6.3 configuration "lib", build type debug.
Running ldc2...
Building dungeon ~master configuration "application", build type debug.
Running ldc2...
FAIL .dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD1184CE7A0D4F80B1606A44/ dungeon executable
Error executing command build:
ldc2 failed with exit code -11.

How does one debug dub builds?

dub build --compiler=ldc2 -v

will sometimes let you see more clearly when/where things went wrong.

Reply via email to