Steps to reproduce (note two consecutive invocations of biomake):
git clone https://github.com/rulatir/biomake-bug-demo.git
cd biomake-bug-demo
biomake -H
biomake -H
Expected result:
build/indirectly-dependent should contain the same random data as build/random64 because:
- the former has the latter as a dependency
- the former is built simply by copying the latter
Actual result:
build/indirectly-dependent contains stale data from when it was created as a result of the first invocation of biomake.
Output of second invocation:
Warning: could not update MD5 file for FORCE <-- []
dd count=1 if=/dev/urandom of=build/randomstuff
1+0 records in
1+0 records out
512 bytes copied, 0.000138352 s, 3.7 MB/s
base64 < build/randomstuff > build/random64
build/indirectly-dependent is up to date
The claim that build/indirectly-dependent is up to date is patently false. Its dependency has changed.
Steps to reproduce (note two consecutive invocations of biomake):
git clone https://github.com/rulatir/biomake-bug-demo.git cd biomake-bug-demo biomake -H biomake -HExpected result:
build/indirectly-dependentshould contain the same random data asbuild/random64because:Actual result:
build/indirectly-dependentcontains stale data from when it was created as a result of the first invocation ofbiomake.Output of second invocation:
The claim that
build/indirectly-dependentis up to date is patently false. Its dependency has changed.