Glances need python package for web server mode Otherwise, we have this error at runtime: ~ $ glances -w Bottle module not found. Glances cannot start in web server mode. On the file sys-process/glances/glances-2.11.1.ebuild , we need to add this to fix it : IUSE="doc webserver" DEPEND=" webserver? ( dev-python/bottle[${PYTHON_USEDEP}] ) Upstream issue about this : https://github.com/nicolargo/glances/issues/1225 https://github.com/nicolargo/glances/compare/develop...roumano:patch-1
Hi, it's by design. pure RDEPEND useflags are not allowed. ebuild alerady notifies users that they need to install additional packages for webserver mode. optfeature "Web server mode" dev-python/bottle dev-python/requests so if you need webserver mode - just install bottle and requests. and make sure they have matching python_targets enabled, and it will work. also you may want to install elogv and configure portage to save postinst messages to be able to read them later and take actions if necessary https://wiki.gentoo.org/wiki/Elogv
btw, bottle is listed in upstream's optional-requirements.txt I think they made it clear it's optional.