Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572776 - www-apps/icingaweb2-2.1.2 fails in phase 'setup'
Summary: www-apps/icingaweb2-2.1.2 fails in phase 'setup'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-24 16:35 UTC by Jenny Danzmayr
Modified: 2016-01-24 23:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,5.39 KB, text/plain)
2016-01-24 16:35 UTC, Jenny Danzmayr
Details
build log (icingaweb2-2.1.2-build.log,1.60 KB, text/plain)
2016-01-24 16:37 UTC, Jenny Danzmayr
Details
patch (file_572776.txt,328 bytes, patch)
2016-01-24 16:38 UTC, Jenny Danzmayr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jenny Danzmayr 2016-01-24 16:35:12 UTC
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.
Comment 1 Jenny Danzmayr 2016-01-24 16:37:43 UTC
Created attachment 423808 [details]
build log
Comment 2 Jenny Danzmayr 2016-01-24 16:38:31 UTC
Created attachment 423810 [details, diff]
patch
Comment 3 Felix Janda 2016-01-24 18:28:14 UTC
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.
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-01-24 23:01:40 UTC
apache2 iuse needs to stick around for it's other usage, but the other changes have been made in place to 2.1.2