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 - dos2unix: FTBFS in Fedora rawhide
Summary: dos2unix: FTBFS in Fedora rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: dos2unix
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1551327 F29FTBFS
TreeView+ depends on / blocked
Reported: 2018-07-19 19:02 UTC by Mohan Boddu
Modified: 2018-07-30 22:00 UTC (History)
2 users (show)

Fixed In Version: dos2unix-7.4.0-5.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-07-23 11:34:37 UTC
Type: ---

Attachments (Terms of Use)
build.log (4.02 KB, text/plain)
2018-07-19 19:02 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-19 19:02 UTC, Mohan Boddu
no flags Details
state.log (623 bytes, text/plain)
2018-07-19 19:03 UTC, Mohan Boddu
no flags Details

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!

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