Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576850 - dev-libs/libgpg-error-1.21: tests/t-poll.c:369:18: error: ‘producer_thread’ undeclared
Summary: dev-libs/libgpg-error-1.21: tests/t-poll.c:369:18: error: ‘producer_thread’ u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 13:24 UTC by Oschtan
Modified: 2016-05-22 16:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,44.30 KB, text/x-log)
2016-03-09 13:24 UTC, Oschtan
Details
emerge --info (emerge --info.log,5.13 KB, text/x-log)
2016-03-09 15:20 UTC, Oschtan
Details
package.mask (package.mask,3.27 KB, text/plain)
2016-03-10 07:09 UTC, Oschtan
Details
package.mask (package.mask,1.09 KB, text/plain)
2016-03-18 07:41 UTC, Oschtan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oschtan 2016-03-09 13:24:01 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2016-03-09 15:13:21 UTC
please provide emerge --info output
Comment 2 Oschtan 2016-03-09 15:20:23 UTC
Created attachment 427828 [details]
emerge --info
Comment 3 Oschtan 2016-03-10 07:09:32 UTC
Created attachment 427862 [details]
package.mask
Comment 4 Oschtan 2016-03-18 07:41:36 UTC
Created attachment 428484 [details]
package.mask
Comment 5 Lukas Polacek 2016-05-22 15:37:16 UTC
I solved the compilation error by enabling the `threads` USE flag. That means USE `-threads` doesn't work.
Comment 6 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-05-22 16:14:47 UTC
(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.