On Wed, Jul 25, 2012 at 12:29 PM, Gianluca Cecchi <gianluca.cec...@gmail.com> wrote: > On Wed, Jul 25, 2012 at 7:39 PM, Ben Pfaff wrote: >>> Also, during build I got >>> >>> Processing files: kmod-openvswitch-1.6.1-1.el6.x86_64 >>> Finding Provides: /usr/lib/rpm/redhat/find-provides >>> >>> ******************************************************************************** >>> *********************** KERNEL ABI COMPATIBILITY WARNING >>> *********************** >>> ******************************************************************************** >>> The kernel ABI reference files (provided by kabi-whitelists) were not found. >>> No compatibility check was performed. Please install the kABI reference >>> files >>> and rebuild if you would like to verify compatibility with kernel ABI. >>> It could be useful to include kabi-whitelists between the >>> BuildRequires directives for openswitch-kmod >> >> Can you show us what to do? I don't know anything about this. > > Something like this > > $ diff -u openvswitch-kmod-rhel6.spec.orig openvswitch-kmod-rhel6.spec > --- openvswitch-kmod-rhel6.spec.orig 2012-07-24 12:16:14.000000000 +0200 > +++ openvswitch-kmod-rhel6.spec 2012-07-25 21:02:48.494383158 +0200 > @@ -21,7 +21,7 @@ > URL: http://openvswitch.org/ > Source0: %{oname}-%{version}.tar.gz > BuildRoot: %(mktemp -ud > %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) > -BuildRequires: %kernel_module_package_buildreqs > +BuildRequires: %kernel_module_package_buildreqs,kabi-whitelists > > # Without this we get an empty openvswitch-debuginfo package (whose name > # conflicts with the openvswitch-debuginfo package for OVS userspace). > > > So that when you try to build and don't have the package installed you get > > $ rpmbuild -bb openvswitch-kmod-rhel6.spec > error: Failed build dependencies: > kabi-whitelists is needed by openvswitch-kmod-1.6.1-1.el6.x86_64 > > I think that for both developers and who builds a kernel module > package, it could be useful to have correct message about > current kernel symbols that are not guaranteed to remain compatible > with possible future RHEL kernel updates > (a reference could be also > http://people.redhat.com/jcm/el6/dup/docs/dup_book.pdf) > >>> btw: I also had to apply for 6.3 a workaround as in >>> https://bugzilla.redhat.com/show_bug.cgi?id=842038 >>> to get at the end: >> >> Is that something we need to apply to OVS or something that needs to >> be applied on the system itself? > > We have to wait until redhat-rpm-config package is updated to reflect > changes in kabi-whitelists-20120516-1.el6 > I also put a note to the bugzilla in the mean time. > You could also specify in INSTALL.RHEL to make a link > > # ln -s /lib/modules/kabi-current /lib/modules/kabi > > if the system doesn't have a patch...
Given that the base system is apparently broken, it doesn't make a lot of sense to me to add a dependency if all it does is provoke a different (and less clear) warning message. Out of curiosity though after you made all these changes, what symbols did it flag? _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss