https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-p2p/retroshare-0.6.7-r2 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 913050 [details] build.log build log and emerge --info
This seems like GCC-14 issue -- with gcc-13 it compiles fine. I think it should block https://bugs.gentoo.org/914580. Here's the upstream bug: https://github.com/Tencent/rapidjson/issues/2277 Should I not be able to edit the bug as the maintainer?
No, it's a C23 issue. Please see the tracker.
(In reply to Filip Kobierski from comment #2) > Here's the upstream bug: > https://github.com/Tencent/rapidjson/issues/2277 It doesn't look like that bug at all to me? > > Should I not be able to edit the bug as the maintainer? We don't have some magic for this right now, although I wish we did (BZ properly recognising this). So only the assignee gets to, or someone with editbugs privileges.
After looking into this it unfortunately is what I hoped we could get away with: It's a matter of how the package is distributed (OBS). Upstream bundles the required libraries, rapidjosn being one of them. It seems to me like it must ship an old version, since the rapidjson's include/document.h differs from what I can se at github. The fix for this was merged in 2016... I have added a fix for this to a PR of mine: https://github.com/gentoo/gentoo/pull/39471 However I am afraid that this is a sign that we should swap the upstream from OBS to github which I don't think will be an easy task.
I still think you're barking up the wrong tree. rapidjson is C++ and the ebuild depends on the rapidjson package. Is it possible that it's not using that and it's using a bundled ancient copy? Yes. Where are you seeing rapidjson errors in this log? But I don't see any error messages wrt rapidjson, or constness of operators in the log. I _do_ see... ``` openpgpsdk/packet-parse.c:1514:19: error: two or more data types in declaration specifiers 1514 | unsigned char bool[1]=""; | ^~~~ ``` which is a C23 issue and unrelated to rapidjson.
> I still think you're barking up the wrong tree. That's it. I just found another bug and assumed this is it. Sorry for the fuss.