Actual results on rhel5u3: # rpmbuild --define '_topdir /tmp/bz252188-build-mN9179' --target x86_64 -ba /tmp/bz252188-build-mN9179/kmp.spec Building target platforms: x86_64 Building for target x86_64 Processing files: kmod-kmp-2.0-1 error: File not found: /var/tmp/kmp-1.0-build/lib/modules/2.6.18-128.1.6.el5 Processing files: kmod-kmp-xen-2.0-1 error: File not found: /var/tmp/kmp-1.0-build/lib/modules/2.6.18-128.1.6.el5xen Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/kmp-1.0-build RPM build errors: File not found: /var/tmp/kmp-1.0-build/lib/modules/2.6.18-128.1.6.el5 File not found: /var/tmp/kmp-1.0-build/lib/modules/2.6.18-128.1.6.el5xen You have new mail in /var/spool/mail/root Version-Release number of selected component (if applicable): rpm-build-4.4.2.3-14.el5 rpm-4.4.2.3-14.el5 redhat-rpm-config-8.0.45-31.el5 +++ This bug was initially created as a clone of Bug #502168 +++ Created an attachment (id=345072) kmp.spec Description of problem: Can not rebuild kmp.spec Version-Release number of selected component (if applicable): redhat-rpm-config-9.0.3-8.fc11.noarch How reproducible: 1 of 1 attempt Steps to Reproduce: 1. See attached kmp.spec from http://driverupdateprogram.com (slightly updated) 2. # rpmbuild --define '_topdir /tmp/bz252188-build-frAPcb' --target x86_64 -ba /tmp/bz252188-build-frAPcb/kmp.spec Actual results: Building target platforms: x86_64 Building for target x86_64 Processing files: kmod-kmp-1.0-0.x86_64 error: File not found: /tmp/bz252188-build-frAPcb/BUILDROOT/kmp-1.0-0.x86_64/lib/modules/2.6.29.2-126.fc11 error: File not found: /tmp/bz252188-build-frAPcb/BUILDROOT/kmp-1.0-0.x86_64/lib/firmware RPM build errors: File not found: /tmp/bz252188-build-frAPcb/BUILDROOT/kmp-1.0-0.x86_64/lib/modules/2.6.29.2-126.fc11 File not found: /tmp/bz252188-build-frAPcb/BUILDROOT/kmp-1.0-0.x86_64/lib/firmware Expected results: should build
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
This component isn't due to be updated in 5.5. Would you like to request that it be updated in 5.6? If so, please make the request.
ok, request send
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Hi Peter, is this still valid for RHEL 5.9?
(In reply to comment #6) > Hi Peter, > is this still valid for RHEL 5.9? Yes and I am still waiting for the fix :) ### /tmp/kmp.spec is from bug 502168 # rpmbuild -ba /tmp/kmp.spec Processing files: kmod-kmp-2.0-1 error: File not found: /var/tmp/kmp-1.0-build/lib/modules/2.6.18-348.el5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/kmp-1.0-build RPM build errors: File not found: /var/tmp/kmp-1.0-build/lib/modules/2.6.18-348.el5 # rpm -qa | grep rpm rpm-4.4.2.3-31.el5 rpm-devel-4.4.2.3-31.el5 rpm-libs-4.4.2.3-31.el5 rpm-python-4.4.2.3-31.el5 rpm-libs-4.4.2.3-31.el5 rpm-build-4.4.2.3-31.el5 redhat-rpm-config-8.0.45-32.el5 rpm-devel-4.4.2.3-31.el5 # rpm -qa | grep kmod kmod-kspiceusb-rhel5u6-4.5-8.el5 kmod-ipw3945-1.2.0-4.20.el5 kmod-ipw3945-xen-1.2.0-4.20.el5 # uname -a Linux rhel59.x.y.z.redhat.com 2.6.18-348.el5 #1 SMP Wed Nov 28 21:22:00 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
Created attachment 837581 [details] pacth to fix -v -r
Hi, Petr, Sorry for the long delay. I found this bug is similar with bz 680029, which is fixed in RHEL6.3, redhat-rpm-config-9.0.3-39.el6 https://bugzilla.redhat.com/show_bug.cgi?id=680029 I tried it on RHEL6.4, it works. I attached the patch to this bug, but I do not have plan to backport it for RHEL5.11. If you really want an official fix in 5.11, ask PM for approval, or you can pick up the patch for yourself. thanks Weiping Pan # uname -a Linux dell-pe840-02.rhts.eng.bos.redhat.com 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Li # rpmbuild -ba SPECS/kmp.spec Processing files: kmod-kmp-2.0-1.x86_64 error: File not found: /root/rpmbuild/BUILDROOT/kmp-1.0-0.x86_64/lib/modules/2.6.32-358.el6.x86_64 RPM build errors: File not found: /root/rpmbuild/BUILDROOT/kmp-1.0-0.x86_64/lib/modules/2.6.32-358.el6.x86_64 # mkdir -p /root/rpmbuild/BUILDROOT/kmp-1.0-0.x86_64/lib/modules/2.6.32-358.el6.x86_64 # rpmbuild -ba SPECS/kmp.spec Processing files: kmod-kmp-2.0-1.x86_64 Finding Provides: /usr/lib/rpm/redhat/find-provides Finding Requires: /usr/lib/rpm/redhat/find-requires Provides: kernel-modules >= 2.6.32-358.el6.x86_64 kmp-kmod = 1.0-0 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /sbin/depmod /bin/sh Requires(preun): /bin/sh Requires(postun): /sbin/depmod /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/kmp-1.0-0.x86_64 Wrote: /root/rpmbuild/SRPMS/kmp-1.0-0.src.rpm Wrote: /root/rpmbuild/RPMS/x86_64/kmod-kmp-2.0-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mTs3AY + umask 022 + cd /root/rpmbuild/BUILD + /bin/rm -rf /root/rpmbuild/BUILDROOT/kmp-1.0-0.x86_64 + exit 0