Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667556 - dev-util/creduce-2.8.0_pre20180411 : /.../ExpressionDetector.cpp:62:8: error: void {anonymous}::IncludesPPCallbacks::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clan
Summary: dev-util/creduce-2.8.0_pre20180411 : /.../ExpressionDetector.cpp:62:8: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-02 15:02 UTC by Toralf Förster
Modified: 2018-10-04 17:07 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.15 KB, text/plain)
2018-10-02 15:02 UTC, Toralf Förster
Details
dev-util:creduce-2.8.0_pre20180411:20181001-201010.log (dev-util:creduce-2.8.0_pre20180411:20181001-201010.log,40.86 KB, text/plain)
2018-10-02 15:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,293.98 KB, text/plain)
2018-10-02 15:02 UTC, Toralf Förster
Details
environment (environment,110.27 KB, text/plain)
2018-10-02 15:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.21 KB, application/x-bzip)
2018-10-02 15:02 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.45 KB, application/x-bzip)
2018-10-02 15:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.43 KB, application/x-bzip)
2018-10-02 15:02 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 2018-10-02 15:02:09 UTC
 /// #pragma omp declare reduction (foo : int,float : omp_out += omp_in) \
 ^
/var/tmp/portage/dev-util/creduce-2.8.0_pre20180411/work/creduce-48e622ba74bc35c5a81299d3a34b9b14038d6a70/clang_delta/ExpressionDetector.cpp:62:8: error: ‘void {anonymous}::IncludesPPCallbacks::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clang::FileEntry*, llvm::StringRef, llvm::StringRef, const clang::Module*)’ marked ‘override’, but does not override
   void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
        ^~~~~~~~~~~~~~~~~~
In file included from /usr/lib/llvm/7/include/llvm/ADT/STLExtras.h:21,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20180922-101345

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv dev-util/creduce
[ebuild  N    ] dev-util/creduce-2.8.0_pre20180411 

!!! The following installed packages are masked:
- dev-python/python-xcaplib-1.1.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (30 Sep 2018)
# Poor quality NIH ebuilds with multiple issues and lack of test suites.
# They do not support Python 3 (even if somebody claimed otherwise,
# completely ignoring all the errors during install phase), depend
# on old Twisted packages and have no reverse dependencies in ::gentoo.
# Removal in 30 days.  Bug #667354.

- dev-python/python-application-2.1.0::gentoo (masked by: package.mask)
- dev-python/python-cjson-1.2.1::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-10-02 15:02:12 UTC
Created attachment 548814 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-02 15:02:15 UTC
Created attachment 548816 [details]
dev-util:creduce-2.8.0_pre20180411:20181001-201010.log
Comment 3 Toralf Förster gentoo-dev 2018-10-02 15:02:18 UTC
Created attachment 548818 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-10-02 15:02:21 UTC
Created attachment 548820 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-10-02 15:02:24 UTC
Created attachment 548822 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-02 15:02:27 UTC
Created attachment 548824 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-10-02 15:02:30 UTC
Created attachment 548826 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-10-03 08:54:59 UTC
The bug has been closed via the following commit(s):

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

commit a8bccf896110a7b85728385bf416b8bddd6a51df
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-10-03 08:04:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-03 08:04:06 +0000

    dev-util/creduce: Restrict newest snap to Clang-6
    
    Closes: https://bugs.gentoo.org/667556
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-util/creduce/creduce-2.8.0_pre20180411.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 Steffen Hau 2018-10-03 23:07:34 UTC
No need to pin creduce to LLVM 6, just apply this commit conditionally if clang7 is installed: https://github.com/csmith-project/creduce/commit/c0d9c3a2ef763eb09f0a70b8ad86250598549487
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-10-04 16:47:04 UTC
(In reply to Steffen Hau from comment #9)
> No need to pin creduce to LLVM 6, just apply this commit conditionally if
> clang7 is installed:
> https://github.com/csmith-project/creduce/commit/
> c0d9c3a2ef763eb09f0a70b8ad86250598549487

Thanks, I'm going to backport it as -r1.
Comment 11 Larry the Git Cow gentoo-dev 2018-10-04 17:07:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400e84dbd725778f242320820c530c7e3c322488

commit 400e84dbd725778f242320820c530c7e3c322488
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-10-04 16:46:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-04 17:07:17 +0000

    dev-util/creduce: backport LLVM-7 support patch
    
    Bug: https://bugs.gentoo.org/667556
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../creduce/creduce-2.8.0_pre20180411-r1.ebuild    | 44 +++++++++++
 dev-util/creduce/files/creduce-llvm-7.patch        | 90 ++++++++++++++++++++++
 2 files changed, 134 insertions(+)