Bug 1604811 - mdadm: FTBFS in Fedora rawhide
Summary: mdadm: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: XiaoNi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1551327 F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-07-20 00:33 UTC by Mohan Boddu
Modified: 2018-07-23 20:10 UTC (History)
5 users (show)

Fixed In Version: mdadm-4.1-rc1_1.fc29.2
Clone Of:
Environment:
Last Closed: 2018-07-23 20:10:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (11.28 KB, text/plain)
2018-07-20 00:34 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-20 00:34 UTC, Mohan Boddu
no flags Details
state.log (627 bytes, text/plain)
2018-07-20 00:34 UTC, Mohan Boddu
no flags Details

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


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