Mender install artifacts have file size=0

I’m running mender-2.1.1 on an RPI3B and have ran into an odd behaviour. All mender files have zero size in my .sdimg.
ls -l /mnt/etc/mender/
total 4
-rw-r–r-- 1 root root 0 jun 26 10:48 artifact_info
-rw-r–r-- 1 dev dev 0 dec 9 2019 mender.conf
drwxr-xr-x 2 root root 4096 sep 14 20:44 scripts
-rw-r–r-- 1 dev dev 0 dec 9 2019 server.crt

The same goes for /usr/bin/mender and the associated systemd service file.
There are no errors reported while building. I’m building on warrior.
The really odd thing is that this all used to work just fine, and seemed to start occurring a couple of months ago (noticed this only today when deploying a new device).
I haven’t done anything consciously w.r.t this.
Anyone seen something like this?

I haven’t, but I’d start with deleting sstate-cache and tmp in the build directory, just to make sure the build caching mechanism isn’t the culprit.

You’re right! Deleting tmp didn’t do the trick. Removal of the sstate-cache did.
I must’ve had a serious server crash sometime in the spring that corrupted the state cache in a scientific manner :slight_smile:

Thank you!