Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711642 - dev-util/clazy-1.5-r1 : /.../TrailingObjects.h: error: is_final is not a member of std
Summary: dev-util/clazy-1.5-r1 : /.../TrailingObjects.h: error: is_final is not a memb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: llvm-10
  Show dependency tree
 
Reported: 2020-03-05 21:51 UTC by Toralf Förster
Modified: 2020-04-09 21:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.74 KB, text/plain)
2020-03-05 21:51 UTC, Toralf Förster
Details
dev-util:clazy-1.5-r1:20200305-142848.log (dev-util:clazy-1.5-r1:20200305-142848.log,130.08 KB, text/plain)
2020-03-05 21:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,14.87 KB, text/plain)
2020-03-05 21:51 UTC, Toralf Förster
Details
environment (environment,83.71 KB, text/plain)
2020-03-05 21:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.32 KB, application/x-bzip)
2020-03-05 21:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.43 KB, application/x-bzip)
2020-03-05 21:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.49 KB, application/x-bzip)
2020-03-05 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 2020-03-05 21:51:46 UTC
                 from /var/tmp/portage/dev-util/clazy-1.5-r1/work/clazy-1.5/src/checks/detachingbase.cpp:25:
/usr/lib/llvm/10/include/llvm/Support/TrailingObjects.h: In static member function static void llvm::TrailingObjects<BaseTy, TrailingTys>::verifyTrailingObjectsAssertions():
/usr/lib/llvm/10/include/llvm/Support/TrailingObjects.h:253:24: error: is_final is not a member of std
  253 |     static_assert(std::is_final<BaseTy>(), "BaseTy must be final.");
      |                        ^~~~~~~~
/usr/lib/llvm/10/include/llvm/Support/TrailingObjects.h:253:39: error: expected primary-expression before > token

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200304-213403

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 05 Mar 2020 06:13:57 +0000

emerge -qpvO dev-util/clazy
[ebuild  N    ] dev-util/clazy-1.5-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-05 21:51:49 UTC
Created attachment 617240 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-05 21:51:52 UTC
Created attachment 617242 [details]
dev-util:clazy-1.5-r1:20200305-142848.log
Comment 3 Toralf Förster gentoo-dev 2020-03-05 21:51:54 UTC
Created attachment 617244 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-05 21:51:57 UTC
Created attachment 617246 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-05 21:52:00 UTC
Created attachment 617248 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-05 21:52:03 UTC
Created attachment 617250 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-05 21:52:06 UTC
Created attachment 617252 [details]
temp.tbz2
Comment 8 Jan-Matthias Braun 2020-03-15 15:18:05 UTC
Fails to work with llvm / clang 10. The same holds for the clazy 1.6 release.
Forcing clazy 1.6 compilation to the llvm 9-series makes it emerge again.
Comment 9 Larry the Git Cow gentoo-dev 2020-03-22 20:41:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e14430d234cf9e4da6856cafaec46fec1dc3fb0

commit 2e14430d234cf9e4da6856cafaec46fec1dc3fb0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-03-22 19:15:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-22 20:40:43 +0000

    dev-util/clazy: Pin to <sys-devel/clang-10
    
    Bug: https://bugs.gentoo.org/711642
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/clazy/clazy-1.5-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2020-04-09 21:37:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014cfb8ff4491f6122312b8f2ba11eda28427af5

commit 014cfb8ff4491f6122312b8f2ba11eda28427af5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-04-09 15:58:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-04-09 21:36:24 +0000

    dev-util/clazy: Fix build with >=sys-devel/clang-10
    
    Closes: https://bugs.gentoo.org/711642
    Package-Manager: Portage-2.3.98, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/clazy/clazy-1.6-r1.ebuild           | 50 +++++++++++++++++++
 dev-util/clazy/files/clazy-1.6-llvm-10.patch | 75 ++++++++++++++++++++++++++++
 2 files changed, 125 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a37476f9a524d498204ba6242ac358de3041653

commit 4a37476f9a524d498204ba6242ac358de3041653
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-04-09 18:57:20 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-04-09 21:36:24 +0000

    dev-util/clazy: Allow to link against single clang-cpp lib
    
    Bug: https://bugs.gentoo.org/711642
    Package-Manager: Portage-2.3.98, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/clazy/clazy-1.6-r1.ebuild             |  5 ++-
 dev-util/clazy/files/clazy-1.6-clang-cpp.patch | 60 ++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 1 deletion(-)