@mavica_again the list of files given by dpkg doesn't reflect what's on the filesystem; it's what was put there when the package was installed. if files were removed or modified after it was installed it wouldn't know. I don't know why those files were removed in the first place.
you can force a package to be reinstalled ("apt install --reinstall") which should fix the problem.
@lafp in the end though i just ended up learning how to chroot with qemu to cross-compile for armhf