On 12/13/2017 10:25 AM, stan wrote:
I tried to compile this kernel from the src rpm on rawhide. I kept
getting the error that two config options for ppc64p7 were set to m,
and m wasn't a valid choice.
So, I generated the following patch,
diff --git a/configs/kernel-4.15.0-ppc64p7.config
b/configs/kernel-4.15.0-ppc64p7.config index 18f4b44..ca5b410 100644
--- a/configs/kernel-4.15.0-ppc64p7.config
+++ b/configs/kernel-4.15.0-ppc64p7.config
@@ -1704,7 +1704,7 @@ CONFIG_HW_RANDOM_TIMERIOMEM=m
CONFIG_HW_RANDOM_TPM=m
CONFIG_HW_RANDOM_VIRTIO=m
CONFIG_HW_RANDOM=y
-CONFIG_HWSPINLOCK=m
+CONFIG_HWSPINLOCK=y
CONFIG_HYSDN_CAPI=y
CONFIG_HYSDN=m
CONFIG_HZ=100
@@ -4447,7 +4447,7 @@ CONFIG_SND_DARLA24=m
# CONFIG_SND_DEBUG_VERBOSE is not set
CONFIG_SND_DEBUG=y
CONFIG_SND_DESIGNWARE_I2S=m
-CONFIG_SND_DESIGNWARE_PCM=m
+CONFIG_SND_DESIGNWARE_PCM=y
CONFIG_SND_DICE=m
CONFIG_SND_DMAENGINE_PCM=m
CONFIG_SND_DRIVERS=y
I don't know if y is a valid setting for a ppc for those options, but I
presume if m was desired, y would succeed. I don't really care about
ppc64p7 as I'm building for x86_64. I changed the spec file so that
this architecture won't be built in nobuildarches, and this error still
occurred.
Unfortunately, at the time that the kernel is patched, this config file
doesn't exist yet, and so the patch fails. I see a successful build in
koji; I'm not sure how that can be.
What is the best way to proceed from here?
Can you share the steps you used to produce this build as well as the
full build log? As you noted, this was built successfully in koji.
Thanks,
Laura