Created attachment 423806 [details] emerge --info Maybe related to 566556 The install of www-apps/icingaweb2-2.1.2 fails in the setup phase with: /usr/portage/eclass/depend.apache.eclass: line 191: IUSE: readonly variable The cause seems to be the call of want_apache2 in pkg_setup() I've attached emerge --info, the build log, and a patch witch seams to fix the problem. I don't know if my patch causes issues if you use nginx instead of apache.
Created attachment 423808 [details] build log
Created attachment 423810 [details, diff] patch
The patch looks good to me. want_apache2 is supposed to be called in global scope. I think that in addition the "use apache2" check in pkg_setup and "apache2" in IUSE can be removed since depend.apche_pkg_setup does that for us.
apache2 iuse needs to stick around for it's other usage, but the other changes have been made in place to 2.1.2