| Summary: | I have error when I want compile F19 nvidia 313.18 for F18 | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | chepioq <chepioq> |
| Component: | nvidia-kmod | Assignee: | Nicolas Chauvet <kwizart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chepioq, leigh123linux, s.adam |
| Priority: | P5 | ||
| Version: | 18 | ||
| Hardware: | All | ||
| OS: | GNU/Linux | ||
| namespace: | |||
Fixed in 1:313.18-2 |
For test I want compile the latest nvidia-kmod 313.18 from F19 rawhide to F18. I download the rpm source and use the command : rpmbuild --rebuild nvidia-kmod-313.18-1.fc19.src.rpm But I have this error : [quentin@localhost Téléchargements]$ rpmbuild --rebuild nvidia-kmod-313.18-1.fc19.src.rpm Installation de nvidia-kmod-313.18-1.fc19.src.rpm attention : nvidia-kmod-313.18-1.fc19.src.rpm: Entête V3 RSA/SHA256 Signature, clé ID cd30c86b: NOKEY Exécution_de(%prep) : /bin/sh -e /var/tmp/rpm-tmp.1zjJpT + umask 022 + cd /home/quentin/rpmbuild/BUILD + kmodtool --target x86_64 --repo rpmfusion --kmodname nvidia-kmod --filterfile /home/quentin/rpmbuild/SOURCES/nvidia-kmodtool-excludekernel-filterfile --obsolete-name nvidia-newest --obsolete-version 313.18 --current %global akmod_install mkdir -p $RPM_BUILD_ROOT/%{_usrsrc}/akmods/; \rpmbuild --define "_sourcedir %{_sourcedir}" \--define "_srcrpmdir $RPM_BUILD_ROOT/%{_usrsrc}/akmods/" \-bs --nodeps %{_specdir}/%{name}.spec ; \ln -s $(ls $RPM_BUILD_ROOT/%{_usrsrc}/akmods/) $RPM_BUILD_ROOT/%{_usrsrc}/akmods/nvidia-kmod.latest %package -n akmod-nvidia Summary: Akmod package for nvidia kernel module(s) Group: System Environment/Kernel Requires: kmodtool Requires: akmods %{?AkmodsBuildRequires:Requires: %{AkmodsBuildRequires}} # same requires and provides as a kmods package would have Requires: nvidia-kmod-common >= %{?epoch:%{epoch}:}%{version} Provides: nvidia-kmod = %{?epoch:%{epoch}:}%{version}-%{release} Provides: akmod-nvidia-newest = 313.18 Obsoletes: akmod-nvidia-newest < 313.18 %description -n akmod-nvidia This package provides the akmod package for the nvidia kernel modules. %posttrans -n akmod-nvidia nohup /usr/sbin/akmods --from-akmod-posttrans --akmod nvidia &> /dev/null & %files -n akmod-nvidia %defattr(-,root,root,-) %{_usrsrc}/akmods/* %global kmodinstdir_prefix /usr/lib/modules/ %global kmodinstdir_postfix /extra/nvidia/ %global kernel_versions 3.7.7-201.fc18.x86_64___%{_usrsrc}/kernels/3.7.7-201.fc18.x86_64 %package -n kmod-nvidia Summary: Metapackage which tracks in nvidia kernel module for newest kernel Group: System Environment/Kernel Provides: nvidia-kmod = %{?epoch:%{epoch}:}%{version}-%{release} Requires: kmod-nvidia-3.7.7-201.fc18.x86_64 >= %{?epoch:%{epoch}:}%{version}-%{release} Provides: kmod-nvidia-newest = 313.18 Obsoletes: kmod-nvidia-newest < 313.18 %description -n kmod-nvidia This is a meta-package without payload which sole purpose is to require the nvidia kernel module(s) for the newest kernel. to make sure you get it together with a new kernel. %files -n kmod-nvidia %defattr(644,root,root,755) %package -n kmod-nvidia-3.7.7-201.fc18.x86_64 Summary: nvidia kernel module(s) for 3.7.7-201.fc18.x86_64 Group: System Environment/Kernel Provides: kernel-modules-for-kernel = 3.7.7-201.fc18.x86_64 Provides: nvidia-kmod = %{?epoch:%{epoch}:}%{version}-%{release} Requires: nvidia-kmod-common >= %{?epoch:%{epoch}:}%{version} Requires(post): /usr/sbin/depmod Requires(postun): /usr/sbin/depmod Provides: kmod-nvidia-newest-3.7.7-201.fc18.x86_64 = 313.18 Obsoletes: kmod-nvidia-newest-3.7.7-201.fc18.x86_64 < 313.18 Requires: kernel-uname-r = 3.7.7-201.fc18.x86_64 BuildRequires: kernel-devel-uname-r = 3.7.7-201.fc18.x86_64 %post -n kmod-nvidia-3.7.7-201.fc18.x86_64 /usr/sbin/depmod -aeF /boot/System.map-3.7.7-201.fc18.x86_64 3.7.7-201.fc18.x86_64 > /dev/null || : %postun -n kmod-nvidia-3.7.7-201.fc18.x86_64 /usr/sbin/depmod -aF /boot/System.map-3.7.7-201.fc18.x86_64 3.7.7-201.fc18.x86_64 &> /dev/null || : %description -n kmod-nvidia-3.7.7-201.fc18.x86_64 This package provides the nvidia kernel modules built for the Linux kernel 3.7.7-201.fc18.x86_64 for the %{_target_cpu} family of processors. %files -n kmod-nvidia-3.7.7-201.fc18.x86_64 %defattr(644,root,root,755) /usr/lib/modules/3.7.7-201.fc18.x86_64/extra/nvidia/ + cd /home/quentin/rpmbuild/BUILD + rm -rf nvidia-kmod-313.18 + /usr/bin/mkdir -p nvidia-kmod-313.18 + cd nvidia-kmod-313.18 + /usr/bin/tar -xf - + /usr/bin/xz -dc /home/quentin/rpmbuild/SOURCES/nvidia-kmod-data-313.18.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for arch in x86 x64 + pushd nvidiapkg-x86 ~/rpmbuild/BUILD/nvidia-kmod-313.18/nvidiapkg-x86 ~/rpmbuild/BUILD/nvidia-kmod-313.18 + echo 'Patch #0 (3.8_kernel.patch):' Patch #0 (3.8_kernel.patch): + /usr/bin/cat /home/quentin/rpmbuild/SOURCES/3.8_kernel.patch + /usr/bin/patch -p1 --fuzz=0 patching file kernel/conftest.sh + popd ~/rpmbuild/BUILD/nvidia-kmod-313.18 + for arch in x86 x64 + pushd nvidiapkg-x64 ~/rpmbuild/BUILD/nvidia-kmod-313.18/nvidiapkg-x64 ~/rpmbuild/BUILD/nvidia-kmod-313.18 + echo 'Patch #0 (3.8_kernel.patch):' Patch #0 (3.8_kernel.patch): + /usr/bin/cat /home/quentin/rpmbuild/SOURCES/3.8_kernel.patch + /usr/bin/patch -p1 --fuzz=0 patching file kernel/conftest.sh + popd ~/rpmbuild/BUILD/nvidia-kmod-313.18 + for kernel_version in 3.7.7-201.fc18.x86_64___/usr/src/kernels/3.7.7-201.fc18.x86_64 + cp -a nvidiapkg-x64 _kmod_build_3.7.7-201.fc18.x86_64 + exit 0 Exécution_de(%build) : /bin/sh -e /var/tmp/rpm-tmp.kjgpMe + umask 022 + cd /home/quentin/rpmbuild/BUILD + cd nvidia-kmod-313.18 + for kernel_version in 3.7.7-201.fc18.x86_64___/usr/src/kernels/3.7.7-201.fc18.x86_64 + pushd _kmod_build_3.7.7-201.fc18.x86_64/kernel/ ~/rpmbuild/BUILD/nvidia-kmod-313.18/_kmod_build_3.7.7-201.fc18.x86_64/kernel ~/rpmbuild/BUILD/nvidia-kmod-313.18 + make -j3 SYSSRC=/usr/src/kernels/3.7.7-201.fc18.x86_64 module If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on your system. If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the equivalent nvidia-installer command line option. Depending on where and how the kernel sources (or the kernel headers) were installed, you may need to specify their location with the SYSSRC environment variable or the equivalent nvidia-installer command line option. *** Unable to determine the target kernel version. *** make: *** [select_makefile] Error 1 erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.kjgpMe (%build) Erreur de construction de RPM : nvidia-kmod-313.18-1.fc19.src.rpm: Entête V3 RSA/SHA256 Signature, clé ID cd30c86b: NOKEY where is the error ? Mauvais statut de sortie pour /var/tmp/rpm-tmp.kjgpMe (%build)