On 4/22/20 6:18 AM, Ryan Marsaw via blfs-dev wrote:
Hello all.
The latest json-c breaks the cryptsetup package with the following:
[...]
In file included from lib/luks2/luks2_disk_metadata.c:24:
lib/luks2/luks2_internal.h:61:10: error: conflicting types for
'json_object_get_uint64'
61 | uint64_t json_object_get_uint64(json_object *jobj);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/json-c/json.h:27,
from lib/luks2/luks2_internal.h:27,
from lib/luks2/luks2_disk_metadata.c:24:
/usr/include/json-c/json_object.h:725:22: note: previous declaration
of 'json_object_get_uint64' was here
725 | JSON_EXPORT uint64_t json_object_get_uint64(const struct
json_object *obj);
| ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:2072:
lib/luks2/libcryptsetup_la-luks2_disk_metadata.lo] Error 1
[...]
Here's the link to the upstream commit:
https://gitlab.com/cryptsetup/cryptsetup/-/commit/604abec333a0efb44fd8bc610aa0b1151dd0f612?view=inline
I've create a patch based on the above, in case anyone's interested.
Cheers,
--Ryan
Hi Ryan,
This issue has been fixed at r23019 and should be in the next book
render. Thank you for reporting it! :)
- Doug
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page