D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/libkarma-0.1.2-14.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ky5ON3 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YvuHL0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libkarma-0.1.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/libkarma-0.1.2-build + rm -rf libkarma-0.1.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libkarma-0.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libkarma-0.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's!gmcs!mcs!' karma-sharp/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dbyG51 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libkarma-0.1.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libkarma-0.1.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + make PREFIX=/home/pterjan/rpmbuild/BUILD/libkarma-0.1.2-build/BUILDROOT//usr cd src && make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libkarma-0.1.2-build/libkarma-0.1.2/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused -c -o errors.o errors.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused -c -o fdb.o fdb.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused -c -o hash.o hash.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused -c -o karma.o karma.c karma.c:32:40: error: initialization of 'int (*)(int, uint32_t, char *, int)' {aka 'int (*)(int, unsigned int, char *, int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:51:5: note: in expansion of macro 'set_unimpl' 51 | set_unimpl(send_request), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_send_request') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:51:5: note: in expansion of macro 'set_unimpl' 51 | set_unimpl(send_request), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int (*)(int, uint32_t *, uint32_t *)' {aka 'int (*)(int, unsigned int *, unsigned int *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:52:5: note: in expansion of macro 'set_unimpl' 52 | set_unimpl(get_protocol_version), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_get_protocol_version') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:52:5: note: in expansion of macro 'set_unimpl' 52 | set_unimpl(get_protocol_version), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, char **)' {aka 'int (*)(int, char **)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:53:5: note: in expansion of macro 'set_unimpl' 53 | set_unimpl(get_authentication_salt), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_get_authentication_salt') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:53:5: note: in expansion of macro 'set_unimpl' 53 | set_unimpl(get_authentication_salt), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int (*)(int, char **, char **, uint32_t *)' {aka 'int (*)(int, char **, char **, unsigned int *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:55:5: note: in expansion of macro 'set_unimpl' 55 | set_unimpl(get_device_details), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_get_device_details') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:55:5: note: in expansion of macro 'set_unimpl' 55 | set_unimpl(get_device_details), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, char *)' {aka 'int (*)(int, char *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:58:5: note: in expansion of macro 'set_unimpl' 58 | set_unimpl(update_device_settings), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_update_device_settings') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:58:5: note: in expansion of macro 'set_unimpl' 58 | set_unimpl(update_device_settings), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, uint64_t, uint32_t *, uint32_t)' {aka 'int (*)(int, long unsigned int, unsigned int *, unsigned int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:61:5: note: in expansion of macro 'set_unimpl' 61 | set_unimpl(prepare), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_prepare') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:61:5: note: in expansion of macro 'set_unimpl' 61 | set_unimpl(prepare), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, char **)' {aka 'int (*)(int, char **)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:62:5: note: in expansion of macro 'set_unimpl' 62 | set_unimpl(get_all_file_details), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_get_all_file_details') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:62:5: note: in expansion of macro 'set_unimpl' 62 | set_unimpl(get_all_file_details), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, uint32_t, char **)' {aka 'int (*)(int, unsigned int, char **)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:63:5: note: in expansion of macro 'set_unimpl' 63 | set_unimpl(get_file_details), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_get_file_details') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:63:5: note: in expansion of macro 'set_unimpl' 63 | set_unimpl(get_file_details), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, uint32_t)' {aka 'int (*)(int, unsigned int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:68:5: note: in expansion of macro 'set_unimpl' 68 | set_unimpl(format_storage), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_format_storage') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:68:5: note: in expansion of macro 'set_unimpl' 68 | set_unimpl(format_storage), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of 'int32_t (*)(int, uint64_t, char *, char **)' {aka 'int (*)(int, long unsigned int, char *, char **)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:69:5: note: in expansion of macro 'set_unimpl' 69 | set_unimpl(device_operation), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for 'usb_ops.lk_karma_device_operation') 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:69:5: note: in expansion of macro 'set_unimpl' 69 | set_unimpl(device_operation), | ^~~~~~~~~~ karma.c:41:12: note: 'unimpl' declared here 41 | static int unimpl() | ^~~~~~ karma.c:33:30: error: initialization of 'void (*)(int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 33 | #define set_unimpl_cast(x,y) (y) unimpl | ^ karma.c:71:5: note: in expansion of macro 'set_unimpl_cast' 71 | set_unimpl_cast(update_database, void (*)()), | ^~~~~~~~~~~~~~~ karma.c:33:30: note: (near initialization for 'usb_ops.lk_karma_update_database') 33 | #define set_unimpl_cast(x,y) (y) unimpl | ^ karma.c:71:5: note: in expansion of macro 'set_unimpl_cast' 71 | set_unimpl_cast(update_database, void (*)()), | ^~~~~~~~~~~~~~~ make[1]: *** [: karma.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libkarma-0.1.2-build/libkarma-0.1.2/src' make: *** [Makefile:42: libkarma] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dbyG51 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dbyG51 (%build) I: [iurt_root_command] ERROR: chroot