D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/novacom-server-1.1.0-0.11.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uKDwY8 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hDw3HH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/novacom-server-1.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/novacom-server-1.1.0-build + rm -rf openwebos-novacomd-e77d336 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/openwebos-novacomd-submissions-119.1-0-ge77d336.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openwebos-novacomd-e77d336 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Use-usb_bulk_-read-write-instead-of-homemade-handler.patch):' Patch #0 (0001-Use-usb_bulk_-read-write-instead-of-homemade-handler.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/host/usb-linux.c + echo 'Patch #1 (novacomd_add_cflags.patch):' Patch #1 (novacomd_add_cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file makefile + echo 'Patch #2 (novacomd-quiet-logging.patch):' Patch #2 (novacomd-quiet-logging.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/host/usb-linux.c + echo 'Patch #3 (novacomd-makefile-remove-adler32.patch):' Patch #3 (novacomd-makefile-remove-adler32.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file makefile patching file src/lib/cksum/adler32.c patching file src/lib/cksum/zlib.h + rm -f src/lib/cksum/adler32.c + rm -f src/lib/cksum/zlib.h + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JnYqBQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/novacom-server-1.1.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 openwebos-novacomd-e77d336 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j48 V=1 VERBOSE=1 host 'LDFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' HOST compiling src/novacom/lib.c In file included from src/novacom/lib.c:26: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:146: build-novacomd-host/src/novacom/lib.o] Error 1 make: *** Waiting for unfinished jobs.... HOST compiling src/host/device_list.c HOST compiling src/log.c In file included from include/debug.h:23, from src/log.c:30: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/log.o] Error 1 HOST compiling src/transport_usb.c In file included from include/debug.h:23, from src/transport_usb.c:27: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/transport_usb.o] Error 1 HOST compiling src/lib/buffer.c In file included from include/buffer.h:46, from src/lib/buffer.c:42: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/lib/buffer.o] Error 1 HOST compiling src/host/recovery.c In file included from include/debug.h:23, from src/host/recovery.c:22: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/host/recovery.o] Error 1 HOST compiling src/novacom/packet.c In file included from include/debug.h:23, from src/novacom/packet.c:30: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ src/novacom/packet.c: In function 'packet_thread': include/debug.h:34:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | #define TRACEF(format, ...) log_printf(LOG_TRACE, "%s:%d: "format, __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/novacom/packet.c:257:33: note: in expansion of macro 'TRACEF' 257 | TRACEF("unexpected incoming stderr data"); | ^~~~~~ src/novacom/packet.c:258:25: note: here 258 | default: | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/novacom/packet.o] Error 1 HOST compiling src/novacom/mux.c In file included from include/buf_queue.h:23, from include/novacom.h:25, from src/novacom/mux.c:26: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/novacom/mux.o] Error 1 HOST compiling src/novacom/commands.c In file included from include/debug.h:23, from src/novacom/commands.c:27: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/novacom/commands.o] Error 1 HOST compiling src/transport_inet.c In file included from src/transport_inet.c:36: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/transport_inet.o] Error 1 HOST compiling src/novacom/buf_queue.c In file included from include/debug.h:23, from src/novacom/buf_queue.c:20: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/novacom/buf_queue.o] Error 1 HOST compiling src/socket.c In file included from include/debug.h:23, from src/socket.c:29: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/socket.o] Error 1 HOST compiling src/host/commands_service.c In file included from include/debug.h:23, from src/host/commands_service.c:29: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/host/commands_service.o] Error 1 HOST compiling src/platform_pthreads.c In file included from include/buf_queue.h:23, from include/novacom.h:25, from src/platform_pthreads.c:35: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/platform_pthreads.o] Error 1 HOST compiling src/host/tokenstorage.c In file included from include/buf_queue.h:23, from include/novacom.h:25, from src/host/tokenstorage.c:28: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/host/tokenstorage.o] Error 1 HOST compiling src/host/usb-linux.c In file included from include/buf_queue.h:23, from include/novacom.h:25, from include/transport_usb.h:22, from src/host/usb-linux.c:29: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/host/usb-linux.o] Error 1 HOST compiling src/main.c In file included from include/debug.h:23, from src/main.c:24: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ src/main.c: In function 'main_loop': src/main.c:736:37: warning: variable 'err' set but not used [-Wunused-but-set-variable] 736 | int err; | ^~~ make: *** [makefile:144: build-novacomd-host/src/main.o] Error 1 HOST compiling src/novacom/commands_device.c In file included from include/debug.h:23, from src/novacom/commands_device.c:41: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/novacom/commands_device.o] Error 1 HOST compiling src/transport.c In file included from include/buf_queue.h:23, from include/novacom.h:25, from include/transport_usb.h:22, from src/transport.c:20: include/platform.h:58:13: error: 'bool' cannot be defined via 'typedef' 58 | typedef int bool; | ^~~~ include/platform.h:58:13: note: 'bool' is a keyword with '-std=c23' onwards include/platform.h:58:1: warning: useless type name in empty declaration 58 | typedef int bool; | ^~~~~~~ make: *** [makefile:144: build-novacomd-host/src/transport.o] Error 1 HOST compiling src/lib/cksum/sha1.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JnYqBQ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JnYqBQ (%build) I: [iurt_root_command] ERROR: chroot