Bug 155121 - Build requirement cmp (part of diffutils) not in spec file
Build requirement cmp (part of diffutils) not in spec file
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-04-16 12:38 EDT by Albert Strasheim
Modified: 2015-01-04 17:18 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-04 19:24:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Albert Strasheim 2005-04-16 12:38:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

Description of problem:
Various parts of the kernel build use cmp, which is part of diffutils.

core/rpms/kernel/devel/kernel-2.6.spec,1.1243 only lists the following build requirements:

BuildPreReq: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
BuildPreReq: bzip2, findutils, gzip, m4, perl, make >= 3.78, gnupg
BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Build kernel without diffutils installed.

Actual Results:  (This is from a 2.6.9 build, but I'm guessing the problem still exists)

/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/scripts/mkcompile_h: line 72: cmp: command not found
  UPD     include/linux/compile.h
/bin/sh: cmp: command not found
Inconsistent kallsyms data
make: *** [vmlinux] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.74 (%build)

Expected Results:  Kernel should build, provided we have diffutils installed. If not, rpm will return an error at the start of the build.

Additional info:
Comment 1 Dave Jones 2005-04-16 15:33:31 EDT
Fixed in CVS, will be in next build.


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