Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 801385

Summary: dev-util/bpftrace-0.13.0 - /.../fuzz_main.cpp: fatal error: ast/clang_parser.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:bpftrace-0.13.0:20210709-195030.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-09 20:32:50 UTC
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[22/54] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_BCC_KFUNC -DLLVM_ORC_V2 -DLLVM_VERSION_MAJOR=12 -DLLVM_VERSION_MINOR=0 -DLLVM_VERSION_PATCH=0 -Dbpftraceast_EXPORTS -I/var/tmp/portage/dev-util/bpftrace-0.13.0/work/bpftrace-0.13.0/src -I/var/tmp/portage/dev-util/bpftrace-0.13.0/work/bpftrace-0.13.0/src/ast -I. -isystem /usr/lib/llvm/12/include  -pipe -march=native -fno-diagnostics-color -O2 -fPIC   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Wunreachable-code -Wdisabled-optimization -fdiagnostics-color=always -std=c++17 -MD -MT src/ast/CMakeFiles/bpftraceast.dir/resource_analyser.cpp.o -MF src/ast/CMakeFiles/bpftraceast.dir/resource_analyser.cpp.o.d -o src/ast/CMakeFiles/bpftraceast.dir/resource_analyser.cpp.o -c /var/tmp/portage/dev-util/bpftrace-0.13.0/work/bpftrace-0.13.0/src/ast/resource_analyser.cpp

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

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

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

gcc-config -l:
 [1] 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.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
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
  HEAD of ::gentoo
commit e0c172f76d545eaef954ffc7f5a0056462299cf5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 9 17:52:15 2021 +0000

    2021-07-09 17:52:13 UTC

emerge -qpvO dev-util/bpftrace
[ebuild  N    ] dev-util/bpftrace-0.13.0  USE="fuzzing -test"
Comment 1 Toralf Förster gentoo-dev 2021-07-09 20:32:51 UTC
Created attachment 723001 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-09 20:32:53 UTC
Created attachment 723004 [details]
dev-util:bpftrace-0.13.0:20210709-195030.log
Comment 3 Toralf Förster gentoo-dev 2021-07-09 20:32:55 UTC
Created attachment 723007 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-09 20:32:56 UTC
Created attachment 723010 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-09 20:32:58 UTC
Created attachment 723013 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-09 20:32:59 UTC
Created attachment 723016 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-07-09 20:33:00 UTC
Created attachment 723019 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-11-07 20:59:40 UTC
The bug has been closed via the following commit(s):

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

commit 9af1ceff0ce358bd93f2e54e8f4a7ef496623d45
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-11-07 20:58:17 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-11-07 20:58:40 +0000

    dev-util/bpftrace: Fix includes in fuzz_main.cpp
    
    Closes: https://bugs.gentoo.org/801385
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-util/bpftrace/bpftrace-0.14.0-r3.ebuild           |  1 +
 dev-util/bpftrace/files/bpftrace-0.14.0-fuzzing.patch | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)