ldmd2 isn't built for ldc 1.8.0-beta1
Thomas Mader
thomas.mader at gmail.com
Mon Feb 26 18:16:50 UTC 2018
On Sunday, 25 February 2018 at 20:26:03 UTC, kinke wrote:
> On Sunday, 25 February 2018 at 18:37:52 UTC, Thomas Mader wrote:
>> The package build script for ldc for the Nix package manager
>> produced the ldmd2 binary in the bin directory next to the ldc
>> binary.
>> With this beta the binary is missing. Don't have a clue why it
>> isn't build anymore.
>
> I don't remember any relevant changes. The make/ninja target is
> 'ldmd2' and it's included in the 'all' target.
I looked more into it and the ldmd2 binary is produced but some
tests fail because they use another path to ldmd2 which is not
available anymore.
Now I wonder why those tests don't use the ldmd2 I am using to
build everything and all other tests use which are successful.
788/790 Test #788: druntime-test-typeinfo
......................................................***Failed
0.01 sec
make: Entering directory
'/private/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/runtime/druntime/test/typeinfo'
/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/bin/ldmd2 -w -I../../src -I../../import -Isrc -defaultlib= -debuglib= -dip1000 -L/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/lib/libdruntime-ldc.a -O -release -of/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/runtime/druntime-test-typeinfo/comparison src/comparison.d
make:
/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/bin/ldmd2: Command not found
make: *** [Makefile:14:
/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/runtime/druntime-test-typeinfo/comparison] Error 127
make: Leaving directory
'/private/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/runtime/druntime/test/typeinfo'
789/790 Test #790: druntime-test-unittest
......................................................***Failed
0.01 sec
make: Entering directory
'/private/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/runtime/druntime/test/unittest'
Testing good
/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/bin/ldmd2 -w -I../../src -I../../import -Isrc -defaultlib= -debuglib= -dip1000 -L/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/lib/libdruntime-ldc.a -O -release -of/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/runtime/druntime-test-unittest/tester_good customhandler.d -version=PassNoPrintout
make:
/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/bin/ldmd2: Command not found
make: *** [Makefile:37:
/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/build/runtime/druntime-test-unittest/good.done] Error 127
make: Leaving directory
'/private/tmp/nix-build-ldcUnittests-1.8.0-beta1.drv-2/ldc-1.8.0-beta1-src/runtime/druntime/test/unittest'
790/790 Test #754: std.socket-debug
............................................................
Passed 4.90 sec
99% tests passed, 10 tests failed out of 790
Total Test time (real) = 34.61 sec
The following tests FAILED:
772 - druntime-test-allocations (Failed)
774 - druntime-test-coverage (Failed)
776 - druntime-test-cycles (Failed)
778 - druntime-test-exceptions (Failed)
780 - druntime-test-imports (Failed)
782 - druntime-test-init_fini (Failed)
784 - druntime-test-profile (Failed)
786 - druntime-test-thread (Failed)
788 - druntime-test-typeinfo (Failed)
790 - druntime-test-unittest (Failed)
Errors while running CTest
More information about the digitalmars-d-ldc
mailing list