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/montage-6.0-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sEkmfi sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L3VxED + umask 022 + cd /home/pterjan/rpmbuild/BUILD/montage-6.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/montage-6.0-build + rm -rf Montage + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Montage_v6.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd Montage + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Use-system-libs-for-wcstools-cfitsio-and-jpeg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Propagate-CFLAGS-Co.-for-hardening-and-wcstools-incpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Trap-errors-in-Makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Remove-outdated-ProjExec-Configure.sh.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Initialize-mxcntr-in-montageBgExec.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Remove-bangpath-in-Python-module.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Fix-python-setup-script.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Include-string.h-in-mPresentation.c-to-declare-strcpy.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/montage-v6.0-muldefs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|$(CC) -o|$(CC) -Wl,-z,muldefs -o|g' MontageLib/Add/Makefile.LINUX MontageLib/AddCube/Makefile.LINUX MontageLib/ArchiveList/Makefile.LINUX MontageLib/Background/Makefile.LINUX MontageLib/CoverageCheck/Makefile.LINUX MontageLib/Diff/Makefile.LINUX MontageLib/Examine/Makefile.LINUX MontageLib/FixNaN/Makefile.LINUX MontageLib/Hdr/Makefile.LINUX MontageLib/Imgtbl/Makefile.LINUX MontageLib/MakeHdr/Makefile.LINUX MontageLib/MakeImg/Makefile.LINUX MontageLib/Overlaps/Makefile.LINUX MontageLib/Project/Makefile.LINUX MontageLib/ProjectCube/Makefile.LINUX MontageLib/ProjectPP/Makefile.LINUX MontageLib/ProjectQL/Makefile.LINUX MontageLib/SubCube/Makefile.LINUX MontageLib/Subimage/Makefile.LINUX MontageLib/Subset/Makefile.LINUX MontageLib/Transpose/Makefile.LINUX MontageLib/Viewer/Makefile.LINUX MontageLib/WWT/Makefile.LINUX + 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.KoJDKu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/montage-6.0-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 Montage + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p bin + mkdir -p lib/include + export 'CPPFLAGS=-I/usr/include/libwcs -I/usr/include/freetype2 -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' + CPPFLAGS='-I/usr/include/libwcs -I/usr/include/freetype2 -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=-I/usr/include/libwcs -I/usr/include/freetype2 -Wl,-z,muldefs -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' + CFLAGS='-I/usr/include/libwcs -I/usr/include/freetype2 -Wl,-z,muldefs -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 'LDFLAGS=-Wl,-z,muldefs -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' + LDFLAGS='-Wl,-z,muldefs -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' + pushd lib/src ~/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src ~/rpmbuild/BUILD/montage-6.0-build/Montage + /usr/bin/make (cd cmd && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src/cmd' gcc -I/usr/include/libwcs -I/usr/include/freetype2 -Wl,-z,muldefs -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 -fPIC -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libwcs -I/usr/include/freetype2 -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 -c -o cmd.o cmd.c rm -f libcmd.a ar q libcmd.a cmd.o ar: creating libcmd.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src/cmd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src/cmd' cp libcmd.a ../.. cp cmd.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src/cmd' (cd coord && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src/coord' gcc -I/usr/include/libwcs -I/usr/include/freetype2 -Wl,-z,muldefs -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 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../../include -I/usr/include/libwcs -I/usr/include/freetype2 -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 -c -o ccalc.o ccalc.c ccalc.c:88:5: error: conflicting types for 'ccalc'; have 'int(struct COORD *, struct COORD *, char *, char *)' 88 | int ccalc(struct COORD *from, struct COORD *to, char *longprec, char *latprec) | ^~~~~ In file included from ccalc.c:7: ./coord.h:114:6: note: previous declaration of 'ccalc' with type 'int(void)' 114 | int ccalc(); | ^~~~~ ccalc.c: In function 'ccalc': ccalc.c:146:5: error: too many arguments to function 'convertCoordinates'; expected 0, have 9 146 | convertCoordinates(jsysin, eqx1, from->lon, from->lat, jsysou, eqx2, | ^~~~~~~~~~~~~~~~~~ ~~~~~~ ccalc.c:18:13: note: declared here 18 | extern void convertCoordinates(); | ^~~~~~~~~~~~~~~~~~ ccalc.c: In function 'ConverttoDD': ccalc.c:330:11: error: too many arguments to function 'sexToDegree'; expected 0, have 4 330 | if (sexToDegree(clon, clat, lon, lat) != 0) | ^~~~~~~~~~~ ~~~~ ./coord.h:118:6: note: declared here 118 | int sexToDegree(); | ^~~~~~~~~~~ ccalc.c: In function 'ConvertfromDD': ccalc.c:407:11: error: too many arguments to function 'degreeToHMS'; expected 0, have 6 407 | if (degreeToHMS(*lon,longprec,&sign,&hr,&hmin,&hsec) < 0) | ^~~~~~~~~~~ ~~~~ ./coord.h:116:6: note: declared here 116 | int degreeToHMS(); | ^~~~~~~~~~~ ccalc.c:418:11: error: too many arguments to function 'degreeToDMS'; expected 0, have 6 418 | if (degreeToDMS(*lat,latprec,&sign,°,&dmin,&dsec) < 0) | ^~~~~~~~~~~ ~~~~ ./coord.h:115:6: note: declared here 115 | int degreeToDMS(); | ^~~~~~~~~~~ ccalc.c:434:12: error: too many arguments to function 'roundValue'; expected 0, have 2 434 | *lon = roundValue(*lon,longprec); | ^~~~~~~~~~ ~~~~ ./coord.h:121:8: note: declared here 121 | double roundValue(); | ^~~~~~~~~~ ccalc.c:436:12: error: too many arguments to function 'roundValue'; expected 0, have 2 436 | *lat = roundValue(*lat,latprec); | ^~~~~~~~~~ ~~~~ ./coord.h:121:8: note: declared here 121 | double roundValue(); | ^~~~~~~~~~ make[1]: *** [: ccalc.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/montage-6.0-build/Montage/lib/src/coord' make: *** [Makefile:5: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KoJDKu (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KoJDKu (%build) I: [iurt_root_command] ERROR: chroot