Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config.status: creating grub-reboot
- ../util/resolve.c: In function ‘get_module_name’:
- ../util/resolve.c:144:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 144 | base = strrchr (str, '/');
- | ^
- ../util/resolve.c: In function ‘get_module_path’:
- ../util/resolve.c:172:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 172 | ext = strrchr (str, '.');
- | ^
- ../util/resolve.c:181:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 181 | dir = strchr (str, '/');
- | ^
- config.status: creating grub-fs-tester
- Making all in grub-core
- ../../grub-core/script/parser.y:92.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
- 92 | %pure-parser
- | ^~~~~~~~~~~~
- | %define api.pure
- ../../grub-core/script/parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
- In file included from ../../grub-core/commands/pgp.c:28:
- ../../include/grub/gcrypt/gcrypt.h:2312:16: error: conflicting types for '_gcry_kdf_open'; have 'gpg_err_code_t(struct gcry_kdf_handle **, int, int, const long unsigned int *, unsigned int, const void *, size_t, const void *, size_t, const void *, size_t, const void *, size_t)' {aka 'gpg_err_code_t(struct gcry_kdf_handle **, int, int, const long unsigned int *, unsigned int, const void *, long unsigned int, const void *, long unsigned int, const void *, long unsigned int, const void *, long unsigned int)'}
- 2312 | gpg_err_code_t _gcry_kdf_open (gcry_kdf_hd_t *hd, int algo, int subalgo,
- | ^~~~~~~~~~~~~~
- In file included from ../../grub-core/commands/pgp.c:26:
- ../../include/grub/crypto.h:562:1: note: previous declaration of '_gcry_kdf_open' with type 'gpg_err_code_t(struct gcry_kdf_handle **, int, int, const long unsigned int *, unsigned int, const void *, grub_size_t, const void *, grub_size_t, const void *, grub_size_t, const void *, grub_size_t)' {aka 'gpg_err_code_t(struct gcry_kdf_handle **, int, int, const long unsigned int *, unsigned int, const void *, unsigned int, const void *, unsigned int, const void *, unsigned int, const void *, unsigned int)'}
- 562 | _gcry_kdf_open (gcry_kdf_hd_t *hd, int algo, int subalgo,
- | ^~~~~~~~~~~~~~
- ../../include/grub/gcrypt/gcrypt.h:2321:16: error: conflicting types for '_gcry_kdf_final'; have 'gpg_err_code_t(struct gcry_kdf_handle *, size_t, void *)' {aka 'gpg_err_code_t(struct gcry_kdf_handle *, long unsigned int, void *)'}
- 2321 | gpg_err_code_t _gcry_kdf_final (gcry_kdf_hd_t h, size_t resultlen, void *result);
- | ^~~~~~~~~~~~~~~
- ../../include/grub/crypto.h:573:1: note: previous declaration of '_gcry_kdf_final' with type 'gpg_err_code_t(struct gcry_kdf_handle *, grub_size_t, void *)' {aka 'gpg_err_code_t(struct gcry_kdf_handle *, unsigned int, void *)'}
- 573 | _gcry_kdf_final (gcry_kdf_hd_t h, grub_size_t resultlen, void *result);
- | ^~~~~~~~~~~~~~~
- ../../grub-core/commands/pgp.c: In function 'grub_verify_signature_real':
- ../../grub-core/commands/pgp.c:590:31: error: passing argument 2 of '_gcry_sexp_build' from incompatible pointer type [-Wincompatible-pointer-types]
- 590 | if(_gcry_sexp_build(&hsexp, &errof, "(data (flags %s) (hash %s %b))", pkalgos[pk].padding, ctxt->hash->name, ctxt->hash->mdlen, hval))
- | ^~~~~~
- | |
- | grub_size_t * {aka unsigned int *}
- ../../include/grub/gcrypt/gcrypt.h:2393:64: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'grub_size_t *' {aka 'unsigned int *'}
- 2393 | gpg_err_code_t _gcry_sexp_build (gcry_sexp_t *retsexp, size_t *erroff,
- | ~~~~~~~~^~~~~~
- ../../grub-core/commands/pgp.c:593:32: error: passing argument 2 of '_gcry_sexp_build' from incompatible pointer type [-Wincompatible-pointer-types]
- 593 | if(_gcry_sexp_build(&pubkey, &errof, pkalgos[pk].pubsexp, sk->mpis[0], sk->mpis[1], sk->mpis[2], sk->mpis[3]))
- | ^~~~~~
- | |
- | grub_size_t * {aka unsigned int *}
- ../../include/grub/gcrypt/gcrypt.h:2393:64: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'grub_size_t *' {aka 'unsigned int *'}
- 2393 | gpg_err_code_t _gcry_sexp_build (gcry_sexp_t *retsexp, size_t *erroff,
- | ~~~~~~~~^~~~~~
- ../../grub-core/commands/pgp.c:596:29: error: passing argument 2 of '_gcry_sexp_build' from incompatible pointer type [-Wincompatible-pointer-types]
- 596 | if(_gcry_sexp_build(&sig, &errof, pkalgos[pk].sigsexp, mpis[0], mpis[1]))
- | ^~~~~~
- | |
- | grub_size_t * {aka unsigned int *}
- ../../include/grub/gcrypt/gcrypt.h:2393:64: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'grub_size_t *' {aka 'unsigned int *'}
- 2393 | gpg_err_code_t _gcry_sexp_build (gcry_sexp_t *retsexp, size_t *erroff,
- | ~~~~~~~~^~~~~~
- make[5]: *** [Makefile:47319: commands/pgp_module-pgp.o] Error 1
- make[5]: *** Waiting for unfinished jobs....
- make[4]: *** [Makefile:32460: all] Error 2
- make[3]: *** [Makefile:12807: all-recursive] Error 1
- make[2]: *** [Makefile:4143: all] Error 2
- make[1]: *** [Makefile:44: grub2] Error 2
- make: *** [payloads/external/Makefile.mk:297: grub2] Error 2
- make: Leaving directory '/home/fhasl/lbmk/src/coreboot/default'
- "UNHANDLED ERROR" "x_" "make" "-C" "src/coreboot/default" "-j8" "UPDATED_SUBMODULES=1" "CPUS=8" ERROR!
- "UNHANDLED ERROR" "x_" "/home/fhasl/lbmk/mk" "-b" "coreboot" "t480_vfsp_16mb" ERROR!
Advertisement
Add Comment
Please, Sign In to add comment