Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/visionfive2: fix build by adding kernel header version
@ 2024-07-06 11:06 Julien Olivain
  2024-07-08 20:24 ` Thomas Petazzoni via buildroot
  2024-07-11  8:17 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Julien Olivain @ 2024-07-06 11:06 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Francois Dugast

commit d9e6d2d081 "configs/visionfive2: update kernel to upstream
6.8.2" removed the config directive:

    BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y

but forgot to add:

    BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y

It was most likely generated with a "make savedefconfig", while Linux
kernel v6.8 was the default at that time. After commit aa70c331a2
"linux: bump latest version to 6.9", the defconfig failed to build
with error:

    Incorrect selection of kernel headers: expected 6.9.x, got 6.8.x

This commit fixes the defconfig by adding back the kernel custom header
version.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7271150175

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 configs/visionfive2_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig
index dae9608eeb1..18e0997f19d 100644
--- a/configs/visionfive2_defconfig
+++ b/configs/visionfive2_defconfig
@@ -1,4 +1,5 @@
 BR2_riscv=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y
 BR2_GLOBAL_PATCH_DIR="board/visionfive2/patches"
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_SYSTEM_DHCP="eth0"
-- 
2.45.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] configs/visionfive2: fix build by adding kernel header version
  2024-07-06 11:06 [Buildroot] [PATCH 1/1] configs/visionfive2: fix build by adding kernel header version Julien Olivain
@ 2024-07-08 20:24 ` Thomas Petazzoni via buildroot
  2024-07-11  8:17 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-08 20:24 UTC (permalink / raw)
  To: Julien Olivain; +Cc: Francois Dugast, buildroot

On Sat,  6 Jul 2024 13:06:42 +0200
Julien Olivain <ju.o@free.fr> wrote:

> commit d9e6d2d081 "configs/visionfive2: update kernel to upstream
> 6.8.2" removed the config directive:
> 
>     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
> 
> but forgot to add:
> 
>     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y
> 
> It was most likely generated with a "make savedefconfig", while Linux
> kernel v6.8 was the default at that time. After commit aa70c331a2
> "linux: bump latest version to 6.9", the defconfig failed to build
> with error:
> 
>     Incorrect selection of kernel headers: expected 6.9.x, got 6.8.x
> 
> This commit fixes the defconfig by adding back the kernel custom header
> version.
> 
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/7271150175
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
>  configs/visionfive2_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] configs/visionfive2: fix build by adding kernel header version
  2024-07-06 11:06 [Buildroot] [PATCH 1/1] configs/visionfive2: fix build by adding kernel header version Julien Olivain
  2024-07-08 20:24 ` Thomas Petazzoni via buildroot
@ 2024-07-11  8:17 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-07-11  8:17 UTC (permalink / raw)
  To: Julien Olivain; +Cc: Francois Dugast, buildroot

>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:

 > commit d9e6d2d081 "configs/visionfive2: update kernel to upstream
 > 6.8.2" removed the config directive:

 >     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y

 > but forgot to add:

 >     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y

 > It was most likely generated with a "make savedefconfig", while Linux
 > kernel v6.8 was the default at that time. After commit aa70c331a2
 > "linux: bump latest version to 6.9", the defconfig failed to build
 > with error:

 >     Incorrect selection of kernel headers: expected 6.9.x, got 6.8.x

 > This commit fixes the defconfig by adding back the kernel custom header
 > version.

 > Fixes:
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/7271150175

 > Signed-off-by: Julien Olivain <ju.o@free.fr>

Committed to 2024.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-11  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-06 11:06 [Buildroot] [PATCH 1/1] configs/visionfive2: fix build by adding kernel header version Julien Olivain
2024-07-08 20:24 ` Thomas Petazzoni via buildroot
2024-07-11  8:17 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox