mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
670eafbddb23455da264c05ecb2f2d67141d5814
In commit770f915497, libjwt was bumped from 1.17.2 to 3.2.0, which is a big bump. And the libjwt website states "Version 3 of LibJWT is a complete overhaul of the code. Please see documentation for usage." And indeed, this version bump breaks the build of Asterisk: res_stir_shaken/attestation.c: In function 'pack_payload': res_stir_shaken/attestation.c:357:9: error: implicit declaration of function 'jwt_add_grants_json' [-Wimplicit-function-declaration] 357 | jwt_add_grants_json(jwt, payload_str); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/asterisk-22.3.0/include/asterisk/module.h:39, from res_stir_shaken/attestation.c:24: res_stir_shaken/attestation.c: In function '_dtor_jwt': res_stir_shaken/attestation.c:367:38: error: implicit declaration of function 'jwt_free'; did you mean 'jwks_free'? [-Wimplicit-function-declaration] 367 | RAII_VAR(jwt_t *, jwt, NULL, jwt_free); | ^~~~~~~~ To fix this, let's use the bundled version of libjwt in Asterisk, since even Asterisk master hasn't been fixed to be compatible with libjwt 3.x. Of course, this raises the question of whether the separate libjwt package should be removed, as it is anyway only used by Asterisk. Fixes: http://autobuild.buildroot.net/results/2d39791c65c5b71b0533d4b2bce5f073f5919552/ Cc: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [Bernd: Added libopenssl dependency needed by bundled libjwt] Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit61271a6c55) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
…
…
…
…
…
…
…
…
…
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at https://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%