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

Bug 895146

Summary: dev-cpp/kokkos-3.7.1 - /.../Kokkos_MemoryPool.cpp: error: block_size_lg2 was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: CONFIRMED ---    
Severity: normal CC: ago, jy6x2b32pie9, tamiko
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
dev-cpp:kokkos-3.7.1:20230217-171404.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-02-17 17:18:32 UTC
      |             ^~~~~~~~
/var/tmp/portage/dev-cpp/kokkos-3.7.1/work/kokkos-3.7.01/core/src/impl/Kokkos_MemoryPool.cpp:127:13: note: uint32_t is defined in header <cstdint>; did you forget to #include <cstdint>?
/var/tmp/portage/dev-cpp/kokkos-3.7.1/work/kokkos-3.7.01/core/src/impl/Kokkos_MemoryPool.cpp:128:13: error: uint32_t does not name a type
  128 |       const uint32_t block_used      = (*sb_state_ptr) & state_used_mask;
      |             ^~~~~~~~
/var/tmp/portage/dev-cpp/kokkos-3.7.1/work/kokkos-3.7.01/core/src/impl/Kokkos_MemoryPool.cpp:128:13: note: uint32_t is defined in header <cstdint>; did you forget to #include <cstdint>?
/var/tmp/portage/dev-cpp/kokkos-3.7.1/work/kokkos-3.7.01/core/src/impl/Kokkos_MemoryPool.cpp:131:36: error: block_size_lg2 was not declared in this scope; did you mean sb_size_lg2?
  131 |         << " block_size(" << (1 << block_size_lg2) << ")"
      |                                    ^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20230216-050018

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 931f9faeb50a22b32990413dbf3ea89920d34fdb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Feb 17 15:32:02 2023 +0000

    2023-02-17 15:32:02 UTC

emerge -qpvO dev-cpp/kokkos
[ebuild  N    ] dev-cpp/kokkos-3.7.1  USE="openmp -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-17 17:18:34 UTC
Created attachment 852288 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-17 17:18:35 UTC
Created attachment 852290 [details]
dev-cpp:kokkos-3.7.1:20230217-171404.log
Comment 3 Toralf Förster gentoo-dev 2023-02-17 17:18:38 UTC
Created attachment 852292 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-17 17:18:40 UTC
Created attachment 852294 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-17 17:18:43 UTC
Created attachment 852296 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-17 17:18:46 UTC
Created attachment 852298 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-17 17:18:49 UTC
Created attachment 852300 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-21 10:15:39 UTC
*** Bug 895688 has been marked as a duplicate of this bug. ***
Comment 9 NHO 2024-03-25 09:23:56 UTC
Bug is obsolete, fixed upstream, fixed version is in-tree