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

Bug 895696

Summary: 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
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-21 10:14:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/rapidfuzz-cpp-1.10.4 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945021e9f79c8a7d1c443f2c472c883db3b877f0

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

    dev-cpp/rapidfuzz-cpp: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/895696
    Signed-off-by: Sam James <sam@gentoo.org>

 .../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(+)