Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 908488

Summary: dev-qt/qtbase-6.5.1-r1: fails with USE="opengl -vulkan"
Product: Gentoo Linux Reporter: tea <tea+gentoo>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log without USE=vulkan

Description tea 2023-06-14 08:11:56 UTC
Created attachment 863822 [details]
build log without USE=vulkan

i don't know why, i enabled the vulkan USE-flag on qtbase as a guess. the only new package it pulled in was dev-util/vulkan-headers.

tested in a fairly minimal testing environment.

> …
> …/qtbase-everywhere-src-6.5.1/src/gui/opengl/qopenglextensions_p.h:26:1: error: expected class-name before ‘{’ token
>    26 | {
>       | ^
> …/qtbase-everywhere-src-6.5.1/src/gui/opengl/qopenglextensions_p.h:68:5: error: ‘GLvoid’ does not name a type; did you mean ‘void’?
>    68 |     GLvoid *glMapBuffer(GLenum target, GLenum access);
>       |     ^~~~~~
>       |     void
> …/qtbase-everywhere-src-6.5.1/src/gui/opengl/qopenglextensions_p.h:69:29: error: ‘GLenum’ has not been declared
>    69 |     void glGetBufferSubData(GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, GLvoid *data);
>       |                             ^~~~~~
> …
Comment 1 Chiitoo gentoo-dev 2023-06-18 18:37:22 UTC
Can you consistentyl reproduce this (without ccache as well)?

So far I've been unable to (did remove vulkan-headers and any other immediately vulkan-related as well).
Comment 2 tea 2023-06-19 21:29:37 UTC
i can not reproduce it with or without ccache. not in the same environment it previously failed in (that has been modified since) and not in a fresh environment.