When updating to gimp-2.9.4 the installation fails with: /bin/sh: line 1: 8350 Segmentation fault /usr/bin/gegl-0.3 ../../icons/Symbolic/12/gimp-quick-mask-off.png -o 12/gimp-quick-mask-off.png -- gegl:invert-gamma gegl version: media-libs/gegl-0.3.8 Reproducible: Always
Created attachment 441174 [details] emerge --info
It's sandbox violation error by gegl-0.3. F: open_wr S: deny P: /proc/mtrr A: /proc/mtrr R: /proc/mtrr C: /usr/bin/gegl-0.3 ../../icons/Symbolic/12/gimp-quick-mask-off.png -o 12/gimp-quick-mask-off.png -- gegl:invert-gamma
Created attachment 441202 [details] emerge --info
Created attachment 441204 [details] build.log
Created attachment 441206 [details] sandbox.log
Thanks for the report, fixed in git hopefully. Else, please re-open. commit 6fd9d728213574d0757df3a2f7bc4d2548434811 Author: Sebastian Pipping <sping@g.o> Date: Wed Jul 20 19:07:14 2016 +0200 media-gfx/gimp: Graphics device access (bug #569738, #589198) Package-Manager: portage-2.2.28 media-gfx/gimp/gimp-2.9.2-r2.ebuild | 3 +++ media-gfx/gimp/gimp-2.9.4.ebuild | 3 +++ media-gfx/gimp/gimp-9999.ebuild | 3 +++ 3 files changed, 9 insertions(+) https://github.com/gentoo/gentoo/commit/6fd9d728213574d0757df3a2f7bc4d2548434811
(In reply to Sebastian Pipping from comment #6) > media-gfx/gimp/gimp-2.9.2-r2.ebuild | 3 +++ > media-gfx/gimp/gimp-2.9.4.ebuild | 3 +++ > media-gfx/gimp/gimp-9999.ebuild | 3 +++ > 3 files changed, 9 insertions(+) > > https://github.com/gentoo/gentoo/commit/ > 6fd9d728213574d0757df3a2f7bc4d2548434811 "addwrite /dev/ati/" has to be added, too for fglrx
(In reply to Nick from comment #7) > "addwrite /dev/ati/" has to be added, too for fglrx Done. commit 8274d04eb2c0d454bfe05e40f1e814594de0f0b6 Author: Sebastian Pipping <sping@g.o> Date: Sat Jul 23 14:45:31 2016 +0200 media-gfx/gimp: Graphics device access (bug #589198) Package-Manager: portage-2.2.28 media-gfx/gimp/gimp-2.9.2-r2.ebuild | 1 + media-gfx/gimp/gimp-2.9.4.ebuild | 1 + media-gfx/gimp/gimp-9999.ebuild | 1 + 3 files changed, 3 insertions(+) https://github.com/gentoo/gentoo/commit/8274d04eb2c0d454bfe05e40f1e814594de0f0b6
I don't know if it is the same for gimp... but, did you try to rely on addpredict instead of addwrite? At least in other similar cases I have seen for packages trying to touch /dev, that is usually enough :)
(In reply to Pacho Ramos from comment #9) > I don't know if it is the same for gimp... but, did you try to rely on > addpredict instead of addwrite? At least in other similar cases I have seen > for packages trying to touch /dev, that is usually enough :) For some of these, addwrite was needed afair, for some it may not. I don't have any of these graphics cards, so it's hard for me to test. If you do, please feel free to turn those into addpredict that you can verify. It would actually be welcome.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8690bda2925e84c4317a70713e873987cb235ea0 commit 8690bda2925e84c4317a70713e873987cb235ea0 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2025-04-02 18:32:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-03 20:56:48 +0000 media-gfx/gimp: 3.0.2 remove sandbox adjustment It seems issues below aren't reprodusable for media-gfx/gimp:3 Bug: https://bugs.gentoo.org/569738 Bug: https://bugs.gentoo.org/574038 Bug: https://bugs.gentoo.org/589198 Bug: https://bugs.gentoo.org/591214 Bug: https://bugs.gentoo.org/684886 Thanks-to: sin-ack <sin-ack@protonmail.com> Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/gimp/gimp-3.0.2.ebuild | 16 ---------------- 1 file changed, 16 deletions(-)