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]

 



Hi,

I build the kernel every few weeks from the koji rawhide src.rpm for
the latest kernel version.  This has been working fine for the 4.18
kernels until the latest version.  Since I'm only building locally for
x86_64, I change the nobuildarches to 

%define nobuildarches i386 ppc64 s390x %{arm} %{power64} aarch64 ppc64le

That has worked previously, but no longer seems to be effective. I
can't see any reason it shouldn't work.  There's been the major change
of no longer creating header files in the kernel package, but that
doesn't seem to impact this.  Anyway, I see

Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-aarch64.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl-lpae.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686-PAE.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64le.config ...
done
Processing /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config ...
Found unset config items, please set them to an appropriate value

and then this

+ ./process_configs.sh -n -c kernel 4.18.0
/home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-aarch64.config:5810:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-aarch64.config:6835:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-aarch64.config:5810:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-aarch64.config:6835:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl-lpae.config:5846:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl-lpae.config:6894:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl-lpae.config:5846:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl-lpae.config:6894:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl.config:6231:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl.config:7346:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl.config:6231:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-armv7hl.config:7346:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686-PAE.config:5911:warning:
  override: UNWINDER_ORC changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686-PAE.config:6383:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686-PAE.config:5911:warning:
  override: UNWINDER_ORC changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686-PAE.config:6383:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686.config:5911:warning:
  override: UNWINDER_ORC changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686.config:6383:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686.config:5911:warning:
  override: UNWINDER_ORC changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-i686.config:6383:warning:
  override: VIRT_CPU_ACCOUNTING_NATIVE changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64.config:5249:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64.config:5249:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64le.config:5176:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64le.config:5176:warning:
  override: SPARSEMEM_MANUAL changes choice
  state /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:1686:warning:
  symbol value 'm' invalid for
  HOTPLUG_PCI_SHPC /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:1722:warning:
  symbol value 'm' invalid for
  HW_RANDOM_TPM /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:1725:warning:
  symbol value 'm' invalid for
  HWSPINLOCK /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:2473:warning:
  symbol value 'm' invalid for
  LIRC /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3347:warning:
  symbol value 'm' invalid for
  NF_TABLES_ARP /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3348:warning:
  symbol value 'm' invalid for
  NF_TABLES_BRIDGE /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3349:warning:
  symbol value 'm' invalid for
  NF_TABLES_INET /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3350:warning:
  symbol value 'm' invalid for
  NF_TABLES_IPV4 /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3351:warning:
  symbol value 'm' invalid for
  NF_TABLES_IPV6 /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3353:warning:
  symbol value 'm' invalid for
  NF_TABLES_NETDEV /home/stan/rpmbuild/BUILD/kernel-4.17.fc28/linux-4.18.0-0.rc6.git3.1.20180729.fc28.x86_64/configs/kernel-4.18.0-ppc64p7.config:3475:warning:
  symbol value 'm' invalid for NVMEM error: Bad exit status
  from /var/tmp/rpm-tmp.LvChTe (%prep)

The logic in the spec file says it should ignore config files for any
nobuild architectures, but it isn't.  I found a workaround by setting

%define listnewconfig_fail 0
%define configmismatch_fail 0

even if there were patches, which of course there always are.  But I
didn't have to do this before, so something isn't right somewhere.  I
don't see how this could have built successfully in koji with the logic
in the spec file in place.
_______________________________________________
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/5DDFUC2MORYJA7243IFHXN4H52OJ627S/




[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