Open robert-scheck opened 4 years ago
It seems the problem is:
decpcap.o: file not recognized: File truncated collect2: error: ld returned 1 exit status
I guess that file is read while it is also being written, probably because 'decpcap_test', 'test' and 'nethogs' all require it and are ran in parallel.
As a short-term solution perhaps you should just 'make nethogs' without running the tests?
or perhaps we should make the 'nethogs' target depend on 'test' and the 'test' target on 'decpcap_test' - though that makes it harder to run those individually
Make parallelization seems to be broken, for me mainly reproducible on armv7hl and aarch64, but technically this could indeed occur on any hardware platform with the correct timing.
Other example:
Removal of
-j5
frommake
lets (fresh) builds succeed.