D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/swm-1.3.4-6.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XLYJbG Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fg5KuY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/swm-1.3.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/swm-1.3.4-build + rm -rf swm-1.3.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/swm-1.3.4c-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd swm-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (swm-1.3.4-fixstart.patch):' Patch #0 (swm-1.3.4-fixstart.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file src/startswm + cp /home/pterjan/rpmbuild/SOURCES/Makefile.source Makefile + cp /home/pterjan/rpmbuild/SOURCES/swm.conf src/swm.conf + mv swmswitch swmswitch_dir + mv swmbg swmbg_dir + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MHhzKY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/swm-1.3.4-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 swm-1.3.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 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' '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' LDPATH=-L/usr/lib64 rm -f *~ swm core *.o swm.o gcc -c -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 -I/usr/include swmbg_dir/swmbg.c gcc -c -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 -I/usr/include src/swm.c In file included from src/swm.c:28: src/eventHandler.c: In function 'signalHandler': src/eventHandler.c:32:3: error: too many arguments to function 'swmQuitNicely'; expected 0, have 1 32 | { swmQuitNicely(0); | ^~~~~~~~~~~~~ ~ In file included from src/swm.c:23: src/swm.h:299:6: note: declared here 299 | void swmQuitNicely(); | ^~~~~~~~~~~~~ src/eventHandler.c: In function 'buttonPressedEventHandler': src/eventHandler.c:887:20: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 887 | { case Button1: system(CONFDIR "/.swm/button1" "&"); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/eventHandler.c:888:20: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 888 | case Button2: system(CONFDIR "/.swm/button2" "&"); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/eventHandler.c:889:20: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 889 | case Button3: system(CONFDIR "/.swm/button3" "&"); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:21: swm.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -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 -L/usr/lib64 swmbg.o -o swmbg -lX11 -lXpm gcc -c -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 -I/usr/include swmswitch_dir/swmswitch.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MHhzKY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MHhzKY (%build) I: [iurt_root_command] ERROR: chroot