On Mon, 30 Jul 2018 08:11:21 -0700
Laura Abbott <labbott(a)redhat.com> wrote:
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?
I downloaded the src.rpm from koji, and then used rpm -ivh to install
it into the ~/rpmbuild tree. Expanded the src with
rpmbuild -bp kernel.spec
I used the last build config file to run
make oldconfig
with no errors or additions. Then I copied that config to the local
config file so it would become the actual config during build.
Then just a build with
rpmbuild -bb kernel.spec
I don't see where any config files that weren't in the src.rpm could
come from, as the BUILD directory is recreated every time the -bb
command is run. I have some other kernel-4.xx files in there from
earlier builds, but that has never been a problem before. What is the
difference between where 'fedpkg prep' gets its *.config files and the
*.config files in the src.rpm?