Bug 457383 - can't unpack kernel source (fixdep.c errors)
can't unpack kernel source (fixdep.c errors)
Product: Fedora
Classification: Fedora
Component: glibc-kernheaders (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: David Woodhouse
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2008-07-31 06:39 EDT by Miroslav Pragl
Modified: 2008-09-13 23:21 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-09-13 23:21:04 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 Miroslav Pragl 2008-07-31 06:39:09 EDT
Description of problem:
as I need ful kernel sources to compile some modules I downloader source rpm and
tried to unpack it. rpmbuild-bp ends with fixdep errors

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

How reproducible:
had kernel-headers and kernel-devel packages installed, were not sufficient.
- installed (yum install) yum-utils rpmdevtools
- downloaded (yumdownloader --source kernel) kernel source
- installed (rpm -ivh kernel-

Steps to Reproduce:
1.rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel.spec
Actual results:
scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:380: warning: incompatible implicit declaration of
built-in function 'exit'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67858 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.67858 (%prep)

Expected results:
Have kernel sources ready

Additional info:
Comment 1 Miroslav Pragl 2008-07-31 09:11:51 EDT
I just found that "glibc-headers" package was missing. There must be some
dependency problem as I had "Development Libraries" and "Development Tools" yum


1) move to appropriate category
2) check package dependency


Comment 2 David Woodhouse 2008-09-13 23:21:04 EDT
∄ glibc-kernheaders, so assigning the bug there certainly doesn't make sense.

There are some packages -- gcc, glibc-headers, make, etc. -- which are assumed to be present. Building _anything_ will fail if those core packages are not installed, and we're not expected to put in explicit dependencies on them.

This is classed as user error -- although perhaps the rpmbuild package should have an explicit dependency on all the others?

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