https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/clazy-1.7 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a gold linker (ld.gold). If you think that this issue is strictly related to ld.gold please block bug 269315.
Created attachment 666482 [details] build.log build log and emerge --info
Possible context of error(s): /var/tmp/portage/dev-util/clazy-1.7/work/clazy-1.7/src/checks/manuallevel/qt-keywords.cpp:62:35: error: conversion from ‘llvm::StringRef’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
after apply upstream patch https://github.com/KDE/clazy/pull/38.patch - compiled successful! Patch found on https://github.com/KDE/clazy/pull/35 May be need additional patch(for llvm 11.0.0) - https://github.com/KDE/clazy/pull/38.patch (via on pull request https://github.com/KDE/clazy/pull/38)
Looking forward to meaningful summaries.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf0b312d76f313c80a28d1c7d112e03e303d3a2 commit 3cf0b312d76f313c80a28d1c7d112e03e303d3a2 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-10-26 10:21:23 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-10-26 13:55:45 +0000 dev-util/clazy: Fix build with LLVM-11 Fix HOMEPAGE Closes: https://bugs.gentoo.org/749876 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/clazy/clazy-1.7-r1.ebuild | 43 ++++ dev-util/clazy/clazy-1.7.ebuild | 2 +- dev-util/clazy/files/clazy-1.7-llvm11-1.patch | 343 ++++++++++++++++++++++++++ dev-util/clazy/files/clazy-1.7-llvm11-2.patch | 28 +++ 4 files changed, 415 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5d03765f47a1eb23760e3b564616faa7e92990 commit 1a5d03765f47a1eb23760e3b564616faa7e92990 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-11-20 19:03:41 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-11-20 20:39:46 +0000 dev-util/clazy: 1.7-r1 amd64 stable Since llvm-11 was stabilised we need to stabilise this independently. Bug: https://bugs.gentoo.org/749876 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/clazy/clazy-1.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)