Packages building with opencl will fail because of sandbox in combination with cuda accelerated opencl. Reproducible: Always
Created attachment 429320 [details] sci-chemistry:chemical-mime-data-0.1.94-r2:20160329-175101.log
For me this looks like a bug in the sci-chemistry/chemical-mime-data ebuild, which can be fixed by adding RESTRICT="userpriv" and granting write access to nvidia-uvm etc. as for example done within this [1] ebuild. [1] https://github.com/gentoo-science/sci/blob/master/sci-libs/arrayfire/arrayfire-3.3.2.ebuild#L83
Created attachment 584974 [details, diff] Fix the emerge by allowing access to the relevant GPU related files as suggested in Marius Brehler's comment. (In reply to Marius Brehler from comment #2) > For me this looks like a bug in the sci-chemistry/chemical-mime-data ebuild, > which can be fixed by adding RESTRICT="userpriv" and granting write access > to nvidia-uvm etc. as for example done within this [1] ebuild. > > [1] > https://github.com/gentoo-science/sci/blob/master/sci-libs/arrayfire/ > arrayfire-3.3.2.ebuild#L83 Using a similar mechanism works. But I am not sure what the best approach is. My attached patch is checking for the opencl use flags, but this is misleading at best, as the question is if /usr/bin/convert, i.e. media-gfx/imagemagick, is actually emerged with opencl, and inserting an IUSE="opencl" is just recognising global USE flags. Also, I don't know how vendor specific this is. Nonetheless, I could emerge again. So thanks for the tip.
Are you still hitting this with sci-chemistry/chemical-mime-data-0.1.94-r4 ?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e4562f4be5db8b8fd49161c8a36fea45c9ecca commit c3e4562f4be5db8b8fd49161c8a36fea45c9ecca Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2023-03-20 20:21:38 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2023-03-20 20:21:38 +0000 sci-chemistry/chemical-mime-data: add 0.1.95_pre20171122 Closes: https://bugs.gentoo.org/578628 Closes: https://bugs.gentoo.org/710906 Signed-off-by: Pacho Ramos <pacho@gentoo.org> sci-chemistry/chemical-mime-data/Manifest | 1 + .../chemical-mime-data-0.1.95_pre20171122.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+)