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

Bug 1603820

Summary: dos2unix: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: dos2unixAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: twaugh, waterlan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: dos2unix-7.4.0-5.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-23 11:34:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1551327, 1602938    
Description Flags
state.log none

Description Mohan Boddu 2018-07-19 19:02:45 UTC
dos2unix failed to build from source in Fedora rawhide

For details on the mass rebuild see:
Please fix dos2unix 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,
dos2unix will be orphaned. Before branching of Fedora 30,
dos2unix will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:

Comment 1 Mohan Boddu 2018-07-19 19:02:54 UTC
Created attachment 1461504 [details]

Comment 2 Mohan Boddu 2018-07-19 19:02:58 UTC
Created attachment 1461505 [details]

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

Comment 3 Mohan Boddu 2018-07-19 19:03:05 UTC
Created attachment 1461506 [details]

Comment 4 Erwin Waterlander 2018-07-21 14:58:21 UTC
Need to add CC=gcc to make build command.
The default value of CC is cc, which command is not available any more as it seems.

Comment 5 Erwin Waterlander 2018-07-21 15:02:55 UTC

The default value of CC is gcc. So it looks like CC is set in the environment to "cc", which breaks compilation.

To me it looks like that this is actually an environment problem and not a dos2unix problem. The environment sets CC to "cc" which is not available.

Comment 6 Igor Raits 2018-07-23 11:08:03 UTC
make: cc: Command not found

Suggested fix:
BuildRequires:  gcc

Comment 7 Erwin Waterlander 2018-07-30 22:00:50 UTC
Thanks fixing!