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 Mon, 30 Jul 2018 08:11:21 -0700
Laura Abbott <labbott@xxxxxxxxxx> wrote:

> I'm not seeing this on my machine locally with a quick 'fedpkg prep'.
> This is the change I made
> 
> diff --git a/kernel.spec b/kernel.spec
> index 85bb6fa1..c105d3b2 100644
> --- a/kernel.spec
> +++ b/kernel.spec
> @@ -327,7 +327,8 @@ Summary: The Linux kernel
>   # Which is a BadThing(tm).
>   
>   # We only build kernel-headers on the following...
> -%define nobuildarches i386
> +# %define nobuildarches i386
> +%define nobuildarches i386 ppc64 s390x %{arm} %{power64} aarch64
> ppc64le 
>   %ifarch %nobuildarches
>   %define with_up 0
> 
> 
> It seems like something picked up an old kernel configuration
> settings. Can you be more explicit about what steps you did to get
> the failing setup?  

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?
_______________________________________________
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/ALPYIDSMGSCJ6KD4QFOKQTSUV4ON2WP3/




[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