Bug 1604811

Summary: mdadm: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: mdadmAssignee: XiaoNi <xni>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, dledford, jes.sorensen, mboddu, xni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mdadm-4.1-rc1_1.fc29.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-23 20:10:51 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: 1551327, 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-20 00:33:56 UTC
mdadm failed to build from source in Fedora rawhide

https://koji.fedoraproject.org/koji/taskinfo?taskID=28200706


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix mdadm at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
mdadm will be orphaned. Before branching of Fedora 30,
mdadm will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-20 00:34:07 UTC
Created attachment 1464229 [details]
build.log

Comment 2 Mohan Boddu 2018-07-20 00:34:12 UTC
Created attachment 1464230 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2018-07-20 00:34:15 UTC
Created attachment 1464231 [details]
state.log

Comment 4 XiaoNi 2018-07-20 02:39:25 UTC
Hi Mohan

I'm trying to build mdadm package for f29, but it's failed because of "/bin/sh: cc: command not found" 

Do you know the reason for this? I have updated mdadm to upstream in f28. It doesn't have this problem when building package for f28.

Thanks
Xiao

Comment 5 XiaoNi 2018-07-20 02:40:26 UTC
Hi Jes

Do you know how to fix the building error?
https://koji.fedoraproject.org/koji/taskinfo?taskID=28458811

Thanks
Xiao

Comment 6 XiaoNi 2018-07-20 07:40:12 UTC
This bug is reported for the failure what I said in comment4. It needs to add gcc into BuildRequires

Comment 7 Igor Raits 2018-07-23 11:00:35 UTC
Matches:
/bin/sh: cc: command not found

Suggested fix:
BuildRequires:  gcc

Comment 8 Igor Raits 2018-07-23 20:10:51 UTC
There has been at least one successfull build after this bug got created.

mdadm-4.1-rc1_1.fc29.2: https://koji.fedoraproject.org/koji/buildinfo?buildID=1128919