Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900677 - sci-libs/trilinos-14.0.0 fails to compile (GCC-13-SYSTEM): Kokkos_MemoryPool.cpp:112:48: error: uint32_t has not been declared
Summary: sci-libs/trilinos-14.0.0 fails to compile (GCC-13-SYSTEM): Kokkos_MemoryPool....
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-03-10 09:34 UTC by Agostino Sarubbo
Modified: 2023-06-18 06:15 UTC (History)
1 user (show)

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

build.log (build.log,870.81 KB, text/plain)
2023-03-10 09:34 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-10 09:34:34 UTC

Issue: sci-libs/trilinos-13.4.1 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-10 09:34:37 UTC
Created attachment 857123 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-10 09:34:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- NOTE: Can't fill in version date files for Trilinos since /var/tmp/portage/sci-libs/trilinos-13.4.1/work/Trilinos-trilinos-release-13-4-1/.git/ does not exist!
-- Setting Trilinos_ENABLE_TriKota=OFF because '/var/tmp/portage/sci-libs/trilinos-13.4.1/work/Trilinos-trilinos-release-13-4-1/packages/TriKota/Dakota' does not exist!
/var/tmp/portage/sci-libs/trilinos-13.4.1/work/Trilinos-trilinos-release-13-4-1/packages/kokkos/core/src/impl/Kokkos_MemoryPool.cpp:112:48: error: ‘uint32_t’ has not been declared
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 09:00:14 UTC
ping, this one should be an easy fix (just a missing include)
Comment 4 Agostino Sarubbo gentoo-dev 2023-05-23 11:11:18 UTC
ci has reproduced this issue with version 14.0.0 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2023-06-18 06:15:53 UTC
The bug has been closed via the following commit(s):

commit 350a29229a4f46312a027e90b35f0a023432ad30
Author:     Matthias Maier <>
AuthorDate: 2023-06-18 06:14:36 +0000
Commit:     Matthias Maier <>
CommitDate: 2023-06-18 06:15:49 +0000

    sci-libs/trilinos: fix compilation with gcc 13
    Signed-off-by: Matthias Maier <>

 .../trilinos-14.0.0-missing_includes_gcc_13.patch  | 24 ++++++++++++++++++++++
 sci-libs/trilinos/trilinos-14.0.0.ebuild           |  1 +
 2 files changed, 25 insertions(+)