<86>Jan 27 04:30:21 userdel[6856]: delete user 'rooter' <86>Jan 27 04:30:21 userdel[6856]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 27 04:30:21 groupadd[6874]: group added to /etc/group: name=rooter, GID=546 <86>Jan 27 04:30:21 groupadd[6874]: group added to /etc/gshadow: name=rooter <86>Jan 27 04:30:21 groupadd[6874]: new group: name=rooter, GID=546 <86>Jan 27 04:30:21 useradd[6881]: new user: name=rooter, UID=546, GID=546, home=/root, shell=/bin/bash <86>Jan 27 04:30:21 userdel[6897]: delete user 'builder' <86>Jan 27 04:30:21 userdel[6897]: removed group 'builder' owned by 'builder' <86>Jan 27 04:30:21 userdel[6897]: removed shadow group 'builder' owned by 'builder' <86>Jan 27 04:30:21 groupadd[6911]: group added to /etc/group: name=builder, GID=547 <86>Jan 27 04:30:21 groupadd[6911]: group added to /etc/gshadow: name=builder <86>Jan 27 04:30:21 groupadd[6911]: new group: name=builder, GID=547 <86>Jan 27 04:30:21 useradd[6921]: new user: name=builder, UID=547, GID=547, home=/usr/src, shell=/bin/bash <13>Jan 27 04:30:25 rpmi: libnspr-1:4.13.1-alt1 1477067641 installed <13>Jan 27 04:30:25 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Jan 27 04:30:25 rpmi: libnss-3.27.1-alt1 1477068045 installed <86>Jan 27 04:30:25 groupadd[14438]: group added to /etc/group: name=pesign, GID=499 <86>Jan 27 04:30:25 groupadd[14438]: group added to /etc/gshadow: name=pesign <86>Jan 27 04:30:25 groupadd[14438]: new group: name=pesign, GID=499 <86>Jan 27 04:30:25 useradd[14486]: new user: name=pesign, UID=499, GID=499, home=/var/empty, shell=/dev/null <13>Jan 27 04:30:25 rpmi: pesign-0.109-alt4 1387301340 installed <13>Jan 27 04:30:25 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Jan 27 04:30:25 rpmi: unzip-6.0-alt2.qa1 1366155323 installed <13>Jan 27 04:30:25 rpmi: rpm-macros-uefi-0.5-alt1 1387289833 installed <13>Jan 27 04:30:25 rpmi: gnu-efi-3.0r-3.0r-alt2 1387210404 installed Installing refind-0.6.12-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.86351 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf refind-0.6.12 + echo 'Source #0 (refind-src-0.6.12.zip):' Source #0 (refind-src-0.6.12.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/refind-src-0.6.12.zip + cd refind-0.6.12 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (0001-Support-for-memtest86-as-a-second-row-item.patch):' Patch #0 (0001-Support-for-memtest86-as-a-second-row-item.patch): + /usr/bin/patch -p1 patching file NEWS.txt patching file docs/refind/installing.html patching file refind.conf-sample patching file refind/config.c patching file refind/global.h patching file refind/lib.c patching file refind/main.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.86351 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd refind-0.6.12 + make gnuefi make: Entering directory `/usr/src/RPM/BUILD/refind-0.6.12' make -C libeg make[1]: Entering directory `/usr/src/RPM/BUILD/refind-0.6.12/libeg' /usr/bin/gcc -I. -I./../include -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -DCONFIG_x86_64 -D__MAKEWITH_GNUEFI -DEFIX64 -O2 -fno-strict-aliasing -fno-stack-protector -fpic -fshort-wchar -mno-red-zone -Wall -DEFI_FUNCTION_WRAPPER -c screen.c -o screen.o In file included from /usr/include/efi/efi.h:35:0, from libegint.h:41, from screen.c:45: /usr/include/efi/x86_64/efibind.h:89:9: error: unknown type name 'uint64_t' typedef uint64_t UINT64; ^~~~~~~~ /usr/include/efi/x86_64/efibind.h:90:9: error: unknown type name 'int64_t' typedef int64_t INT64; ^~~~~~~ /usr/include/efi/x86_64/efibind.h:93:13: error: unknown type name 'uint32_t' typedef uint32_t UINT32; ^~~~~~~~ /usr/include/efi/x86_64/efibind.h:94:13: error: unknown type name 'int32_t' typedef int32_t INT32; ^~~~~~~ /usr/include/efi/x86_64/efibind.h:97:9: error: unknown type name 'uint16_t' typedef uint16_t UINT16; ^~~~~~~~ /usr/include/efi/x86_64/efibind.h:98:9: error: unknown type name 'int16_t' typedef int16_t INT16; ^~~~~~~ /usr/include/efi/x86_64/efibind.h:99:9: error: unknown type name 'uint8_t' typedef uint8_t UINT8; ^~~~~~~ /usr/include/efi/x86_64/efibind.h:100:9: error: unknown type name 'int8_t' typedef int8_t INT8; ^~~~~~ /usr/include/efi/x86_64/efibind.h:107:9: error: unknown type name 'int64_t' typedef int64_t INTN; ^~~~~~~ /usr/include/efi/x86_64/efibind.h:108:9: error: unknown type name 'uint64_t' typedef uint64_t UINTN; ^~~~~~~~ In file included from screen.c:48:0: screen.c: In function 'egDetermineScreenSize': ../include/refit_call_wrapper.h:16:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:92:18: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:92:18: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:92:18: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:92:18: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:92:18: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ screen.c: In function 'egGetResFromMode': ../include/refit_call_wrapper.h:14:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:142:16: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, *ModeWidth, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:142:16: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, *ModeWidth, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:142:16: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, *ModeWidth, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ screen.c: In function 'egSetScreenSize': ../include/refit_call_wrapper.h:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 2, (UINT64)(a1), (UINT64)(a2)) ^ screen.c:176:15: note: in expansion of macro 'refit_call2_wrapper' (refit_call2_wrapper(GraphicsOutput->SetMode, GraphicsOutput, ModeNum) == EFI_SUCCESS)) { ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:185:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:185:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:185:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 2, (UINT64)(a1), (UINT64)(a2)) ^ screen.c:188:25: note: in expansion of macro 'refit_call2_wrapper' Status = refit_call2_wrapper(GraphicsOutput->SetMode, GraphicsOutput, ModeNum); ^~~~~~~~~~~~~~~~~~~ screen.c:199:16: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Error setting graphics mode %d x %d; using default mode!\nAvailable modes are:\n", *ScreenWidth, *ScreenHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ In file included from screen.c:48:0: ../include/refit_call_wrapper.h:14:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:202:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:202:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:202:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info); ^~~~~~~~~~~~~~~~~~~ screen.c:204:22: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Mode %d: %d x %d\n", ModeNum, Info->HorizontalResolution, Info->VerticalResolution); ^~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ In file included from screen.c:48:0: ../include/refit_call_wrapper.h:16:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:214:16: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:214:16: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:214:16: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:214:16: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:214:16: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->GetMode, UgaDraw, &UGAWidth, &UGAHeight, &UGADepth, &UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:16:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 5, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5)) ^ screen.c:215:16: note: in expansion of macro 'refit_call5_wrapper' Status = refit_call5_wrapper(UgaDraw->SetMode, UgaDraw, *ScreenWidth, *ScreenHeight, UGADepth, UGARefreshRate); ^~~~~~~~~~~~~~~~~~~ screen.c:224:16: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Error setting graphics mode %d x %d; unsupported mode!\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ In file included from screen.c:48:0: screen.c: In function 'egSetTextMode': ../include/refit_call_wrapper.h:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 2, (UINT64)(a1), (UINT64)(a2)) ^ screen.c:240:16: note: in expansion of macro 'refit_call2_wrapper' Status = refit_call2_wrapper(ST->ConOut->SetMode, ST->ConOut, RequestedMode); ^~~~~~~~~~~~~~~~~~~ screen.c:245:16: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"\nError setting text mode %d; available modes are:\n", RequestedMode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ In file included from screen.c:48:0: ../include/refit_call_wrapper.h:14:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:247:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, i, &Width, &Height); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:247:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, i, &Width, &Height); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:247:22: note: in expansion of macro 'refit_call4_wrapper' Status = refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, i, &Width, &Height); ^~~~~~~~~~~~~~~~~~~ screen.c:249:22: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Mode %d: %d x %d\n", i, Width, Height); ^~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ screen.c:251:16: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Mode %d: Use default mode\n", DONT_CHANGE_TEXT_MODE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ screen.c: In function 'egScreenDescription': screen.c:266:15: warning: return from incompatible pointer type [-Wincompatible-pointer-types] return L"memory allocation error"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:270:39: warning: passing argument 3 of 'SPrint' from incompatible pointer type [-Wincompatible-pointer-types] SPrint(GraphicsInfo, 255, L"Graphics Output (UEFI), %dx%d", egScreenWidth, egScreenHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:395:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' SPrint ( ^~~~~~ screen.c:273:39: warning: passing argument 3 of 'SPrint' from incompatible pointer type [-Wincompatible-pointer-types] SPrint(GraphicsInfo, 255, L"UGA Draw (EFI 1.10), %dx%d", egScreenWidth, egScreenHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:395:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' SPrint ( ^~~~~~ screen.c:277:20: warning: return from incompatible pointer type [-Wincompatible-pointer-types] return L"Internal Error"; ^~~~~~~~~~~~~~~~~ screen.c:281:34: warning: passing argument 3 of 'SPrint' from incompatible pointer type [-Wincompatible-pointer-types] SPrint(TextInfo, 255, L"(in %dx%d text mode)", ConWidth, ConHeight); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:395:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' SPrint ( ^~~~~~ screen.c:285:35: warning: passing argument 3 of 'SPrint' from incompatible pointer type [-Wincompatible-pointer-types] SPrint(GraphicsInfo, 255, L"Text-foo console, %dx%d", ConWidth, ConHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:395:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' SPrint ( ^~~~~~ In file included from screen.c:48:0: screen.c: In function 'egIsGraphicsModeEnabled': ../include/refit_call_wrapper.h:14:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:301:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:301:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:301:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:301:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ screen.c: In function 'egSetGraphicsModeEnabled': ../include/refit_call_wrapper.h:14:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:314:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:314:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:314:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:14:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 4, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4)) ^ screen.c:314:9: note: in expansion of macro 'refit_call4_wrapper' refit_call4_wrapper(ConsoleControl->GetMode, ConsoleControl, &CurrentMode, NULL, NULL); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 2, (UINT64)(a1), (UINT64)(a2)) ^ screen.c:319:12: note: in expansion of macro 'refit_call2_wrapper' refit_call2_wrapper(ConsoleControl->SetMode, ConsoleControl, NewMode); ^~~~~~~~~~~~~~~~~~~ screen.c: In function 'egClearScreen': ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:349:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)&FillColor, EfiBltVideoFill, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:349:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)&FillColor, EfiBltVideoFill, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:352:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, &FillColor, EfiUgaVideoFill, 0, 0, 0, 0, egScreenWidth, egScreenHeight, 0); ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:352:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, &FillColor, EfiUgaVideoFill, 0, 0, 0, 0, egScreenWidth, egScreenHeight, 0); ^~~~~~~~~~~~~~~~~~~~ screen.c: In function 'egDrawImage': screen.c:374:17: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Error! Can't crop image in egDrawImage()!\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ In file included from screen.c:48:0: ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:381:8: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)CompImage->PixelData, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:381:8: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)CompImage->PixelData, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:384:8: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, (EFI_UGA_PIXEL *)CompImage->PixelData, EfiUgaBltBufferToVideo, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:384:8: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, (EFI_UGA_PIXEL *)CompImage->PixelData, EfiUgaBltBufferToVideo, ^~~~~~~~~~~~~~~~~~~~ screen.c: In function 'egDrawImageArea': ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:417:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)Image->PixelData, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:417:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)Image->PixelData, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:421:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, (EFI_UGA_PIXEL *)Image->PixelData, EfiUgaBltBufferToVideo, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:421:9: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, (EFI_UGA_PIXEL *)Image->PixelData, EfiUgaBltBufferToVideo, ^~~~~~~~~~~~~~~~~~~~ screen.c: In function 'egCopyScreen': ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:461:7: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)Image->PixelData, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:461:7: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(GraphicsOutput->Blt, GraphicsOutput, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *)Image->PixelData, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:464:7: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, (EFI_UGA_PIXEL *)Image->PixelData, EfiUgaVideoToBltBuffer, ^~~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:20:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 10, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3), (UINT64)(a4), (UINT64)(a5), (UINT64)(a6), (UINT64)(a7), (UINT64)(a8), (UINT64)(a9), (UINT64)(a10)) ^ screen.c:464:7: note: in expansion of macro 'refit_call10_wrapper' refit_call10_wrapper(UgaDraw->Blt, UgaDraw, (EFI_UGA_PIXEL *)Image->PixelData, EfiUgaVideoToBltBuffer, ^~~~~~~~~~~~~~~~~~~~ screen.c: In function 'egScreenShot': screen.c:487:14: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Error: Unable to take screen shot\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ screen.c:495:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Error egEncodeBMP returned NULL\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:389:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' Print ( ^~~~~ screen.c:506:29: warning: passing argument 3 of 'SPrint' from incompatible pointer type [-Wincompatible-pointer-types] SPrint(Filename, 80, L"screenshot_%03d.bmp", ssNum++); ^~~~~~~~~~~~~~~~~~~~~~ In file included from libegint.h:42:0, from screen.c:45: /usr/include/efi/efilib.h:395:1: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' SPrint ( ^~~~~~ screen.c:512:28: warning: passing argument 2 of 'CheckError' from incompatible pointer type [-Wincompatible-pointer-types] if (CheckError(Status, L"in egSaveFile()")) { ^~~~~~~~~~~~~~~~~~ In file included from screen.c:46:0: ../refind/screen.h:97:9: note: expected 'CHAR16 * {aka int *}' but argument is of type 'short unsigned int *' BOOLEAN CheckError(IN EFI_STATUS Status, IN CHAR16 *where); ^~~~~~~~~~ In file included from screen.c:48:0: ../include/refit_call_wrapper.h:12:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 3, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3)) ^ screen.c:521:5: note: in expansion of macro 'refit_call3_wrapper' refit_call3_wrapper(BS->WaitForEvent, 1, &ST->ConIn->WaitForKey, &Index); ^~~~~~~~~~~~~~~~~~~ ../include/refit_call_wrapper.h:12:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uefi_call_wrapper(f, 3, (UINT64)(a1), (UINT64)(a2), (UINT64)(a3)) ^ screen.c:521:5: note: in expansion of macro 'refit_call3_wrapper' refit_call3_wrapper(BS->WaitForEvent, 1, &ST->ConIn->WaitForKey, &Index); ^~~~~~~~~~~~~~~~~~~ make[1]: *** [screen.o] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/refind-0.6.12/libeg' make: *** [gnuefi] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/refind-0.6.12' error: Bad exit status from /usr/src/tmp/rpm-tmp.86351 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.86351 (%build) Command exited with non-zero status 1 0.45user 0.10system 0:00.56elapsed 100%CPU (0avgtext+0avgdata 16444maxresident)k 0inputs+0outputs (0major+12808minor)pagefaults 0swaps hsh-rebuild: rebuild of `refind-0.6.12-alt3.src.rpm' failed. Command exited with non-zero status 1 18.39user 4.70system 0:22.67elapsed 101%CPU (0avgtext+0avgdata 133308maxresident)k 480inputs+0outputs (0major+294753minor)pagefaults 0swaps