Hi Khem

Do you meas the error about "Could NOT find OpenGL"
/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.3/Modules/FindPackageHandleStandardArgs.cmake:290
 (message):
|   Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY)
| Call Stack (most recent call first):

I think this build error has nothing to do with this patch.

It was caused by lack of DISTRO_FEATURES.

# depends on virtual/libgl and libxi
REQUIRED_DISTRO_FEATURES = "opengl x11"

For example:
Add "glvnd x11" to DISTRO_FEATURES can solve this build error.

Zheng
________________________________
From: Khem Raj <[email protected]>
Sent: Friday, June 26, 2026 23:14
To: Zheng, Ruoqin/郑 若钦 <[email protected]>
Cc: [email protected] 
<[email protected]>
Subject: Re: [oe] [PATCH v2 0/5] freeglut: Bug fix and virtual/freeglut provide.

Seeing this on AB - 
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1575/steps/15/logs/stdio

On Wed, Jun 24, 2026 at 7:04 PM zhengruoqin via 
lists.openembedded.org<http://lists.openembedded.org> 
<[email protected]<mailto:[email protected]>>
 wrote:
Zheng Ruoqin (5):
  Bug fix:
  [oe][meta-oe][PATCH v2] freeglut-gles: Add symbol link to fix opencl-cts
    compile error

  Add virtual/freeglut to provide split version of freeglut and fix recipe 
which depends on freeglut.
  [oe][meta-oe][PATCH v2] freeglut: Add virtual/freeglut to PROVIDES
  [oe][meta-oe][PATCH v2] jasper: Use virtual/freeglut instead of freeglut
  [oe][meta-oe][PATCH v2] ftgl: Use virtual/freeglut instead of freeglut
  [oe][meta-oe][PATCH v2] opencl-cts: Use virtual/freeglut instead of
    freeglut

 
meta-oe/recipes-core/opencl/opencl-cts_2026.05.05.bb<http://opencl-cts_2026.05.05.bb>
 | 2 +-
 meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb<http://freeglut_3.8.0.bb>  
| 5 ++++-
 meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb<http://ftgl_2.4.0.bb>          | 2 
+-
 meta-oe/recipes-graphics/jasper/jasper_4.2.9.bb<http://jasper_4.2.9.bb>      | 
2 +-
 4 files changed, 7 insertions(+), 4 deletions(-)

--
2.43.0




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127939): 
https://lists.openembedded.org/g/openembedded-devel/message/127939
Mute This Topic: https://lists.openembedded.org/mt/119968332/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to