Bug 464441 - clazy build/tests fail with Qt 5.15.8 - [FAIL] reserve-candidates/main2.cpp (plugin)
Summary: clazy build/tests fail with Qt 5.15.8 - [FAIL] reserve-candidates/main2.cpp (...
Status: REPORTED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-18 10:10 UTC by Rik Mills
Modified: 2023-01-21 21:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rik Mills 2023-01-18 10:10:41 UTC
clazy build/tests fail with Qt 5.15.8 - succeed with 5.15.7

STEPS TO REPRODUCE
1.  Build clazy in Ubuntu or Debian development versions with Qt 5.15.8 running tests; 
OR run autopkgtests on Debian or Ubuntu CI infra with Qt 5.15.8
OR build clazy on KDE Neon with their Qt 5.15.8 and tests enabled (Ubuntu 22.04 LTS base and toolchain)

OBSERVED RESULT

Tests fail with:

Running: clang -Xclang -load -Xclang ClazyPlugin.so -Xclang -add-plugin -Xclang clazy  -Wno-unused-value -Qunused-arguments -std=c++14 -isystem /usr/include/x86_64-linux-gnu/qt5 -fPIC -L /usr/lib/x86_64-linux-gnu -c  -Xclang -plugin-arg-clazy -Xclang reserve-candidates reserve-candidates/main2.cpp
output_file=reserve-candidates/main2.cpp.out
[FAIL] reserve-candidates/main2.cpp (plugin)
diff -Naur --strip-trailing-cr reserve-candidates/main2.cpp.expected reserve-candidates/main2.cpp.result
--- reserve-candidates/main2.cpp.expected	2022-01-20 23:18:47.000000000 +0000
+++ reserve-candidates/main2.cpp.result	2023-01-18 09:00:21.925760955 +0000
@@ -1 +0,0 @@
-reserve-candidates/main2.cpp:8:9: warning: Reserve candidate [-Wclazy-reserve-candidates]

https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/c/clazy/20230114_025737_a318e@/log.gz

https://ci.debian.net/data/autopkgtest/testing/amd64/c/clazy/30487887/log.gz
Comment 1 Dmitry Shachnev 2023-01-21 21:37:25 UTC
According to Simon Quigley's investigation, it is caused by https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib?id=826e076ef53a5809.