+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/gcx.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.ABUBqy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcx-0.9.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/gcx-0.9.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcx-0.9.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcx-0.9.11-bounds.patch):' Patch #0 (gcx-0.9.11-bounds.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bounds --fuzz=0 patching file src/ccd/ccd_frame.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Sn8dOh + umask 022 + cd /builddir/build/BUILD + cd gcx-0.9.11 + 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 ' + export CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for strerror in -lcposix... no checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking POSIX termios... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for basename... yes checking for dirname... yes checking for getline... yes configure: creating ./config.status config.status: creating makedeb config.status: creating dscupload config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ccd/Makefile config.status: creating src/gsc/Makefile config.status: creating docs/Makefile config.status: creating src/config.h config.status: executing default-1 commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/gcx-0.9.11/src' make all-recursive make[2]: Entering directory '/builddir/build/BUILD/gcx-0.9.11/src' Making all in ccd make[3]: Entering directory '/builddir/build/BUILD/gcx-0.9.11/src/ccd' gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 ccd_frame.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 median.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 badpix.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 edb.c badpix.c: In function 'load_bad_pix': badpix.c:239:22: warning: variable 'count' set but not used [-Wunused-but-set-variable] int i, ret, pixels, count; ^~~~~ edb.c: In function 'locate_in_edb': edb.c:147:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ln, 200, caf); ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 aphot.c ccd_frame.c: In function 'frame_stats': ccd_frame.c:254:9: warning: variable 'cs' set but not used [-Wunused-but-set-variable] double cs; ^~ ccd_frame.c:245:17: warning: variable 'ie' set but not used [-Wunused-but-set-variable] int i, is = 0, ie; ^~ ccd_frame.c: In function 'read_gz_fits_file': ccd_frame.c:744:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cmd, "%s %s ", ungz, fn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccd_frame.c: In function 'write_gz_fits_frame': ccd_frame.c:899:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&text, "%s %s", gzcmd, lb); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccd_frame.c:900:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(text); ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 worldpos.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 sources.c aphot.c: In function 'aperture_photometry': aphot.c:499:14: warning: variable 'rdn' set but not used [-Wunused-but-set-variable] double skn, rdn; ^~~ aphot.c:499:9: warning: variable 'skn' set but not used [-Wunused-but-set-variable] double skn, rdn; ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 warp.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 recipy.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 errlog.c rm -f libccd.a ar cru libccd.a ccd_frame.o median.o badpix.o edb.o aphot.o worldpos.o sources.o warp.o recipy.o errlog.o ranlib libccd.a make[3]: Leaving directory '/builddir/build/BUILD/gcx-0.9.11/src/ccd' Making all in gsc make[3]: Entering directory '/builddir/build/BUILD/gcx-0.9.11/src/gsc' gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 embgsc.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 prtgsc.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 dispos.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 decode_c.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 get_head.c prtgsc.c: In function 'gsc2a': prtgsc.c:105:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ prtgsc.c:109:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ prtgsc.c:123:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ prtgsc.c:127:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ embgsc.c: In function 'getgsc': embgsc.c:389:6: warning: variable 'sum' set but not used [-Wunused-but-set-variable] int sum,k,i,stat=0,id; ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 find_reg.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 to_d.c get_head.c: In function 'get_header': get_head.c:31:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fp,w,lheader-4); ^~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I../../src -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 dtos.c rm -f libgsc.a ar cru libgsc.a embgsc.o prtgsc.o dispos.o decode_c.o get_head.o find_reg.o to_d.o dtos.o ranlib libgsc.a make[3]: Leaving directory '/builddir/build/BUILD/gcx-0.9.11/src/gsc' make[3]: Entering directory '/builddir/build/BUILD/gcx-0.9.11/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 sidereal_time.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 nutation.c sidereal_time.c: In function 'range_degrees': sidereal_time.c:37:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (angle >= 0.0 && angle < 360.0) ^~ sidereal_time.c:40:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' temp = (int)(angle / 360); ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 callbacks.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 camera.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 cameragui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 catalogs.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 filegui.c cameragui.c: In function 'fwheel_select_cb': cameragui.c:693:17: warning: variable 'fw' set but not used [-Wunused-but-set-variable] struct fwheel *fw; ^~ catalogs.c: In function 'update_cat_star': catalogs.c:420:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&t, "%s %s", cats->comments, ocats->comments); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:429:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&t, "%s %s", cats->smags, ocats->smags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:438:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&t, "%s %s", cats->imags, ocats->imags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c: In function 'gsc_search': catalogs.c:140:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=G "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c: In function 'tycho2_cat_search': catalogs.c:259:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, ^~~~~~~~~~~~~~~~~~~~~~ "v=%.3f/%.3f b=%.3f/%.3f vt=%.3f/%.3f bt=%.3f/%.3f", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vt - 0.090 * (bt - vt), verr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0.850 * (bt - vt) + vt - 0.090 * (bt - vt), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ berr, vt, vterr, bt, bterr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:264:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=T "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:268:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "vt=%.2f/%.3f", vt, vterr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:271:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "bt=%.2f/%.3f", bt, bterr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c: In function 'update_band_by_name': catalogs.c:943:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nb, "%s=%.3f", band, mag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:945:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nb, "%s=%.3f/%.3f", band, mag, err); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:976:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nb, "%s %s=%.3f", *mags, band, mag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:978:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nb, "%s %s=%.3f/%.3f", *mags, band, mag, err); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:985:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nb, "%s %s=%.3f", *mags, band, mag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalogs.c:987:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nb, "%s %s=%.3f/%.3f", *mags, band, mag, err); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegui.c: In function 'load_rcp_to_window': filegui.c:343:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cmd, "%s %s ", P_STR(FILE_UNCOMPRESS), name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegui.c: In function 'load_gsc2_to_window': filegui.c:420:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cmd, "%s %s ", P_STR(FILE_UNCOMPRESS), name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 framelist.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 gcx.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 gui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 imadjust.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 interface.c gcx.c: In function 'make_blank_obj_fr': gcx.c:481:58: warning: value computed is not used [-Wunused-value] set_wcs_from_object(fr, obj, P_DBL(FILE_NEW_SECPERPIX)) == 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ gcx.c: In function 'main': gcx.c:546:6: warning: variable 'make_gpsf' set but not used [-Wunused-but-set-variable] int make_gpsf = 1; ^~~~~~~~~ gcx.c: In function 'load_params_rc': gcx.c:126:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&rcname, "%s/.gcxrc", passwd->pw_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcx.c: In function 'save_params_rc': gcx.c:145:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&rcname, "%s/.gcxrc", passwd->pw_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 obsdata.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 obslist.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 params.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 paramsgui.c paramsgui.c: In function 'make_subtree': paramsgui.c:211:13: warning: variable 'sstree' set but not used [-Wunused-but-set-variable] GtkWidget *sstree; ^~~~~~ params.c: In function 'set_par_by_name': params.c:782:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] int ret = 0, len, token; ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 photometry.c photometry.c: In function 'create_obs_alist': photometry.c:356:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fits_get_string(fr, P_STR(FN_OBSERVER), s, 79) > 0) ^~ photometry.c:358:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' stf_append_string(stf, SYM_OBSERVER, s); ^~~~~~~~~~~~~~~~~ photometry.c: In function 'run_phot': photometry.c:454:22: warning: variable 'bpmap' set but not used [-Wunused-but-set-variable] struct bad_pix_map *bpmap; ^~~~~ photometry.c: In function 'rep_mbds': photometry.c:531:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 showimage.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 sourcesdraw.c showimage.c: In function 'image_box_to_cache': showimage.c:675:2: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] memset(&geom, sizeof(struct map_geometry), 0); ^~~~~~ showimage.c: In function 'frame_to_channel': showimage.c:771:7: warning: variable 'zoom_out' set but not used [-Wunused-but-set-variable] int zoom_out = 1; ^~~~~~~~ showimage.c:770:7: warning: variable 'zoom_in' set but not used [-Wunused-but-set-variable] int zoom_in = 1; ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 staredit.c sourcesdraw.c: In function 'draw_star_helper': sourcesdraw.c:292:34: warning: pointer targets in passing argument 3 of 'gdk_gc_set_dashes' differ in signedness [-Wpointer-sign] gdk_gc_set_dashes(gc_pline, 0, dash_list, 2); ^~~~~~~~~ In file included from /usr/include/gtk-1.2/gtk/gtk.h:31:0, from sourcesdraw.c:38: /usr/include/gtk-1.2/gdk/gdk.h:450:8: note: expected 'gint8 * {aka signed char *}' but argument is of type 'char *' void gdk_gc_set_dashes (GdkGC *gc, ^~~~~~~~~~~~~~~~~ sourcesdraw.c: In function 'star_popup_cb': sourcesdraw.c:1100:18: warning: variable 'sl' set but not used [-Wunused-but-set-variable] GSList *found, *sl; ^~ sourcesdraw.c: In function 'sprint_star': sourcesdraw.c:1413:6: warning: variable 'pos' set but not used [-Wunused-but-set-variable] int pos = 0; ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 support.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 textgui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 wcs.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 helpmsg.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 wcsedit.c textgui.c: In function 'fits_header_cb': textgui.c:105:26: warning: ' header' directive output may be truncated writing 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(title, 255, "%s header", i_chan->fr->name); ^~~~~~~ In file included from /usr/include/stdio.h:862:0, from textgui.c:25: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 8 and 263 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 recipy.c wcsedit.c: In function 'wcs_ok_cb': wcsedit.c:308:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ recipy.c: In function 'crack_constar': recipy.c:206:7: warning: variable 'comment' set but not used [-Wunused-but-set-variable] char comment[256]; ^~~~~~~ recipy.c: In function 'read_gcvs_table': recipy.c:980:9: warning: variable 'period' set but not used [-Wunused-but-set-variable] double period; ^~~~~~ recipy.c: In function 'read_gsc2': recipy.c:497:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=g "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c: In function 'read_landolt_table': recipy.c:569:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "v=%.3f/0.005 b=%.3f/0.005 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "u=%.3f/0.005 r=%.3f/0.005 i=%.3f/0.005", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vmag, bmag, umag, rmag, imag); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:573:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "%s", nam); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c: In function 'read_varlist_table': recipy.c:664:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=%s i=%s %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ line+field[2], line+field[3], line+field[4]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:667:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=%s i=%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ line+field[2], line+field[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:670:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ line+field[2]); ~~~~~~~~~~~~~~ recipy.c: In function 'read_sumner_table': recipy.c:892:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "v=%.3f/%.3f b=%.3f/%.3f", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c11, c12, c11+c13, sqrt(sqr(c12)+ sqr(c14))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:927:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "v=%.3f/%.3f b=%.3f/%.3f", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c11, c12, c11+c13, sqrt(sqr(c12)+ sqr(c14))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c: In function 'read_gcvs_table': recipy.c:1074:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=V t=%s s=%s m(%s)=%.2f/%.2f", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type, spec, phot, mmax, mmin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:1077:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=V t=%s m(%s)=%.2f/%.2f", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type, phot, mmax, mmin); ~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:1080:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=V t=%s s=%s m(%s)=%.2f(%.3f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type, spec, phot, mmax, mmin); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recipy.c:1083:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=V t=%s m(%s)=%.2f(%.3f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type, phot, mmax, mmin); ~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 recipygui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 tycho2.c tycho2.c: In function 'tycho2_search': tycho2.c:318:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&raix, "%s/ra.ix", dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tycho2.c:319:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&raixx, "%s/ra.ixx", dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tycho2.c:320:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&decix, "%s/dec.ix", dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tycho2.c:321:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&decixx, "%s/dec.ixx", dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 report.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 reduce.c report.c: In function 'string_field': report.c:362:9: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, k; ^ report.c: In function 'recipe_to_aavso_db': report.c:903:7: warning: variable 'f' set but not used [-Wunused-but-set-variable] char f[DB_FIELD]; ^ reduce.c: In function 'reduce_frames_load': reduce.c:396:11: warning: variable 'nframes' set but not used [-Wunused-but-set-variable] int ret, nframes; ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 misc.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 reducegui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 initparams.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 starlist.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 fwheel.c reducegui.c: In function 'stack_method_activate': reducegui.c:232:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] P_INT(CCDRED_STACK_METHOD) = (int)data; ^ reducegui.c: In function 'set_processing_dialog_ccdr': reducegui.c:257:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC (stack_method_activate), (gpointer)i); ^ starlist.c: In function 'gui_star_label_from_cats': starlist.c:135:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&gs->label.label, "%s", cats->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ starlist.c:141:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&gs->label.label, "%.0f", mag * 10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ starlist.c:143:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&gs->label.label, "~%.0f", cats->mag * 10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ starlist.c:148:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&gs->label.label, "%s", cats->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reducegui.c: In function 'ccdred_qphotone_cb': reducegui.c:1366:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ fwheel.c: In function 'find_fwheels': fwheel.c:281:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&url, "fwheel://localhost%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ P_STR(FILE_FWHEEL_SERIAL)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ fwheel.c: In function 'fwheel_open': fwheel.c:323:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&deffw.name,"/%s", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 guidegui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 guide.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 multiband.c guide.c: In function 'detect_guide_star': guide.c:43:17: warning: variable 'rf' set but not used [-Wunused-but-set-variable] double xc, yc, rf, ds; ^~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 mbandgui.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 plots.c multiband.c: In function 'mbds_fit_all': multiband.c:673:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (g_list_find(bsl, (gpointer)ofr->band) == NULL) { ^ multiband.c:674:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bsl = g_list_append(bsl, (gpointer)ofr->band); ^ multiband.c:678:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ multiband.c: In function 'fit_all_sky_zp': multiband.c:1444:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (g_list_find(bsl, (gpointer)ofr->band) == NULL) { ^ multiband.c:1445:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bsl = g_list_append(bsl, (gpointer)ofr->band); ^ multiband.c:1453:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ multiband.c:1474:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ mbandgui.c: In function 'rep_file_cb': mbandgui.c:148:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ofr = gtk_clist_get_row_data(GTK_CLIST(ofr_list), (int) gl->data); ^ mbandgui.c: In function 'select_cb': mbandgui.c:227:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ofr = gtk_clist_get_row_data(GTK_CLIST(list), (int) gl->data); ^ mbandgui.c:229:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_remove(GTK_CLIST(list), (int) gl->data); ^ mbandgui.c: In function 'plot_cb': mbandgui.c:317:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sob = gtk_clist_get_row_data(GTK_CLIST(ofr_list), (int) gl->data); ^ mbandgui.c:336:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ofr = gtk_clist_get_row_data(GTK_CLIST(ofr_list), (int) gl->data); ^ mbandgui.c: In function 'fit_cb': mbandgui.c:473:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ofr = gtk_clist_get_row_data(GTK_CLIST(ofr_list), (int) gl->data); ^ mbandgui.c:560:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ofr = gtk_clist_get_row_data(GTK_CLIST(ofr_list), (int) gl->data); ^ mbandgui.c:561:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ofr_list_set_row_vals(ofr_list, (int) gl->data, ofr); ^ mbandgui.c: In function 'mbds_bands_to_list': mbandgui.c:702:9: warning: variable 'sl' set but not used [-Wunused-but-set-variable] GList *sl; ^~ plots.c: In function 'open_plot': plots.c:59:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (plfp != NULL && (int)plfp != -1) { ^ plots.c: In function 'ofrs_plot_residual_vs_mag': plots.c:136:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (g_list_find(bsl, (gpointer)ofr->band) == NULL) { ^ plots.c:137:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bsl = g_list_append(bsl, (gpointer)ofr->band); ^ plots.c:147:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ plots.c: In function 'ofrs_plot_zp_vs_time': plots.c:225:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (g_list_find(bsl, (gpointer)ofr->band) == NULL) { ^ plots.c:226:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bsl = g_list_append(bsl, (gpointer)ofr->band); ^ plots.c:243:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ plots.c:262:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ plots.c: In function 'ofrs_plot_zp_vs_am': plots.c:313:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (g_list_find(bsl, (gpointer)ofr->band) == NULL) { ^ plots.c:314:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bsl = g_list_append(bsl, (gpointer)ofr->band); ^ plots.c:331:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ plots.c:350:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] band = (int) bl->data; ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 mbandrep.c mbandgui.c: In function 'sob_list_set_row_vals': mbandgui.c:755:19: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 40 [-Wformat-truncation=] snprintf(c, 40, "%s", sob->cats->name); ^~ In file included from /usr/include/stdio.h:862:0, from mbandgui.c:29: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 64 bytes into a destination of size 40 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 starfile.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 synth.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 psf.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 dsimplex.c In file included from catalogs.h:4:0, from starfile.c:40: starfile.c: In function 'init_scanner': starfile.c:150:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_scanner_add_symbol(scan, symname[i], (gpointer)i); ^ starfile.c: In function 'parse_star': starfile.c:426:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:451:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:472:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:493:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:512:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:533:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:554:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:575:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c:596:4: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ starfile.c: In function 'stf_read_frame': starfile.c:820:3: warning: case value '45' not in enumerated type 'GTokenType {aka enum }' [-Wswitch] case '-': ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 basename.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 dirname.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 query.c psf.c: In function 'radial_profile': psf.c:496:26: warning: variable 'ye' set but not used [-Wunused-but-set-variable] int ix, iy, xs, ys, xe, ye; ^~ psf.c:496:22: warning: variable 'xe' set but not used [-Wunused-but-set-variable] int ix, iy, xs, ys, xe, ye; ^~ psf.c: In function 'do_fit_psf': psf.c:968:9: warning: variable 'psfvol' set but not used [-Wunused-but-set-variable] double psfvol; ^~~~~~ psf.c:967:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret, iter; ^~~ psf.c:961:13: warning: variable 'flux' set but not used [-Wunused-but-set-variable] float sky, flux; ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 plate.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -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 scope.c query.c: In function 'parse_cat_line_ucac2_main': query.c:129:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=u 2mass=%.0f", m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c:131:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "j=%.3f k=%.3f", j, k); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c:133:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "uc=%.3f j=%.3f k=%.3f", uc, j, k); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c: In function 'parse_cat_line_gsc2': query.c:307:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=g gsc2_class=%.0f", class); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c: In function 'parse_cat_line_gsc_act': query.c:369:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->comments, "p=G gsc_class=%.0f", class); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c:372:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "p=%.3f/%.3f ", p, pe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c:374:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cats->smags, "p=%.3f ", p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from query.c:28: In function 'snprintf', inlined from 'parse_cat_line_ucac2_bss' at query.c:216:5, inlined from 'parse_cat_line' at query.c:516:10, inlined from 'query_catalog' at query.c:674:9: /usr/include/bits/stdio2.h:64:10: warning: '__builtin___snprintf_chk': specified bound 255 exceeds the size 128 of the destination [-Wstringop-overflow=] return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'parse_cat_line_ucac2_bss' at query.c:228:5, inlined from 'parse_cat_line' at query.c:516:10, inlined from 'query_catalog' at query.c:674:9: /usr/include/bits/stdio2.h:64:10: warning: '__builtin___snprintf_chk': specified bound 255 exceeds the size 128 of the destination [-Wstringop-overflow=] return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'parse_cat_line_gsc2' at query.c:311:6, inlined from 'parse_cat_line' at query.c:518:10, inlined from 'query_catalog' at query.c:674:9: /usr/include/bits/stdio2.h:64:10: warning: '__builtin___snprintf_chk': specified bound 255 exceeds the size 128 of the destination [-Wstringop-overflow=] return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'parse_cat_line_gsc2' at query.c:313:6, inlined from 'parse_cat_line' at query.c:518:10, inlined from 'query_catalog' at query.c:674:9: /usr/include/bits/stdio2.h:64:10: warning: '__builtin___snprintf_chk': specified bound 255 exceeds the size 128 of the destination [-Wstringop-overflow=] return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scope.c: In function 'scope_timed_center': scope.c:294:7: warning: variable 'buf' set but not used [-Wunused-but-set-variable] char buf[256]; ^~~ scope.c: In function 'sersend': scope.c:603:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gcx callbacks.o camera.o cameragui.o catalogs.o filegui.o framelist.o gcx.o gui.o imadjust.o interface.o obsdata.o obslist.o params.o paramsgui.o photometry.o showimage.o sourcesdraw.o staredit.o support.o textgui.o wcs.o helpmsg.o wcsedit.o recipy.o recipygui.o tycho2.o report.o sidereal_time.o nutation.o reduce.o misc.o reducegui.o initparams.o starlist.o fwheel.o guidegui.o guide.o multiband.o mbandgui.o plots.o mbandrep.o starfile.o synth.o psf.o dsimplex.o basename.o dirname.o query.o plate.o scope.o -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -ldl -lglib -lXi -lXext -lX11 -lm ccd/libccd.a gsc/libgsc.a make[3]: Leaving directory '/builddir/build/BUILD/gcx-0.9.11/src' make[2]: Leaving directory '/builddir/build/BUILD/gcx-0.9.11/src' make[1]: Leaving directory '/builddir/build/BUILD/gcx-0.9.11/src' make[1]: Entering directory '/builddir/build/BUILD/gcx-0.9.11' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/gcx-0.9.11' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y3Svxq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64 + cd gcx-0.9.11 + rm -rf /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64 + install -Dpm 755 src/gcx /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/bin/gcx + install -Dpm 644 /builddir/build/SOURCES/gcx.svg /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/gcx/gcx.svg + desktop-file-install --dir /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/gcx.desktop + /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: gcx-0.9.11-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2dPs2e + umask 022 + cd /builddir/build/BUILD + cd gcx-0.9.11 + DOCDIR=/builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr AUTHORS /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr COPYING /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr ChangeLog /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr INSTALL /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr NEWS /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr README /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + cp -pr TODO /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64/usr/share/doc/gcx + exit 0 Provides: application() application(gcx.desktop) gcx = 0.9.11-22.fc28 gcx(riscv-64) = 0.9.11-22.fc28 mimehandler(application/fits) mimehandler(image/fits) mimehandler(image/x-fits) Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXi.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libgdk-1.2.so.0()(64bit) libglib-1.2.so.0()(64bit) libgmodule-1.2.so.0()(64bit) libgtk-1.2.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gcx-0.9.11-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/gcx-0.9.11-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/gcx-0.9.11-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mXV1sX + umask 022 + cd /builddir/build/BUILD + cd gcx-0.9.11 + rm -rf /builddir/build/BUILDROOT/gcx-0.9.11-22.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