coreutils was emerged with the use flag 'xattr'. host # cp -a --preserve=xattr file1 file2 cp: cannot preserve extended attributes, cp is built without xattr support I've checked the config.h files and the USE_XATTR flag seems to be enabled.
Created attachment 236687 [details] emerge --info
Attach build log and config.log of coreutils.
Created attachment 236723 [details] Build log
Created attachment 236725 [details] config.log
File system is mounted with user_xattr option. Setting and querying extended attributes work as expected. rsync compiled with xattr copies the attributes correctly when invoked with -X
It's fixed upstream in 8.5 - there was a bug in m4/xattr.m4