I am trying to get blcr working again in rpmfusion. With newest blcr source,
I get to this point:
make local
...
+ chmod 0755 /home/nbecker/RPM/BUILDROOT/blcr-
kmod-0.8.2-1.fc14.x86_64//lib/modules//2.6.32.9-70.fc12.x86_64/extra/blcr/blcr.ko
/home/nbecker/RPM/BUILDROOT/blcr-
kmod-0.8.2-1.fc14.x86_64//lib/modules//2.6.32.9-70.fc12.x86_64/extra/blcr/blcr_imports.ko
+ mkdir -p /home/nbecker/RPM/BUILDROOT/blcr-
kmod-0.8.2-1.fc14.x86_64//usr/src/akmods/
+ rpmbuild --define '_sourcedir /home/nbecker/rpmfusion/blcr-kmod/devel' --
define '_srcrpmdir /home/nbecker/RPM/BUILDROOT/blcr-
kmod-0.8.2-1.fc14.x86_64//usr/src/akmods/' -bs --nodeps
/home/nbecker/RPM/SPECS/blcr-kmod.spec
error: failed to stat /home/nbecker/RPM/SPECS/blcr-kmod.spec: No such file or
directory
error: Bad exit status from /var/tmp/rpm-tmp.4iC1Tk (%install)
It looks to me that it fails at the %{?akmod_install} step:
%install
rm -rf $RPM_BUILD_ROOT
for kernel_version in %{?kernel_versions} ; do
make -C _kmod_build_${kernel_version%%___*} DESTDIR=$RPM_BUILD_ROOT
KMODPATH=%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
install
# mkdir -p
$RPM_BUILD_ROOT/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
# mv
$RPM_BUILD_ROOT/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/../*.ko
$RPM_BUILD_ROOT/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
chmod 0755
$RPM_BUILD_ROOT/%{kmodinstdir_prefix}/*/%{kmodinstdir_postfix}/*
done
%{?akmod_install}
I noticed it's looking for the blcr-kmod.spec file under the wrong directory -
that's where I keep my own RPMS, as defined in my ~/.rpmmacros
%_topdir /home/nbecker/RPM
Any ideas what's needed to fix this (I haven't changed anything in my
.rpmmacros since I last successfully built for rpmfusion).