[clazy] [Bug 431507] New: qt6-header-fixes fails when Qt5 is build using OpenGL ES

Pino Toscano bugzilla_noreply at kde.org
Tue Jan 12 15:35:45 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=431507

            Bug ID: 431507
           Summary: qt6-header-fixes fails when Qt5 is build using OpenGL
                    ES
           Product: clazy
           Version: unspecified
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: pino at kde.org
                CC: smartins at kde.org
  Target Milestone: ---

SUMMARY
When testing clazy 1.9 on current Debian unstable, the qt6-header-fixes test
fails when run on architectures (armel and armhf, i.e. 32bit ARM) where Qt is
built using OpenGL ES instead of "desktop" OpenGL.

STEPS TO REPRODUCE
1. build clazy against Qt built using OpenGL ES
2. run the test suite, either from the build directory, or after installation

OBSERVED RESULT
This is the output on armhf (it is the same on armel, only the library &
include directories change):

Qt version: 51502
Qt headers: /usr/include/arm-linux-gnueabihf/qt5
clazy-standalone qstring-varargs/main.cpp  -checks=qstring-varargs  --
-Wno-unused-value -Qunused-arguments -std=c++14 -isystem
/usr/include/arm-linux-gnueabihf/qt5 -fPIC -L /usr/lib/arm-linux-gnueabihf
-Wno-non-pod-varargs
Running: clang -Xclang -load -Xclang ClazyPlugin.so -Xclang -add-plugin -Xclang
clazy  -Wno-unused-value -Qunused-arguments -std=c++14 -isystem
/usr/include/arm-linux-gnueabihf/qt5 -fPIC -L /usr/lib/arm-linux-gnueabihf -c 
-Xclang -plugin-arg-clazy -Xclang qt6-header-fixes -Xclang -plugin-arg-clazy
-Xclang export-fixes qt6-header-fixes/main.cpp
output_file=qt6-header-fixes/main.cpp.out
[FAIL] qt6-header-fixes (plugin)
diff -Naur --strip-trailing-cr qt6-header-fixes/main.cpp.expected
qt6-header-fixes/main.cpp.result
--- qt6-header-fixes/main.cpp.expected  2021-01-10 17:43:52.000000000 +0000
+++ qt6-header-fixes/main.cpp.result    2021-01-11 01:08:38.665301734 +0000
@@ -46,6 +46,7 @@
 qt6-header-fixes/main.cpp:47:10: warning: including
QtGui/QOpenGLFunctions_4_5_Compatibility [-Wclazy-qt6-header-fixes]
 qt6-header-fixes/main.cpp:48:10: warning: including
QtGui/QOpenGLFunctions_4_5_Core [-Wclazy-qt6-header-fixes]
 qt6-header-fixes/main.cpp:49:10: warning: including QtGui/QOpenGLFunctions_ES2
[-Wclazy-qt6-header-fixes]
+/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglfunctions_es2.h:47:10:
warning: including QtGui/QOpenGLVersionFunctions [-Wclazy-qt6-header-fixes]
 qt6-header-fixes/main.cpp:50:10: warning: including QtGui/QOpenGLPaintDevice
[-Wclazy-qt6-header-fixes]
 qt6-header-fixes/main.cpp:51:10: warning: including
QtGui/QOpenGLPixelTransferOptions [-Wclazy-qt6-header-fixes]
 qt6-header-fixes/main.cpp:52:10: warning: including QtGui/QOpenGLShader
[-Wclazy-qt6-header-fixes]

Full logs:
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=armel&ver=1.9-1&stamp=1610334563&raw=1
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=armhf&ver=1.9-1&stamp=1610327402&raw=1

EXPECTED RESULT
qt6-header-fixes passes on any architecture.

SOFTWARE/OS VERSIONS
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list