Bug 970865

Summary: Testsuite failure: tst-aiod2.c and tst-aiod3.c build failure
Product: [Fedora] Fedora Reporter: Siddhesh Poyarekar <spoyarek>
Component: glibcAssignee: Siddhesh Poyarekar <spoyarek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: codonell, fweimer, jakub, law, mnewsome, pfrankli, schwab, spoyarek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.17-14.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-23 09:51:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Siddhesh Poyarekar 2013-06-05 06:39:33 UTC
Description of problem:
The test cases tst-aiod2.c and tst-aiod3.c fail to build:

tst-aiod3.c: In function 'thrfct':
tst-aiod3.c:35:3: warning: implicit declaration of function 'pthread_barrier_wait' [-Wimplicit-function-declaration]
   int e = pthread_barrier_wait (&b);
   ^
tst-aiod3.c:36:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^
tst-aiod3.c:36:22: note: each undeclared identifier is reported only once for each function it appears in
tst-aiod3.c: In function 'do_test':
tst-aiod3.c:62:3: warning: implicit declaration of function 'pthread_barrier_init' [-Wimplicit-function-declaration]
   if (pthread_barrier_init (&b, NULL, 2) != 0)
   ^
tst-aiod3.c:120:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^

tst-aiod2.c: In function 'thrfct':
tst-aiod2.c:36:3: warning: implicit declaration of function 'pthread_barrier_wait' [-Wimplicit-function-declaration]
   int e = pthread_barrier_wait (&b);
   ^
tst-aiod2.c:37:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^
tst-aiod2.c:37:22: note: each undeclared identifier is reported only once for each function it appears in
tst-aiod2.c: In function 'do_test':
tst-aiod2.c:63:3: warning: implicit declaration of function 'pthread_barrier_init' [-Wimplicit-function-declaration]
   if (pthread_barrier_init (&b, NULL, 2) != 0)
   ^
tst-aiod2.c:117:22: error: 'PTHREAD_BARRIER_SERIAL_THREAD' undeclared (first use in this function)
   if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD)
                      ^

Version-Release number of selected component (if applicable):
glibc-2.17.90-1.fc20

How reproducible:
Always.

Steps to Reproduce:
See Build log.

Additional info:
The tests fail to include pthread.h.

Comment 1 Fedora Update System 2013-08-26 12:34:13 UTC
glibc-2.17-14.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/glibc-2.17-14.fc19

Comment 2 Fedora Update System 2013-08-27 23:29:37 UTC
glibc-2.17-14.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.