summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/fcaps.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 046043c031e7..b203a913ffb3 100644
--- a/eclass/fcaps.eclass
+++ b/eclass/fcaps.eclass
@@ -162,6 +162,9 @@ fcaps() {
: $(( ++notfound ))
continue
;;
+ # ENOTSUP and EOPNOTSUPP might be the same value which means
+ # strerror() on them is unstable -- we can get both. #559608
+ *"Not supported"*|\
*"Operation not supported"*)
local fstype=$(stat -f -c %T "${file}")
ewarn "Could not set caps on '${file}' due to missing filesystem support:"