D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/montage-6.0-4.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sWDthk + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/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 + rm -rf /home/pterjan/rpmbuild/BUILD/Montage-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Montage-SPECPARTS + /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/montage-v6.0-muldefs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/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 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dQ5EFa + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Montage + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/mkdir -p bin + /usr/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=2 -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=2 -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=2 -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=2 -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' + 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' + pushd lib/src ~/rpmbuild/BUILD/Montage/lib/src ~/rpmbuild/BUILD/Montage + /usr/bin/make (cd cmd && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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/lib/src/cmd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/cmd' cp libcmd.a ../.. cp cmd.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/cmd' (cd coord && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ccalc.o ccalc.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o parseCoordinateString.o parseCoordinateString.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sexToDecimalDegree.o sexToDecimalDegree.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o decimalDegreeToSex.o decimalDegreeToSex.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o convertCoordinates.o convertCoordinates.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o convertBesselianJulian.o convertBesselianJulian.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o precessBesselian.o precessBesselian.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o precessJulian.o precessJulian.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o convertEclEqu.o convertEclEqu.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o convertEquGal.o convertEquGal.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o convertGalSgal.o convertGalSgal.c 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o computeFKCorrections.o computeFKCorrections.c rm -f libcoord.a ar q libcoord.a ccalc.o parseCoordinateString.o sexToDecimalDegree.o decimalDegreeToSex.o convertCoordinates.o convertBesselianJulian.o precessBesselian.o precessJulian.o convertEclEqu.o convertEquGal.o convertGalSgal.o computeFKCorrections.o ar: creating libcoord.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/coord' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/coord' cp libcoord.a ../.. cp coord.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/coord' (cd mtbl && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/mtbl' 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mtbl.c ar rv libmtbl.a mtbl.o ar: creating libmtbl.a a - mtbl.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/mtbl' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/mtbl' cp libmtbl.a ../.. cp mtbl.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/mtbl' (cd svc && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/svc' cc -g -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o svclib.o svclib.c svclib.c: In function 'svc_init': svclib.c:334:11: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | (void) pipe(svc_list[index]->fdin ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ svclib.c:335:11: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | (void) pipe(svc_list[index]->fdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o structlib.o structlib.c structlib.c: In function 'svc_val': structlib.c:431:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 431 | subkey[strlen(subkey) - 1] = '\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ structlib.c:413:9: note: at offset -1 into destination object 'subkey' of size 4096 413 | char subkey[SVC_STRLEN], tail[SVC_STRLEN], subval[SVC_STRLEN]; | ^~~~~~ ar rv libsvc.a svclib.o structlib.o ar: creating libsvc.a a - svclib.o a - structlib.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/svc' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/svc' cp libsvc.a ../.. cp svc.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/svc' (cd json && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/json' cc -g -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o jsonlib.o jsonlib.c jsonlib.c: In function 'json_val': jsonlib.c:463:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 463 | subkey[strlen(subkey) - 1] = '\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ jsonlib.c:439:21: note: at offset 2147483647 into destination object of size [0, 2147483647] allocated by 'malloc' 439 | subkey = (char *)malloc(inlen); | ^~~~~~~~~~~~~ ar rv libjson.a jsonlib.o ar: creating libjson.a a - jsonlib.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/json' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/json' cp libjson.a ../.. cp json.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/json' (cd boundaries && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/boundaries' 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o boundaries.o boundaries.c rm -f libboundaries.a ar q libboundaries.a boundaries.o ar: creating libboundaries.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/boundaries' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/boundaries' cp libboundaries.a ../.. cp boundaries.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/boundaries' (cd pixbounds && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/pixbounds' 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=2 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pixbounds.o pixbounds.c rm -f libpixbounds.a ar q libpixbounds.a pixbounds.o ar: creating libpixbounds.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/pixbounds' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/pixbounds' cp libpixbounds.a ../.. cp pixbounds.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/pixbounds' (cd www && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/www' gcc -c -g -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o www.o www.c www.c: In function 'keyword_init': www.c:138:29: warning: '/KEYDBGXXXXXX' directive writing 13 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 138 | sprintf(debugFile, "%s/KEYDBGXXXXXX", tmpdir); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from www.c:1: In function 'sprintf', inlined from 'keyword_init' at www.c:138:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rm -f libwww.a ar q libwww.a www.o ar: creating libwww.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/www' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/www' cp libwww.a ../.. cp www.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/www' (cd two_plane_v1.1 && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/two_plane_v1.1' 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -ansi -I. -I../../include -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o two_plane.o two_plane.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -ansi -I. -I../../include -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o distort.o distort.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -ansi -I. -I../../include -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o initdistdata.o initdistdata.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -ansi -I. -I../../include -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o undistort.o undistort.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -ansi -I. -I../../include -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o redefine_pointing.o redefine_pointing.c ar rv libtwoplane.a two_plane.o distort.o initdistdata.o \ undistort.o redefine_pointing.o ar: creating libtwoplane.a a - two_plane.o a - distort.o a - initdistdata.o a - undistort.o a - redefine_pointing.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/two_plane_v1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/two_plane_v1.1' cp libtwoplane.a ../.. cp two_plane.h distort.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/two_plane_v1.1' (cd lodepng_20140823 && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/lodepng_20140823' 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -ansi -I. -I../../include -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lodepng.o lodepng.c ar rv liblodepng.a lodepng.o ar: creating liblodepng.a a - lodepng.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/lodepng_20140823' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/lodepng_20140823' cp liblodepng.a ../.. cp lodepng.h ../../include make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/lib/src/lodepng_20140823' (cd .. && ranlib *.a) chmod 644 ../include/*.h + popd ~/rpmbuild/BUILD/Montage + pushd Montage ~/rpmbuild/BUILD/Montage/Montage ~/rpmbuild/BUILD/Montage + ./Configure.sh OS: Linux + /usr/bin/make 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mConvert.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c debugCheck.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c checkHdr.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c checkWCS.c gcc -o mConvert mConvert.o debugCheck.o checkHdr.o \ checkWCS.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mFlattenExec.c mFlattenExec.c: In function 'main': mFlattenExec.c:224:34: warning: '%s' directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 224 | sprintf(cmd, "mFitplane %s", fname); | ^~ ~~~~~ In file included from /usr/include/stdio.h:980, from mFlattenExec.c:23: In function 'sprintf', inlined from 'main' at mFlattenExec.c:224:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mFlattenExec.c: In function 'main': mFlattenExec.c:222:37: warning: '%s' directive writing up to 4095 bytes into a region of size 4083 [-Wformat-overflow=] 222 | sprintf(cmd, "mFitplane -l %s", fname); | ^~ ~~~~~ In function 'sprintf', inlined from 'main' at mFlattenExec.c:222:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 14 and 4109 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mFlattenExec.c: In function 'main': mFlattenExec.c:270:39: warning: '%s' directive writing up to 4095 bytes into a region of size 4084 [-Wformat-overflow=] 270 | sprintf(cmd, "mBackground %s %s %12.5e %12.5e %12.5e", | ^~ 271 | fname, filePath(flatdir, fileName(fname)), a, b, c); | ~~~~~ In function 'sprintf', inlined from 'main' at mFlattenExec.c:270:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 53 or more bytes (assuming 4148) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mFlattenExec.c: In function 'main': mFlattenExec.c:267:42: warning: '%s' directive writing up to 4095 bytes into a region of size 4081 [-Wformat-overflow=] 267 | sprintf(cmd, "mBackground -n %s %s %12.5e %12.5e %12.5e", | ^~ 268 | fname, filePath(flatdir, fileName(fname)), a, b, c); | ~~~~~ In function 'sprintf', inlined from 'main' at mFlattenExec.c:267:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 56 or more bytes (assuming 4151) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c filePath.c gcc -o mFlattenExec mFlattenExec.o filePath.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mHdrCheck.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c checkFile.c gcc -o mHdrCheck mHdrCheck.o checkHdr.o checkWCS.o \ checkFile.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mHdrtbl.c mHdrtbl.c: In function 'get_list': mHdrtbl.c:350:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 350 | sprintf (dirname, "%s/%s", pathname, fname); | ^ In file included from /usr/include/stdio.h:980, from mHdrtbl.c:10: In function 'sprintf', inlined from 'get_list' at mHdrtbl.c:350:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c get_hfiles.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c get_hhdr.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c print_hrec.c gcc -g -o mHdrtbl mHdrtbl.o get_hfiles.o \ get_hhdr.o print_hrec.o checkWCS.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm /usr/bin/ld: mHdrtbl.o: in function `update_table': /home/pterjan/rpmbuild/BUILD/Montage/Montage/mHdrtbl.c:228:(.text+0x62): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mTblSort.c gcc -o mTblSort mTblSort.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mTileHdr.c gcc -o mTileHdr mTileHdr.o debugCheck.o \ checkHdr.o checkWCS.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mTileImage.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c subImage.c gcc -o mTileImage mTileImage.o \ checkHdr.o checkWCS.o subImage.o -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 -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm + /usr/bin/make install cp mConvert mFlattenExec mHdrCheck mHdrtbl mTblSort mTileHdr mTileImage ../bin + popd ~/rpmbuild/BUILD/Montage + pushd util ~/rpmbuild/BUILD/Montage/util ~/rpmbuild/BUILD/Montage + /usr/bin/make (cd Calibrate && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Calibrate' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -g -I. -I../../lib/include -I../../Montage -c mCalibrate.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -o mCalibrate mCalibrate.o -L../../lib -lmtbl -lsvc -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -g -I. -I../../lib/include -I../../Montage -c mCalExec.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -o mCalExec mCalExec.o ../../Montage/filePath.o -L../../lib -lmtbl -lsvc -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Calibrate' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Calibrate' cp mCalibrate mCalExec ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Calibrate' (cd CatMap && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatMap' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mCatMap.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mCatMap mCatMap.o \ ../../Montage/checkHdr.o \ ../../Montage/checkWCS.o \ ../../Montage/debugCheck.o \ -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 -L../../lib -lmtbl -lcoord -lwcstools -lcfitsio -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatMap' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatMap' cp mCatMap ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatMap' (cd CatSearch && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatSearch' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -g -I. -I../../lib/include -I../../Montage -c mCatSearch.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -o mCatSearch mCatSearch.o -L../../lib -lsvc -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatSearch' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatSearch' cp mCatSearch ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/CatSearch' (cd Exec && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Exec' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mExec.c mExec.c: In function 'main': mExec.c:332:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | getcwd(cwd, MAXLEN); | ^~~~~~~~~~~~~~~~~~~ mExec.c:609:7: warning: ignoring return value of 'mkdtemp' declared with attribute 'warn_unused_result' [-Wunused-result] 609 | mkdtemp(template); | ^~~~~~~~~~~~~~~~~ mExec.c:839:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 839 | chdir(workspace[iband]); | ^~~~~~~~~~~~~~~~~~~~~~~ mExec.c:1308:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1308 | chdir(rawdir); | ^~~~~~~~~~~~~ mExec.c:1384:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1384 | chdir(workspace[iband]); | ^~~~~~~~~~~~~~~~~~~~~~~ mExec.c:1401:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1401 | chdir(rawdir); | ^~~~~~~~~~~~~ mExec.c:1441:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1441 | chdir(workspace[iband]); | ^~~~~~~~~~~~~~~~~~~~~~~ mExec.c:1451:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1451 | system(cmd); | ^~~~~~~~~~~ mExec.c:2717:16: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2717 | system(cmd); | ^~~~~~~~~~~ mExec.c:2930:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2930 | system(cmd); | ^~~~~~~~~~~ mExec.c:2945:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2945 | system(cmd); | ^~~~~~~~~~~ mExec.c:3138:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3138 | chdir(cwd); | ^~~~~~~~~~ mExec.c:3261:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 3261 | system(cmd); | ^~~~~~~~~~~ mExec.c:1179:40: warning: '%s' directive writing up to 12287 bytes into a region of size 4083 [-Wformat-overflow=] 1179 | sprintf(cmd, "mArchiveList %s %s \"%.4f %.4f eq j2000\" %.2f %.2f remote_big.tbl", | ^~ mExec.c:1179:26: note: assuming directive output of 6 bytes 1179 | sprintf(cmd, "mArchiveList %s %s \"%.4f %.4f eq j2000\" %.2f %.2f remote_big.tbl", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mExec.c:1179:26: note: assuming directive output of 6 bytes mExec.c:1179:26: note: assuming directive output of 4 bytes mExec.c:1179:26: note: assuming directive output of 4 bytes In file included from /usr/include/stdio.h:980, from mExec.c:11: In function 'sprintf', inlined from 'main' at mExec.c:1179:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 57 and 13635 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mExec.c: In function 'main': mExec.c:1176:40: warning: '%s' directive writing up to 12287 bytes into a region of size 4083 [-Wformat-overflow=] 1176 | sprintf(cmd, "mArchiveList %s %s \"%.4f %.4f eq j2000\" %.2f %.2f remote.tbl", | ^~ mExec.c:1176:26: note: assuming directive output of 6 bytes 1176 | sprintf(cmd, "mArchiveList %s %s \"%.4f %.4f eq j2000\" %.2f %.2f remote.tbl", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mExec.c:1176:26: note: assuming directive output of 6 bytes mExec.c:1176:26: note: assuming directive output of 4 bytes mExec.c:1176:26: note: assuming directive output of 4 bytes In function 'sprintf', inlined from 'main' at mExec.c:1176:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 53 and 13631 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mExec.c: In function 'main': mExec.c:1270:31: warning: '%s' directive writing up to 12287 bytes into a region of size 4096 [-Wformat-overflow=] 1270 | sprintf( msg, "%s has no data overlapping this area", survey[iband]); | ^~ In function 'sprintf', inlined from 'main' at mExec.c:1270:16: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 35 and 12322 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mExec.c: In function 'main': mExec.c:1217:28: warning: '%s' directive writing up to 12287 bytes into a region of size 4096 [-Wformat-overflow=] 1217 | sprintf( msg, "%s/%s has no data covering area", survey[iband], band[iband]); | ^~ In function 'sprintf', inlined from 'main' at mExec.c:1217:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 28 and 12362 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mExec.c: In function 'main': mExec.c:2766:50: warning: '%s' directive writing up to 4095 bytes into a region of size 4073 [-Wformat-overflow=] 2766 | sprintf(msg, "Can't open save file: [%s]", savetmp); | ^~ ~~~~~~~ In function 'sprintf', inlined from 'main' at mExec.c:2766:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 4120 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mExec mExec.o \ ../../Montage/debugCheck.o \ ../../Montage/filePath.o \ -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 -L../../lib -lsvc -lmtbl -lwcstools -lcfitsio -lcoord -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Exec' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Exec' cp mExec ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Exec' (cd MovingTarget && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/MovingTarget' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/wcstools -I. -I./rtree -I../../lib/include -I../../Montage -c mMovingTarget.c mMovingTarget.c: In function 'main': mMovingTarget.c:1011:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1011 | write(fdset, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c:1108:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1108 | write(fdset, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c:1271:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1271 | write(fdrec, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c:2033:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2033 | write(newfile, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c:2055:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2055 | write(fdcnt, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c: In function 'overlapCallback': mMovingTarget.c:4409:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 4409 | read(reffd, (void *)refRec, (size_t)set[setid].reclen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c: In function 'main': mMovingTarget.c:2149:10: warning: 'fgets' writing 32768 bytes into a region of size 1024 overflows the destination [-Wstringop-overflow=] 2149 | if(fgets(line, BIGSTR, stdin) == (char *)NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mMovingTarget.c:339:11: note: destination object 'line' of size 1024 339 | char line [MAXSTR]; | ^~~~ In file included from /usr/include/stdio.h:980, from mMovingTarget.c:39: /usr/include/bits/stdio2.h:196:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' 196 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In function 'fgets', inlined from 'main' at mMovingTarget.c:2149:10: /usr/include/bits/stdio2.h:202:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 202 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (cd rtree; make) make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/MovingTarget/rtree' gcc -Wall -c card.c gcc -Wall -c index.c index.c: In function 'RTreeConvertToID': index.c:171:18: warning: variable 'index' set but not used [-Wunused-but-set-variable] 171 | int index; | ^~~~~ gcc -Wall -c mfmalloc.c gcc -Wall -c node.c gcc -Wall -c rect.c gcc -Wall -c split_q.c ar rcv librtree.a card.o index.o mfmalloc.o node.o rect.o split_q.o a - card.o a - index.o a - mfmalloc.o a - node.o a - rect.o a - split_q.o ranlib librtree.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/MovingTarget/rtree' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,muldefs -o mMovingTarget mMovingTarget.o \ ../../Montage/debugCheck.o \ ../../Montage/checkFile.o \ ../../Montage/checkWCS.o \ -Lrtree -lrtree -L../../lib -lcmd -lwcstools -lcoord -lmtbl -lcfitsio -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/MovingTarget' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/MovingTarget' cp mMovingTarget ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/MovingTarget' (cd Pad && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pad' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mPad.c mPad.c: In function 'main': mPad.c:263:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 263 | fgets(line, 1024, fhist); | ^~~~~~~~~~~~~~~~~~~~~~~~ mPad.c:267:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 267 | fgets(line, 1024, fhist); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -o mPad mPad.o \ ../../Montage/checkHdr.o \ ../../Montage/checkWCS.o \ -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 -L../../lib -lwcstools -lcfitsio -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pad' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pad' cp mPad ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pad' (cd Pix2Coord && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pix2Coord' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mPix2Coord.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mPix2Coord mPix2Coord.o \ ../../Montage/checkHdr.o \ ../../Montage/checkWCS.o \ -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 -L../../lib -lwcstools -lcoord -lcfitsio -ljpeg -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mFixHdr.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -o mFixHdr mFixHdr.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pix2Coord' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pix2Coord' cp mPix2Coord mFixHdr ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Pix2Coord' (cd Rotate && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Rotate' gcc -std=c99 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mRotate.c gcc -std=c99 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -o mRotate mRotate.o \ ../../Montage/checkHdr.o \ ../../Montage/checkWCS.o \ -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 -L../../lib -lwcstools -lcfitsio -lcoord -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Rotate' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Rotate' cp mRotate ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Rotate' (cd Search && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Search' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mSearch.c mSearch.c: In function 'main': mSearch.c:927:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 927 | write(fdset, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mSearch.c:1024:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1024 | write(fdset, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mSearch.c:1189:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1189 | write(fdrec, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~ mSearch.c:1875:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1875 | write(newfile, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ mSearch.c: In function 'overlapCallback': mSearch.c:4046:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 4046 | read(reffd, (void *)refRec, (size_t)set[setid].reclen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mSearch.c: In function 'main': mSearch.c:1993:10: warning: 'fgets' writing 32768 bytes into a region of size 1024 overflows the destination [-Wstringop-overflow=] 1993 | if(fgets(line, BIGSTR, stdin) == (char *)NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mSearch.c:308:11: note: destination object 'line' of size 1024 308 | char line [MAXSTR]; | ^~~~ In file included from /usr/include/stdio.h:980, from mSearch.c:14: /usr/include/bits/stdio2.h:196:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' 196 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In function 'fgets', inlined from 'main' at mSearch.c:1993:10: /usr/include/bits/stdio2.h:202:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 202 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (cd rtree; make) make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Search/rtree' 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c card.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c index.c index.c: In function 'RTreeConvertToID': index.c:194:18: warning: variable 'index' set but not used [-Wunused-but-set-variable] 194 | int index; | ^~~~~ 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c mfmalloc.c mfmalloc.c: In function 'mfInit': mfmalloc.c:37:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | write(fd, "", 1); | ^~~~~~~~~~~~~~~~ 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c node.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c rect.c 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c split_q.c ar rcv librtree.a card.o index.o mfmalloc.o node.o rect.o split_q.o a - card.o a - index.o a - mfmalloc.o a - node.o a - rect.o a - split_q.o ranlib librtree.a 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I./rtree -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -o test test.c librtree.a -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Search/rtree' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mSearch mSearch.o \ ../../Montage/debugCheck.o \ ../../Montage/checkFile.o \ ../../Montage/checkWCS.o \ -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 -Lrtree -lrtree -L../../lib -lcmd -lwcstools -lcoord -lmtbl -lcfitsio -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Search' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Search' cp mSearch ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/Search' (cd ShrinkHdr && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/ShrinkHdr' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mShrinkHdr.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mShrinkHdr mShrinkHdr.o \ ../../Montage/checkHdr.o \ ../../Montage/checkWCS.o \ -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 -L../../lib -lwcstools -lcoord -lcfitsio -ljpeg -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/ShrinkHdr' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/ShrinkHdr' cp mShrinkHdr ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/ShrinkHdr' (cd TblExec && make && make install) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/TblExec' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../lib/include -I../../Montage -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mTblExec.c mTblExec.c: In function 'main': mTblExec.c:88:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | getcwd(cwd, MAXLEN); | ^~~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mTblExec mTblExec.o -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 -L../../lib -lsvc -lmtbl -lm /usr/bin/ld: mTblExec.o: in function `main': /home/pterjan/rpmbuild/BUILD/Montage/util/TblExec/mTblExec.c:171:(.text.startup+0x211): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/TblExec' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/util/TblExec' cp mTblExec ../../bin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/util/TblExec' + popd ~/rpmbuild/BUILD/Montage + pushd grid ~/rpmbuild/BUILD/Montage/grid ~/rpmbuild/BUILD/Montage + /usr/bin/make (cd Pegasus && ./Configure.sh && make && make install) OS: Linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/Montage/grid/Pegasus' gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mConcatFit.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mConcatFit mConcatFit.o \ ../../Montage/checkFile.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mDAG.c mDAG.c: In function 'main': mDAG.c:2089:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2089 | fgets(line, MAXSTR, fparent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mDAG.c: In function 'lookup': mDAG.c:2334:28: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] 2334 | sprintf(request, "GET %s%s HTTP/1.1\r\nHOST: %s:%d\r\n\r\n", | ^~ 2335 | base, constraint, server, port); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from mDAG.c:14: In function 'sprintf', inlined from 'lookup' at mDAG.c:2334:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 29 or more bytes (assuming 1052) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mDAG.c: In function 'main': mDAG.c:999:30: warning: '.txt' directive writing 4 bytes into a region of size between 2 and 1021 [-Wformat-overflow=] 999 | sprintf(fitname, "fit%s.txt", fname+4); | ^~~~ In function 'sprintf', inlined from 'main' at mDAG.c:999:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 1027 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mDAG.c: In function 'main': mDAG.c:2066:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 2066 | sprintf(cmd, "mTblSort %s parent %s", parentList, sortedParent); | ^~ ~~~~~~~~~~ In function 'sprintf', inlined from 'main' at mDAG.c:2066:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 18 and 2064 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mDAG.c: In function 'main': mDAG.c:2064:40: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] 2064 | sprintf(cmd, "%s/bin/mTblSort %s parent %s", path, parentList, sortedParent); | ^~ ~~~~~~~~~~ In function 'sprintf', inlined from 'main' at mDAG.c:2064:10: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 23 or more bytes (assuming 2069) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hashtable.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mDAG mDAG.o hashtable.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mDAGFiles.c mDAGFiles.c: In function 'main': mDAGFiles.c:107:28: warning: '%s' directive writing up to 19999 bytes into a region of size 19996 [-Wformat-overflow=] 107 | sprintf(request, "GET %s%s HTTP/1.0\r\nHOST: %s:%d\r\n\r\n", | ^~ 108 | base, constraint, server, port); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from mDAGFiles.c:13: In function 'sprintf', inlined from 'main' at mDAGFiles.c:107:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 29 or more bytes (assuming 20028) into a destination of size 20000 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mDAGFiles mDAGFiles.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mDAGGalacticPlane.c mDAGGalacticPlane.c: In function 'main': mDAGGalacticPlane.c:1460:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1460 | fgets(line, MAXSTR, fparent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mDAGGalacticPlane.c:695:30: warning: '.txt' directive writing 4 bytes into a region of size between 2 and 1021 [-Wformat-overflow=] 695 | sprintf(fitname, "fit%s.txt", fname+4); | ^~~~ In file included from /usr/include/stdio.h:980, from mDAGGalacticPlane.c:13: In function 'sprintf', inlined from 'main' at mDAGGalacticPlane.c:695:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 1027 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mDAGGalacticPlane.c: In function 'main': mDAGGalacticPlane.c:1437:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1437 | sprintf(cmd, "mTblSort %s parent %s", parentList, sortedParent); | ^~ ~~~~~~~~~~ In function 'sprintf', inlined from 'main' at mDAGGalacticPlane.c:1437:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 18 and 2064 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mDAGGalacticPlane.c: In function 'main': mDAGGalacticPlane.c:1435:40: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] 1435 | sprintf(cmd, "%s/bin/mTblSort %s parent %s", path, parentList, sortedParent); | ^~ ~~~~~~~~~~ In function 'sprintf', inlined from 'main' at mDAGGalacticPlane.c:1435:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 23 or more bytes (assuming 2069) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mDAGGalacticPlane.c: In function 'lookup': mDAGGalacticPlane.c:1705:28: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] 1705 | sprintf(request, "GET %s%s HTTP/1.1\r\nHOST: %s:%d\r\n\r\n", | ^~ 1706 | base, constraint, server, port); | ~~~~~~~~~~ In function 'sprintf', inlined from 'lookup' at mDAGGalacticPlane.c:1705:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 29 or more bytes (assuming 1052) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mDAGGalacticPlane mDAGGalacticPlane.o hashtable.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mDAGTbls.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mDAGTbls mDAGTbls.o \ ../../Montage/filePath.o \ ../../Montage/checkHdr.o \ ../../Montage/checkWCS.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mDiffFit.c mDiffFit.c: In function 'main': mDiffFit.c:202:11: warning: ignoring return value of 'fopen' declared with attribute 'warn_unused_result' [-Wunused-result] 202 | fopen(output_file, "w+"); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mDiffFit mDiffFit.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mGridExec.c gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mGridExec mGridExec.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mNotify.c mNotify.c: In function 'main': mNotify.c:81:28: warning: '%s' directive writing up to 19999 bytes into a region of size 19996 [-Wformat-overflow=] 81 | sprintf(request, "GET %s%s HTTP/1.0\r\nHOST: %s:%d\r\n\r\n", | ^~ 82 | base, constraint, server, port); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from mNotify.c:9: In function 'sprintf', inlined from 'main' at mNotify.c:81:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 29 or more bytes (assuming 20028) into a destination of size 20000 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mNotify mNotify.o -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 -L../../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lboundaries -lm gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I. -I../../Montage -I../../lib/include -I/usr/include/libwcs -I/usr/include/freetype2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mPresentation.c mPresentation.c: In function 'main': mPresentation.c:54:4: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 54 | strcpy(urlbase, argv[1]); | ^~~~~~ mPresentation.c:17:1: note: include '' or provide a declaration of 'strcpy' 16 | #include +++ |+#include 17 | mPresentation.c:54:4: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 54 | strcpy(urlbase, argv[1]); | ^~~~~~ mPresentation.c:54:4: note: include '' or provide a declaration of 'strcpy' make[1]: *** [Makefile:23: mPresentation.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Montage/grid/Pegasus' make: *** [Makefile:2: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dQ5EFa (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dQ5EFa (%build) I: [iurt_root_command] ERROR: chroot