[#91] dhcp/bind: build bind1->atf->bind2 sequentially
This includes the patch provided by @trofi in !76 (closed), with some extra stuff on top.
All 3 steps are interdependent:
- bind1 unpacks bind source
- atf builds tests in it
- bind2 builds bind
Without the dependencies parallel build on -j16 fails as:
$ make -j16 -l16
Making all in ./bind
make[1]: Entering directory '/build/dhcp-4.4.2-P1/bind'
Building BIND libraries - this takes some time.
bash: line 6: cd: /build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc: No such file or directory
Building isc library in /build/dhcp-4.4.2-P1/bind
bash: line 6: cd: /build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc: No such file or directory
bash: ./configure: /bin/sh: bad interpreter: Text file busy
make[2]: *** [Makefile:42: bind1] Error 126
make[2]: *** Waiting for unfinished jobs....
Closes #91
Edited by Tomek Mrugalski