it fails to build on YP AB -
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/4644384/raw_inline

 -- Found OpenGL:
/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot/usr/lib/libGL.so
 found components: OpenGL
| -- Found PkgConfig:
/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/bin/pkg-config
(found version "0.29.2")
| CMake Error at
/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290
(message):
|   Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY)
| Call Stack (most recent call first):
|   
/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654
(_FPHSA_FAILURE_MESSAGE)
|   
/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/share/cmake-4.2/Modules/FindOpenGL.cmake:698
(find_package_handle_standard_args)
|   CMakeLists.txt:435 (FIND_PACKAGE)
|
|
| -- Configuring incomplete, errors occurred!
| WARNING: exit code 1 from a shell command.


On Mon, Dec 22, 2025 at 10:58 AM Jan Vermaete via lists.openembedded.org
<[email protected]> wrote:

> Note: I could not test these changes. The previous recipe did not
> compile on master in the meta-ros layer, and I’m not sure where it is
> currently used within meta-ros.
>
> On Mon, Dec 22, 2025 at 7:54 PM Jan Vermaete <[email protected]>
> wrote:
> >
> >     2025-11-16  John Tsiombikas <[email protected]>
> >
> >         freeglut 3.8 changes:
> >
> >         * New experimental Cocoa (native MacOS X) backend.
> >         * Add glutSwapInterval, to control vsync (currently X11 and
> win32 only).
> >         * glutExtensionSupported now also reports platform extensions
> (GLX/WGL).
> >         * Fix build issues with new cmake versions while maintaining
> >           compatibility with old cmake.
> >         * Fix handling of UTF8 window/icon titles.
> >         * Fix issue with some X11 window managers not properly restoring
> >           iconified windows (send _NET_ACTIVE_WINDOW EWMH client
> message).
> >         * Fix build issues with C23 compilers (empty argument list
> semantics).
> >         * Fix compatibility with older versions of windows which don't
> have
> >           RAWHID support (before XP), by loading the entry points
> dynamically.
> >         * Fix glutInitDisplayString parsing of "aux", and add =N parsing
> support
> >           to specify samples and auxbufs.
> >         * Various fixes and improvements in the GameCube/Wii backend.
> >         * Altbuild support for Solaris 2.6/SUN Workshop C.
> >         * Started conversion of documentation from the website to
> markdown in
> >           the source tree: doc/api.md
> >         * Added the original GLUT manpages, with permission from Mark
> Kilgard.
> >         * New demos: accum, vsync, and windows.
> >         * Cleanup of some old and no longer relevant, or redundant
> comments in
> >           the source code.
> >         * Removed some out of date README files, and updated others.
> >
> >     2024-06-08  John Tsiombikas <[email protected]>
> >
> >         freeglut 3.6 changes:
> >
> >         * New platforms: Nintendo Gamecube and Nintendo Wii.
> >         * Minimum cmake version raised to 3.1.
> >         * Make XInput an optional dependency.
> >         * Fix incorrect modifier bit mapped to GLUT_ACTIVE_SUPER on X11.
> >         * Add support for ARM64 MSVC targets.
> >         * Fix for unicode builds on windows.
> >         * Fix build on some versions of MinGW carrying an incorrect
> winuser.h.
> >         * Fix menu-related memory leak when an error occurs.
> >         * Various build improvements & fixes.
> >
> > Signed-off-by: Jan Vermaete <[email protected]>
> > ---
> >  .../freeglut/{freeglut_3.4.0.bb => freeglut_3.8.0.bb}        | 5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> >  rename meta-oe/recipes-graphics/freeglut/{freeglut_3.4.0.bb =>
> freeglut_3.8.0.bb} (90%)
> >
> > diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
> b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
> > similarity index 90%
> > rename from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
> > rename to meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
> > index 13f3d111fe..25ba1e05bb 100644
> > --- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
> > +++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
> > @@ -5,12 +5,10 @@ LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb"
> >
> >  SRC_URI = "
> https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz
> "
> > -SRC_URI[sha256sum] =
> "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec"
> > +SRC_URI[sha256sum] =
> "674dcaff25010e09e450aec458b8870d9e98c46f99538db457ab659b321d9989"
> >
> >  inherit cmake features_check pkgconfig
> >
> > -EXTRA_OECMAKE = "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
> > -
> >  # depends on virtual/libgl and libxi
> >  REQUIRED_DISTRO_FEATURES = "opengl x11"
> >
> > @@ -19,6 +17,7 @@ PACKAGECONFIG[gles] =
> "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF,"
> >  PACKAGECONFIG[wayland] =
> "-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon"
> >  PACKAGECONFIG[demos] =
> "-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF,"
> >  PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr
> libxext"
> > +
> >  # Add -Wno-implicit-function-declaration since it might be otherwise
> treated at
> >  # error by clang16+ and this is not really a problem
> >  CFLAGS += "-Wno-implicit-function-declaration"
> > --
> > 2.47.3
> >
>
>
> --
> Jan Vermaete
> “Success is a self-correcting phenomenom.” -- Gary Hamel
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122814): 
https://lists.openembedded.org/g/openembedded-devel/message/122814
Mute This Topic: https://lists.openembedded.org/mt/116905850/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to