Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908497 - dev-cpp/jwt-cpp-0.6.0 fails to compile: base.h:90:33: error: uint32_t was not declared in this scope
Summary: dev-cpp/jwt-cpp-0.6.0 fails to compile: base.h:90:33: error: uint32_t was not...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oliver Freyermuth
Keywords: PullRequest
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-06-14 15:07 UTC by Agostino Sarubbo
Modified: 2023-06-14 19:42 UTC (History)
2 users (show)

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

build.log (build.log,75.04 KB, text/plain)
2023-06-14 15:07 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-06-14 15:07:07 UTC

Issue: dev-cpp/jwt-cpp-0.6.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-14 15:07:09 UTC
Created attachment 863824 [details]

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

-- Could NOT find jsoncons (missing: jsoncons_DIR)
FAILED: tests/CMakeFiles/jwt-cpp-test.dir/BaseTest.cpp.o 
/var/tmp/portage/dev-cpp/jwt-cpp-0.6.0/work/jwt-cpp-0.6.0/include/jwt-cpp/base.h:90:33: error: ‘uint32_t’ was not declared in this scope
Comment 3 Oliver Freyermuth 2023-06-14 19:11:09 UTC
Many thanks for reporting, indeed this is =gcc-13 specific. Upstream has already patched it, but has not released a new version yet:

I'll create a PR adding the patch downstream soon.
Comment 4 Larry the Git Cow gentoo-dev 2023-06-14 19:42:22 UTC
The bug has been closed via the following commit(s):

commit 7988d3b88a7b4ec99a57886f2ec8bed6fc7a2b45
Author:     Oliver Freyermuth <>
AuthorDate: 2023-06-14 19:31:01 +0000
Commit:     Sam James <>
CommitDate: 2023-06-14 19:41:38 +0000

    dev-cpp/jwt-cpp: add patch for gcc 13
    Signed-off-by: Oliver Freyermuth <>
    Signed-off-by: Sam James <>

 dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch | 14 ++++++++++++++
 dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild            |  3 +++
 2 files changed, 17 insertions(+)