You can safely remove the dependence with libafterimage from ROOT ebuild because the ROOT system has an embedded version of it that matches the current ROOT distribution. Also the libafterimage that exists in the portage is not compiling anymore. As a workaround for the emerge system do: emerge root (system tries to emerge libafterimage and fails) emerge --resume --skipfirst Reproducible: Always Steps to Reproduce:
--disable-builtin-afterimage is done on purpose because using shared system libs is greatly preferred to using bundled stuff for security and other reasons. Thanks anyway. media-libs/libafterimage compiles fine here, if it doesn't for you, then file a bug about that.