RESTRICT="perl? ( userpriv )" Looks hacky at least. Why is that needed? Please keep this bug open as long as the ebuild has RESTRICT=userpriv.
OK so the only background I can find here is that the imagemagick-6.5.7.0 ebuild (committed 2009-10-20) contains a comment "Perl tests fail with userpriv".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a072816ed49cb95c46199422cd4b8ce28df93f commit 72a072816ed49cb95c46199422cd4b8ce28df93f Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2020-10-16 21:20:21 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2020-10-16 21:20:41 +0000 media-gfx/imagemagick: Remove ages-old userpriv restriction The only background I can find here is that the imagemagick-6.5.7.0 ebuild (committed 2009-10-20) contains a comment "Perl tests fail with userpriv". I can't reproduce that. Worst case we get a test failure bug, which is still better than running without userpriv. Closes: https://bugs.gentoo.org/516582 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> media-gfx/imagemagick/imagemagick-6.9.11.31-r1.ebuild | 3 +-- media-gfx/imagemagick/imagemagick-6.9.11.34-r1.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)