D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/wmspaceweather.spec line 40: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/wmspaceweather-1.05-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Dcg3XT Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iJaAjC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wmspaceweather-1.05-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/wmspaceweather-1.05-build + rm -rf wmSpaceWeather-1.05 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wmSpaceWeather-1.05_fix.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wmSpaceWeather-1.05 + /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.VkqU6Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wmspaceweather-1.05-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 wmSpaceWeather-1.05 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd wmSpaceWeather + 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 + /usr/bin/make -O -j16 V=1 VERBOSE=1 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 -DLinux -c wmSpaceWeather.c -o wmSpaceWeather.o -I/usr/include/X11 wmSpaceWeather.c: In function 'main': wmSpaceWeather.c:288:25: error: too many arguments to function 'jd'; expected 0, have 4 288 | CurrentJD = jd(Year, Month, Day, UT); | ^~ ~~~~ wmSpaceWeather.c:132:17: note: declared here 132 | double jd(), CurrentJD, LatestAvailJD, tim, DeltaT; | ^~ wmSpaceWeather.c:332:29: error: too many arguments to function 'jd'; expected 0, have 4 332 | LatestAvailJD = jd(Year, Month, Day, UT); | ^~ ~~~~ wmSpaceWeather.c:132:17: note: declared here 132 | double jd(), CurrentJD, LatestAvailJD, tim, DeltaT; | ^~ wmSpaceWeather.c: In function 'jd': wmSpaceWeather.c:132:17: warning: old-style function definition [-Wold-style-definition] wmSpaceWeather.c:612:1: error: number of arguments doesn't match prototype 612 | { | ^ wmSpaceWeather.c:132:17: error: prototype declaration 132 | double jd(), CurrentJD, LatestAvailJD, tim, DeltaT; | ^~ wmSpaceWeather.c: In function 'main': wmSpaceWeather.c:298:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | fscanf(fp, "%ld %lf", &TimeTag[i], &Kp[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:301:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 301 | fscanf(fp, "%lf", &E1); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:302:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | fscanf(fp, "%lf", &E2); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:303:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | fscanf(fp, "%lf", &P1); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:304:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fscanf(fp, "%lf", &P2); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:305:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | fscanf(fp, "%lf", &P3); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:306:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 306 | fscanf(fp, "%10s", Xray); | ^~~~~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:540:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 540 | system("getspaceweather.py &"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c: In function 'pressEvent': wmSpaceWeather.c:675:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 675 | system(Command); | ^~~~~~~~~~~~~~~ make: *** [Makefile:14: wmSpaceWeather.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VkqU6Y (%build) RPM build warnings: /home/pterjan/rpmbuild/SPECS/wmspaceweather.spec line 40: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VkqU6Y (%build) I: [iurt_root_command] ERROR: chroot