On 07/30/2018 09:02 AM, stan wrote:
I downloaded the src.rpm from koji, and then used rpm -ivh to
it into the ~/rpmbuild tree. Expanded the src with
rpmbuild -bp kernel.spec
I used the last build config file to run
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?
I'm pretty sure it's that last 'make oldconfig' step which is screwing
things up and shouldn't be necessary. The checks that are failing are
designed to catch differences between what fedora has set in the
kernel- fragments and what gets generated after a "make oldconfig".
I don't know why copying back again wouldn't work but the script is
not perfect and I generally tell people to turn off the checks if
they are building with local changes anyway.
Is there a reason you need to do the last "make oldconfig" and
copy step? You are duplicating what the kernel build process
will do with the configs anyway.