Re: src.rpm for latest kernel in koji fails to build with weird errors about config mismatches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/30/2018 09:02 AM, stan wrote:
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?

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.

Thanks,
Laura
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx/message/O3DMKAW26C2OGQO7UNSOAXD2MFGC3AWY/




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux