From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 016F4158170 for ; Sun, 21 Jul 2024 09:06:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 467FFE2A9D; Sun, 21 Jul 2024 09:06:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11FEEE2A9D for ; Sun, 21 Jul 2024 09:06:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 055E833BF03 for ; Sun, 21 Jul 2024 09:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EA801CE9 for ; Sun, 21 Jul 2024 09:06:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1721552768.47cb029accbeadf092beecfb2cc5ea7d4c2b275d.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: cnf/, / X-VCS-Repository: proj/portage X-VCS-Files: NEWS cnf/make.globals X-VCS-Directories: / cnf/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 47cb029accbeadf092beecfb2cc5ea7d4c2b275d X-VCS-Branch: master Date: Sun, 21 Jul 2024 09:06:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c4178ef2-e9f3-449e-919d-c609cd6bd6dc X-Archives-Hash: 552d1162c2f48123cf85b554bdb32c29 commit: 47cb029accbeadf092beecfb2cc5ea7d4c2b275d Author: Florian Schmaus gentoo org> AuthorDate: Mon Jun 17 19:54:16 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 21 09:06:08 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=47cb029a make.globals: add bcachefs_effective.* and bcachefs.* to PORTAGE_XATTR_EXCLUDE 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: Florian Schmaus gentoo.org> Closes: https://github.com/gentoo/portage/pull/1346 Signed-off-by: Sam James gentoo.org> NEWS | 2 ++ cnf/make.globals | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 53ba9f5fb1..e8ba29df68 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,8 @@ Bug fixes: working ebuilds. Future EAPIs will need to adjust the logic added by this change. See bug #907061. +* make.globals: add bcachefs_effective.* and bcachefs.* to PORTAGE_XATTR_EXCLUDE + * vartree, movefile: Warn when rewriting a symlink (bug #934514). * repository: config: Allow a repository to be configured using one of its diff --git a/cnf/make.globals b/cnf/make.globals index 2bb7a65593..33e99e9ec3 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -159,7 +159,8 @@ PORTAGE_TRUST_HELPER="/usr/bin/getuto" # system.nfs4_acl attributes are irrelevant, see bug #475496. # user.* attributes are not supported on tmpfs (bug 640290), but # user.pax.* is supported with the patch from bug 470644. -PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima +PORTAGE_XATTR_EXCLUDE="bcachefs.* bcachefs_effective.* + btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"