The hardened profile has forced xattr on sys-apps/portage which installs dev-python/pyxattr. The existence of this package enables xattr support in app-backup/rdiff-backup, even if USE="-xattr" is set. rdiff-backup will throw a warning that xattr information just suddenly showed up. Reproducible: Always Expected Results: Not quiet sure how blocking can be specified, but dev-python/pyxattr should probably be blocked by rdiff-backup if -xattr is detected. Mostly to force the user to decide what they want to do. This came out of bug #462942, which has more backstory.
Created attachment 375610 [details] Updated ebuild with unconditional deps There's no good solution for this -- we don't have a way to pass flags from build time to runtime, so we can't tell rdiff-backup to disable something based on a USE flag that was set at build time. The blocker idea also won't fly because the user can't fix a blocker on his own. The usual suggested approach is to mention the optional dependencies in an elog at postinst. However, in this case, I think it's better to make the deps unconditional. Yes, you'll get the warning that you mentioned. But the alternative, if we just suggest pylibacl and pyxattr in an elog, is worse: the user might accidentally remove one of them and trash his backups when they get overwritten without ACLs. So, I've updated the ebuild with unconditional deps. I also did an eclass/eapi bump, and added two extra docs.
Created attachment 375702 [details] Updated ebuild with unconditional deps Might as well put the deps in RDEPEND where they belong.
Sorry this is late. Finally got a couple moments of spare time to really look at this. Creating a bump ebuild in my overlay for feedback. Investigating the inclusion of this patch.
Alright, I've incorporated these changes into the copy on my overlay. Installation succeeds but there is no test to suite to verify any deeper. Does anyone mind corroborating that the overlay version is acceptable?
I back that up
package installs and appears to work fine run time
Alright, added these changes to the tree. Lifting the mask and in thirty days will request this bump to be stabilized.