rm: can't remove Directory not empty
This is from Alpine ported to an unsupported architecture:
Welcome to Alpine Linux 3.12_alpha20200319 (edge)
Kernel 5.5.13-m300-alps-1 on an armv5tel (/dev/ttyS0)
But it seems similar to this github report: https://github.com/docker-library/busybox/issues/77
At the tail end of an otherwise successful abuild, rm fails to remove some directories and the abuild doesn't complete and update the repo. Immediately running abuild -r again updates the repo.
>>> atf*: Create atf-0.21-r1.apk
>>> atf: Build complete at Fri, 27 Mar 2020 14:42:57 -0400 elapsed time 0h 11m 46s
>>> atf: Cleaning up srcdir
rm: can't remove '/home/sodface/aports-master/main/atf/src/atf-0.21/atf-c': Directory not empty
rm: can't remove '/home/sodface/aports-master/main/atf/src/atf-0.21/atf-c++/detail': Directory not empty
abuilder2:~/aports-master/main/atf$ abuild -r
>>> atf: Updating the main/armel repository index...
>>> atf: Signing the index...