Nightly GitHub Action failure: implicit declaration of function 'arc4random_uniform'
robert-scheck opened this issue · comments
Our nightly GitHub Action for the container image fails since yesterday with:
86.51 85 | } ASN1_SEQUENCE_END(Manifest);
86.51 | ^~~~~~~~
86.63 mft.c: In function 'mft_parse_filehash':
86.64 mft.c:264:27: error: implicit declaration of function 'arc4random_uniform' [-Werror=implicit-function-declaration]
86.64 264 | new_idx = arc4random_uniform(p->res->filesz + 1);
86.64 | ^~~~~~~~~~~~~~~~~~
87.23 cc1: some warnings being treated as errors
87.23 make[1]: *** [Makefile:792: rpki_client-mft.o] Error 1
Fixed via #95