commit: e89144f2c9ac889fa99bff752ea2065bf1a735fb Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Sun Jul 9 03:32:43 2023 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Sun Jul 9 03:40:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89144f2
p/prefix/{darwin,sunos}: mask sys-apps/attr and USE=xattr. The required headers are not available on macOS or Solaris. Bug: https://bugs.gentoo.org/910070 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> profiles/prefix/darwin/package.mask | 8 +++++++- profiles/prefix/darwin/use.mask | 6 +++++- profiles/prefix/sunos/package.mask | 8 ++++++++ profiles/prefix/sunos/use.mask | 6 +++++- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/profiles/prefix/darwin/package.mask b/profiles/prefix/darwin/package.mask index fbda04428af4..770d57809b9a 100644 --- a/profiles/prefix/darwin/package.mask +++ b/profiles/prefix/darwin/package.mask @@ -1,6 +1,12 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Benda Xu <hero...@gentoo.org> (2023-07-09) +# Requires Glibc <sys/xattr.h> to work properly. +# For example, 'lgetxattr' is not available on macOS or gnulib. +# https://www.gnu.org/software/gnulib/manual/html_node/lgetxattr.html +sys-apps/attr + # Fabian Groffen <grob...@gentoo.org> (2014-01-14) # util-linux has no business on Darwin systems sys-apps/util-linux diff --git a/profiles/prefix/darwin/use.mask b/profiles/prefix/darwin/use.mask index 980886cdc0dc..79035bfa7912 100644 --- a/profiles/prefix/darwin/use.mask +++ b/profiles/prefix/darwin/use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 #Add USE flags that don't work on Darwin/OpenDarwin/OS X here @@ -34,5 +34,9 @@ introspection # libcap doesn't work on OSX (fcaps.eclass), bug #534264 filecaps +# Benda Xu <hero...@gentoo.org> (2023-07-09) +# xattr requires sys-apps/attr, which is masked. +xattr + # linux-exclusive feature inotify diff --git a/profiles/prefix/sunos/package.mask b/profiles/prefix/sunos/package.mask new file mode 100644 index 000000000000..1d933faa70cb --- /dev/null +++ b/profiles/prefix/sunos/package.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Benda Xu <hero...@gentoo.org> (2023-07-09) +# Requires Glibc <sys/xattr.h> to work properly. +# For example, 'lgetxattr' is not available on Solaris or gnulib. +# https://www.gnu.org/software/gnulib/manual/html_node/lgetxattr.html +sys-apps/attr diff --git a/profiles/prefix/sunos/use.mask b/profiles/prefix/sunos/use.mask index 875fdb97c4dd..d9cbd55a4b77 100644 --- a/profiles/prefix/sunos/use.mask +++ b/profiles/prefix/sunos/use.mask @@ -1,10 +1,14 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Re-add SunOS libc -elibc_SunOS -kernel_SunOS +# Benda Xu <hero...@gentoo.org> (2023-07-09) +# xattr requires sys-apps/attr, which is masked. +xattr + # these will more than likely never work on solaris 3dfx acpi