redshift-1.12-r3 introduced in commit a8afc8263b9ee22ecf1fd1494cc7b7388a612739 added "python_foreach_impl python_optimize" to src_install, which fails if PYTHON_TARGETS is empty for this package. Reproducible: Always Steps to Reproduce: 1. PYTHON_TARGETS="" emerge -1 =x11-misc/redshift-1.12-r3 Actual Results: src_install fails in _python_validate_useflags Expected Results: Installation succeeds.
Created attachment 598928 [details] build.log
That line should probably be within the "if use gtk" -block.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4cce8e053e6f30a4be2ae9261a1fbcba8557f9f commit f4cce8e053e6f30a4be2ae9261a1fbcba8557f9f Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2019-12-09 16:57:50 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2019-12-09 16:58:30 +0000 x11-misc/redshift: Fix for PYTHON_TARGETS= USE=-gtk Closes: https://bugs.gentoo.org/702314 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.80, Repoman-2.3.19 x11-misc/redshift/redshift-1.12-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
*** Bug 701882 has been marked as a duplicate of this bug. ***