Bug 1106140 - dieharder: FTBFS in rawhide
Summary: dieharder: FTBFS in rawhide
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dieharder
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Hladky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F21FTBFS
TreeView+ depends on / blocked
 
Reported: 2014-06-09 03:16 UTC by Dennis Gilmore
Modified: 2016-02-22 10:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-22 10:06:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (11.76 KB, text/plain)
2014-06-09 03:16 UTC, Dennis Gilmore
no flags Details
root.log (134.53 KB, text/plain)
2014-06-09 03:16 UTC, Dennis Gilmore
no flags Details
state.log (1.08 KB, text/plain)
2014-06-09 03:16 UTC, Dennis Gilmore
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.