Bugzilla – Bug 1075329
openSUSE:Factory/rebootmgr fails to build since json-c update
Last modified: 2018-01-10 09:50:06 UTC
json-c has been updated to version 0.13 on Jan 09 2017
This in turn breaks rebootmgr from building - and this causes the Kubic DVD to be unresolvable
A fix is urgently needed (no snapshot build can finish) - or json-c needs to be reverted (once rebootmgr builds again, I'll promote it to ring2, so it would be seen pre-integration as well; Kubic staging tests are still missing unfortunately)
Ok, the problem is -Werror, I removed that now.
Else it's comparisation between unsigned and signed, what in this case doesn't matter, since we will never reach the end of the signed 64bit integer scope.
Updated package is on the way.
The change in source would be something like
#if JSON_C_VERSION_NUM >= (( 0 << 16) | (13 << 8))
(I found 3 occurences of size_t idx so far)
Always use u_int64_t and remove -Werror, don't make the code too complex ;)
This is an autogenerated message for OBS integration:
This bug (1075329) was mentioned in
https://build.opensuse.org/request/show/563221 Factory / rebootmgr