Project

General

Profile

Actions

Bug #1223

open

Check for cmp and diff in configure

Added by Simon Marchi almost 5 years ago. Updated over 2 years ago.

Status:
Feedback
Priority:
Low
Assignee:
-
Category:
Build system
Start date:
02/17/2020
Due date:
% Done:

0%

Estimated time:

Description

Seen somewhere in the configure output of babeltrace on a fresh centos 8 container:

checking for a working dd... ./configure: line 9826: cmp: command not found
checking if gcc supports -fno-rtti -fno-exceptions... ./configure: line 11790: diff: command not found

The configure keeps going, I think the consequence may simply be that the results of these checks are inaccurate.

For correctness, if these tools (cmd and diff) are used, there should be something that checks that they exist before using them.

Actions #1

Updated by Jonathan Rajotte Julien almost 5 years ago

  • Author changed from 215 to 8
Actions #2

Updated by Jonathan Rajotte Julien almost 5 years ago

Migrated from internal bug tracker.

Actions #3

Updated by Michael Jeanson over 2 years ago

  • Status changed from New to Feedback

The 'cmp' and 'diff' commands are used literally in an autotools internal macro, they are not checked and can't be overridden with a variable. So this is either an autotools bug or the assumption is these tools are part of a base dev system?

Actions

Also available in: Atom PDF