Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 154979

Summary: Kernel rpm build fails with "File listed twice" /boot/* and /boot/config-*
Product: [Fedora] Fedora Reporter: Tomasz Ostrowski <tometzky>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 3CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-21 23:00:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
Changes to kernel build files none

Description Tomasz Ostrowski 2005-04-15 09:56:02 UTC
Description of problem:
I was trying to build custom kernel for my environment - I need Cyclades driver,
which is not included in distribution kernel. I made it to compile optimised for
my processor (Pentium III). All the changes I made are in attached file in diff

I made also a link ~/bin/gcc to /usr/bin/gcc4. ~/bin is is the first directory
in my $PATH.

"rpmbuild -ba kernel-2.6.spec --target=i686" fails with:
RPM build errors:
    File listed twice: /boot/
    File listed twice: /boot/config-2.6.11-1.14_FC3szalupa
    Installed (but unpackaged) file(s) found:

In %files section of kernel-2.6.spec file there is:
When %{image_install_path} macro has value: "boot". So the files are indeed
listed twice.

I don't know why the "unpackaged files" bug occured.

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

Comment 1 Tomasz Ostrowski 2005-04-15 09:56:02 UTC
Created attachment 113216 [details]
Changes to kernel build files

Comment 2 Tomasz Ostrowski 2005-04-15 10:06:22 UTC
I just found in mailing list archives a possible cause:
%debug_package %{nil}
in .rpmmacros. I'm rebuilding the kernel without it but this will take a couple
of hours.

Comment 3 Dave Jones 2005-04-21 23:00:08 UTC
yes, this is related to the debug package options.
the 'listed twice' messages are just informational.