Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26
@ 2024-01-14 17:48 Bernd Kuhls
  2024-01-14 17:48 ` [Buildroot] [PATCH 2/2] package/glm: bump version Bernd Kuhls
  2024-02-06 14:17 ` [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26 Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 5+ messages in thread
From: Bernd Kuhls @ 2024-01-14 17:48 UTC (permalink / raw)
  To: buildroot

Fixes build error on Debian bookworm with

$ cmake --version
cmake version 3.25.1

-- Found Python3: /home/buildroot/br2/output/per-package/kodi/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/python3.11
 (found suitable exact version "3.11.6") found components: Development Development.Module Development.Embed
-- Could NOT find Python3 (missing: Interpreter)
    Reason given by package:
        Interpreter: Cannot run the interpreter
        "/home/buildroot/br2/output/per-package/kodi/host/x86_64-buildroot-linux-gnu/sysroot/usr/bin/python3"

CMake Error at cmake/scripts/common/Macros.cmake:432 (message):
  PYTHON enabled but not found
Call Stack (most recent call first):
  CMakeLists.txt:214 (core_optional_dep)

-- Configuring incomplete, errors occurred!

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/kodi/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 6b68e6d504..181db55571 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -66,7 +66,7 @@ menuconfig BR2_PACKAGE_KODI
 	depends on BR2_PACKAGE_PYTHON3
 	depends on !BR2_PACKAGE_PYTHON3_PYC_ONLY
 	select BR2_NEEDS_HOST_JAVA
-	select BR2_HOST_CMAKE_AT_LEAST_3_24
+	select BR2_HOST_CMAKE_AT_LEAST_3_26
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FFMPEG_GPL
 	select BR2_PACKAGE_FFMPEG_POSTPROC
-- 
2.39.2

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

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

* [Buildroot] [PATCH 2/2] package/glm: bump version
  2024-01-14 17:48 [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26 Bernd Kuhls
@ 2024-01-14 17:48 ` Bernd Kuhls
  2024-02-06 13:58   ` Andreas Naumann
  2024-02-06 14:17 ` [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26 Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 5+ messages in thread
From: Bernd Kuhls @ 2024-01-14 17:48 UTC (permalink / raw)
  To: buildroot

Fixes build error with packages depending on glm, like kodi-screensaver*
and kodi-visualisation*:

CMake Error at /home/buildroot/br2/output/per-package/kodi-screensaver-asteroids/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find glm (missing: GLM_INCLUDE_DIR)

Since glm release 0.9.9.8 (bumped in buildroot with commit
01ad11343172ea698e4dcc1c64cb02ce26671e49) many fixes were added for its
cmake support: https://github.com/g-truc/glm/pull/1054

Instead of backporting all of them we bump to latest git HEAD.
Preparations for glm 1.0.0 are underway:
https://github.com/g-truc/glm/pull/1180

Fixes build error with this defconfig:

BR2_x86_64=y
BR2_x86_x86_64_v4=y
BR2_BINUTILS_VERSION_2_41_X=y
BR2_GCC_VERSION_13_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PER_PACKAGE_DIRECTORIES=y
BR2_INIT_NONE=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_KODI_SCREENSAVER_ASTEROIDS=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON3_PY_ONLY=y

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/glm/glm.hash | 2 +-
 package/glm/glm.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/glm/glm.hash b/package/glm/glm.hash
index c4e2101604..6bc88739b3 100644
--- a/package/glm/glm.hash
+++ b/package/glm/glm.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592  glm-0.9.9.8.tar.gz
+sha256  9dc8c27c2b00d44a0b9d4a619b13848f1092914e7ec60447ac3db528a8e9ba8a  glm-b06b775c1c80af51a1183c0e167f9de3b2351a79.tar.gz
 sha256  62d2d642c7d054d4fb4c9b42faad617d6c88fcd91e317f8035aa9f277cc159c3  copying.txt
diff --git a/package/glm/glm.mk b/package/glm/glm.mk
index ef549931f6..92357b4fe2 100644
--- a/package/glm/glm.mk
+++ b/package/glm/glm.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GLM_VERSION = 0.9.9.8
+GLM_VERSION = b06b775c1c80af51a1183c0e167f9de3b2351a79
 GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
 GLM_LICENSE = MIT
 GLM_LICENSE_FILES = copying.txt
-- 
2.39.2

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

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

* Re: [Buildroot] [PATCH 2/2] package/glm: bump version
  2024-01-14 17:48 ` [Buildroot] [PATCH 2/2] package/glm: bump version Bernd Kuhls
@ 2024-02-06 13:58   ` Andreas Naumann
  2024-02-06 14:06     ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Naumann @ 2024-02-06 13:58 UTC (permalink / raw)
  To: Bernd Kuhls, buildroot

Hi,

Am 14.01.24 um 18:48 schrieb Bernd Kuhls:
> Fixes build error with packages depending on glm, like kodi-screensaver*
> and kodi-visualisation*:
> 
> CMake Error at /home/buildroot/br2/output/per-package/kodi-screensaver-asteroids/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
>    Could NOT find glm (missing: GLM_INCLUDE_DIR)
> 
> Since glm release 0.9.9.8 (bumped in buildroot with commit
> 01ad11343172ea698e4dcc1c64cb02ce26671e49) many fixes were added for its
> cmake support: https://github.com/g-truc/glm/pull/1054
> 
> Instead of backporting all of them we bump to latest git HEAD.
> Preparations for glm 1.0.0 are underway:
> https://github.com/g-truc/glm/pull/1180

I just now find this patch, after having sent one bumping glm to tag 
1.0.0 (which is only about 2 weeks old). However, since it's a tag, I 
suggest my patch supersedes this one.

regards,
Andreas

> 
> Fixes build error with this defconfig:
> 
> BR2_x86_64=y
> BR2_x86_x86_64_v4=y
> BR2_BINUTILS_VERSION_2_41_X=y
> BR2_GCC_VERSION_13_X=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PER_PACKAGE_DIRECTORIES=y
> BR2_INIT_NONE=y
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_PACKAGE_KODI=y
> BR2_PACKAGE_KODI_SCREENSAVER_ASTEROIDS=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS=y
> BR2_PACKAGE_MESA3D_OPENGL_EGL=y
> BR2_PACKAGE_MESA3D_OPENGL_ES=y
> BR2_PACKAGE_PYTHON3=y
> BR2_PACKAGE_PYTHON3_PY_ONLY=y
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>   package/glm/glm.hash | 2 +-
>   package/glm/glm.mk   | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/glm/glm.hash b/package/glm/glm.hash
> index c4e2101604..6bc88739b3 100644
> --- a/package/glm/glm.hash
> +++ b/package/glm/glm.hash
> @@ -1,3 +1,3 @@
>   # Locally calculated
> -sha256  7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592  glm-0.9.9.8.tar.gz
> +sha256  9dc8c27c2b00d44a0b9d4a619b13848f1092914e7ec60447ac3db528a8e9ba8a  glm-b06b775c1c80af51a1183c0e167f9de3b2351a79.tar.gz
>   sha256  62d2d642c7d054d4fb4c9b42faad617d6c88fcd91e317f8035aa9f277cc159c3  copying.txt
> diff --git a/package/glm/glm.mk b/package/glm/glm.mk
> index ef549931f6..92357b4fe2 100644
> --- a/package/glm/glm.mk
> +++ b/package/glm/glm.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -GLM_VERSION = 0.9.9.8
> +GLM_VERSION = b06b775c1c80af51a1183c0e167f9de3b2351a79
>   GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
>   GLM_LICENSE = MIT
>   GLM_LICENSE_FILES = copying.txt
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 2/2] package/glm: bump version
  2024-02-06 13:58   ` Andreas Naumann
@ 2024-02-06 14:06     ` Yann E. MORIN
  0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2024-02-06 14:06 UTC (permalink / raw)
  To: Andreas Naumann; +Cc: Bernd Kuhls, buildroot

Andreas, Bernd, All,

On 2024-02-06 14:58 +0100, Andreas Naumann spake thusly:
> Am 14.01.24 um 18:48 schrieb Bernd Kuhls:
> > Fixes build error with packages depending on glm, like kodi-screensaver*
> > and kodi-visualisation*:
> > 
> > CMake Error at /home/buildroot/br2/output/per-package/kodi-screensaver-asteroids/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
> >    Could NOT find glm (missing: GLM_INCLUDE_DIR)
> > 
> > Since glm release 0.9.9.8 (bumped in buildroot with commit
> > 01ad11343172ea698e4dcc1c64cb02ce26671e49) many fixes were added for its
> > cmake support: https://github.com/g-truc/glm/pull/1054
> > 
> > Instead of backporting all of them we bump to latest git HEAD.
> > Preparations for glm 1.0.0 are underway:
> > https://github.com/g-truc/glm/pull/1180
> 
> I just now find this patch, after having sent one bumping glm to tag 1.0.0
> (which is only about 2 weeks old). However, since it's a tag, I suggest my
> patch supersedes this one.

Ah, I see you evnetually spotted this patch too! ;-)

I indeed applied your patch, but as I said, I also grabbed the kodi
failures Bernd noticed.

Regards,
Yann E. MORIN.

> regards,
> Andreas
> 
> > 
> > Fixes build error with this defconfig:
> > 
> > BR2_x86_64=y
> > BR2_x86_x86_64_v4=y
> > BR2_BINUTILS_VERSION_2_41_X=y
> > BR2_GCC_VERSION_13_X=y
> > BR2_TOOLCHAIN_BUILDROOT_CXX=y
> > BR2_PER_PACKAGE_DIRECTORIES=y
> > BR2_INIT_NONE=y
> > BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> > BR2_PACKAGE_KODI=y
> > BR2_PACKAGE_KODI_SCREENSAVER_ASTEROIDS=y
> > BR2_PACKAGE_MESA3D=y
> > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS=y
> > BR2_PACKAGE_MESA3D_OPENGL_EGL=y
> > BR2_PACKAGE_MESA3D_OPENGL_ES=y
> > BR2_PACKAGE_PYTHON3=y
> > BR2_PACKAGE_PYTHON3_PY_ONLY=y
> > 
> > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> > ---
> >   package/glm/glm.hash | 2 +-
> >   package/glm/glm.mk   | 2 +-
> >   2 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/package/glm/glm.hash b/package/glm/glm.hash
> > index c4e2101604..6bc88739b3 100644
> > --- a/package/glm/glm.hash
> > +++ b/package/glm/glm.hash
> > @@ -1,3 +1,3 @@
> >   # Locally calculated
> > -sha256  7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592  glm-0.9.9.8.tar.gz
> > +sha256  9dc8c27c2b00d44a0b9d4a619b13848f1092914e7ec60447ac3db528a8e9ba8a  glm-b06b775c1c80af51a1183c0e167f9de3b2351a79.tar.gz
> >   sha256  62d2d642c7d054d4fb4c9b42faad617d6c88fcd91e317f8035aa9f277cc159c3  copying.txt
> > diff --git a/package/glm/glm.mk b/package/glm/glm.mk
> > index ef549931f6..92357b4fe2 100644
> > --- a/package/glm/glm.mk
> > +++ b/package/glm/glm.mk
> > @@ -4,7 +4,7 @@
> >   #
> >   ################################################################################
> > -GLM_VERSION = 0.9.9.8
> > +GLM_VERSION = b06b775c1c80af51a1183c0e167f9de3b2351a79
> >   GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
> >   GLM_LICENSE = MIT
> >   GLM_LICENSE_FILES = copying.txt
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26
  2024-01-14 17:48 [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26 Bernd Kuhls
  2024-01-14 17:48 ` [Buildroot] [PATCH 2/2] package/glm: bump version Bernd Kuhls
@ 2024-02-06 14:17 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-02-06 14:17 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On Sun, 14 Jan 2024 18:48:22 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:

> Fixes build error on Debian bookworm with
> 
> $ cmake --version
> cmake version 3.25.1
> 
> -- Found Python3: /home/buildroot/br2/output/per-package/kodi/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/python3.11
>  (found suitable exact version "3.11.6") found components: Development Development.Module Development.Embed
> -- Could NOT find Python3 (missing: Interpreter)
>     Reason given by package:
>         Interpreter: Cannot run the interpreter
>         "/home/buildroot/br2/output/per-package/kodi/host/x86_64-buildroot-linux-gnu/sysroot/usr/bin/python3"
> 
> CMake Error at cmake/scripts/common/Macros.cmake:432 (message):
>   PYTHON enabled but not found
> Call Stack (most recent call first):
>   CMakeLists.txt:214 (core_optional_dep)
> 
> -- Configuring incomplete, errors occurred!
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/kodi/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Since when does kodi needs host-cmake >= 3.26 ? Indeed, we need to
understand that so that we can understand if this patch needs to be
backported to one of the LTS/stable branches. Could you check this, and
submit an updated version that includes those details in the commit log.

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] 5+ messages in thread

end of thread, other threads:[~2024-02-06 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14 17:48 [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26 Bernd Kuhls
2024-01-14 17:48 ` [Buildroot] [PATCH 2/2] package/glm: bump version Bernd Kuhls
2024-02-06 13:58   ` Andreas Naumann
2024-02-06 14:06     ` Yann E. MORIN
2024-02-06 14:17 ` [Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26 Thomas Petazzoni via buildroot

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