D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/refind-0.12.0-2.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HSqFMu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf refind-0.12.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/refind-src-0.12.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd refind-0.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/mga-system-path-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/install-nvram-only.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/detect-efi-size.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/disable-gcc-memmove-opt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix-install-early-exit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/use-dark-blue-banner.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /home/pterjan/rpmbuild/SOURCES/os_mageia.png /home/pterjan/rpmbuild/SOURCES/dark-blue-banner.png icons/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.095J4A + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd refind-0.12.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make LIBDIR=/usr/lib64 gnuefi make MAKEWITH=GNUEFI -C libeg make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/libeg' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c nanojpeg.c -o nanojpeg.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c nanojpeg_xtra.c -o nanojpeg_xtra.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c screen.c -o screen.o In file included from ../refind/../EfiLib/GenericBdsLib.h:22, from ../refind/global.h:54, from ../refind/lib.h:56, from screen.c:60: screen.c: In function 'egScreenDescription': ../refind/../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ screen.c:293:13: note: in expansion of macro 'SPrint' 293 | SPrint(GraphicsInfo, 255, L"Graphics Output (UEFI), %dx%d", egScreenWidth, egScreenHeight); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c image.c -o image.o In file included from ../refind/../EfiLib/GenericBdsLib.h:22, from ../refind/global.h:54, from image.c:59: image.c: In function 'egLoadIconAnyType': ../refind/../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ image.c:417:7: note: in expansion of macro 'SPrint' 417 | SPrint(FileName, 255, L"%s\\%s.%s", SubdirName, BaseName, Extension); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c text.c -o text.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c load_bmp.c -o load_bmp.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c load_icns.c -o load_icns.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng.c -o lodepng.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng_xtra.c -o lodepng_xtra.o /usr/bin/ar cq libeg.a nanojpeg.o nanojpeg_xtra.o screen.o image.o text.o load_bmp.o load_icns.o lodepng.o lodepng_xtra.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/libeg' make MAKEWITH=GNUEFI -C mok make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/mok' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c guid.c -o guid.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c mok.c -o mok.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c security_policy.c -o security_policy.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c simple_file.c -o simple_file.o /usr/bin/ar cq libmok.a guid.o mok.o security_policy.o simple_file.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/mok' make MAKEWITH=GNUEFI -C EfiLib make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/EfiLib' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c gnuefi-helper.c -o gnuefi-helper.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c legacy.c -o legacy.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c BdsHelper.c -o BdsHelper.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \ -D__MAKEWITH_GNUEFI -c BdsTianoCore.c -o BdsTianoCore.o BdsTianoCore.c: In function 'BdsLibConnectDevicePath': BdsTianoCore.c:53:29: warning: variable 'PreviousHandle' set but not used [-Wunused-but-set-variable] 53 | EFI_HANDLE PreviousHandle; | ^~~~~~~~~~~~~~ /usr/bin/ar cq libEfiLib.a gnuefi-helper.o legacy.o BdsHelper.o BdsTianoCore.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/EfiLib' make MAKEWITH=GNUEFI -C refind make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/refind' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c apple.c -o apple.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from apple.c:22: apple.c: In function 'GetCsrStatus': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ apple.c:49:17: note: in expansion of macro 'SPrint' 49 | SPrint(gCsrStatus, 255, L" Unknown System Integrity Protection version"); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c config.c -o config.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from config.c:59: config.c: In function 'ReadFile': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ config.c:103:5: note: in expansion of macro 'SPrint' 103 | SPrint(Message, 255, L"while loading the file '%s'", FileName); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c crc32.c -o crc32.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c driver_support.c -o driver_support.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from driver_support.h:28, from driver_support.c:72: driver_support.c: In function 'ScanDriverDir': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ driver_support.c:555:9: note: in expansion of macro 'SPrint' 555 | SPrint(FileName, 255, L"%s\\%s", Path, DirEntry->FileName); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c gpt.c -o gpt.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c icns.c -o icns.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from icns.c:37: icns.c: In function 'LoadOSIcon': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ icns.c:113:8: note: in expansion of macro 'SPrint' 113 | SPrint(BaseName, 255, L"%s_%s", BootLogo ? L"boot" : L"os", CutoutName); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c install.c -o install.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c launch_efi.c -o launch_efi.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from launch_efi.c:58: launch_efi.c: In function 'StartEFIImage': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ launch_efi.c:212:5: note: in expansion of macro 'SPrint' 212 | SPrint(ErrorInfo, 255, L"while loading %s", ImageTitle); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c launch_legacy.c -o launch_legacy.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from launch_legacy.c:58: launch_legacy.c: In function 'StartLegacyImageList': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ launch_legacy.c:356:5: note: in expansion of macro 'SPrint' 356 | SPrint(ErrorInfo, 255, L"while loading legacy loader"); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c lib.c -o lib.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from lib.c:58: lib.c: In function 'SizeInIEEEUnits': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ lib.c:827:9: note: in expansion of macro 'SPrint' 827 | SPrint(TheValue, 255, L"%ld%s", SizeInIeee, Units); | ^~~~~~ lib.c: In function 'GetVolumeName': lib.c:848:72: warning: the comparison will always evaluate as 'true' for the address of 'VolumeLabel' will never be NULL [-Waddress] 848 | if ((FileSystemInfoPtr != NULL) && (FileSystemInfoPtr->VolumeLabel != NULL) && | ^~ In file included from /usr/include/efi/efi.h:61, from global.h:49: /usr/include/efi/efiprot.h:507:29: note: 'VolumeLabel' declared here 507 | CHAR16 VolumeLabel[1]; | ^~~~~~~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c line_edit.c -o line_edit.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c linux.c -o linux.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c main.c -o main.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c menu.c -o menu.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from menu.c:58: menu.c: In function 'RunGenericMenu': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ menu.c:468:16: note: in expansion of macro 'SPrint' 468 | SPrint(TimeoutMessage, 255, L"%s in %d seconds", Screen->TimeoutText, CurrentTime); | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c mystrings.c -o mystrings.o In file included from ../EfiLib/GenericBdsLib.h:22, from mystrings.h:35, from mystrings.c:27: mystrings.c: In function 'GuidAsString': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ mystrings.c:513:7: note: in expansion of macro 'SPrint' 513 | SPrint (TheString, 82, L"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c pointer.c -o pointer.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c scan.c -o scan.o In file included from ../EfiLib/GenericBdsLib.h:22, from global.h:54, from scan.c:58: scan.c: In function 'InitializeSubScreen': ../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function 'SPrint'; did you mean 'IPrint'? [-Wimplicit-function-declaration] 28 | #define UnicodeSPrint SPrint | ^~~~~~ /usr/include/efi/efilib.h:611:21: note: in expansion of macro 'UnicodeSPrint' 611 | #define SPrint UnicodeSPrint | ^~~~~~~~~~~~~ scan.c:251:13: note: in expansion of macro 'SPrint' 251 | SPrint(SubScreen->Title, 255, L"Boot Options for %s on %s", | ^~~~~~ /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -DEFI_FUNCTION_WRAPPER -m64 -mno-red-zone -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c screen.c -o screen.o /usr/bin/ld -L./../libeg/ -L./../mok/ -L./../EfiLib/ -T /usr/lib64/gnuefi/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -L/usr/lib64 -L/usr/lib64 /usr/lib64/gnuefi/crt0-efi-x86_64.o -znocombreloc -zdefs apple.o config.o crc32.o driver_support.o gpt.o icns.o install.o launch_efi.o launch_legacy.o lib.o line_edit.o linux.o main.o menu.o mystrings.o pointer.o scan.o screen.o \ -o refind_x64.so -leg -lmok -lEfiLib -lefi -lgnuefi /usr/lib/gcc/x86_64-mageia-linux/12/libgcc.a /usr/bin/ld: apple.o: in function `GetCsrStatus': apple.c:(.text+0x94): undefined reference to `SPrint' /usr/bin/ld: apple.o: in function `RecordgCsrStatus': apple.c:(.text+0x12e): undefined reference to `SPrint' /usr/bin/ld: apple.o: in function `RotateCsrValue': apple.c:(.text+0x210): undefined reference to `SPrint' /usr/bin/ld: config.o: in function `ReadFile': config.c:(.text+0x1ef): undefined reference to `SPrint' /usr/bin/ld: config.o: in function `ScanUserConfigured.localalias': config.c:(.text+0x1b61): undefined reference to `SPrint' /usr/bin/ld: config.o:config.c:(.text+0x1ccb): more undefined references to `SPrint' follow make[1]: *** [Makefile:48: refind_x64.so] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/refind-0.12.0/refind' make: *** [Makefile:87: gnuefi] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.095J4A (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.095J4A (%build) I: [iurt_root_command] ERROR: chroot