On Friday 05 September 2008, Thorsten Leemhuis wrote:
On 05.09.2008 15:27, Neal Becker wrote:
> [...]
>
> I cannot build blcr-kmod on EL-5, due to:
> rpmbuild -ba --target i686 blcr-kmod.spec
Try
rpmbuild -ba --target i686 blcr-kmod.spec --define "kernel $(uname -r)"
But as I said, there might be problems depending on the kmodtool you
use. The patches in the thread
http://livna.org/pipermail/freeworld/2008-August/003169.html
might help.
> [...]
Cu
knurd
Thanks, but it's not blcr-kmod that's stopped me, it's that
blcr-kmod says:
%{!?kernels:BuildRequires: buildsys-build-rpmfusion-
kerneldevpkgs-%{?buildforkernels:
%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
so that causes:
rpmbuild --rebuild --target i686 --define "kernel $(uname -r)" buildsys-build-
rpmfusion-9.1-10.lvn9.src.rpm
Installing buildsys-build-rpmfusion-9.1-10.lvn9.src.rpm
...
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
kernel-devel-uname-r = 2.6.25.14-108.fc9.i686 is needed by buildsys-build-
rpmfusion-9.1-10.nb.i686
kernel-devel-uname-r = 2.6.25.14-108.fc9.i686.PAE is needed by buildsys-
build-rpmfusion-9.1-10.nb.i686
kernel-devel-uname-r = 2.6.25.3-2.fc9.i686.xen is needed by buildsys-build-
rpmfusion-9.1-10.nb.i686
But trying to build buildsys-build-rpmfusion... fails:
rpmbuild --rebuild --target i686 --define "kernel $(uname -r)" buildsys-build-
rpmfusion-9.1-10.lvn9.src.rpm
...
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
kernel-devel-uname-r = 2.6.25.14-108.fc9.i686 is needed by buildsys-build-
rpmfusion-9.1-10.nb.i686
kernel-devel-uname-r = 2.6.25.14-108.fc9.i686.PAE is needed by buildsys-
build-rpmfusion-9.1-10.nb.i686
kernel-devel-uname-r = 2.6.25.3-2.fc9.i686.xen is needed by buildsys-build-
rpmfusion-9.1-10.nb.i686