Skip to content

build fails on Fedora 42 #159

@Hendrik-H

Description

@Hendrik-H

Describe the bug
Building the latest code on Fedora 42 fails in abseil-cpp with:

In file included from /usr/include/c++/15/cassert:46,
                 from /home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/container/internal/container_memory.h:18,
                 from /home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/container/flat_hash_map.h:40,
                 from /home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/flags/reflection.h:29,
                 from /home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/flags/reflection.cc:16:
/home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/container/internal/container_memory.h: In function ‘void* absl::lts_20240116::container_internal::Allocate(Alloc*, size_t)’:
/home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/container/internal/container_memory.h:66:27: error: ‘uintptr_t’ does not name a type [-Wtemplate-body]
   66 |   assert(reinterpret_cast<uintptr_t>(p) % Alignment == 0 &&
      |                           ^~~~~~~~~
/home/haddorp/projects/github/gWhisper/build/_deps/grpc-src/third_party/abseil-cpp/absl/container/internal/container_memory.h:31:1: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’

To Reproduce
I cloned the repo and invoked build.sh.

Provide details about your environment

  • Operating System version: Fedora 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions