Re: fedpkg clone -a kernel failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Finally!

I started with a fresh install of Fedora-34 and kernel-5.13.6-200.fc34.src.rpm

Before the previous build, I did not done `sudo rpmbuild builddep kernel.spec`, so some builddep is not installed before build starts.

The critical change to kernel.spec to allow the build to go ahead:

%define with_configchecks %{?_without_configchecks:        0} %{?!_without_configchecks:       0}

With this : 

# We only build kernel-headers on the following...
%if 0%{?fedora}
%define nobuildarches i386 i686 ppc64 s390x %{arm} %{power64} aarch64 ppc64le
%else
%define nobuildarches i386 i686 %{arm}
%endif

# kernel PAE (only valid for ARM (lpae))
%define with_pae       %{?_without_pae:       0} %{?!_without_pae:       0}
# kernel-debug
%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     0}
# kernel-debuginfo
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 0}

I got:
$ ls -lsh
total 97M
 68K -rw-rw-r--. 1 fcc fcc  66K Aug  5 03:00 kernel-5.13.6-200.0805.fc34.x86_64.rpm
 38M -rw-rw-r--. 1 fcc fcc  38M Aug  5 03:00 kernel-core-5.13.6-200.0805.fc34.x86_64.rpm
 15M -rw-rw-r--. 1 fcc fcc  15M Aug  5 03:00 kernel-devel-5.13.6-200.0805.fc34.x86_64.rpm
 42M -rw-rw-r--. 1 fcc fcc  42M Aug  5 03:00 kernel-modules-5.13.6-200.0805.fc34.x86_64.rpm
2.3M -rw-rw-r--. 1 fcc fcc 2.3M Aug  5 03:00 kernel-modules-extra-5.13.6-200.0805.fc34.x86_64.rpm
272K -rw-rw-r--. 1 fcc fcc 272K Aug  5 03:00 kernel-modules-internal-5.13.6-200.0805.fc34.x86_64.rpm

After doing `rpm -ivh kernel-5* kernel-core-5* kernel-modules-5* kernel-devel-5*`, it booted OK.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux