summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2023-07-09 11:32:43 +0800
committerBenda Xu <heroxbd@gentoo.org>2023-07-09 11:40:44 +0800
commite89144f2c9ac889fa99bff752ea2065bf1a735fb (patch)
tree65fa6d25e75adf842b0c87c6a69f90e4fce85b90
parentdev-python/rpds-py: Bump to 0.8.10 (diff)
downloadgentoo-e89144f2c9ac889fa99bff752ea2065bf1a735fb.tar.gz
gentoo-e89144f2c9ac889fa99bff752ea2065bf1a735fb.tar.bz2
gentoo-e89144f2c9ac889fa99bff752ea2065bf1a735fb.zip
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@gentoo.org>
-rw-r--r--profiles/prefix/darwin/package.mask8
-rw-r--r--profiles/prefix/darwin/use.mask6
-rw-r--r--profiles/prefix/sunos/package.mask8
-rw-r--r--profiles/prefix/sunos/use.mask6
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 <heroxbd@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 <grobian@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 <heroxbd@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 <heroxbd@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 <heroxbd@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