Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895696 - dev-cpp/rapidfuzz-cpp-1.10.4 fails to compile (GCC-13-SYSTEM): ocr.hpp:4:26: error: uint8_t was not declared in this scope
Summary: dev-cpp/rapidfuzz-cpp-1.10.4 fails to compile (GCC-13-SYSTEM): ocr.hpp:4:26: ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-02-21 10:14 UTC by Agostino Sarubbo
Modified: 2023-04-18 06:51 UTC (History)
0 users

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

build.log (build.log,165.43 KB, text/plain)
2023-02-21 10:14 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-21 10:14:17 UTC

Issue: dev-cpp/rapidfuzz-cpp-1.10.4 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-21 10:14:19 UTC
Created attachment 853466 [details]

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

FAILED: test/distance/CMakeFiles/test_DamerauLevenshtein.dir/examples/ocr.cpp.o 
FAILED: test/distance/CMakeFiles/test_Hamming.dir/examples/ocr.cpp.o 
FAILED: test/distance/CMakeFiles/test_Indel.dir/examples/ocr.cpp.o 
FAILED: test/distance/CMakeFiles/test_Jaro.dir/examples/ocr.cpp.o 
FAILED: test/distance/CMakeFiles/test_LCSseq.dir/examples/ocr.cpp.o 
FAILED: test/distance/CMakeFiles/test_Levenshtein.dir/examples/ocr.cpp.o 
FAILED: test/distance/CMakeFiles/test_OSA.dir/examples/ocr.cpp.o 
/var/tmp/portage/dev-cpp/rapidfuzz-cpp-1.10.4/work/rapidfuzz-cpp-1.10.4/test/distance/examples/ocr.hpp:4:26: error: ‘uint8_t’ was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2023-04-18 06:51:02 UTC
The bug has been closed via the following commit(s):

commit 945021e9f79c8a7d1c443f2c472c883db3b877f0
Author:     Sam James <>
AuthorDate: 2023-04-18 06:36:02 +0000
Commit:     Sam James <>
CommitDate: 2023-04-18 06:50:47 +0000

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

 .../files/rapidfuzz-cpp-1.11.2-gcc13.patch         | 22 ++++++++++++++++++++++
 dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.11.2.ebuild  |  4 ++++
 2 files changed, 26 insertions(+)