On 07/29/2018 10:43 AM, stan wrote:
On Sun, 29 Jul 2018 10:12:04 -0700
stan <stanl-fedorauser@xxxxxxxxxxx> wrote:
Hi,
I build the kernel every few weeks from the koji rawhide src.rpm for
the latest kernel version. This has been working fine for the 4.18
kernels until the latest version. Since I'm only building locally for
x86_64, I change the nobuildarches to
%define nobuildarches i386 ppc64 s390x %{arm} %{power64} aarch64
ppc64le
That has worked previously, but no longer seems to be effective. I
can't see any reason it shouldn't work. There's been the major change
of no longer creating header files in the kernel package, but that
doesn't seem to impact this. Anyway, I see
[snip]
In case it has any bearing, I built, and installed, the kernel-headers
package successfully by pruning the arches to x86 only, and renaming
the tar.xz source to have the same name as the kernel I built. I did
it after rebooting into the new kernel, in case there were any
dependences for the headers. I'm not sure if that matters or not, but
it worked this way.
I'm not seeing this on my machine locally with a quick 'fedpkg prep'.
This is the change I made
diff --git a/kernel.spec b/kernel.spec
index 85bb6fa1..c105d3b2 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -327,7 +327,8 @@ Summary: The Linux kernel
# Which is a BadThing(tm).
# We only build kernel-headers on the following...
-%define nobuildarches i386
+# %define nobuildarches i386
+%define nobuildarches i386 ppc64 s390x %{arm} %{power64} aarch64 ppc64le
%ifarch %nobuildarches
%define with_up 0
It seems like something picked up an old kernel configuration settings.
Can you be more explicit about what steps you did to get the failing
setup?
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx/message/B6GOOGF6UJEJPSGEPAWEIVE5QBGK7GN6/