Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937722 - dev-debug/apitrace-9.0-r5 - [icu-75.1] [gcc-15] /.../metric_writer.cpp: error: uint64_t does not name a type
Summary: dev-debug/apitrace-9.0-r5 - [icu-75.1] [gcc-15] /.../metric_writer.cpp: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-10 15:01 UTC by Toralf Förster
Modified: 2024-08-25 15:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2024-08-10 15:01 UTC, Toralf Förster
Details
dev-debug:apitrace-9.0-r5:20240810-144320.log (dev-debug:apitrace-9.0-r5:20240810-144320.log,178.35 KB, text/plain)
2024-08-10 15:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,71.71 KB, text/plain)
2024-08-10 15:02 UTC, Toralf Förster
Details
environment (environment,151.59 KB, text/plain)
2024-08-10 15:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-08-10 15:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.89 KB, application/x-xz)
2024-08-10 15:02 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,164.33 KB, text/plain)
2024-08-10 15:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.61 KB, application/x-xz)
2024-08-10 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 2024-08-10 15:01:58 UTC
too long lines were shrinked:

[124/199] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_HAS_TR1_TUPLE=0 -DHAVE_BACKTRACE=1 -DHAVE_X11 -DRETRACE -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitrace-9.0/thirdparty/gtest/include -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/w
[125/199] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_HAS_TR1_TUPLE=0 -DHAVE_BACKTRACE=1 -DHAVE_X11 -DRETRACE -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitrace-9.0/thirdparty/gtest/include -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/w
[126/199] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_HAS_TR1_TUPLE=0 -DHAVE_BACKTRACE=1 -DHAVE_X11 -DRETRACE -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitrace-9.0/thirdparty/gtest/include -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/w
FAILED: retrace/CMakeFiles/glretrace_common.dir/metric_writer.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_HAS_TR1_TUPLE=0 -DHAVE_BACKTRACE=1 -DHAVE_X11 -DRETRACE -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitrace-9.0/thirdparty/gtest/include -I/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitra
/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitrace-9.0/retrace/metric_writer.cpp: In static member function static void ProfilerQuery::writeMetricEntryCallback(Metric*, int, void*, int, void*):
/var/tmp/portage/dev-debug/apitrace-9.0-r5/work/apitrace-9.0/retrace/metric_writer.cpp:50:70: error: uint64_t does not name a type
   50 |         case CNT_NUM_UINT64: std::cout << "\t" << *(reinterpret_cast<uint64_t*>(data)); break;
      |                                                                      ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20240808-202015

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  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.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *

  HEAD of ::gentoo
commit 5aaf5c6de4c56b795d5a9bcd1aca3c4611f9ee4a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 10 14:03:57 2024 +0000

    2024-08-10 14:03:57 UTC

emerge -qpvO =dev-debug/apitrace-9.0-r5
[ebuild  N    ] dev-debug/apitrace-9.0-r5  USE="X qt5" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-08-10 15:01:59 UTC
Created attachment 899781 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-10 15:02:00 UTC
Created attachment 899782 [details]
dev-debug:apitrace-9.0-r5:20240810-144320.log
Comment 3 Toralf Förster gentoo-dev 2024-08-10 15:02:01 UTC
Created attachment 899783 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-10 15:02:03 UTC
Created attachment 899784 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-10 15:02:04 UTC
Created attachment 899785 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-10 15:02:05 UTC
Created attachment 899786 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-10 15:02:06 UTC
Created attachment 899787 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-08-10 15:02:07 UTC
Created attachment 899788 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-08-25 15:41:28 UTC
The bug has been closed via the following commit(s):

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

commit 17a37d4490b443f50c05ca6c35a530af4319d194
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-21 12:57:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-25 15:39:43 +0000

    dev-debug/apitrace: 9.0-r5 Fix compilation on GCC 15
    
    Closes: https://bugs.gentoo.org/937722
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38271
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/apitrace/apitrace-9.0-r5.ebuild          |  1 +
 .../files/apitrace-9.0-include-cstdint.patch       | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)