Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786525 - dev-util/clazy-1.9 - /.../SuppressionManager.cpp: error: const class clang::SourceManager has no member named getBuffer
Summary: dev-util/clazy-1.9 - /.../SuppressionManager.cpp: error: const class clang::S...
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: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-28 17:23 UTC by Toralf Förster
Modified: 2021-05-01 21:24 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.85 KB, text/plain)
2021-04-28 17:23 UTC, Toralf Förster
Details
dev-util:clazy-1.9:20210428-164925.log (dev-util:clazy-1.9:20210428-164925.log,106.50 KB, text/plain)
2021-04-28 17:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,387.26 KB, text/plain)
2021-04-28 17:23 UTC, Toralf Förster
Details
environment (environment,90.67 KB, text/plain)
2021-04-28 17:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.16 KB, application/x-bzip)
2021-04-28 17:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.55 KB, application/x-bzip)
2021-04-28 17:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.61 KB, application/x-bzip)
2021-04-28 17:23 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-04-28 17:23:40 UTC
/var/tmp/portage/dev-util/clazy-1.9/work/clazy-1.9/src/SuppressionManager.cpp: In member function ‘void SuppressionManager::parseFile(clang::FileID, const clang::SourceManager&, const clang::LangOptions&) const’:
/var/tmp/portage/dev-util/clazy-1.9/work/clazy-1.9/src/SuppressionManager.cpp:87:22: error: ‘const class clang::SourceManager’ has no member named ‘getBuffer’; did you mean ‘getBufferData’?
   87 |     auto buffer = sm.getBuffer(id, &invalid);
      |                      ^~~~~~~~~
      |                      getBufferData
ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.3.0
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 16:35:29 UTC 2021

emerge -qpvO dev-util/clazy
[ebuild  N    ] dev-util/clazy-1.9
Comment 1 Toralf Förster gentoo-dev 2021-04-28 17:23:41 UTC
Created attachment 703401 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 17:23:43 UTC
Created attachment 703404 [details]
dev-util:clazy-1.9:20210428-164925.log
Comment 3 Toralf Förster gentoo-dev 2021-04-28 17:23:45 UTC
Created attachment 703407 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-28 17:23:46 UTC
Created attachment 703410 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-28 17:23:47 UTC
Created attachment 703413 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 17:23:48 UTC
Created attachment 703416 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-28 17:23:50 UTC
Created attachment 703419 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2021-05-01 21:24:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d7a5b482f6282eaefdb28ceda51f2ec99056f8

commit 10d7a5b482f6282eaefdb28ceda51f2ec99056f8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-01 20:18:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-01 21:21:56 +0000

    dev-util/clazy: Fix build with LLVM-12/13
    
    Closes: https://bugs.gentoo.org/786525
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/clazy/clazy-1.9.ebuild             |  2 +
 dev-util/clazy/files/clazy-1.9-llvm12.patch | 88 +++++++++++++++++++++++++++++
 dev-util/clazy/files/clazy-1.9-llvm13.patch | 31 ++++++++++
 3 files changed, 121 insertions(+)