If i run ./configure manually it works BUT if i update config.guess and config.sub with system ones it fails too. It seems it can't find PKG_CONFIG judging by PKG_CONFIG='' in config.log Reproducible: Always
Created attachment 406628 [details] build.log
Created attachment 406630 [details] config.log
Actually, it configures normally if run with same options as emerge does EXCEPT --disable-pinentry-gnome3 option, and fails if this option is passed.
Created attachment 406632 [details] emerge --info
Reproduce: USE="-caps -ncurses -gtk qt4 -gnome-keyring" ebuild pinentry-0.9.5.ebuild digest clean install ncurses/caps initialize the pkg-config implicitly.
hmmm... the pkg-config is not used properly at all in pinentry, had to create a more primitive patch.