Created attachment 1810991 [details] rpmbuild error output Description of problem: Using the default kernel.spec, rpmbuild exit with error. Version-Release number of selected component (if applicable): kernel-5.13.6-200.fc34.src.rpm rpmbuild --version RPM version 4.16.1.3 How reproducible: 100% Steps to Reproduce: 1. rpm -ivh kernel-5.13.6-200.fc34.src.rpm 2. rpmbuild -bb kernel.spec > build_output 2> error_output Actual results: Processing /home/fcc/rpmbuild/BUILD/kernel-5.13.6/linux-5.13.6-200.fc34.x86_64/configs/kernel-5.13.6-x86_64-debug.config ... Error: Mismatches found in configuration files Found CONFIG_CC_VERSION_TEXT="gcc (scripts/dummy-tools/gcc)" after generation, had CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)" in Source tree Found CONFIG_GCC_VERSION=200000 after generation, had CONFIG_GCC_VERSION=110201 in Source tree Found CONFIG_AS_VERSION=25000 after generation, had CONFIG_AS_VERSION=23501 in Source tree Found CONFIG_LD_VERSION=25000 after generation, had CONFIG_LD_VERSION=23501 in Source tree error: Bad exit status from /var/tmp/rpm-tmp.bx5WnX (%prep) Expected results: RPMS of kernel should be created Additional info: diff kernel.spec.dist kernel.spec.works 202c202 < %define with_configchecks %{?_without_configchecks: 0} %{?!_without_configchecks: 1} --- > %define with_configchecks %{?_without_configchecks: 0} %{?!_without_configchecks: 0}
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed.