Created attachment 630156 [details] build.log * Detail of EscapeSequenceTest/writeEscapeSequence test failure: ../jsoncpp-1.9.2/src/test_lib_json/main.cpp(3370): expected == result Expected: '["\"","\\","\b","\f","\n","\r","\t","\u0278","\ud852\udf62"] ' Actual : '["\"","\\","\b","\f","\n","\r","\t","ɸ","𤭢"] Exceeded stackLimit in readValue(). Failed to parse input file: * Line 1, Column 5 Missing ',' or ']' in array declaration
Created attachment 630158 [details] testlog.txt
Created attachment 630160 [details] emerge --info
I can't reproduce this. At first I thought it's locale-related but it seems that the tests are run with en_US.utf8, and I can't reproduce it with that either. To be honest, I don't see code that could be affected by arch either. Can you reproduce on another system? Any suggestion what could be affecting it?
https://github.com/open-source-parsers/jsoncpp/pull/1120 fixes it; on arm arch, char is unsigned when not specified. Is "Exceeded stackLimit in readValue()" expected and only writeEscapeSequence has actual failure?
Oh nice. I haven't looked at the other problem yet. Could you try testing upstream's git to see the current status? I can make a snapshot later.
I've applied the patch to 1.9.2-r2, and the test passes now.
I was hoping you'd check whether the stack problem is resolved in git HEAD too.
I meant, the whole test suite passed, and the package got merged to my system. The stack message is still in the test log, but it looks like that's not a failure.
Re git HEAD: since there's no 9999 version in portage, that's hard for me to do. And I feel too lazy now adding the 9999 ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b411be38a6e8a69a290ffd2551e1e502dae78a54 commit b411be38a6e8a69a290ffd2551e1e502dae78a54 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-04-13 11:38:06 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-04-13 12:07:29 +0000 dev-libs/jsoncpp: Bump to 1.9.3_pre20200412 snapshot Closes: https://bugs.gentoo.org/716254 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-libs/jsoncpp/Manifest | 1 + dev-libs/jsoncpp/jsoncpp-1.9.3_pre20200412.ebuild | 47 +++++++++++++++++++++++ 2 files changed, 48 insertions(+)