FS#77999 - [coreutils] cp and install --reflink=auto failure
Attached to Project:
Arch Linux
Opened by Matt (rabidpug) - Sunday, 26 March 2023, 12:25 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 06 April 2023, 18:31 GMT
Opened by Matt (rabidpug) - Sunday, 26 March 2023, 12:25 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 06 April 2023, 18:31 GMT
|
Details
Description:
Both cp and install commands fail to properly copy files in version 9.2, even as root copying a file root creates in ~ Issue does not occur after downgrading to 9.1. cp creates an empty file and exits Additional info: * package version(s) - 9.2 * config and/or log files etc. - "cp: failed to clone 'dest-file' from 'src-file': Operation not permitted" * link to upstream bug report, if any Steps to reproduce: >echo 'test' > src-file >cp src-file dest-file cp: failed to clone 'dest-file' from 'src-file': Operation not permitted >cat dest-file > |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Thursday, 06 April 2023, 18:31 GMT
Reason for closing: Fixed
Additional comments about closing: coreutils 9.2-3.
Thursday, 06 April 2023, 18:31 GMT
Reason for closing: Fixed
Additional comments about closing: coreutils 9.2-3.
cp issue.png
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62404
Thanks for the quick response
So i built https://git.savannah.gnu.org/cgit/coreutils.git/snapshot/coreutils-master.tar.gz and there is not any issue....
It happens randomly, but if it happens it will stop the build always at the end of the aosp compilation with a `cannot allocate memory` error.
Probably because of the not working cp and the try to do something with the copied file and the end of the build process.
(Definitely not a ram problem, because I tried with 1 thread and 24GB ram and according to my stats I had many gb's of free ram when it happens)