Skip to content
  • Florian Schmaus's avatar
    make.globals: add bcachefs_effective.* and bcachefs.* to PORTAGE_XATTR_EXCLUDE · 47cb029a
    Florian Schmaus authored and Sam James's avatar Sam James committed
    
    
    Just like btrfs the bcachefs filesystem makes heaviy use of xattrs.
    
    In my case
    
    emerge --config gentoo-kernel
    
    failed with
    
    install-xattr: setxattr() failed: Operation not supported
    
    A strace revealed
    
    setxattr("/boot/efi/8410476acd4b1e12c678fc815c18f551/6.9.5-gentoo-dist/linux",
    "bcachefs_effective.background_co"..., "zstd", 4, 0) = -1 EOPNOTSUPP (Operation not supported)
    
    and indeed, the source file to the install operation was under
    /usr/src which had background compression enabled. As a result,
    install-xattr tried to copy the attribute over to the destination file
    and failed.
    
    Signed-off-by: default avatarFlorian Schmaus <flow@gentoo.org>
    Closes: https://github.com/gentoo/portage/pull/1346
    Signed-off-by: default avatarSam James <sam@gentoo.org>
    47cb029a
To find the state of this project's repository at the time of any of these versions, check out the tags.