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/wmcube-1.0.2-6.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D8phHQ sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nOaUEd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wmcube-1.0.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/wmcube-1.0.2-build + rm -rf wmcube-1.0.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wmcube-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wmcube-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.YVlpug + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wmcube-1.0.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 wmcube-1.0.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd wmcube ~/rpmbuild/BUILD/wmcube-1.0.2-build/wmcube-1.0.2/wmcube ~/rpmbuild/BUILD/wmcube-1.0.2-build/wmcube-1.0.2 + /usr/bin/make -O -j48 V=1 VERBOSE=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 -fcommon `pkg-config --cflags gdk-2.0`' INCDIR=-I/usr/include/X11 LIBDIR=-L/usr/lib64 'LIBS=-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 -lX11 -lXext -lXpm -lm `pkg-config --libs gdk-2.0`' gcc -DLINUX -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 -fcommon `pkg-config --cflags gdk-2.0` -I/usr/include/X11 -c ../wmgeneral/list.c -o ../wmgeneral/list.o gcc -DLINUX -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 -fcommon `pkg-config --cflags gdk-2.0` -I/usr/include/X11 -c ../wmgeneral/misc.c -o ../wmgeneral/misc.o gcc -DLINUX -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 -fcommon `pkg-config --cflags gdk-2.0` -I/usr/include/X11 -c wmcube.c -o wmcube.o wmcube.c:86:9: warning: 'CHAR_WIDTH' redefined 86 | #define CHAR_WIDTH 5 | ^~~~~~~~~~ In file included from /usr/include/sys/param.h:26, from wmcube.c:54: /usr/lib/gcc/x86_64-mageia-linux/15/include/limits.h:165:10: note: this is the location of the previous definition 165 | # define CHAR_WIDTH __SCHAR_WIDTH__ | ^~~~~~~~~~ wmcube.c: In function 'main': wmcube.c:314:17: error: too many arguments to function 'draw'; expected 0, have 1 314 | draw(cube_color); | ^~~~ ~~~~~~~~~~ wmcube.c:99:6: note: declared here 99 | void draw(); | ^~~~ wmcube.c: In function 'startup_seq': wmcube.c:438:17: error: too many arguments to function 'draw'; expected 0, have 1 438 | draw(1); | ^~~~ ~ wmcube.c:99:6: note: declared here 99 | void draw(); | ^~~~ wmcube.c: At top level: wmcube.c:447:6: error: conflicting types for 'draw'; have 'void(int)' 447 | void draw(int color) | ^~~~ wmcube.c:99:6: note: previous declaration of 'draw' with type 'void(void)' 99 | void draw(); | ^~~~ make: *** [Makefile:28: wmcube.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -DLINUX -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 -fcommon `pkg-config --cflags gdk-2.0` -I/usr/include/X11 -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YVlpug (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YVlpug (%build) I: [iurt_root_command] ERROR: chroot