graphicsmagick has a local "modules" flag which enables dynamically loadable modules. This collides with a global flag with the same name but with a different meaning (namely, "Build the kernel modules").
I suggest renaming the local flag to "dynamic-loading".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=928c5138ff66c07b96944e41b5a7876a87a33396 commit 928c5138ff66c07b96944e41b5a7876a87a33396 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-07-30 08:30:23 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-07-30 08:30:43 +0000 media-gfx/graphicsmagick: Rename modules use flag to dynamic-loading. The global modules use flag has a different meaning (namely, "Build the kernel modules"). Closes: https://bugs.gentoo.org/608786 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Ulrich Müller <ulm@gentoo.org> media-gfx/graphicsmagick/graphicsmagick-1.3.35-r1.ebuild | 6 +++--- media-gfx/graphicsmagick/graphicsmagick-9999.ebuild | 6 +++--- media-gfx/graphicsmagick/metadata.xml | 5 +++-- 3 files changed, 9 insertions(+), 8 deletions(-)