D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/wcstools-3.9.7-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KSWUOH Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D5FEjf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wcstools-3.9.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/wcstools-3.9.7-build + rm -rf wcstools-3.9.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wcstools-3.9.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wcstools-3.9.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/wcstools-3.9.7-rename-shlib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + grep -rl '59 Temple Place, Suite 330, Boston, MA 02111-1307 USA' '--include=*.c' '--include=*.h' + xargs -i@ sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./g' @ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aaTRZ4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wcstools-3.9.7-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 wcstools-3.9.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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' + 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 'CPPFLAGS=-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='-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' + /usr/bin/make /usr/bin/make CC=gcc -C libwcs make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -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 imsetwcs.o imsetwcs.c imsetwcs.c:88:13: error: conflicting types for 'SetFITSPlate'; have 'void(void)' 88 | extern void SetFITSPlate(); | ^~~~~~~~~~~~ In file included from imsetwcs.c:35: wcs.h:682:10: note: previous declaration of 'SetFITSPlate' with type 'void(char *, struct WorldCoor *)' 682 | void SetFITSPlate ( /* Set FITS header plate fit coefficients from structure */ | ^~~~~~~~~~~~ imsetwcs.c: In function 'settabkrw': imsetwcs.c:91:6: warning: old-style function definition [-Wold-style-definition] 91 | void settabkrw (keyword0) | ^~~~~~~~~ imsetwcs.c: In function 'SetWCSFITS': imsetwcs.c:105:1: warning: old-style function definition [-Wold-style-definition] 105 | SetWCSFITS (filename, header, image, refcatname, verbose) | ^~~~~~~~~~ imsetwcs.c:212:21: error: too many arguments to function 'ReadMatch'; expected 0, have 6 212 | if ((nbin = ReadMatch (matchcat, &sx, &sy, &gra, &gdec, verbose)) < 1) { | ^~~~~~~~~ ~~~~~~~~ imsetwcs.c:44:12: note: declared here 44 | extern int ReadMatch(); | ^~~~~~~~~ imsetwcs.c:218:13: error: too many arguments to function 'WCSMatch'; expected 0, have 6 218 | WCSMatch (nbin, sx, sy, gra, gdec, verbose); | ^~~~~~~~ ~~~~ imsetwcs.c:46:12: note: declared here 46 | extern int WCSMatch(); | ^~~~~~~~ imsetwcs.c:221:15: error: too many arguments to function 'GetFITSWCS'; expected 0, have 12 221 | wcs = GetFITSWCS (filename,header,verbose,&cra,&cdec,&dra,&ddec, | ^~~~~~~~~~ ~~~~~~~~ imsetwcs.c:48:26: note: declared here 48 | extern struct WorldCoor *GetFITSWCS (); | ^~~~~~~~~~ imsetwcs.c:228:13: error: too many arguments to function 'SetFITSWCS'; expected 0, have 2 228 | SetFITSWCS (header, wcs); | ^~~~~~~~~~ ~~~~~~ imsetwcs.c:50:13: note: declared here 50 | extern void SetFITSWCS(); | ^~~~~~~~~~ imsetwcs.c:231:16: error: too many arguments to function 'FitMatch'; expected 0, have 7 231 | nbin = FitMatch (nbin, sx, sy, gra, gdec, wcs, verbose); | ^~~~~~~~ ~~~~ imsetwcs.c:45:12: note: declared here 45 | extern int FitMatch(); | ^~~~~~~~ imsetwcs.c:238:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 238 | fprintf (stderr, "Could not calloc %d bytes for gnum\n", | ~^ | | | int | %ld 239 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:243:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 243 | fprintf (stderr, "Could not calloc %d bytes for gx\n", | ~^ | | | int | %ld 244 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:246:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 246 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 247 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:249:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 249 | fprintf (stderr, "Could not calloc %d bytes for goff\n", | ~^ | | | int | %ld 250 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:252:9: error: too many arguments to function 'SetFITSWCS'; expected 0, have 2 252 | SetFITSWCS (header, wcs); | ^~~~~~~~~~ ~~~~~~ imsetwcs.c:50:13: note: declared here 50 | extern void SetFITSWCS(); | ^~~~~~~~~~ imsetwcs.c:272:11: error: too many arguments to function 'GetFITSWCS'; expected 0, have 12 272 | wcs = GetFITSWCS (filename,header,verbose,&cra,&cdec,&dra,&ddec,&secpix, | ^~~~~~~~~~ ~~~~~~~~ imsetwcs.c:48:26: note: declared here 48 | extern struct WorldCoor *GetFITSWCS (); | ^~~~~~~~~~ imsetwcs.c:281:9: error: too many arguments to function 'SetFITSWCS'; expected 0, have 2 281 | SetFITSWCS (header, wcs); | ^~~~~~~~~~ ~~~~~~ imsetwcs.c:50:13: note: declared here 50 | extern void SetFITSWCS(); | ^~~~~~~~~~ imsetwcs.c:312:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 312 | fprintf (stderr, "Could not calloc %d bytes for gnum\n", | ~^ | | | int | %ld 313 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:315:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 315 | fprintf (stderr, "Could not calloc %d bytes for gra\n", | ~^ | | | int | %ld 316 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:318:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 318 | fprintf (stderr, "Could not calloc %d bytes for gdec\n", | ~^ | | | int | %ld 319 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:321:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 321 | fprintf (stderr, "Could not calloc %d bytes for gpra\n", | ~^ | | | int | %ld 322 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:324:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 324 | fprintf (stderr, "Could not calloc %d bytes for gpdec\n", | ~^ | | | int | %ld 325 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:327:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 327 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 328 | nmagmax*sizeof(double *)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:332:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 332 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 333 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:337:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 337 | fprintf (stderr, "Could not calloc %d bytes for gc\n", | ~^ | | | int | %ld 338 | ngmax*sizeof(int)); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:340:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 340 | fprintf (stderr, "Could not calloc %d bytes for obj\n", | ~^ | | | int | %ld 341 | ngmax*sizeof(char *)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:362:13: error: too many arguments to function 'NParamFit'; expected 0, have 1 362 | npfit = NParamFit (100); | ^~~~~~~~~ ~~~ imsetwcs.c:172:16: note: declared here 172 | extern int NParamFit(); | ^~~~~~~~~ imsetwcs.c:377:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 377 | fprintf (stderr, "Could not calloc %d bytes for gx\n", | ~^ | | | int | %ld 378 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:380:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 380 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 381 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:383:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 383 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 384 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:473:14: error: too many arguments to function 'FindStars'; expected 0, have 8 473 | ns = FindStars (header, image, &sx, &sy, &sm, &sp, verbose, 0); | ^~~~~~~~~ ~~~~~~ imsetwcs.c:40:12: note: declared here 40 | extern int FindStars(); | ^~~~~~~~~ imsetwcs.c:571:16: error: too many arguments to function 'StarMatch'; expected 0, have 14 571 | nbin = StarMatch (nbs,sx,sy,refcat,nbg,gnum,gra,gdec,goff,gx,gy, | ^~~~~~~~~ ~~~ imsetwcs.c:43:12: note: declared here 43 | extern int StarMatch(); | ^~~~~~~~~ imsetwcs.c:600:9: error: too many arguments to function 'SetFITSWCS'; expected 0, have 2 600 | SetFITSWCS (header, wcs); | ^~~~~~~~~~ ~~~~~~ imsetwcs.c:50:13: note: declared here 50 | extern void SetFITSWCS(); | ^~~~~~~~~~ imsetwcs.c:708:13: error: too many arguments to function 'PrintRes'; expected 0, have 12 708 | PrintRes (header,wcs,nmatch,sx1,sy1,sm1,gra1,gdec1,gm1,gnum1, | ^~~~~~~~ ~~~~~~ imsetwcs.c:86:13: note: declared here 86 | static void PrintRes(); | ^~~~~~~~ imsetwcs.c:721:13: error: too many arguments to function 'CompRes'; expected 0, have 10 721 | CompRes (header,wcs,nmatch,sx1,sy1,sm1,gra1,gdec1,gm1,gnum1); | ^~~~~~~ ~~~~~~ imsetwcs.c:87:13: note: declared here 87 | static void CompRes(); | ^~~~~~~ imsetwcs.c:730:17: error: too many arguments to function 'FitPlate'; expected 0, have 8 730 | if (FitPlate (wcs, sx1, sy1, gra1, gdec1, nmatch, fitplate, | ^~~~~~~~ ~~~ imsetwcs.c:47:12: note: declared here 47 | extern int FitPlate(); | ^~~~~~~~ imsetwcs.c:736:17: error: too many arguments to function 'PrintRes'; expected 0, have 12 736 | PrintRes (header,wcs,nmatch,sx1,sy1,sm1,gra1,gdec1,gm1,gnum1, | ^~~~~~~~ ~~~~~~ imsetwcs.c:86:13: note: declared here 86 | static void PrintRes(); | ^~~~~~~~ imsetwcs.c:747:17: error: too many arguments to function 'SetFITSPlate'; expected 0, have 2 747 | SetFITSPlate (header, wcs); | ^~~~~~~~~~~~ ~~~~~~ imsetwcs.c:88:13: note: declared here 88 | extern void SetFITSPlate(); | ^~~~~~~~~~~~ imsetwcs.c:750:17: error: too many arguments to function 'CompRes'; expected 0, have 10 750 | CompRes (header,wcs,nmatch,sx1,sy1,sm1,gra1,gdec1,gm1,gnum1); | ^~~~~~~ ~~~~~~ imsetwcs.c:87:13: note: declared here 87 | static void CompRes(); | ^~~~~~~ imsetwcs.c:751:17: error: too many arguments to function 'SetFITSPlate'; expected 0, have 2 751 | SetFITSPlate (header, wcs); | ^~~~~~~~~~~~ ~~~~~~ imsetwcs.c:88:13: note: declared here 88 | extern void SetFITSPlate(); | ^~~~~~~~~~~~ imsetwcs.c:823:9: error: too many arguments to function 'setdcenter'; expected 0, have 2 823 | setdcenter (ra, dec); | ^~~~~~~~~~ ~~ imsetwcs.c:173:17: note: declared here 173 | extern void setdcenter(),setsys(),setrefpix(),setsecpix(); | ^~~~~~~~~~ imsetwcs.c:824:9: error: too many arguments to function 'setsys'; expected 0, have 1 824 | setsys (wcs->syswcs); | ^~~~~~ ~~~~~~~~~~~ imsetwcs.c:173:30: note: declared here 173 | extern void setdcenter(),setsys(),setrefpix(),setsecpix(); | ^~~~~~ imsetwcs.c:825:9: error: too many arguments to function 'setrefpix'; expected 0, have 2 825 | setrefpix (x, y); | ^~~~~~~~~ ~ imsetwcs.c:173:39: note: declared here 173 | extern void setdcenter(),setsys(),setrefpix(),setsecpix(); | ^~~~~~~~~ imsetwcs.c:826:9: error: too many arguments to function 'setsecpix'; expected 0, have 1 826 | setsecpix (-3600.0 * wcs->xinc); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ imsetwcs.c:173:51: note: declared here 173 | extern void setdcenter(),setsys(),setrefpix(),setsecpix(); | ^~~~~~~~~ imsetwcs.c:827:9: error: too many arguments to function 'setsecpix2'; expected 0, have 1 827 | setsecpix2 (3600.0 * wcs->yinc); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ imsetwcs.c:174:17: note: declared here 174 | extern void setsecpix2(),setrot(); | ^~~~~~~~~~ imsetwcs.c:828:9: error: too many arguments to function 'setrot'; expected 0, have 1 828 | setrot (wcs->rot); | ^~~~~~ ~~~~~~~~ imsetwcs.c:174:30: note: declared here 174 | extern void setsecpix2(),setrot(); | ^~~~~~ imsetwcs.c:844:9: error: too many arguments to function 'setnfit'; expected 0, have 1 844 | setnfit (nfit); | ^~~~~~~ ~~~~ imsetwcs.c:53:13: note: declared here 53 | extern void setnfit(); | ^~~~~~~ imsetwcs.c: In function 'PrintRes': imsetwcs.c:898:1: warning: old-style function definition [-Wold-style-definition] 898 | PrintRes (header,wcs,nmatch,sx1,sy1,sm1,gra1,gdec1,gm1,gnum1,refcat,verbose) | ^~~~~~~~ imsetwcs.c: In function 'CompRes': imsetwcs.c:1045:1: warning: old-style function definition [-Wold-style-definition] 1045 | CompRes (header,wcs,nmatch,sx1,sy1,sm1,gra1,gdec1,gm1,gnum1) | ^~~~~~~ imsetwcs.c: In function 'settolerance': imsetwcs.c:1123:1: warning: old-style function definition [-Wold-style-definition] 1123 | settolerance (tol) | ^~~~~~~~~~~~ imsetwcs.c: In function 'setnxydec': imsetwcs.c:1130:1: warning: old-style function definition [-Wold-style-definition] 1130 | setnxydec (ndec) | ^~~~~~~~~ imsetwcs.c: In function 'setmatch': imsetwcs.c:1139:1: warning: old-style function definition [-Wold-style-definition] 1139 | setmatch (cat) | ^~~~~~~~ imsetwcs.c: In function 'setreflim': imsetwcs.c:1144:1: warning: old-style function definition [-Wold-style-definition] 1144 | setreflim (lim1, lim2) | ^~~~~~~~~ imsetwcs.c: In function 'setfitwcs': imsetwcs.c:1151:1: warning: old-style function definition [-Wold-style-definition] 1151 | setfitwcs (wfit) | ^~~~~~~~~ imsetwcs.c: In function 'setfitplate': imsetwcs.c:1156:1: warning: old-style function definition [-Wold-style-definition] 1156 | setfitplate (nc) | ^~~~~~~~~~~ imsetwcs.c: In function 'setminstars': imsetwcs.c:1161:1: warning: old-style function definition [-Wold-style-definition] 1161 | setminstars (minstars) | ^~~~~~~~~~~ imsetwcs.c:1164:3: error: too many arguments to function 'setminbin'; expected 0, have 1 1164 | setminbin (minstars); | ^~~~~~~~~ ~~~~~~~~ imsetwcs.c:52:13: note: declared here 52 | extern void setminbin(); | ^~~~~~~~~ imsetwcs.c: In function 'setfrac': imsetwcs.c:1172:1: warning: old-style function definition [-Wold-style-definition] 1172 | setfrac (frac0) | ^~~~~~~ imsetwcs.c: In function 'setimfrac': imsetwcs.c:1180:1: warning: old-style function definition [-Wold-style-definition] 1180 | setimfrac (frac0) | ^~~~~~~~~ imsetwcs.c: In function 'setmaxcat': imsetwcs.c:1187:1: warning: old-style function definition [-Wold-style-definition] 1187 | setmaxcat (ncat) | ^~~~~~~~~ imsetwcs.c: In function 'setiterate': imsetwcs.c:1194:1: warning: old-style function definition [-Wold-style-definition] 1194 | setiterate (iter) | ^~~~~~~~~~ imsetwcs.c: In function 'setnfiterate': imsetwcs.c:1200:1: warning: old-style function definition [-Wold-style-definition] 1200 | setnfiterate (iter) | ^~~~~~~~~~~~ imsetwcs.c: In function 'setiteratet': imsetwcs.c:1206:1: warning: old-style function definition [-Wold-style-definition] 1206 | setiteratet (iter) | ^~~~~~~~~~~ imsetwcs.c: In function 'setrecenter': imsetwcs.c:1212:1: warning: old-style function definition [-Wold-style-definition] 1212 | setrecenter (recenter) | ^~~~~~~~~~~ imsetwcs.c: In function 'setsortmag': imsetwcs.c:1218:1: warning: old-style function definition [-Wold-style-definition] 1218 | setsortmag (imag) | ^~~~~~~~~~ make[1]: *** [: imsetwcs.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make: *** [Makefile:201: libwcs/libwcstools.so] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.aaTRZ4 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.aaTRZ4 (%build) I: [iurt_root_command] ERROR: chroot