Created attachment 427804 [details] build.log /mnt/gentoo2/portage/dev-libs/libgpg-error-1.21/work/libgpg-error-1.21/tests/t-poll.c: In function ‘main’: /mnt/gentoo2/portage/dev-libs/libgpg-error-1.21/work/libgpg-error-1.21/tests/t-poll.c:369:18: error: ‘producer_thread’ undeclared (first use in this function) launch_thread (producer_thread, &peer_stdin ); ^ /mnt/gentoo2/portage/dev-libs/libgpg-error-1.21/work/libgpg-error-1.21/tests/t-poll.c:369:18: note: each undeclared identifier is reported only once for each function it appears in /mnt/gentoo2/portage/dev-libs/libgpg-error-1.21/work/libgpg-error-1.21/tests/t-poll.c:370:18: error: ‘consumer_thread’ undeclared (first use in this function) launch_thread (consumer_thread, &peer_stdout); ^ Makefile:489: recipe for target 't-poll.o' failed make[2]: *** [t-poll.o] Error 1
please provide emerge --info output
Created attachment 427828 [details] emerge --info
Created attachment 427862 [details] package.mask
Created attachment 428484 [details] package.mask
I solved the compilation error by enabling the `threads` USE flag. That means USE `-threads` doesn't work.
(In reply to Lukas Polacek from comment #5) > I solved the compilation error by enabling the `threads` USE flag. That > means USE `-threads` doesn't work. Thanks for the reminder on this. Indeed, threads is expected (hence defaulting to yes previously as well), for libgpg-error-1.22 I've removed the USE flag altogether.