Bug 14611 - 2022.02-rc2: Build of BR2_x86_64 with BR2_LINUX_KERNEL_LATEST_VERSION=y broken
Summary: 2022.02-rc2: Build of BR2_x86_64 with BR2_LINUX_KERNEL_LATEST_VERSION=y broken
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-24 09:28 UTC by Frank Rogall
Modified: 2022-03-03 22:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Rogall 2022-02-24 09:28:52 UTC
The building of BR2_x86_64 with BR2_LINUX_KERNEL_LATEST_VERSION=y
on Buildroot 2022.02-rc2 does not work.

>>> linux-headers 5.15.13 Building
>>> linux-headers 5.15.13 Installing to staging directory
(cd /home/fr/work/egate/x/egate/build/linux-headers-5.15.13; PATH="/home/fr/work/egate/x/egate/host/bin:/home/fr/work/egate/x/egate/host/sbin:/home/fr/bin:/home/fr/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j9 ARCH=x86_64 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" HOSTCXX="/usr/bin/g++" INSTALL_HDR_PATH=/home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot/usr headers_install)
  INSTALL /home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot/usr/include
if ! support/scripts/check-kernel-headers.sh  /home/fr/work/egate/x/egate/build  /home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot  5.16  loose; then exit 1; fi
Incorrect selection of kernel headers: expected 5.16.x, got 5.15.x
make[1]: *** [package/pkg-generic.mk:332: /home/fr/work/egate/x/egate/build/linux-headers-5.15.13/.stamp_staging_installed] Error 1
make: *** [Makefile:84: _all] Error 2
Comment 1 Frank Rogall 2022-03-03 08:02:53 UTC
These Bug still exists in 2022.02-rc3

  INSTALL /home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot/usr/include
if ! support/scripts/check-kernel-headers.sh  /home/fr/work/egate/x/egate/build  /home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot  5.16  loose; then exit 1; fi
Incorrect selection of kernel headers: expected 5.16.x, got 5.15.x
make[1]: *** [package/pkg-generic.mk:332: /home/fr/work/egate/x/egate/build/linux-headers-5.15.13/.stamp_staging_installed] Error 1
Comment 2 Peter Korsgaard 2022-03-03 22:00:42 UTC
Fixed in git, thanks:
https://git.buildroot.org/buildroot/commit/?id=5dc3cfbff11934a3b29f8b2b98aed22ec01e7c42