D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/wmcalclock-1.25-12.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mFMp8o Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DqHLBT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-build + rm -rf wmCalClock-1.25 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wmCalClock-1.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wmCalClock-1.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eMTBQL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-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 wmCalClock-1.25 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 -C Src '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' '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' make: Entering directory '/home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-build/wmCalClock-1.25/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 -fcommon -DLinux -c wmCalClock.c -o wmCalClock.o -I/usr/X11R6/include/X11 -I/usr/X11R6/include wmCalClock.c: In function 'main': wmCalClock.c:493:23: error: too many arguments to function 'jd'; expected 0, have 4 493 | TU = (jd(Year, Month+1, DayOfMonth+1, 0.0) - 2451545.0)/36525.0; | ^~ ~~~~ wmCalClock.c:303:53: note: declared here 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~ wmCalClock.c:498:31: error: too many arguments to function 'hour24'; expected 0, have 1 498 | gmst = hour24(hour24(T0) + UT*1.002737909 + Longitude/15.0); | ^~~~~~ ~~ wmCalClock.c:303:59: note: declared here 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~~~~~ wmCalClock.c:498:24: error: too many arguments to function 'hour24'; expected 0, have 1 498 | gmst = hour24(hour24(T0) + UT*1.002737909 + Longitude/15.0); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmCalClock.c:303:59: note: declared here 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~~~~~ wmCalClock.c: In function 'jd': wmCalClock.c:303:53: warning: old-style function definition [-Wold-style-definition] 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~ wmCalClock.c:909:1: error: number of arguments doesn't match prototype 909 | { | ^ wmCalClock.c:303:53: error: prototype declaration 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~ wmCalClock.c: In function 'hour24': wmCalClock.c:303:59: warning: old-style function definition [-Wold-style-definition] 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~~~~~ wmCalClock.c:945:1: error: number of arguments doesn't match prototype 945 | { | ^ wmCalClock.c:303:59: error: prototype declaration 303 | double UT, TU, TU2, TU3, T0, gmst, jd(), hour24(); | ^~~~~~ wmCalClock.c: In function 'ButtonPressEvent': wmCalClock.c:1003:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1003 | system(Command); | ^~~~~~~~~~~~~~~ make: *** [Makefile:18: wmCalClock.o] Error 1 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-build/wmCalClock-1.25/Src' make: *** Waiting for unfinished jobs.... make: Entering directory '/home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-build/wmCalClock-1.25/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 -fcommon -DLinux -c xutils.c -o xutils.o -I/usr/X11R6/include/X11 -I/usr/X11R6/include make: Leaving directory '/home/pterjan/rpmbuild/BUILD/wmcalclock-1.25-build/wmCalClock-1.25/Src' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.eMTBQL (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.eMTBQL (%build) I: [iurt_root_command] ERROR: chroot