I use the src.rpm from rawhide kernels to build a kernel custom
configured for my hardware in F31, and with a local patch, using the
old rpmbuild method. For rc5 this worked, when I tried rc7 it didn't.
And rc8 is failing with the same error. The error message is this:
scripts/gen_compile_commands.py: updating
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-aarch64.config
... done
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-armv7hl-lpae.config
... done
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-armv7hl.config
... done
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-i686.config
... done
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-ppc64le.config
... done
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-s390x.config
... done
Processing
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-x86_64.config
... Found misconfigured config items, please set them to an appropriate value
/home/stan/rpmbuild/BUILD/kernel-5.3.fc31/linux-5.4.0-0.rc8.git1.2.20191124.fc31.x86_64/configs/kernel-5.4.0-x86_64.config.orig:4359:warning:
override: PSTORE_LZ4HC_COMPRESS_DEFAULT changes choice state
So, kernel-local is not overriding the default kernel configuration. I
think it should; so whatever is checking the configuration consistency
has a bug, I think.
Here is where it happens in the build process:
+ ./process_configs.sh -w -n -c kernel 5.4.0
error: Bad exit status from /var/tmp/rpm-tmp.sEsDIh (%prep)
extra tokens at the end of %else directive in line 618: %else # released_kernel
extra tokens at the end of %endif directive in line 627: %endif # released_kernel
Macro expanded in comment on line 701: %{rpmversion}-%{distro_build}.tar.bz2
Macro expanded in comment on line 702: %{rpmversion}-%{distro_build}.tar.bz2
Macro expanded in comment on line 710: %{rpmversion}-redhat.patch
Bad exit status from /var/tmp/rpm-tmp.sEsDIh (%prep)
Should I open a bugzilla for this?
Thanks.