Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914334 - dev-qt/qtdeclarative-6.5.2-r1 - [slibtool] /.../qquickframebufferobject.cpp: fatal error: QOpenGLFramebufferObject: No such file or directory
Summary: dev-qt/qtdeclarative-6.5.2-r1 - [slibtool] /.../qquickframebufferobject.cpp: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-16 21:52 UTC by Toralf Förster
Modified: 2023-09-17 02:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2023-09-16 21:52 UTC, Toralf Förster
Details
dev-qt:qtdeclarative-6.5.2-r1:20230916-212525.log.xz (dev-qt:qtdeclarative-6.5.2-r1:20230916-212525.log.xz,36.03 KB, application/x-xz)
2023-09-16 21:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.13 KB, text/plain)
2023-09-16 21:52 UTC, Toralf Förster
Details
environment (environment,99.86 KB, text/plain)
2023-09-16 21:52 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,780 bytes, application/x-xz)
2023-09-16 21:52 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.47 KB, application/x-xz)
2023-09-16 21:52 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,58.63 KB, application/x-xz)
2023-09-16 21:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-16 21:52:29 UTC
too long lines were shrinked:

[1194/2920] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_
[1195/2920] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_
[1196/2920] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_
[1197/2920] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_
FAILED: src/quick/CMakeFiles/Quick.dir/items/qquickframebufferobject.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=
/var/tmp/portage/dev-qt/qtdeclarative-6.5.2-r1/work/qtdeclarative-everywhere-src-6.5.2/src/quick/items/qquickframebufferobject.cpp:6:10: fatal error: QOpenGLFramebufferObject: No such file or directory
    6 | #include <QOpenGLFramebufferObject>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20230915-143503

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit b2d7b460cc2a9396577be6bb9fef09fe3bbe1146
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 16 19:31:42 2023 +0000

    2023-09-16 19:31:41 UTC

emerge -qpvO dev-qt/qtdeclarative
[ebuild  N    ] dev-qt/qtdeclarative-6.5.2-r1  USE="sql widgets -opengl -test -vulkan"
Comment 1 Toralf Förster gentoo-dev 2023-09-16 21:52:30 UTC
Created attachment 870771 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-16 21:52:31 UTC
Created attachment 870772 [details]
dev-qt:qtdeclarative-6.5.2-r1:20230916-212525.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-16 21:52:33 UTC
Created attachment 870773 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-16 21:52:34 UTC
Created attachment 870774 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-16 21:52:35 UTC
Created attachment 870775 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-16 21:52:35 UTC
Created attachment 870776 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-16 21:52:36 UTC
Created attachment 870777 [details]
temp.tar.xz
Comment 8 Ionen Wolkens gentoo-dev 2023-09-17 01:25:04 UTC
It would only use this file if:

    qt_internal_extend_target(Quick CONDITION QT_FEATURE_opengl OR 
    QT_FEATURE_opengles2 OR QT_FEATURE_opengles3
        SOURCES
            items/qquickframebufferobject.cpp items/qquickframebufferobject.h
            util/qquickopenglutils.cpp util/qquickopenglutils.h
    )

And I think QT_FEATURE_opengles2 is the culprit, I was sure I put a REQUIRED_USE="gles2-only? ( opengl )" but seems forgot?
Comment 9 Ionen Wolkens gentoo-dev 2023-09-17 01:32:24 UTC
(In reply to Ionen Wolkens from comment #8)
> And I think QT_FEATURE_opengles2 is the culprit, I was sure I put a
> REQUIRED_USE="gles2-only? ( opengl )" but seems forgot?
Not that a real need for this if just don't pass gles2-only=yes, maybe should switch to using INPUT_opengl entirely rather than features.

And I wonder if should just get rid of gles2-only actually, there's INPUT_opengl=dynamic to allow both desktopgl and gles2+3 at same time.
Comment 10 Ionen Wolkens gentoo-dev 2023-09-17 01:35:42 UTC
(In reply to Ionen Wolkens from comment #9)
> And I wonder if should just get rid of gles2-only actually, there's
> INPUT_opengl=dynamic to allow both desktopgl and gles2+3 at same time.
Or nevermind, this does not do what I think it did. It's a windows thing.
Comment 11 Larry the Git Cow gentoo-dev 2023-09-17 01:59:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6c1cfa60a003d005f648a2e0c55d76baec0216

commit 8f6c1cfa60a003d005f648a2e0c55d76baec0216
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-17 01:39:52 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-17 01:57:49 +0000

    dev-qt/qtbase: use INPUT_opengl only to manipulate opengl options
    
    Individual features will be set based on this.
    
    Technically enabling QT_FEATURE_onlygles2 is a no-op without enabling
    opengl too, but it can confuse other packages into believing they can
    use it.
    
    Technically needs a revbump (qtdeclarative will keep failing until
    qtbase is rebuilt), but skipping given qtbase is a long rebuild and
    [gles2-only,-opengl] should be scarcely used.
    
    Closes: https://bugs.gentoo.org/914334
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 4 +---
 dev-qt/qtbase/qtbase-6.5.9999.ebuild | 4 +---
 dev-qt/qtbase/qtbase-6.6.9999.ebuild | 4 +---
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 4 +---
 4 files changed, 4 insertions(+), 12 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2023-09-17 02:11:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ade673e48a5d41eca988c291c0a0f2c9a28c5d5

commit 8ade673e48a5d41eca988c291c0a0f2c9a28c5d5
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-17 02:05:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-17 02:10:24 +0000

    dev-qt/qtbase: still require opengl with gles2-only
    
    Not necessary with the new handling, but on 2nd thought lacking this
    may confuse users, e.g. "gles2-only so don't need desktop opengl",
    but IUSE=opengl is really to control the QtOpenGL module, and is the
    thing revdeps depend on if they want (any) GL.
    
    Bug: https://bugs.gentoo.org/914334
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 1 +
 dev-qt/qtbase/qtbase-6.5.9999.ebuild | 1 +
 dev-qt/qtbase/qtbase-6.6.9999.ebuild | 1 +
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 1 +
 4 files changed, 4 insertions(+)