# export USE="-gpm" # ebuild links-2.1_pre20.ebuild unpack compile ... "GPM support: YES" ...
*** Bug 155912 has been marked as a duplicate of this bug. ***
This is NOT a Gentoo Bugzilla product bug, read the descriptions.
export USE="-gpm" is completely invalid way to set use flags.