Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631194 - dev-qt/qt-creator-4.3.1 with sys-devel/clang-5.0.0:5 - source/locationsourcefilecallbacks.h:64:10: error: ‘bool ClangBackEnd::LocationSourceFileCallbacks::handleBeginSource(clang::CompilerInstance&, llvm::StringRef)’ marked ‘override’, but does not overri
Summary: dev-qt/qt-creator-4.3.1 with sys-devel/clang-5.0.0:5 - source/locationsourcef...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 11:24 UTC by Dennis Schridde
Modified: 2017-10-09 06:37 UTC (History)
6 users (show)

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


Attachments
build.log (xz-compressed) (build.log.xz,96.66 KB, application/x-xz)
2017-09-17 11:25 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2017-09-17 11:24:54 UTC
dev-qt/qt-creator-4.3.1 should set LLVM_MAX_SLOT, define llvm_check_deps() and set DEPEND in a way that limits the allowed slots of sys-devel/clang to versions that it supports, as documented in llvm.eclass.

dev-qt/qt-creator-4.3.1 fails to build with sys-devel/clang:5 with following error:
In file included from source/symbolfinder.h:31:0,
                 from source/symbolfinder.cpp:26:
source/locationsourcefilecallbacks.h: At global scope:
source/locationsourcefilecallbacks.h:64:10: error: ‘bool ClangBackEnd::LocationSourceFileCallbacks::handleBeginSource(clang::CompilerInstance&, llvm::StringRef)’ marked ‘override’, but does not override
     bool handleBeginSource(clang::CompilerInstance &compilerInstance,
          ^~~~~~~~~~~~~~~~~
Comment 1 Dennis Schridde 2017-09-17 11:25:19 UTC
Created attachment 494812 [details]
build.log (xz-compressed)
Comment 2 David Hallas 2017-09-18 11:43:40 UTC
I encountered the same issue when building qt-creator-4.3.1 with clang-5 and it appears to be fixed in qt-creator-4.4.0. I have a version bump request here #630870. I also looked in the upstream bug tracker, but I couldn't find a bugreport for this issue.
Comment 3 Larry the Git Cow gentoo-dev 2017-10-08 23:48:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58641f1052356f3da0fec847a6ce33c40995832b

commit 58641f1052356f3da0fec847a6ce33c40995832b
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2017-10-08 23:48:31 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2017-10-08 23:48:31 +0000

    dev-qt/qt-creator: restrict max clang version
    
    Closes: https://bugs.gentoo.org/631194
    Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-qt/qt-creator/qt-creator-4.3.1.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
Comment 4 Dennis Schridde 2017-10-09 06:37:37 UTC
(In reply to Larry the Git Cow from comment #3)
> The bug has been closed via the following commit(s):

Thanks, Davide!