Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1106140

Summary: dieharder: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: dieharderAssignee: Jiri Hladky <jhladky>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dennis, hladky.jiri, jhladky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-22 10:06:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1105908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Dennis Gilmore 2014-06-09 03:16:27 UTC
Your package dieharder failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6951092

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 03:16:29 UTC
Created attachment 903997 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 03:16:32 UTC
Created attachment 903998 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 03:16:34 UTC
Created attachment 903999 [details]
state.log

Comment 4 Jiri Hladky 2014-06-09 15:29:46 UTC
Hi Dennis,

looking into the log file:


=======================================================================
In file included from ../include/dieharder/libdieharder.h:22:0,
                 from bits.c:7:
/usr/include/unistd.h:1043:20: error: unknown type name 'intptr_t'
 extern void *sbrk (intptr_t __delta) __THROW;
                    ^
bits.c: In function 'fill_uint_buffer':
bits.c:407:15: warning: variable 'bufbits' set but not used [-Wunused-but-set-variable]
  unsigned int bufbits,bdelta
=======================================================================

it seems like there is a problem with a standard header file

/usr/include/unistd.h   => unknown type name 'intptr_t'

and not with the package itself.

Could you please confirm it?

Thanks a lot!
Jirka

Comment 5 Dennis Gilmore 2014-06-09 17:16:03 UTC
apparently you need to include stdint.h

Comment 6 Jiri Hladky 2014-07-14 20:54:03 UTC
I have created the patch which solves the issue:

http://koji.fedoraproject.org/koji/taskinfo?taskID=7138647

However, I cannot submit it for F21 update:

fedpkg update
Creating a new update for  dieharder-3.31.1-12.fc21 
Password for jhladky: 
Creating a new update for  dieharder-3.31.1-12.fc21 
dieharder-3.31.1-12.fc21 not tagged as an update candidate


Any hints?

Thanks a lot
Jirka

Comment 7 Dennis Gilmore 2014-07-15 13:24:01 UTC
bodhi is not yet enabled for Fedora 21

Comment 8 Jaroslav Reznik 2015-03-03 17:08:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22