-
Notifications
You must be signed in to change notification settings - Fork 24
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
head build with kodi 18.0rc5.2-Leia fails if system jsoncpp is installed, and v > 1.8.3 #80
Comments
#75 isn't merged. Can't possibly be anything to do with it. Also 75 does not have the bump to 1.8.4. All pvr add-ons using jsoncpp are currently built against 1.8.3 |
ok, then no clue here yet. any specific add'l info I can provide that'd be helpful in ident'ing the problem? It's some recent change -- my last successful build was ~ a month ago,
|
I haven't tried to build this on Linux in years, but I successfully built it on Windows on 2019-01-12. I'll pull the code and see if it builds for me on Linux later today, if you haven't gotten to the bottom of this before then. |
this issue's apparently a collision between the addon-pulled jsoncpp v1.8.3, and the distro-installed v1.8.4 on a completely clean build,
here, pkg-config default picks up the 1.8.4 version,
removing system jsoncpp
repeating cmake+make, now's OK
as to why this has changed build behavior, checking on my distro
3-days AFTER my prior, successful builds had system-installed jsoncpp v1.8.3 |
and the pkg find is currently version-agnostic,
|
Verifying it's the pkg-config biz, and not the v1.8.4 jsoncpp with system installed json 1.8.4
AND, new, local builds of
(1) clean building pvr.hdhomerun with local, jsoncpp 1.8.3
(2) with jsconcpp 1.8.4
(3) and with NO local jsconcpp,
|
These 2 issues are looking like they are duplicates. As @MilhouseVH found out, it looks like its only become an issue with GCC8.3.0 (and some unstable versions of 8.2.0). SD upstream library is redefining alignas keyword. ie, its not actually anything to do with jsoncpp, but with the SD library the addon uses. Check your GCC version, and i would guess its going to be an updated version that uses the alignas keyword in their headers (validly). |
Building head,
on linux, with just-upgraded,
and
make fails
This is a new problem; builds were working not that long ago.
It's reproducible on all my boxes.
At this point, I have just a suspicion - as yet, unverified - that this is related to jsoncpp 1.8.4 (related to @fuzzard 's PR here: #75 ?)
The text was updated successfully, but these errors were encountered: