abuild rootbld: abuild-sign can't preserve ownership
When building any aport using abuild rootbld
I get the following error during create_apks()
:
mv: can't preserve ownership of '/home/soeren/src/aports/community/tpm/pkg/.control.tpm/control.tar.gz': Invalid argument
This error message is emitted by the mv
invocation in the following abuild-sign
line:
Both files in that line are existing files owned by root
:
-rw-r--r-- 1 root root 543 Dec 20 19:31 /home/soeren/src/aports/community/tpm/pkg/.control.tpm/control.tar.gz
-rw-r--r-- 1 root root 949 Dec 20 19:31 /tmp/tmp.hKGmJh
Since that mv
invocation is executed in a bwrap
environment (as created by abuild rootbld
) and fakeroot
this may be a problem in the handling of lchown
(used internally by mv
to preserve ownership) in fakeroot
? The error message appeared recently and wasn't present previously.