I tried to rebuild sysprof-kmod for the f8 release, but it failed with:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/sysprof-kmod-1.0.8-1.2.6.23.1_41.fc8-root-kojibuilder error: Installed (but unpackaged) file(s) found: /lib/modules/2.6.23.1-41.fc8/modules.alias /lib/modules/2.6.23.1-41.fc8/modules.ccwmap /lib/modules/2.6.23.1-41.fc8/modules.dep /lib/modules/2.6.23.1-41.fc8/modules.ieee1394map /lib/modules/2.6.23.1-41.fc8/modules.inputmap /lib/modules/2.6.23.1-41.fc8/modules.isapnpmap /lib/modules/2.6.23.1-41.fc8/modules.ofmap /lib/modules/2.6.23.1-41.fc8/modules.pcimap /lib/modules/2.6.23.1-41.fc8/modules.seriomap /lib/modules/2.6.23.1-41.fc8/modules.symbols /lib/modules/2.6.23.1-41.fc8/modules.usbmap
These was not created before, so I'm not sure if they have to be packaged, removed, ghosted or...
The build log is here: http://koji.fedoraproject.org/koji/getfile?taskID=220489&name=build.log and yes, I know -41 was not _the_ one...
any help appreciated.
Hi,
On Wed, 2007-10-31 at 11:07 +0100, Gianluca Sforna wrote:
I tried to rebuild sysprof-kmod for the f8 release, but it failed with:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/sysprof-kmod-1.0.8-1.2.6.23.1_41.fc8-root-kojibuilder error: Installed (but unpackaged) file(s) found: /lib/modules/2.6.23.1-41.fc8/modules.alias /lib/modules/2.6.23.1-41.fc8/modules.ccwmap /lib/modules/2.6.23.1-41.fc8/modules.dep /lib/modules/2.6.23.1-41.fc8/modules.ieee1394map /lib/modules/2.6.23.1-41.fc8/modules.inputmap /lib/modules/2.6.23.1-41.fc8/modules.isapnpmap /lib/modules/2.6.23.1-41.fc8/modules.ofmap /lib/modules/2.6.23.1-41.fc8/modules.pcimap /lib/modules/2.6.23.1-41.fc8/modules.seriomap /lib/modules/2.6.23.1-41.fc8/modules.symbols /lib/modules/2.6.23.1-41.fc8/modules.usbmap
These was not created before, so I'm not sure if they have to be packaged, removed, ghosted or...
I'd remove them, possibly with %exclude. It is the responsibility of scriptlets added by kmodtool to calculate the module dependencies, these files are unusable anyways.
The build log is here: http://koji.fedoraproject.org/koji/getfile?taskID=220489&name=build.log and yes, I know -41 was not _the_ one...
any help appreciated.
On Wednesday 31 October 2007, Lubomir Kundrak wrote:
Hi,
On Wed, 2007-10-31 at 11:07 +0100, Gianluca Sforna wrote:
I tried to rebuild sysprof-kmod for the f8 release, but it failed with:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/sysprof-kmod-1.0.8-1.2.6.23.1_41.fc8-root-kojibuilder error: Installed (but unpackaged) file(s) found: /lib/modules/2.6.23.1-41.fc8/modules.alias /lib/modules/2.6.23.1-41.fc8/modules.ccwmap /lib/modules/2.6.23.1-41.fc8/modules.dep /lib/modules/2.6.23.1-41.fc8/modules.ieee1394map /lib/modules/2.6.23.1-41.fc8/modules.inputmap /lib/modules/2.6.23.1-41.fc8/modules.isapnpmap /lib/modules/2.6.23.1-41.fc8/modules.ofmap /lib/modules/2.6.23.1-41.fc8/modules.pcimap /lib/modules/2.6.23.1-41.fc8/modules.seriomap /lib/modules/2.6.23.1-41.fc8/modules.symbols /lib/modules/2.6.23.1-41.fc8/modules.usbmap
These was not created before, so I'm not sure if they have to be packaged, removed, ghosted or...
I'd remove them, possibly with %exclude. It is the responsibility of scriptlets added by kmodtool to calculate the module dependencies, these files are unusable anyways.
They are generated because kernel-devel packages in F-8 include System.map, see Makefile in the source tree for details. I chose to explicitly disable depmod during build (which is what generates those files) in em8300-kmod, I think that's a cleaner approach, and matches what actually happens in earlier distros.
http://cvs.fedora.redhat.com/viewcvs/rpms/em8300-kmod/F-8/em8300-kmod.spec?r...
On 10/31/07, Ville Skyttä ville.skytta@iki.fi wrote:
http://cvs.fedora.redhat.com/viewcvs/rpms/em8300-kmod/F-8/em8300-kmod.spec?r...
Yeah looks like cleaner, but it would probably not work in my case since I have an hardcoded depmod command in Makefile:
install: $(KMAKE) modules_install [ -e /sbin/depmod ] && /sbin/depmod
So my option now seems to be: 1. patch Makefile 2. remove (or %exclude) generated files
Thanks for your help
On Thu, 2007-11-01 at 10:10 +0100, Gianluca Sforna wrote:
So my option now seems to be:
- patch Makefile
- remove (or %exclude) generated files
I recommend the former.
devel@lists.stg.fedoraproject.org