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

Bug 895122

Summary: app-admin/clog-1.3.0-r1 fails to compile (GCC-13-SYSTEM): JSON2.h:48:34: error: uint64_t has not been declared
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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-17 13:18:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/clog-1.3.0-r1 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-17 13:18:04 UTC
Created attachment 852222 [details]
build.log

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


FAILED: src/CMakeFiles/libshared.dir/libshared/src/JSON2.cpp.o 
/var/tmp/portage/app-admin/clog-1.3.0-r1/work/clog-1.3.0/src/libshared/src/JSON2.h:48:34: error: ‘uint64_t’ has not been declared
Comment 3 Larry the Git Cow gentoo-dev 2023-04-18 07:19:56 UTC
The bug has been closed via the following commit(s):

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

commit df018b4e4c6a9598a9060668270d503e6405a473
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-18 07:14:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-18 07:15:48 +0000

    app-admin/clog: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/895122
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/clog/clog-1.3.0-r1.ebuild         |  9 ++++++---
 app-admin/clog/files/clog-1.3.0-gcc13.patch | 11 +++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)