+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/wcstools.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uDVFzk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wcstools-3.9.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/wcstools-3.9.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wcstools-3.9.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (wcstools-3.9.4-rename-shlib.patch):' Patch #0 (wcstools-3.9.4-rename-shlib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file libwcs/Makefile + 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' @ + grep -rl '59 Temple Place, Suite 330, Boston, MA 02111-1307 USA' '--include=*.c' '--include=*.h' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8hVgKU + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + CPPFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + export CPPFLAGS + make make CC=gcc -C libwcs make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.5/libwcs' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imsetwcs.o imsetwcs.c imsetwcs.c: In function 'SetWCSFITS': imsetwcs.c:238:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gnum\n", ~^ %ld nbin*sizeof(double)); ~~~~~~~~~~~~~~~~~~~ imsetwcs.c:243:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gx\n", ~^ %ld nbin*sizeof(double)); ~~~~~~~~~~~~~~~~~~~ imsetwcs.c:246:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gy\n", ~^ %ld nbin*sizeof(double)); ~~~~~~~~~~~~~~~~~~~ imsetwcs.c:249:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for goff\n", ~^ %ld nbin*sizeof(double)); ~~~~~~~~~~~~~~~~~~~ imsetwcs.c:312:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gnum\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:315:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gra\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:318:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gdec\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:321:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gpra\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:324:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gpdec\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:327:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gm\n", ~^ %ld nmagmax*sizeof(double *)); ~~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:332:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gm\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:337:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gc\n", ~^ %ld ngmax*sizeof(int)); ~~~~~~~~~~~~~~~~~ imsetwcs.c:340:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for obj\n", ~^ %ld ngmax*sizeof(char *)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:377:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gx\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:380:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gy\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:383:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gy\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ imsetwcs.c: In function 'CompRes': imsetwcs.c:1059:17: warning: variable 'sep2' set but not used [-Wunused-but-set-variable] double sep, sep2, rsep, rsep2, dsep, dsep2; ^~~~ imsetwcs.c:1058:43: warning: unused variable 'mag0' [-Wunused-variable] double gx, gy, dx, dy, dx2, dy2, dxy, mag0; ^~~~ imsetwcs.c: In function 'SetWCSFITS': imsetwcs.c:424:8: warning: 'maxnum' may be used uninitialized in this function [-Wmaybe-uninitialized] nnfld = CatNumLen (refcat, maxnum, 0); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:146:9: warning: 'ngmax' may be used uninitialized in this function [-Wmaybe-uninitialized] int ngmax; ^~~~~ imsetwcs.c:292:13: warning: 'refcat' may be used uninitialized in this function [-Wmaybe-uninitialized] refcatname = CatName (refcat, refcatname); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:688:19: warning: 'magsort' may be used uninitialized in this function [-Wmaybe-uninitialized] gm1[nmatch] = gm[magsort][igs]; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imgetwcs.o imgetwcs.c imgetwcs.c: In function 'ChangeFITSWCS': imgetwcs.c:561:9: warning: 'cwcs' may be used uninitialized in this function [-Wmaybe-uninitialized] wcs = wcsinitn (header, cwcs); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o matchstar.o matchstar.c matchstar.c: In function 'WCSMatch': matchstar.c:962:9: warning: unused variable 'nsc' [-Wunused-variable] int nsc, j, nq[5]; ^~~ matchstar.c: In function 'amoeba': matchstar.c:1816:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0,sum=0.0; icenter,"%2.0f:%2.0f:%5.3f %c%2.0f:%2.0f:%5.3f %s", ^~ In file included from /usr/include/stdio.h:861:0, from wcsinit.c:43: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 1907 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o wcs.o wcs.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ty2read.o ty2read.c ty2read.c: In function 'ty2bin': ty2read.c:663:37: warning: variable 'magv' set but not used [-Wunused-but-set-variable] double num, ra, dec, mag, magb, magv; ^~~~ ty2read.c:663:31: warning: variable 'magb' set but not used [-Wunused-but-set-variable] double num, ra, dec, mag, magb, magv; ^~~~ ty2read.c: In function 'ty2star': ty2read.c:1342:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf (stderr, "TY2STAR: %d / %d bytes read for star %d\n", ~^ %ld sc->catlast - line, sc->nbent, istar); ~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o webread.o webread.c webread.c: In function 'webbuff': webread.c:637:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( port = strchr (servurl,':') ) { ^~~~ webread.c:616:11: warning: unused variable 'sokptr' [-Wunused-variable] char *sokptr; ^~~~~~ webread.c:615:11: warning: unused variable 'newserver' [-Wunused-variable] char *newserver; ^~~~~~~~~ webread.c:609:9: warning: unused variable 'lcom' [-Wunused-variable] int lcom; ^~~~ webread.c: In function 'encodeURL': webread.c:1048:6: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if (isalnum(*pstr) || *pstr == '-' || *pstr == '_' || *pstr == '.' || *pstr == '~' || *pstr == '/' || *pstr == '?') ^~~~~~~ webread.c: In function 'webbuff': webread.c:674:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void) fscanf(sok, "%*s %d %s\r\n", &status, linebuff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:725:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void) fscanf(sok, "%*s %d %*s\r\n", &status); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:770:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets (linebuff, LINE, sok); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:810:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void) fread (buff, 1, lchunk, sok); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:652:5: warning: 'port' may be used uninitialized in this function [-Wmaybe-uninitialized] if (port != NULL) ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tmcread.o tmcread.c tmcread.c: In function 'tmcbin': tmcread.c:699:9: warning: variable 'magsort' set but not used [-Wunused-but-set-variable] int magsort; ^~~~~~~ tmcread.c: In function 'tmcrnum': tmcread.c:656:5: warning: 'starcat' may be used uninitialized in this function [-Wmaybe-uninitialized] tmcclose (starcat); ^~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o gscread.o gscread.c gscread.c: In function 'gscbin': gscread.c:794:12: warning: variable 'xnum' set but not used [-Wunused-but-set-variable] double xnum; /* Guide Star number */ ^~~~ gscread.c: In function 'gscrnum': gscread.c:664:7: warning: 'table' may be used uninitialized in this function [-Wmaybe-uninitialized] nbr = fitsrtline (ift,nbhead,ltab,table,itable,nbline,entry); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gscread.c:600:10: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] return (webrnum (str,"gsc",nstars,sysout,eqout,epout,1, ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnum,gra,gdec,NULL,NULL,gmag,gtype,nlog)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gscread.c: In function 'gscbin': gscread.c:813:26: warning: 'merr0' may be used uninitialized in this function [-Wmaybe-uninitialized] double mag,mag0,merr,merr0,merr2,merrsum; ^~~~~ gscread.c:1066:23: warning: 'mag0' may be used uninitialized in this function [-Wmaybe-uninitialized] msum = msum + (mag0 / merr2); ~~~~~~^~~~~~~~ gscread.c:1058:9: warning: 'perr0' may be used uninitialized in this function [-Wmaybe-uninitialized] perr2 = perr * perr; ~~~~~~^~~~~~~~~~~~~ gscread.c:1061:27: warning: 'dec0' may be used uninitialized in this function [-Wmaybe-uninitialized] decsum = decsum + (dec0 / perr2); ~~~~~~^~~~~~~~ gscread.c:1060:24: warning: 'ra0' may be used uninitialized in this function [-Wmaybe-uninitialized] rasum = rasum + (ra0 / perr2); ~~~~~^~~~~~~~ gscread.c:1012:29: warning: 'band' may be used uninitialized in this function [-Wmaybe-uninitialized] class = class + (band * 100) + (npos * 10000); ~~~~~~^~~~~~ gscread.c:978:35: warning: 'band0' may be used uninitialized in this function [-Wmaybe-uninitialized] ((classd < -1 && band != band0) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (classd < -1 && class != class0) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gscread.c:1055:28: warning: 'class0' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((classd > -1 && class0 == classd) || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o gsc2read.o gsc2read.c gsc2read.c: In function 'gsc2read': gsc2read.c:86:17: warning: unused variable 'sd' [-Wunused-variable] char sr[4], sd[4]; ^~ gsc2read.c:86:10: warning: unused variable 'sr' [-Wunused-variable] char sr[4], sd[4]; ^~ gsc2read.c:85:17: warning: unused variable 'ds' [-Wunused-variable] double ras, ds; ^~ gsc2read.c:85:12: warning: unused variable 'ras' [-Wunused-variable] double ras, ds; ^~~ gsc2read.c:84:23: warning: unused variable 'dm' [-Wunused-variable] int rah, ram, dd, dm; ^~ gsc2read.c:84:19: warning: unused variable 'dd' [-Wunused-variable] int rah, ram, dd, dm; ^~ gsc2read.c:84:14: warning: unused variable 'ram' [-Wunused-variable] int rah, ram, dd, dm; ^~~ gsc2read.c:84:9: warning: unused variable 'rah' [-Wunused-variable] int rah, ram, dd, dm; ^~~ gsc2read.c: In function 'gsc2c2t': gsc2read.c:242:21: warning: unused variable 'colsep' [-Wunused-variable] char *colhead, *colsep; ^~~~~~ gsc2read.c:242:11: warning: unused variable 'colhead' [-Wunused-variable] char *colhead, *colsep; ^~~~~~~ gsc2read.c: In function 'gsc2t2t': gsc2read.c:315:10: warning: unused variable 'colon' [-Wunused-variable] char colon = ':'; ^~~~~ At top level: gsc2read.c:183:1: warning: 'parsex' defined but not used [-Wunused-function] parsex (str, ss, d, m, s) ^~~~~~ gsc2read.c: In function 'gsc2t2t': gsc2read.c:308:29: warning: 'kfirst' may be used uninitialized in this function [-Wmaybe-uninitialized] int lbuff, i, ih, j, k, kfirst; ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ujcread.o ujcread.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o uacread.o uacread.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ubcread.o ubcread.c ubcread.c: In function 'ubcbin': ubcread.c:811:32: warning: variable 'pmni' set but not used [-Wunused-but-set-variable] int istar, istar1, istar2, pmni, nid; ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ucacread.o ucacread.c ucacread.c: In function 'ucacread': ucacread.c:220:23: warning: variable 'nread' set but not used [-Wunused-but-set-variable] int jtable,iwrap, nread; ^~~~~ ucacread.c: In function 'ucacrnum': ucacread.c:697:9: warning: variable 'verbose' set but not used [-Wunused-but-set-variable] int verbose; ^~~~~~~ ucacread.c: In function 'ucacbin': ucacread.c:905:21: warning: variable 'nread' set but not used [-Wunused-but-set-variable] int jtable,iwrap, nread; ^~~~~ ucacread.c: In function 'ucacsra': ucacread.c:1216:52: warning: unused variable 'sdiff' [-Wunused-variable] double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; ^~~~~ ucacread.c:1216:44: warning: unused variable 'rdiff2' [-Wunused-variable] double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; ^~~~~~ ucacread.c:1216:36: warning: unused variable 'rdiff1' [-Wunused-variable] double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; ^~~~~~ ucacread.c:1216:29: warning: unused variable 'rdiff' [-Wunused-variable] double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sdssread.o sdssread.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tabread.o tabread.c tabread.c: In function 'tabbin': tabread.c:793:9: warning: variable 'peak' set but not used [-Wunused-but-set-variable] int peak; ^~~~ tabread.c: In function 'tabopen': tabread.c:1952:10: warning: variable 'tabcstr' set but not used [-Wunused-but-set-variable] char tabcstr[4]; ^~~~~~~ tabread.c:2182:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets (tabtable->tabline, tabtable->lline, tabtable->tcat); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tabread.c: In function 'gettabline': tabread.c:2264:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets (tabtable->tabline, tabtable->lline, tabtable->tcat); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: tabread.c:2653:1: warning: 'tabcont' defined but not used [-Wunused-function] tabcont (tabtable, keyword) ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o binread.o binread.c binread.c: In function 'binbin': binread.c:702:9: warning: variable 'mrv' set but not used [-Wunused-but-set-variable] int mrv; ^~~ binread.c: In function 'binrnum': binread.c:617:10: warning: 'mrv' may be used uninitialized in this function [-Wmaybe-uninitialized] tmag[mrv][nstar] = star->radvel; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ctgread.o ctgread.c ctgread.c: In function 'ctgrdate': ctgread.c:811:9: warning: variable 'starfound' set but not used [-Wunused-but-set-variable] int starfound; ^~~~~~~~~ ctgread.c: In function 'ctgopen': ctgread.c:1249:9: warning: variable 'ntok' set but not used [-Wunused-but-set-variable] int ntok; ^~~~ ctgread.c: In function 'isacat': ctgread.c:1953:11: warning: variable 'errc' set but not used [-Wunused-but-set-variable] char *errc; ^~~~ ctgread.c: In function 'ctg2dec': ctgread.c:2035:27: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] dec = sign * (deg + (min / 60.0) + (sec / 3600.0)); ~~~~~^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o actread.o actread.c actread.c: In function 'actbin': actread.c:576:11: warning: variable 'str' set but not used [-Wunused-but-set-variable] char *str; ^~~ actread.c:573:50: warning: variable 'magv' set but not used [-Wunused-but-set-variable] double num, ra, dec, rapm, decpm, mag, magb, magv; ^~~~ actread.c:573:44: warning: variable 'magb' set but not used [-Wunused-but-set-variable] double num, ra, dec, rapm, decpm, mag, magb, magv; ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o catutil.o catutil.c catutil.c: In function 'agets': catutil.c:2624:24: warning: unused variable 'fkey' [-Wunused-variable] int ipar, i, lkey, fkey; ^~~~ catutil.c: In function 'tmcid': catutil.c:3053:10: warning: variable 'csign' set but not used [-Wunused-but-set-variable] char csign; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o skybotread.o skybotread.c skybotread.c: In function 'skybotread': skybotread.c:133:12: warning: unused variable 'dtemp' [-Wunused-variable] double dtemp, jdout; ^~~~~ skybotread.c:128:10: warning: unused variable 'cmag' [-Wunused-variable] char cmag; ^~~~ skybotread.c: In function 'skybot2tab': skybotread.c:315:10: warning: unused variable 'ccom' [-Wunused-variable] char ccom = ','; ^~~~ skybotread.c:313:11: warning: unused variable 'buff' [-Wunused-variable] char *buff; ^~~~ skybotread.c:309:16: warning: unused variable 'ldata' [-Wunused-variable] int lhead, ldata; ^~~~~ skybotread.c:305:11: warning: unused variable 'head' [-Wunused-variable] char *head; ^~~~ skybotread.c:304:11: warning: unused variable 'chead' [-Wunused-variable] char *chead; ^~~~~ skybotread.c:302:11: warning: unused variable 'endhead' [-Wunused-variable] char *endhead; ^~~~~~~ skybotread.c:298:11: warning: unused variable 'databuff' [-Wunused-variable] char *databuff; ^~~~~~~~ skybotread.c:293:11: warning: unused variable 'heading' [-Wunused-variable] char *heading; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imrotate.o imrotate.c imrotate.c: In function 'RotWCSFITS': imrotate.c:374:22: warning: unused variable 'ctype2' [-Wunused-variable] char ctype1[16], ctype2[16]; ^~~~~~ imrotate.c:374:10: warning: unused variable 'ctype1' [-Wunused-variable] char ctype1[16], ctype2[16]; ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fitsfile.o fitsfile.c fitsfile.c: In function 'fitsrhead': fitsfile.c:293:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'off_t {aka long int}' [-Wformat=] fprintf (stderr,"FITSRHEAD: %d bytes in header\n",ibhead); ~^ %ld fitsfile.c:260:12: warning: 'nbprim' may be used uninitialized in this function [-Wmaybe-uninitialized] *lhead = nbprim; ~~~~~~~^~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imhfile.o imhfile.c imhfile.c: In function 'iraf2fits': imhfile.c:606:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ imhfile.c:608:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' hputcom (fitsheader,"NAXIS2", "IRAF .imh naxis[2]"); ^~~~~~~ imhfile.c: In function 'irafwhead': imhfile.c:913:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate (fd, nbhead); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hget.o hget.c hget.c: In function 'str2dec': hget.c:1353:31: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] dec = sign * (deg + (min / 60.0) + (sec / 3600.0)); ~~~~~^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hput.o hput.c hput.c: In function 'hputcom': hput.c:690:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hput.c:692:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' q2 = NULL; ^~ hput.c: In function 'hputnr8': hput.c:149:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] sprintf (format, "%%.%dg", -ndec); ^~ hput.c:149:19: note: directive argument in the range [1, 2147483647] sprintf (format, "%%.%dg", -ndec); ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from hput.c:54: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imio.o imio.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dateutil.o dateutil.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imutil.o imutil.c imutil.c: In function 'SetBadFITS': imutil.c:227:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:246:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:273:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:292:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:320:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:339:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:365:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:384:4: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c: In function 'SetBadVal': imutil.c:460:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:465:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:492:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:497:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:524:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:529:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:556:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c:561:7: warning: value computed is not used [-Wunused-value] *b1++; ^~~~~ imutil.c: In function 'gaussfilt': imutil.c:1986:24: warning: 'iy' may be used uninitialized in this function [-Wmaybe-uninitialized] if (nlog > 0 && (iy+1)%nlog == 0) ~~~^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o worldpos.o worldpos.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tnxpos.o tnxpos.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o zpxpos.o zpxpos.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dsspos.o dsspos.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o platepos.o platepos.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sortstar.o sortstar.c sortstar.c: In function 'StarMerge': sortstar.c:954:35: warning: variable 'nums' set but not used [-Wunused-but-set-variable] int i, is, js, nthis, im, no, nums[MAXMERGE]; ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o platefit.o platefit.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o iget.o iget.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fileutil.o fileutil.c fileutil.c: In function 'next_line': fileutil.c:357:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets (line, ncmax, diskfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileutil.c: In function 'first_token': fileutil.c:393:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets (token, ncmax, diskfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o wcslib.o wcslib.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lin.o lin.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cel.o cel.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o proj.o proj.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sph.o sph.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o wcstrig.o wcstrig.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o distort.o distort.c distort.c: In function 'distortinit': distort.c:77:27: warning: '_' directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=] sprintf (keyword, "A_%d_%d", i, j); ^ distort.c:77:22: note: directive argument in the range [0, 2147483647] sprintf (keyword, "A_%d_%d", i, j); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 24 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:94:27: warning: '_' directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=] sprintf (keyword, "B_%d_%d", i, j); ^ distort.c:94:22: note: directive argument in the range [0, 2147483647] sprintf (keyword, "B_%d_%d", i, j); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 24 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:111:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf (keyword, "AP_%d_%d", i, j); ^~ distort.c:111:22: note: directive argument in the range [0, 2147483647] sprintf (keyword, "AP_%d_%d", i, j); ^~~~~~~~~~ distort.c:111:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:128:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf (keyword, "BP_%d_%d", i, j); ^~ distort.c:128:22: note: directive argument in the range [0, 2147483647] sprintf (keyword, "BP_%d_%d", i, j); ^~~~~~~~~~ distort.c:128:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c: In function 'DelDistort': distort.c:160:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 3 and 12 [-Wformat-overflow=] sprintf (keyword, "A_%d_%d", i, j); ^~ distort.c:160:21: note: directive argument in the range [0, 2147483647] sprintf (keyword, "A_%d_%d", i, j); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 24 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:172:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 2 and 11 [-Wformat-overflow=] sprintf (keyword, "AP_%d_%d", i, j); ^~ distort.c:172:21: note: directive argument in the range [0, 2147483647] sprintf (keyword, "AP_%d_%d", i, j); ^~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 25 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:184:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 3 and 12 [-Wformat-overflow=] sprintf (keyword, "B_%d_%d", i, j); ^~ distort.c:184:21: note: directive argument in the range [0, 2147483647] sprintf (keyword, "B_%d_%d", i, j); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 24 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:196:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 2 and 11 [-Wformat-overflow=] sprintf (keyword, "BP_%d_%d", i, j); ^~ distort.c:196:21: note: directive argument in the range [0, 2147483647] sprintf (keyword, "BP_%d_%d", i, j); ^~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from distort.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 25 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c: In function 'foc2pix': distort.c:254:6: warning: 's[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] sum = s[0]; ~~~~^~~~~~ distort.c: In function 'pix2foc': distort.c:315:6: warning: 's[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] sum = s[0]; ~~~~^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o poly.o poly.c gcc -shared -o libwcstools.so.1.0.0 -Wl,-soname,libwcstools.so.1 imsetwcs.o imgetwcs.o matchstar.o findstar.o daoread.o wcscon.o fitswcs.o wcsinit.o wcs.o ty2read.o webread.o tmcread.o gscread.o gsc2read.o ujcread.o uacread.o ubcread.o ucacread.o sdssread.o tabread.o binread.o ctgread.o actread.o catutil.o skybotread.o imrotate.o fitsfile.o imhfile.o hget.o hput.o imio.o dateutil.o imutil.o worldpos.o tnxpos.o zpxpos.o dsspos.o platepos.o sortstar.o platefit.o iget.o fileutil.o wcslib.o lin.o cel.o proj.o sph.o wcstrig.o distort.o poly.o -lm ln -s libwcstools.so.1.0.0 libwcstools.so.1 ln -s libwcstools.so.1.0.0 libwcstools.so ar rv libwcstools.a imsetwcs.o imgetwcs.o matchstar.o findstar.o daoread.o wcscon.o fitswcs.o wcsinit.o wcs.o ty2read.o webread.o tmcread.o gscread.o gsc2read.o ujcread.o uacread.o ubcread.o ucacread.o sdssread.o tabread.o binread.o ctgread.o actread.o catutil.o skybotread.o imrotate.o fitsfile.o imhfile.o hget.o hput.o imio.o dateutil.o imutil.o worldpos.o tnxpos.o zpxpos.o dsspos.o platepos.o sortstar.o platefit.o iget.o fileutil.o wcslib.o lin.o cel.o proj.o sph.o wcstrig.o distort.o poly.o ar: creating libwcstools.a a - imsetwcs.o a - imgetwcs.o a - matchstar.o a - findstar.o a - daoread.o a - wcscon.o a - fitswcs.o a - wcsinit.o a - wcs.o a - ty2read.o a - webread.o a - tmcread.o a - gscread.o a - gsc2read.o a - ujcread.o a - uacread.o a - ubcread.o a - ucacread.o a - sdssread.o a - tabread.o a - binread.o a - ctgread.o a - actread.o a - catutil.o a - skybotread.o a - imrotate.o a - fitsfile.o a - imhfile.o a - hget.o a - hput.o a - imio.o a - dateutil.o a - imutil.o a - worldpos.o a - tnxpos.o a - zpxpos.o a - dsspos.o a - platepos.o a - sortstar.o a - platefit.o a - iget.o a - fileutil.o a - wcslib.o a - lin.o a - cel.o a - proj.o a - sph.o a - wcstrig.o a - distort.o a - poly.o ranlib libwcstools.a make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.5/libwcs' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/cphead cphead.c -L libwcs -lwcstools -lm cphead.c: In function 'main': cphead.c:68:9: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable] int nbytes; ^~~~~~ cphead.c: In function 'CopyValues': cphead.c:375:16: warning: variable 'ipos' set but not used [-Wunused-but-set-variable] int naxis, ipos, nbhead, nbr, nbw; ^~~~ cphead.c:490:3: warning: 'nbheadout' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) hlength (headout, nbheadout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/delwcs delwcs.c -L libwcs -lwcstools -lm delwcs.c: In function 'DelWCS': delwcs.c:261:10: warning: 'image' may be used uninitialized in this function [-Wmaybe-uninitialized] if (fitswimage (newname, header, image) < 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/delhead delhead.c -L libwcs -lwcstools -lm delhead.c: In function 'main': delhead.c:72:9: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable] int nbytes; ^~~~~~ delhead.c: In function 'DelKeywords': delhead.c:471:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (nblnew == nblold && !newimage) ^~ delhead.c:474:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' hgeti4 (header,"NAXIS",&naxis); ^~~~~~ delhead.c:286:9: warning: variable 'imageread' set but not used [-Wunused-but-set-variable] int imageread = 0; ^~~~~~~~~ delhead.c:285:19: warning: variable 'ipos' set but not used [-Wunused-but-set-variable] int fdr, fdw, ipos, nbr, nbw, bitpix, i; ^~~~ delhead.c: In function 'DelCOMMENT': delhead.c:563:21: warning: variable 'nline' set but not used [-Wunused-but-set-variable] int i, killcom, nline; ^~~~~ delhead.c: In function 'DelKeywords': delhead.c:388:21: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf (kwi, "%s_%03d", kwd[ikwd], i++); ^~~~ delhead.c:388:17: note: directive argument in the range [2, 2147483647] sprintf (kwi, "%s_%03d", kwd[ikwd], i++); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from delhead.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 12) into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/edhead edhead.c -L libwcs -lwcstools -lm edhead.c: In function 'EditHead': edhead.c:133:14: warning: variable 'ipos' set but not used [-Wunused-but-set-variable] int fdr, ipos, nbr, nbw; ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/fixpix fixpix.c -L libwcs -lwcstools -lm fixpix.c: In function 'FixPix': fixpix.c:216:10: warning: variable 'newline' set but not used [-Wunused-but-set-variable] char newline[1]; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/gethead gethead.c -L libwcs -lwcstools -lm gethead.c: In function 'main': gethead.c:115:9: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable] int nbytes; ^~~~~~ gethead.c:95:10: warning: unused variable 'wcond' [-Wunused-variable] char wcond, **newccond; ^~~~~ gethead.c: In function 'PrintValues': gethead.c:800:23: warning: variable 'notfound' set but not used [-Wunused-but-set-variable] int ikwd, nfound, notfound, nch, iepoch; ^~~~~~~~ At top level: gethead.c:77:24: warning: 'newccond' defined but not used [-Wunused-variable] static char **ccond, **newccond; /* Condition characters */ ^~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/i2f i2f.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imcat imcat.c -L libwcs -lwcstools -lm imcat.c: In function 'ListCat': imcat.c:1285:18: warning: unused variable 'iy' [-Wunused-variable] int radius, ix, iy; ^~ imcat.c:1285:14: warning: unused variable 'ix' [-Wunused-variable] int radius, ix, iy; ^~ imcat.c:856:29: warning: unused variable 'epmd' [-Wunused-variable] double era, edec, epmr, epmd; ^~~~ imcat.c:856:23: warning: unused variable 'epmr' [-Wunused-variable] double era, edec, epmr, epmd; ^~~~ imcat.c:856:17: warning: unused variable 'edec' [-Wunused-variable] double era, edec, epmr, epmd; ^~~~ imcat.c:856:12: warning: unused variable 'era' [-Wunused-variable] double era, edec, epmr, epmd; ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imhead imhead.c -L libwcs -lwcstools -lm imhead.c: In function 'PrintHead': imhead.c:167:12: warning: variable 'nw' set but not used [-Wunused-but-set-variable] int i, nw, nbytes, lhead, nblk; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/immatch immatch.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imrot imrot.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imsize imsize.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imstar imstar.c -L libwcs -lwcstools -lm imstar.c: In function 'ListStars': imstar.c:666:18: warning: unused variable 'iy' [-Wunused-variable] int radius, ix, iy; ^~ imstar.c:666:14: warning: unused variable 'ix' [-Wunused-variable] int radius, ix, iy; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imwcs imwcs.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/scat scat.c -L libwcs -lwcstools -lm scat.c: In function 'ListCat': scat.c:1236:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gnum\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1239:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gra\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1242:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gdec\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1245:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gm\n", ~^ %ld nmagmax*sizeof(double *)); ~~~~~~~~~~~~~~~~~~~~~~~~ scat.c:1250:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gm\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1255:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gc\n", ~^ %ld ngmax*sizeof(int)); ~~~~~~~~~~~~~~~~~ scat.c:1258:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gx\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1261:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gy\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1264:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for obj\n", ~^ %ld ngmax*sizeof(char *)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1271:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for path\n", ~^ %ld ngmax*sizeof(char *)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1278:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gpra\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1281:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gpdec\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1399:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gm\n", ~^ %ld nmagmax*sizeof(double *)); ~~~~~~~~~~~~~~~~~~~~~~~~ scat.c:1404:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (stderr, "Could not calloc %d bytes for gm\n", ~^ %ld ngmax*sizeof(double)); ~~~~~~~~~~~~~~~~~~~~ scat.c:1147:10: warning: variable 'string' set but not used [-Wunused-but-set-variable] char string[TABMAX]; ^~~~~~ scat.c: In function 'PrintNum': scat.c:4096:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] sprintf (nform, "%%%d.%df", LenNum (maxnum,ndec), ndec); ^~ scat.c:4096:18: note: directive argument in the range [4, 2147483647] sprintf (nform, "%%%d.%df", LenNum (maxnum,ndec), ndec); ^~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from scat.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scat.c: In function 'ListCat': scat.c:1117:9: warning: 'ns' may be used uninitialized in this function [-Wmaybe-uninitialized] int ns; /* Number of brightest catalog stars actually used */ ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/sethead sethead.c -L libwcs -lwcstools -lm sethead.c: In function 'main': sethead.c:315:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (kw1 == (char) 0) ^~ sethead.c:315:13: note: did you mean to dereference the pointer? if (kw1 == (char) 0) ^ sethead.c:85:9: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable] int nbytes; ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/addpix addpix.c -L libwcs -lwcstools -lm addpix.c: In function 'AddPix': addpix.c:138:10: warning: variable 'newline' set but not used [-Wunused-but-set-variable] char newline[1]; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/getpix getpix.c -L libwcs -lwcstools -lm getpix.c: In function 'main': getpix.c:234:9: warning: 'rstr' may be used uninitialized in this function [-Wmaybe-uninitialized] ra0 = str2ra (rstr); ^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/setpix setpix.c -L libwcs -lwcstools -lm setpix.c: In function 'SetPix': setpix.c:271:10: warning: variable 'newline' set but not used [-Wunused-but-set-variable] char newline[1]; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/sky2xy sky2xy.c -L libwcs -lwcstools -lm sky2xy.c: In function 'main': sky2xy.c:74:9: warning: variable 'modwcs' set but not used [-Wunused-but-set-variable] int modwcs = 0; /* 1 if image WCS modified on command line */ ^~~~~~ sky2xy.c:68:9: warning: variable 'syscoor' set but not used [-Wunused-but-set-variable] int syscoor = 0; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/keyhead keyhead.c -L libwcs -lwcstools -lm keyhead.c: In function 'main': keyhead.c:68:9: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable] int nbytes; ^~~~~~ keyhead.c: In function 'ChangeKeyNames': keyhead.c:285:19: warning: variable 'ipos' set but not used [-Wunused-but-set-variable] int fdr, fdw, ipos, nbr, nbw, nchange; ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/skycoor skycoor.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/subpix subpix.c -L libwcs -lwcstools -lm subpix.c: In function 'SubPix': subpix.c:138:10: warning: variable 'newline' set but not used [-Wunused-but-set-variable] char newline[1]; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/xy2sky xy2sky.c -L libwcs -lwcstools -lm xy2sky.c: In function 'main': xy2sky.c:92:9: warning: variable 'modwcs' set but not used [-Wunused-but-set-variable] int modwcs = 0; ^~~~~~ xy2sky.c:588:12: warning: 'mag' may be used uninitialized in this function [-Wmaybe-uninitialized] magx = polcomp (mag, mag0, nterms, coeff); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xy2sky.c:628:35: warning: 'wcs' may be used uninitialized in this function [-Wmaybe-uninitialized] if (wcs->nxpix > 9999 || wcs->nypix > 9999) { ~~~^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/wcshead wcshead.c -L libwcs -lwcstools -lm wcshead.c: In function 'ListWCS': wcshead.c:412:40: warning: 'zvel' may be used uninitialized in this function [-Wmaybe-uninitialized] w1 = exp (log (10.0) * wfrst) / (1.0 + zvel); ~~~~~^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/conpix conpix.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/gettab gettab.c -L libwcs -lwcstools -lm gettab.c: In function 'PrintValues': gettab.c:580:9: warning: variable 'ntok' set but not used [-Wunused-but-set-variable] int ntok; ^~~~ gettab.c:564:9: warning: variable 'drop' set but not used [-Wunused-but-set-variable] int drop; ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/newfits newfits.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/getfits getfits.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imstack imstack.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imextract imextract.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/sumpix sumpix.c -L libwcs -lwcstools -lm sumpix.c: In function 'SumPix': sumpix.c:413:6: warning: 'np' may be used uninitialized in this function [-Wmaybe-uninitialized] dnp = (double) np; ~~~~^~~~~~~~~~~~~ sumpix.c:423:25: warning: 'sumsq' may be used uninitialized in this function [-Wmaybe-uninitialized] std = sqrt ((sumsq / dnp) - (mean * mean)); ~~~~~~~^~~~~~ sumpix.c:416:7: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] mean = sum / dnp; ~~~~~^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/remap remap.c -L libwcs -lwcstools -lm remap.c: In function 'RemapImage': remap.c:422:27: warning: variable 'secpixin2' set but not used [-Wunused-but-set-variable] double dx, secpixin1, secpixin2, secpix1, dpix, dnpix; ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/getcol getcol.c -L libwcs -lwcstools -lm getcol.c: In function 'main': getcol.c:109:9: warning: variable 'match' set but not used [-Wunused-but-set-variable] int match, newbytes; ^~~~~ getcol.c: In function 'ListFile': getcol.c:1008:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ getcol.c:1010:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' iapp = 0; ^~~~ getcol.c:1202:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = nchar; j < ltok; j++); ^~~ getcol.c:1203:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' token[j] = (char) 0; ^~~~~ getcol.c:1354:10: warning: 'dval' may be used uninitialized in this function [-Wmaybe-uninitialized] qsum1 = qsum1 + dval * dval; ~~~~~~^~~~~~~~~~~~~~~~~~~~~ getcol.c: In function 'main': getcol.c:240:9: warning: 'icol' may be used uninitialized in this function [-Wmaybe-uninitialized] format[icol] = (char *) calloc (1+strlen(*av), 1); ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/getdate getdate.c -L libwcs -lwcstools -lm getdate.c: In function 'main': getdate.c:105:9: warning: variable 'lline' set but not used [-Wunused-but-set-variable] int lline; ^~~~~ getdate.c: In function 'ConvertDate': getdate.c:1858:11: warning: 'ts' may be used uninitialized in this function [-Wmaybe-uninitialized] its = (int) ts; ~~~~^~~~~~~~~~ getdate.c:1763:17: warning: 'its' may be used uninitialized in this function [-Wmaybe-uninitialized] its = its - (nsub * 86400); ~~~~^~~~~~~~~~~~~~~~ getdate.c:980:7: warning: 'vyear' may be used uninitialized in this function [-Wmaybe-uninitialized] jd = doy2mjd (vyear, vdoy); ~~~^~~~~~~~~~~~~~~~~~~~~~~ getdate.c:980:7: warning: 'vdoy' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imfill imfill.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imsmooth imsmooth.c -L libwcs -lwcstools -lm imsmooth.c: In function 'imSmooth': imsmooth.c:402:15: warning: 'imext1' may be used uninitialized in this function [-Wmaybe-uninitialized] *imext1 = ']'; ~~~~~~~~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/imresize imresize.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/fileroot fileroot.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/filename filename.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/filext filext.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/char2sp char2sp.c libwcs/libwcstools.so gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/sp2char sp2char.c libwcs/libwcstools.so gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/crlf crlf.c crlf.c: In function 'CRFix': crlf.c:102:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write (1, buffer, nbr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/isnum isnum.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/isrange isrange.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/isfits isfits.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/isfile isfile.c -L libwcs -lwcstools -lm gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/simpos simpos.c -L libwcs -lwcstools -lm simpos.c: In function 'main': simpos.c:86:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *++str) { ^ simpos.c:186:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (newobj, 32, flist); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o bin/bincat bincat.c -L libwcs -lwcstools -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h1W2g0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64 + cd wcstools-3.9.5 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/lib64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/include/wcs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/man/man1 + /usr/bin/install -p bin/addpix bin/bincat bin/char2sp bin/conpix bin/cphead bin/crlf bin/delhead bin/delwcs bin/edhead bin/filename bin/fileroot bin/filext bin/fixpix bin/getcol bin/getdate bin/getfits bin/gethead bin/getpix bin/gettab bin/i2f bin/imcat bin/imextract bin/imfill bin/imhead bin/immatch bin/imresize bin/imrot bin/imsize bin/imsmooth bin/imstack bin/imstar bin/imwcs bin/isfile bin/isfits bin/isnum bin/isrange bin/keyhead bin/newfits bin/remap bin/scat bin/sethead bin/setpix bin/simpos bin/sky2xy bin/skycoor bin/sp2char bin/subpix bin/sumpix bin/wcshead bin/xy2sky /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/bin + mv /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/bin/remap /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/bin/wcsremap + /usr/bin/cp -a libwcs/libwcstools.so libwcs/libwcstools.so.1 libwcs/libwcstools.so.1.0.0 /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/lib64 + /usr/bin/install -p -m 644 libwcs/fitsfile.h libwcs/fitsfile1.h libwcs/fitshead.h libwcs/fitswcs.h libwcs/imio.h libwcs/lwcs.h libwcs/wcs.h libwcs/wcscat.h libwcs/wcscat1.h libwcs/wcslib.h /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/include/wcs + /usr/bin/install -p -m 644 man/man1/delhead.1 man/man1/delwcs.1 man/man1/edhead.1 man/man1/getcol.1 man/man1/gethead.1 man/man1/i2f.1 man/man1/imcat.1 man/man1/imgsc.1 man/man1/imhead.1 man/man1/imrot.1 man/man1/imsize.1 man/man1/imstar.1 man/man1/imua2.1 man/man1/imusa2.1 man/man1/imwcs.1 man/man1/isnum.1 man/man1/keyhead.1 man/man1/scat.1 man/man1/sethead.1 man/man1/setpix.1 man/man1/sgsc.1 man/man1/simpos.1 man/man1/sky2xy.1 man/man1/skycoor.1 man/man1/sua2.1 man/man1/susa2.1 man/man1/wcshead.1 man/man1/wcstools.1 man/man1/xy2sky.1 /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: wcstools-3.9.5-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q0x1bW + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.5 + DOCDIR=/builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools + cp -pr NEWS /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools + cp -pr Readme /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools + cp -pr Programs /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.srQJqe + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.5 + LICENSEDIR=/builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/licenses/wcstools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/licenses/wcstools + cp -pr COPYING /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/licenses/wcstools + exit 0 Provides: wcstools = 3.9.5-4.fc28 wcstools(riscv-64) = 3.9.5-4.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libwcstools.so.1()(64bit) rtld(GNU_HASH) Processing files: wcstools-libs-3.9.5-4.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EAen6b + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.5 + LICENSEDIR=/builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/licenses/wcstools-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/licenses/wcstools-libs + cp -pr libwcs/COPYING /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/licenses/wcstools-libs + exit 0 Provides: libwcstools.so.1()(64bit) wcstools-libs = 3.9.5-4.fc28 wcstools-libs(riscv-64) = 3.9.5-4.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: wcstools-devel-3.9.5-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mxkWsQ + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.5 + DOCDIR=/builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools-devel + cp -pr libwcs/NEWS /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64/usr/share/doc/wcstools-devel + exit 0 Provides: wcstools-devel = 3.9.5-4.fc28 wcstools-devel(riscv-64) = 3.9.5-4.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libwcstools.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/wcstools-3.9.5-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/wcstools-3.9.5-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/wcstools-libs-3.9.5-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/wcstools-devel-3.9.5-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rZuBXJ + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wcstools-3.9.5-4.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff