Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895358 - dev-libs/rocksdb-6.14.6-r2 fails to compile (GCC-13-SYSTEM): compaction_iteration_stats.h:23:3: error: uint64_t does not name a type
Summary: dev-libs/rocksdb-6.14.6-r2 fails to compile (GCC-13-SYSTEM): compaction_itera...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-02-19 08:26 UTC by Agostino Sarubbo
Modified: 2023-04-30 06:38 UTC (History)
0 users

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

build.log (build.log,155.03 KB, text/plain)
2023-02-19 08:26 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-02-19 08:26:52 UTC

Issue: dev-libs/rocksdb-6.14.6-r2 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-02-19 08:26:54 UTC
Created attachment 852808 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-19 08:26:55 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

FAILED: CMakeFiles/rocksdb.dir/db/ 
/var/tmp/portage/dev-libs/rocksdb-6.14.6-r2/work/rocksdb-6.14.6/db/compaction/compaction_iteration_stats.h:23:3: error: ‘uint64_t’ does not name a type
Comment 3 Larry the Git Cow gentoo-dev 2023-04-18 10:24:54 UTC
The bug has been closed via the following commit(s):

commit f389a74eff56c8d514be52b0e4346d2c0decc44f
Author:     Sam James <>
AuthorDate: 2023-04-18 10:24:18 +0000
Commit:     Sam James <>
CommitDate: 2023-04-18 10:24:45 +0000

    dev-libs/rocksdb: fix build w/ gcc 13
    Signed-off-by: Sam James <>

 dev-libs/rocksdb/files/rocksdb-6.14.6-gcc13.patch | 51 +++++++++++++++++++++++
 dev-libs/rocksdb/rocksdb-6.15.5-r1.ebuild         |  1 +
 dev-libs/rocksdb/rocksdb-6.17.3-r1.ebuild         |  1 +
 3 files changed, 53 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-04-30 06:38:20 UTC
The bug has been referenced in the following commit(s):

commit 56de4904a6451a9fc6fadc8d39ef7a178d98b3b2
Author:     Sam James <>
AuthorDate: 2023-04-30 06:33:43 +0000
Commit:     Sam James <>
CommitDate: 2023-04-30 06:33:53 +0000

    dev-libs/rocksdb: fix build w/ gcc 13 for 6.14.6-r2
    I missed the oldest ebuild (6.14.6-r2) when fixing the other versions
    for GCC 13 in f389a74eff56c8d514be52b0e4346d2c0decc44f, even though
    the patch is named after this version! Oops.
    Fixes: f389a74eff56c8d514be52b0e4346d2c0decc44f
    Signed-off-by: Sam James <>

 dev-libs/rocksdb/rocksdb-6.14.6-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)