Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824986 - dev-util/clazy-1.10 - /.../SourceCompatibilityHelpers.h: error: use of deleted function clang::Lexer::Lexer(const clang::Lexer&)
Summary: dev-util/clazy-1.10 - /.../SourceCompatibilityHelpers.h: error: use of delete...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 16:39 UTC by Toralf Förster
Modified: 2021-12-13 00:11 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.67 KB, text/plain)
2021-11-19 16:39 UTC, Toralf Förster
Details
dev-util:clazy-1.10:20211119-064448.log (dev-util:clazy-1.10:20211119-064448.log,11.49 KB, text/plain)
2021-11-19 16:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,67.19 KB, text/plain)
2021-11-19 16:39 UTC, Toralf Förster
Details
environment (environment,88.20 KB, text/plain)
2021-11-19 16:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.68 KB, application/x-bzip)
2021-11-19 16:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.61 KB, application/x-bzip)
2021-11-19 16:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.28 KB, application/x-bzip)
2021-11-19 16:39 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 2021-11-19 16:39:20 UTC
too long lines were shrinked:

                 from /var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/checkmanager.h:28,
                 from /var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/Clazy.h:28,
                 from /var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/ClazyStandaloneMain.cpp:24:
/var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/SourceCompatibilityHelpers.h: In function ‘clang::Lexer clazy::getLexer(clang::FileID, llvm::Optional<llvm::MemoryBufferRef>, const clang::SourceManager&, const clang::LangOptions&)’:
/var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/SourceCompatibilityHelpers.h:123:57: error: use of deleted function ‘clang::Lexer::Lexer(const clang::Lexer&)’
  123 |     return clang::Lexer(id, inputFile.getValue(), sm, lo);
      |                                                         ^
In file included from /var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/SourceCompatibilityHelpers.h:33,
                 from /var/tmp/portage/dev-util/clazy-1.10/work/clazy-1.10/src/checkbase.h:29,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20211118-200034

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit eef26882e0b0aa7067274853bfa63ff76623fa59
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 19 05:36:35 2021 +0000

    2021-11-19 05:36:35 UTC

emerge -qpvO dev-util/clazy
[ebuild  N    ] dev-util/clazy-1.10
Comment 1 Toralf Förster gentoo-dev 2021-11-19 16:39:22 UTC
Created attachment 753162 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-19 16:39:23 UTC
Created attachment 753166 [details]
dev-util:clazy-1.10:20211119-064448.log
Comment 3 Toralf Förster gentoo-dev 2021-11-19 16:39:24 UTC
Created attachment 753170 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-19 16:39:26 UTC
Created attachment 753174 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-19 16:39:27 UTC
Created attachment 753178 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-19 16:39:28 UTC
Created attachment 753182 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-19 16:39:29 UTC
Created attachment 753186 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-12-13 00:11:39 UTC
The bug has been closed via the following commit(s):

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(-)