The following tests FAILED: 1 - assert-with-side-effects (Failed) 2 - container-inside-loop (Failed) 3 - detaching-member (Failed) 4 - heap-allocated-small-trivial-type (Failed) 5 - ifndef-define-typo (Failed) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4_test-20210904-155741 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.54.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 284510eb14f4e88b798971b8754dfc1bf2dc9481 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 5 06:51:34 2021 +0000 2021-09-05 06:51:31 UTC emerge -qpvO dev-util/clazy [ebuild N ] dev-util/clazy-1.10
Created attachment 737623 [details] emerge-info.txt
Created attachment 737626 [details] LastTest.log
Created attachment 737629 [details] dev-util:clazy-1.10:20210905-083909.log
Created attachment 737632 [details] emerge-history.txt
Created attachment 737635 [details] environment
Created attachment 737638 [details] etc.portage.tar.bz2
Created attachment 737641 [details] logs.tar.bz2
Created attachment 737644 [details] temp.tar.bz2
Created attachment 737647 [details] tests.tar.bz2
Poking.. ---------------------------------------------------------- [FAIL] isempty-vs-count (Failed to build test. Check isempty-vs-count/main.cpp.out for details) ------------------- Contents of isempty-vs-count/main.cpp.out: error: unable to load plugin 'ClazyPlugin.so': 'ClazyPlugin.so: cannot open shared object file: No such file or directory'
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a0bf9437a7278215c25a7e3f65cdbb5a8608d6 commit d6a0bf9437a7278215c25a7e3f65cdbb5a8608d6 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-16 23:41:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-16 23:41:57 +0000 dev-util/clazy: run tests against built copy of clazy This doesn't get us all of the way there yet though, tests still fail due to Clang shenanigans with include paths(?) Bug: https://bugs.gentoo.org/811723 Signed-off-by: Sam James <sam@gentoo.org> dev-util/clazy/clazy-1.10.ebuild | 6 ++++++ 1 file changed, 6 insertions(+)
Created attachment 745224 [details] LastTest.log with *PATH fix Note that we should probably be using python-any-r1 for tests too. Anyway, lots of errors like this: ``` Contents of container-inside-loop/main.cpp.out: In file included from /var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/tests/container-inside-loop/main.cpp:1: In file included from /usr/include/qt5/QtCore/QVector:1: In file included from /usr/include/qt5/QtCore/qvector.h:43: In file included from /usr/include/qt5/QtCore/qalgorithms.h:43: In file included from /usr/include/qt5/QtCore/qglobal.h:46: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/cstddef:50:10: fatal error: 'stddef.h' file not found #include <stddef.h> ^~~~~~~~~~ 1 error generated. ```
All tests pass for me, I can't reproduce any of this.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bb19912117d36da9df66dca656213347391006 commit 53bb19912117d36da9df66dca656213347391006 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-10 23:59:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-13 00:11:30 +0000 dev-util/clazy: BDEPEND on Python for tests Avoid using 'python3' directly. Still not passing for me though. Bug: https://bugs.gentoo.org/811723 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/23246 Signed-off-by: Sam James <sam@gentoo.org> dev-util/clazy/clazy-1.10-r1.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5f598a4e43dd87b224e4281b167773c3a5d74e commit af5f598a4e43dd87b224e4281b167773c3a5d74e Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-10 23:24:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-13 00:11:29 +0000 dev-util/clazy: use llvm.eclass to declare compatibility and build patch - We need to use llvm.eclass to ensure we don't use too new of a version of LLVM and Clang. We're now using the llvm.eclass mechanisms to enforce the same versions of Clang and LLVM. - Throw in a build patch from upstream (upstream commit b74c8729b7b71528c1528579435cda7fdb5d31b4) which was necessary for me. Bug: https://bugs.gentoo.org/811723 Bug: https://bugs.gentoo.org/823726 Closes: https://bugs.gentoo.org/824986 Signed-off-by: Sam James <sam@gentoo.org> .../{clazy-1.10.ebuild => clazy-1.10-r1.ebuild} | 25 ++++++------ dev-util/clazy/files/clazy-1.10-gcc-build.patch | 44 ++++++++++++++++++++++ dev-util/clazy/files/clazy-1.10-use-c++17.patch | 20 ++++++++++ 3 files changed, 78 insertions(+), 11 deletions(-)
Update summary. [something] is used when something refers to an overlay
*** Bug 834898 has been marked as a duplicate of this bug. ***
All tests work fine for me.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1fcee35f62bad34abe7da2be9856645fbce8af6 commit a1fcee35f62bad34abe7da2be9856645fbce8af6 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-09-21 13:15:24 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-09-21 13:33:57 +0000 dev-util/clazy: add 1.12 w/o KEYWORDS, enable py3.13, LLVM-18 Reason: 7% tests passed, 92 tests failed out of 99 Most of them fail with: cstddef:50:10: fatal error: 'stddef.h' file not found Bug: https://bugs.gentoo.org/811723 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/clazy/Manifest | 1 + dev-util/clazy/clazy-1.12.ebuild | 57 ++++++++++ .../files/clazy-1.12-clang-16-no-src-root.patch | 60 +++++++++++ .../files/clazy-1.12-fix-tests-Qt-detect-1.patch | 78 ++++++++++++++ .../files/clazy-1.12-fix-tests-Qt-detect-2.patch | 115 +++++++++++++++++++++ dev-util/clazy/files/clazy-1.12-llvm-18.patch | 36 +++++++ 6 files changed, 347 insertions(+)