Here are the patches for bug #278221. Simply, if DESTDIR is set, skip running fc-cache. Can someone see if upstream is interested?
Created attachment 201463 [details, diff] 0001-adobe-utopia-type1-Skip-fc-cache-with-DESTDIR.patch
Created attachment 201467 [details, diff] 0001-bh-ttf-Skip-fc-cache-with-DESTDIR.patch
Created attachment 201468 [details, diff] 0001-bh-type1-Skip-fc-cache-with-DESTDIR.patch
Created attachment 201471 [details, diff] 0001-bitstream-type1-Skip-fc-cache-with-DESTDIR.patch
Created attachment 201474 [details, diff] 0001-ibm-type1-Skip-fc-cache-with-DESTDIR.patch
Created attachment 201476 [details, diff] 0001-misc-meltho-Skip-running-fc-cache-with-DESTDIR.patch
Created attachment 201477 [details, diff] 0001-misc-ethiopic-Skip-fc-cache-with-DESTDIR.patch
Created attachment 201479 [details, diff] 0001-xfree86-type1-Skip-fc-cache-with-DESTDIR.patch
Thanks a bunch Ryan :) I'll ping upstream this week about this and I'll commit them myself if they're ACKed. I'll see if I can do new releases for the fonts packages soon as well. Cheers!
FYI, fontconfig-2.7.1-r1 fixes the sandbox violations for good.
Judging by the sandbox.d entry you put in the ebuild, I take it this can't be fixed directly in the code? Thanks a bunch for the fix though :)
Upstream ACKed the patches and I've committed them all :) BTW, now that there's a global sandbox.d entry for fontconfig, is the hack in the x-modular eclass still needed? Or does it need fontconfig to go stable first? Cheers
Nice. :) The hack can be dropped now - the current stable fontconfig(s) work fine without it and all unstable versions in the tree now have the sandbox.d file.
(In reply to comment #13) > The hack can be dropped now /me added me droppeed. Thank you.
Soooo, this is all fixed in stable, isn't it?
this was never broken in stable, so.. yes. :)
in that case closing as fixed :]