Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939711 - dev-debug/bpftrace-0.21.2-r1 - [ncurses-6.5] [meson-9999] [gcc-15] /.../disasm.h: error: uint64_t has not been declared
Summary: dev-debug/bpftrace-0.21.2-r1 - [ncurses-6.5] [meson-9999] [gcc-15] /.../disas...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Holger Hoffstätte
URL:
Whiteboard:
Keywords: LATER, PullRequest, UPSTREAM
Depends on:
Blocks:
 
Reported: 2024-09-15 14:24 UTC by Toralf Förster
Modified: 2024-12-17 14:35 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.74 KB, text/plain)
2024-09-15 14:24 UTC, Toralf Förster
Details
dev-debug:bpftrace-0.21.2-r1:20240915-112329.log (dev-debug:bpftrace-0.21.2-r1:20240915-112329.log,26.61 KB, text/plain)
2024-09-15 14:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,215.07 KB, text/plain)
2024-09-15 14:24 UTC, Toralf Förster
Details
environment (environment,126.51 KB, text/plain)
2024-09-15 14:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-09-15 14:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.21 KB, application/x-xz)
2024-09-15 14:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.42 KB, application/x-xz)
2024-09-15 14:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.47 KB, application/x-xz)
2024-09-15 14:24 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 2024-09-15 14:24:19 UTC
too long lines were shrinked:

[17/77] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_BFD_DISASM -DHAVE_LIBBPF_UPROBE_MULTI -DHAVE_LIBLLDB -DHAVE_LIBPCAP -DHAVE_NAME_TO_HANDLE_AT=1 -DLIBBFD_DISASM_FOUR_ARGS_SIGNATURE -DLIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE -DSYSTEM_INCLUDE_PATHS=\"auto\" -I/var/tmp/portage/dev-debug/bpftrace-0.21.
[18/77] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_BFD_DISASM -DHAVE_LIBBPF_UPROBE_MULTI -DHAVE_LIBLLDB -DHAVE_LIBPCAP -DHAVE_NAME_TO_HANDLE_AT=1 -DLIBBFD_DISASM_FOUR_ARGS_SIGNATURE -DLIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE -DSYSTEM_INCLUDE_PATHS=\"auto\" -I/var/tmp/portage/dev-debug/bpftrace-0.21.
[19/77] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_BFD_DISASM -DHAVE_LIBBPF_UPROBE_MULTI -DHAVE_LIBLLDB -DHAVE_LIBPCAP -DHAVE_NAME_TO_HANDLE_AT=1 -DLIBBFD_DISASM_FOUR_ARGS_SIGNATURE -DLIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE -DSYSTEM_INCLUDE_PATHS=\"auto\" -I/var/tmp/portage/dev-debug/bpftrace-0.21.
FAILED: src/CMakeFiles/runtime.dir/disasm.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_BFD_DISASM -DHAVE_LIBBPF_UPROBE_MULTI -DHAVE_LIBLLDB -DHAVE_LIBPCAP -DHAVE_NAME_TO_HANDLE_AT=1 -DLIBBFD_DISASM_FOUR_ARGS_SIGNATURE -DLIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE -DSYSTEM_INCLUDE_PATHS=\"auto\" -I/var/tmp/portage/dev-debug/bpftrace-0.21.2-r1/wor
In file included from /var/tmp/portage/dev-debug/bpftrace-0.21.2-r1/work/bpftrace-0.21.2/src/disasm.cpp:1:
/var/tmp/portage/dev-debug/bpftrace-0.21.2-r1/work/bpftrace-0.21.2/src/disasm.h:12:33: error: uint64_t has not been declared
   12 |   virtual AlignState is_aligned(uint64_t offset, uint64_t pc) = 0;
      |                                 ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_test-20240910-192132

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  /etc/portage/package.unmask/50unstable:<dev-build/meson-9999
    Requested by sam
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit ac565ad2647e85a3c151c0cc99c6e12c5ee9537b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 15 09:04:20 2024 +0000

    2024-09-15 09:04:20 UTC

emerge -qpvO =dev-debug/bpftrace-0.21.2-r1
[ebuild  N    ] dev-debug/bpftrace-0.21.2-r1  USE="lldb -test"
Comment 1 Toralf Förster gentoo-dev 2024-09-15 14:24:20 UTC
Created attachment 903045 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-15 14:24:21 UTC
Created attachment 903046 [details]
dev-debug:bpftrace-0.21.2-r1:20240915-112329.log
Comment 3 Toralf Förster gentoo-dev 2024-09-15 14:24:22 UTC
Created attachment 903047 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-15 14:24:23 UTC
Created attachment 903048 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-15 14:24:24 UTC
Created attachment 903049 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-15 14:24:25 UTC
Created attachment 903050 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-15 14:24:26 UTC
Created attachment 903051 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-15 14:24:28 UTC
Created attachment 903052 [details]
temp.tar.xz
Comment 9 Holger Hoffstätte 2024-09-15 15:06:47 UTC
Known problem & already fixed upstream. Will be resolved with next version.
Comment 10 Larry the Git Cow gentoo-dev 2024-12-17 14:35:26 UTC
The bug has been closed via the following commit(s):

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

commit 8f506bd2f62493dda21b28b51a04912d4eb2c2af
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2024-12-17 12:53:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-17 14:34:55 +0000

    dev-debug/bpftrace: add 0.21.3
    
    This minor update switches to llvm-r1 and fixes building with
    gcc-15 and LTO.
    
    Closes: https://bugs.gentoo.org/939711
    Closes: https://bugs.gentoo.org/945342
    Closes: https://bugs.gentoo.org/946095
    Closes: https://bugs.gentoo.org/946097
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/bpftrace/Manifest                        |  2 +
 dev-debug/bpftrace/bpftrace-0.21.3.ebuild          | 99 ++++++++++++++++++++++
 .../files/bpftrace-0.21.3-allow-llvm-19.patch      | 18 ++++
 .../bpftrace/files/bpftrace-0.21.3-cstdint.patch   | 28 ++++++
 dev-debug/bpftrace/files/bpftrace-0.21.3-odr.patch | 37 ++++++++
 5 files changed, 184 insertions(+)