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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oliver Freyermuth
URL:
Whiteboard:
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: ---


Attachments
build.log (build.log,75.04 KB, text/plain)
2023-06-14 15:07 UTC, Agostino Sarubbo
Details

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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:
https://github.com/Thalhammer/jwt-cpp/pull/287

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

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

commit 7988d3b88a7b4ec99a57886f2ec8bed6fc7a2b45
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2023-06-14 19:31:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-14 19:41:38 +0000

    dev-cpp/jwt-cpp: add patch for gcc 13
    
    Closes: https://bugs.gentoo.org/908497
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31438
    Signed-off-by: Sam James <sam@gentoo.org>

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