Build issue causes make -j check to fail, and occasionally make check

Description

I see this error when I try parallel builds or sometimes when I'm doing sequential builds, but the build system gets confused somehow:

{{make[4]: Entering directory '/home/ed/libdap4/unit-tests'
g++ -DHAVE_CONFIG_H -I. -I.. -I../GNU -I.. -I../tests -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/usr/local/include -Wall -W -Wcast-align -g -O2 -MT marshT.o -MD -MP -MF .deps/marshT.Tpo -c -o marshT.o marshT.cc
mv -f .deps/marshT.Tpo .deps/marshT.Po
make[4]: *** No rule to make target '../tests/libtest-types.a', needed by 'marshT'. Stop.
make[4]: Leaving directory '/home/ed/libdap4/unit-tests'
Makefile:2707: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/home/ed/libdap4/unit-tests'
Makefile:2045: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/home/ed/libdap4/unit-tests'
Makefile:2458: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/ed/libdap4'
Makefile:2753: recipe for target 'check' failed
make: *** [check] Error 2}}

Environment

None

Activity

Show:
Edward
March 17, 2018, 8:44 PM

There is quite a simple fix for this. Once in place the build time goes from ~6.5 min to ~2 min. So a substantial improvement.

Edward
March 24, 2018, 12:56 PM

The fix for this is part of the current PR up on libdap4. When it is merged I will close this issue.

Assignee

Edward

Reporter

Edward

Labels

None

Components

Priority

Medium
Configure