= efidp_format_device_path((unsigned char *)text_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/efivar/efivar.h:238, from /usr/include/efivar/efiboot.h:33, from efibootdump.c:12: /usr/include/efivar/efivar-dp.h:1245:47: note: expected 'char *' but argument is of type 'unsigned char *' 1245 | extern ssize_t efidp_format_device_path(char *buf, size_t size, const_efidp dp, | ~~~~~~^~~ cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/efibootmgr-16/Make.rules:32: efibootdump.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -I/usr/include/efivar -c -o efibootmgr.o efibootmgr.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' efibootmgr.c: In function 'show_vars': efibootmgr.c:944:34: error: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Werror=pointer-sign] 944 | rc = efidp_format_device_path((unsigned char *)text_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/efivar/efivar.h:238, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1245:47: note: expected 'char *' but argument is of type 'unsigned char *' 1245 | extern ssize_t efidp_format_device_path(char *buf, size_t size, const_efidp dp, | ~~~~~~^~~ efibootmgr.c:955:34: error: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Werror=pointer-sign] 955 | rc = efidp_format_device_path((unsigned char *)text_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/efivar/efivar.h:238, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1245:47: note: expected 'char *' but argument is of type 'unsigned char *' 1245 | extern ssize_t efidp_format_device_path(char *buf, size_t size, const_efidp dp, | ~~~~~~^~~ cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/efibootmgr-16/Make.rules:32: efibootmgr.o] Error 1 RPM build errors: make: *** [Makefile:12: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.fcWyZ0 (%build) Bad exit status from /var/tmp/rpm-tmp.fcWyZ0 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efibootmgr.spec