-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Humble] Buildfarm error: JsonCpp::JsonCpp already exists #146
Comments
As found by Steven! this looks to be an issue upstream in jsoncpp open-source-parsers/jsoncpp#1356 It seems that the packaged version in debian/ubuntu has the effected version Jammy and newer: https://packages.ubuntu.com/search?keywords=jsoncpp&searchon=names/1000 and bookworm and newer: https://packages.debian.org/search?searchon=names&keywords=libjsoncpp I don't see the debian packaging tracker aware of this: https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libjsoncpp-dev;dist=unstable @roehling appears to be the maintainer. |
There is an open pull request to fix the issue: open-source-parsers/jsoncpp#1491 |
Thanks for the info @roehling and getting that patch in promptly. At least we're only dealing with the older distros. That explains why we're seeing an issue only in Humble. Presumably this has now regressed because a dependency has added jsoncpp as a dependency and that's why we're hitting the double declaration And with Ubuntu's release policy it's unlikely that we can get a backport for jammy It looks like others have worked around this with a conditional around find_package(jsoncpp) such as trajopt: https://github.com/tesseract-robotics/trajopt/pull/288/files#diff-03702408a8d57132c3bcc29cbc672c295570a142a773ee85b4f78279f16fdfa3R16-R18 For getting this compiling that will likely be the best solution. |
What's the timeline on a fix? If we're talking about a week or two, we can just leave it. If its months, then probably worth a patch and re-release |
I'm seeing this error on the buildfarm on Humble. It seems that ROS 2 Ouster hasn't changed on Humble since February, so I take it that an upstream dependency has changed.
Here is a link to a failing job:
https://build.ros2.org/view/Hbin_uJ64/job/Hbin_uJ64__ros2_ouster__ubuntu_jammy_amd64__binary/89/
Here is what I believe to be the error from the log:
The text was updated successfully, but these errors were encountered: