https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/openimageio-2.4.12.0 one or more CMake variables were not used by the project. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (f2cfc93fb3528b3701eb9cc09f256f2aff9c605d)
Created attachment 864687 [details] build.log build log and emerge --info
Created attachment 864702 [details, diff] Proposed patch This is caused by https://github.com/OpenImageIO/oiio/blob/v2.4.12.0/src/cmake/externalpackages.cmake#L253C37-L253C37: > # Qt -- used for iv > option (USE_QT "Use Qt if found" ON) > if (USE_QT) > checked_find_package (OpenGL) # used for iv > endif () > if (USE_QT AND OPENGL_FOUND) Which contradicts https://github.com/OpenImageIO/oiio/blob/v2.4.12.0/INSTALL.md?plain=1#L235: > | make USE_OPENGL=0 ... | Skip anything that needs OpenGL | I added a patch that I would send upstream. Can anyone make a decision how we want to handle this? We could drop "-DUSE_OPENGL" for now and reintroduce it later or add my patch and leave it in.
Lets just drop "-DUSE_OPENGL=OFF", it is the easier solution. We can add it back later if necessary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec1a0124b63060022b8d6e5babd0cd9338666ee commit 5ec1a0124b63060022b8d6e5babd0cd9338666ee Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2023-06-27 11:36:39 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-06-27 11:38:01 +0000 media-libs/openimageio: correct dependency on opengl and fix an unused cmake variable warning Closes: https://bugs.gentoo.org/909280 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> media-libs/openimageio/openimageio-2.4.12.0.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)