Mock Version: 1.4.21
Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wcslib.spec'], chrootPath='/var/lib/mock/f33-build-256360-50782/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fca9f7700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wcslib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1583712000
Wrote: /builddir/build/SRPMS/wcslib-7.2-1.fc33.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wcslib.spec'], chrootPath='/var/lib/mock/f33-build-256360-50782/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fca9f7700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wcslib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1583712000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6abOTy
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf wcslib-7.2
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/wcslib-7.2.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd wcslib-7.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bva9Dz
+ umask 022
+ cd /builddir/build/BUILD
+ cd wcslib-7.2
+ CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' '%{_lto_cflags}x' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2020-03-09 03:31:27.000000000 -0400
+++ ./configure	2020-06-05 22:11:12.281943341 -0400
@@ -1983,7 +1983,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ '[' 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/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -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 --disable-fortran --disable-static
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-static
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking for flex... flex
configure: Using Flex version 2.6.4.
checking for riscv64-redhat-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for riscv64-redhat-linux-gnu-gcc... (cached) 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 ISO C89... (cached) none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... 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 for size_t... yes
checking for off_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for floor in -lm... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for floor... yes
checking for memset... yes
checking for pow... yes
checking for setlocale... yes
checking for sqrt... yes
checking for strchr... yes
checking for strstr... yes
checking for cosd in -lsunmath... no
checking for sincos... yes
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for printf z format modifier for size_t type... yes
configure: WARNING: Compilation of Fortran wrappers and PGSBOX disabled
checking for printf$LDBLStub in -lSystemStubs... no
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: End of primary configuration.
configure: Looking for libraries etc. for utilities and test suite...
checking for unistd.h... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for /usr/local/cfitsio/lib... no
checking for /local/cfitsio/lib... no
checking for /usr/local/pgplot/lib... no
checking for /local/pgplot/lib... no
checking for /usr/local/lib... yes
checking for /local/lib... no
checking for /opt/local/lib... no
checking for /opt/SUNWspro/lib... no
checking for /sw/lib... no
checking for /usr/local/cfitsio/include/cfitsio/fitsio.h... no
checking for /usr/local/cfitsio/include/fitsio.h... no
checking for /local/cfitsio/include/cfitsio/fitsio.h... no
checking for /local/cfitsio/include/fitsio.h... no
checking for /usr/local/include/cfitsio/fitsio.h... no
checking for /usr/local/include/fitsio.h... no
checking for /local/include/cfitsio/fitsio.h... no
checking for /local/include/fitsio.h... no
checking for /opt/local/include/cfitsio/fitsio.h... no
checking for /opt/local/include/fitsio.h... no
checking for /sw/include/cfitsio/fitsio.h... no
checking for /sw/include/fitsio.h... no
checking for /local/cfitsio/fitsio.h... no
checking for /local/fitsio.h... no
checking for /usr/include/cfitsio/fitsio.h... yes
checking for recv in -lsocket... no
checking for ffopen in -lcfitsio... yes
configure: CFITSIO appears to be available.
checking for fits_read_wcstab in -lcfitsio... yes
configure: End of auxiliary configuration.
configure: Configuring files...
configure: creating ./config.status
config.status: creating makedefs
config.status: creating wcslib.pc
config.status: creating wcsconfig.h
config.status: creating wcsconfig_f77.h
config.status: creating wcsconfig_tests.h
config.status: creating wcsconfig_utils.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-static
+ make
Linux fedora-riscv-9.gcc164.osuosl.org 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 #1 SMP Mon Jan 6 17:31:22 UTC 2020 riscv64 riscv64 riscv64 GNU/Linux
GNU Make 4.3
  SUBDIR      := .
  MAKEFLAGS   :=  -Otarget
For building and installing wcslib-7.2...
  ARCH        := riscv64-linux-gnu
  FLEX        := flex
  FLFLAGS     := -D_POSIX_C_SOURCE=1
  CPP         := gcc -E
  CPPFLAGS    := -DHAVE_CONFIG_H
  WCSTRIG     := WRAPPER
  CC          := gcc
  CFLAGS      := -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection
  FC          := 
  FFLAGS      := -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules
  WCSLIB      := libwcs-7.2.a
  ARFLAGS     := U
  RANLIB      := ranlib
  SHRLIB      := libwcs.so.7.2
  SONAME      := libwcs.so.7
  SHRFLAGS    := -fPIC
  SHRLD       := gcc -fPIC -shared -Wl,-hlibwcs.so.7
  SHRLN       := libwcs.so
  LN_S        := ln -s
  INSTALL     := /usr/bin/install -c
  LIBDIR      := /usr/lib64
  BINDIR      := /usr/bin
  INCDIR      := /usr/include/wcslib-7.2
  INCLINK     := /usr/include/wcslib
  DOCDIR      := /usr/share/doc/wcslib-7.2
  DOCLINK     := /usr/share/doc/wcslib
  HTMLDIR     := /usr/share/doc/wcslib-7.2
  PDFDIR      := /usr/share/doc/wcslib-7.2
  MANDIR      := /usr/share/man
  TIMER       := date +"%a %Y/%m/%d %X %z, executing on $HOST"
Important wcsconfig.h defines...
  #define HAVE_SINCOS 1
  #define WCSLIB_INT64 long long int
To build utilities and test programs...
  LD          := gcc
  LDFLAGS     := -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib
  PGPLOTINC   := 
  PGPLOTLIB   := 
  CFITSIOINC  := -I/usr/include/cfitsio
  CFITSIOLIB  := -lcfitsio 
  GETWCSTAB   := 
  FLIBS       := 
  LIBS        := -lm 
Subdirectories to be built...
  SUBDIRS     := C utils
  TSTDIRS     := C
For code development...
  FLAVOURS    := ""
  FLAVOUR     := 
  MODE        := 
  VALGRIND    := 
  EXTRA_CLEAN := 
make[1]: Entering directory '/builddir/build/BUILD/wcslib-7.2'
Fri 2020/06/05 22:13:49 -0400, executing on 
make[2]: Entering directory '/builddir/build/BUILD/wcslib-7.2/C'
flex -D_POSIX_C_SOURCE=1 -t fitshdr.l | sed -e 's/^[	 ]*#/#/' > fitshdr.c
flex -D_POSIX_C_SOURCE=1 -t wcsbth.l | sed -e 's/^[	 ]*#/#/' > wcsbth.c
flex -D_POSIX_C_SOURCE=1 -t wcspih.l | sed -e 's/^[	 ]*#/#/' > wcspih.c
flex -D_POSIX_C_SOURCE=1 -t wcsulex.l | sed -e 's/^[	 ]*#/#/' > wcsulex.c
flex -D_POSIX_C_SOURCE=1 -t wcsutrn.l | sed -e 's/^[	 ]*#/#/' > wcsutrn.c
Building WCSLIB C library...
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c cel.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c dis.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c fitshdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c lin.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c log.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c prj.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c spc.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c sph.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c spx.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c tab.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcs.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsbth.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcserr.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsfix.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcshdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcspih.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsprintf.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcstrig.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsulex.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsunits.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsutil.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c wcsutrn.c
ar rU libwcs-7.2.a cel.o dis.o fitshdr.o lin.o log.o prj.o spc.o sph.o spx.o tab.o wcs.o wcsbth.o wcserr.o wcsfix.o wcshdr.o wcspih.o wcsprintf.o wcstrig.o wcsulex.o wcsunits.o wcsutil.o wcsutrn.o
ar: creating libwcs-7.2.a
ranlib libwcs-7.2.a
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c cel.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c dis.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c fitshdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c lin.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c log.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c prj.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c spc.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c sph.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c spx.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c tab.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcs.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsbth.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcserr.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsfix.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcshdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcspih.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsprintf.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcstrig.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsulex.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsunits.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsutil.c
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c wcsutrn.c
ar rU libwcs-PIC.a cel.o dis.o fitshdr.o lin.o log.o prj.o spc.o sph.o spx.o tab.o wcs.o wcsbth.o wcserr.o wcsfix.o wcshdr.o wcspih.o wcsprintf.o wcstrig.o wcsulex.o wcsunits.o wcsutil.o wcsutrn.o
ar: creating libwcs-PIC.a
mkdir tmp && \
     cd tmp && \
     trap 'cd .. ; rm -f -r tmp' 0 1 2 3 15 ; \
     ar x ../libwcs-PIC.a && \
     gcc -fPIC -shared -Wl,-hlibwcs.so.7 -o libwcs.so.7.2 *.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -lm  && \
     mv libwcs.so.7.2 ..
make[2]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/C'
Fri 2020/06/05 22:26:02 -0400, executing on 
make[2]: Entering directory '/builddir/build/BUILD/wcslib-7.2/utils'
gcc -DHAVE_CONFIG_H -I.. -I../C -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c -o fitshdr.o fitshdr.c
gcc -o fitshdr fitshdr.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -lm 
gcc -DHAVE_CONFIG_H -I.. -I../C -I/usr/include/cfitsio -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c -o HPXcvt.o HPXcvt.c
gcc -o HPXcvt HPXcvt.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -lcfitsio  -lm 
gcc -DDO_CFITSIO -DHAVE_CONFIG_H -I.. -I../C -I../pgsbox -I../C -I/usr/include/cfitsio \
     -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -c -o wcsware.o wcsware.c
gcc -o wcsware wcsware.o  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -lcfitsio  ../C/libwcs-7.2.a \
      -lm 
make[2]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/utils'
make[1]: Leaving directory '/builddir/build/BUILD/wcslib-7.2'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rwbrgx
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64
++ dirname /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64
+ cd wcslib-7.2
+ make install DESTDIR=/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64
make[1]: Entering directory '/builddir/build/BUILD/wcslib-7.2/C'
Building WCSLIB C library...
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64 ; \
   fi
if [ "U" = U ] ; then \
     rm -f -r tmp ; \
     mkdir tmp && \
       cd tmp && \
       trap 'cd .. ; rm -f -r tmp' 0 1 2 3 15 ; \
       ar x ../libwcs-7.2.a && \
       ar rD libwcs-7.2.a *.o && \
       /usr/bin/install -c -m 644 libwcs-7.2.a /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64 ; \
       cd .. ; \
       rm -f -r tmp ; \
   else \
     /usr/bin/install -c -m 644 libwcs-7.2.a /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64 ; \
   fi
ar: creating libwcs-7.2.a
ranlib /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs-7.2.a
if [ -h "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.a" ] ; then \
     rm -f /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.a ; \
   fi
ln -s libwcs-7.2.a /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.a
if [ "libwcs.so.7.2" != "" ] ; then \
     /usr/bin/install -c -m 755 libwcs.so.7.2 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64 ; \
     if [ -h "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so.7" ] ; then \
       rm -f /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so.7 ; \
     fi ; \
     ln -s libwcs.so.7.2 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so.7 ; \
     if [ "libwcs.so" != "" ] ; then \
       if [ -h "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so" ] ; then \
         rm -f /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so ; \
       fi ; \
       ln -s libwcs.so.7 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so ; \
     fi ; \
   fi
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib-7.2" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib-7.2 ; \
   fi
/usr/bin/install -c -m 444 *.h /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib-7.2
rm -f /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib
ln -s wcslib-7.2 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib
make[1]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/C'
make[1]: Entering directory '/builddir/build/BUILD/wcslib-7.2/utils'
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin ; \
   fi
/usr/bin/install -c -m 755 fitshdr HPXcvt wcsware /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/man" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/man/man1 ; \
   fi
/usr/bin/install -c -m 644 fitshdr.1 HPXcvt.1 wcsware.1 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/man/man1
make[1]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/utils'
/usr/bin/install -c -m 444 wcsconfig.h wcsconfig_f77.h /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib-7.2
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2 ; \
   fi
/usr/bin/install -c -m 444 CHANGES COPYING* README /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2
if [ -h /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib ] ; then \
     rm -f /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib ; \
     ln -s wcslib-7.2 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib ; \
   fi
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2 ; \
   fi
/usr/bin/install -c -m 444 wcslib.pdf /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2/html" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2/html ; \
   fi
/usr/bin/install -c -m 444 html/* /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2/html
if [ ! -d "/builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/pkgconfig" ] ; then \
     /usr/bin/install -c -d -m 775 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/pkgconfig ; \
   fi
/usr/bin/install -c -m 444 wcslib.pc /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/pkgconfig/wcslib.pc
+ rm -rf /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/share/doc/wcslib-7.2
+ chmod 755 /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/include/wcslib-7.2
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 7.2-1.fc33 --unique-debug-suffix -7.2-1.fc33.riscv64 --unique-debug-src-base wcslib-7.2-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/wcslib-7.2
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin/fitshdr
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin/wcsware
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin/HPXcvt
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so.7.2
extracting debug info from /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin/fitshdr
extracting debug info from /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin/HPXcvt
extracting debug info from /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/bin/wcsware
extracting debug info from /builddir/build/BUILDROOT/wcslib-7.2-1.fc33.riscv64/usr/lib64/libwcs.so.7.2
original debug info size: 3776kB, size after compression: 3612kB
/usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match.
9844 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hSxgAA
+ umask 022
+ cd /builddir/build/BUILD
+ cd wcslib-7.2
+ make check
Linux fedora-riscv-9.gcc164.osuosl.org 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 #1 SMP Mon Jan 6 17:31:22 UTC 2020 riscv64 riscv64 riscv64 GNU/Linux
GNU Make 4.3
  SUBDIR      := .
  MAKEFLAGS   :=  -Otarget
For building and installing wcslib-7.2...
  ARCH        := riscv64-linux-gnu
  FLEX        := flex
  FLFLAGS     := -D_POSIX_C_SOURCE=1
  CPP         := gcc -E
  CPPFLAGS    := -DHAVE_CONFIG_H
  WCSTRIG     := WRAPPER
  CC          := gcc
  CFLAGS      := -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection
  FC          := 
  FFLAGS      := -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules
  WCSLIB      := libwcs-7.2.a
  ARFLAGS     := U
  RANLIB      := ranlib
  SHRLIB      := libwcs.so.7.2
  SONAME      := libwcs.so.7
  SHRFLAGS    := -fPIC
  SHRLD       := gcc -fPIC -shared -Wl,-hlibwcs.so.7
  SHRLN       := libwcs.so
  LN_S        := ln -s
  INSTALL     := /usr/bin/install -c
  LIBDIR      := /usr/lib64
  BINDIR      := /usr/bin
  INCDIR      := /usr/include/wcslib-7.2
  INCLINK     := /usr/include/wcslib
  DOCDIR      := /usr/share/doc/wcslib-7.2
  DOCLINK     := /usr/share/doc/wcslib
  HTMLDIR     := /usr/share/doc/wcslib-7.2
  PDFDIR      := /usr/share/doc/wcslib-7.2
  MANDIR      := /usr/share/man
  TIMER       := date +"%a %Y/%m/%d %X %z, executing on $HOST"
Important wcsconfig.h defines...
  #define HAVE_SINCOS 1
  #define WCSLIB_INT64 long long int
To build utilities and test programs...
  LD          := gcc
  LDFLAGS     := -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib
  PGPLOTINC   := 
  PGPLOTLIB   := 
  CFITSIOINC  := -I/usr/include/cfitsio
  CFITSIOLIB  := -lcfitsio 
  GETWCSTAB   := 
  FLIBS       := 
  LIBS        := -lm 
Subdirectories to be built...
  SUBDIRS     := C utils
  TSTDIRS     := C
For code development...
  FLAVOURS    := ""
  FLAVOUR     := 
  MODE        := 
  VALGRIND    := 
  EXTRA_CLEAN := 
Fri 2020/06/05 22:27:05 -0400, executing on 
make[1]: Entering directory '/builddir/build/BUILD/wcslib-7.2/C'
rm -f *.o lib.lock *.i a.out t*.out core *.dSYM
rm -f -r 
rm -f .gdb_history
rm -f tlin tdis1 tdis2 tlog tprj1 tsph tsphdpa tspx ttab1 twcs twcssub tpih1 tbth1 tfitshdr tunits twcsfix twcscompare tdisiter tspcaips tspcspxe tspctrne twcs_locale tsphdpa twcshdr
rm -f tspc tprj2 tcel1 tcel2 ttab2 ttab3 twcsmix tdis3 tpih2 twcshdr twcslint twcstab
rm -f tofits
rm -f bth.fits fitshdr.fits pih.fits wcslint.fits wcstab.fits
rm -f SIP.fits SIPTPV.fits TPV3.fits TPV5.fits TPV7.fits
rm -f DSS.fits TNX.fits ZPX.fits
rm -f t*_cfitsio test_results
Building WCSLIB C library...
make[1]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/C'
make[1]: Entering directory '/builddir/build/BUILD/wcslib-7.2/utils'
rm -f -r *.o *.i a.out core *.dSYM 
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/utils'
Fri 2020/06/05 22:27:09 -0400, executing on 
make[1]: Entering directory '/builddir/build/BUILD/wcslib-7.2/C'
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tlin test/tlin.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tdis1 test/tdis1.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tdis2 test/tdis2.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tlog test/tlog.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tprj1 test/tprj1.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tsph test/tsph.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tspx test/tspx.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o ttab1 test/ttab1.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
test/ttab1.c: In function 'main':
test/ttab1.c:392:18: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
  392 |         if (stat0[n]) {
      |             ~~~~~^~~
test/ttab1.c:390:5: note: within this loop
  390 |     for (i = 0; i < 11; i++) {
      |     ^~~
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o twcs test/twcs.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o twcssub test/twcssub.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tpih1 test/tpih1.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tbth1 test/tbth1.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tfitshdr test/tfitshdr.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tunits test/tunits.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o twcsfix test/twcsfix.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o twcscompare test/twcscompare.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cfitsio -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o twcstab test/twcstab.c \
      -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -lcfitsio  libwcs-7.2.a -lm 
cp test/tdis3 .
cp test/twcslint .
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -o tsphdpa test/tsphdpa.c -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libwcs-7.2.a -lm 
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cfitsio -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o twcshdr test/twcshdr.c \
      -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -lcfitsio  libwcs-7.2.a -lm 
Fri 2020/06/05 22:28:46 -0400, executing on 
Testing WCSLIB linear transformation routines (tlin.c)
------------------------------------------------------
PASS: All closure residuals are within reporting tolerance.
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -o tofits test/tofits.c
./tofits < test/TPV3.keyrec > TPV3.fits
./tofits < test/TPV5.keyrec > TPV5.fits
./tofits < test/TPV7.keyrec > TPV7.fits
Fri 2020/06/05 22:28:48 -0400, executing on 
Testing closure of WCSLIB distortion routines (tdis1.c)
-------------------------------------------------------
PASS: All TPV closure residuals are within reporting tolerance.
PASS: All Polynomial* closure residuals are within reporting tolerance.
PASS: All TPV vs Polynomial comparisons are within reporting tolerance.
./tofits < test/SIP.keyrec > SIP.fits
Fri 2020/06/05 22:30:21 -0400, executing on 
Testing wcssub() with distortions (tdis2.c)
-------------------------------------------
PASS: Output agrees with C/test/tdis2.out
Fri 2020/06/05 22:30:24 -0400, executing on 
Testing closure of WCSLIB logarithmic coordinate routines (tlog.c)
------------------------------------------------------------------
PASS: All closure residuals are within reporting tolerance.
Fri 2020/06/05 22:30:25 -0400, executing on 
Testing closure of WCSLIB spherical projection routines (tprj1.c)
-----------------------------------------------------------------
PASS: All closure residuals are within reporting tolerance.
Fri 2020/06/05 22:30:52 -0400, executing on 
Testing closure of WCSLIB coordinate transformation routines (tsph.c)
---------------------------------------------------------------------
PASS: All closure residuals are within reporting tolerance.
Fri 2020/06/05 22:30:59 -0400, executing on 
Testing closure of WCSLIB spectral transformation routines (tspx.c)
-------------------------------------------------------------------
PASS: All closure residuals are within reporting tolerance.
Fri 2020/06/05 22:31:00 -0400, executing on 
Testing closure of WCSLIB tabular coordinate routines (ttab1.c)
---------------------------------------------------------------
PASS: All closure residuals are within reporting tolerance.
Fri 2020/06/05 22:31:01 -0400, executing on 
WCSLIB version number: 7.2 (7,2,0)
PASS: All closure residuals are within reporting tolerance.
PASS: All error messages reported as expected.
Fri 2020/06/05 22:31:06 -0400, executing on 
Testing WCSLIB subimage extraction routine (twcssub.c)
------------------------------------------------------
PASS: Output agrees with C/test/twcssub.out
./tofits < test/pih.keyrec > pih.fits
Fri 2020/06/05 22:31:07 -0400, executing on 
Testing WCSLIB parser for FITS image headers (tpih1.c)
------------------------------------------------------
PASS: Output agrees with C/test/tpih1.out
./tofits < test/bth.keyrec > bth.fits
Fri 2020/06/05 22:31:08 -0400, executing on 
Testing WCSLIB parser for FITS binary table headers (tbth1.c)
-------------------------------------------------------------
PASS: Output agrees with C/test/tbth1.out
./tofits < test/fitshdr.keyrec > fitshdr.fits
Fri 2020/06/05 22:31:10 -0400, executing on 
Testing FITS image header parser (tfitshdr.c)
---------------------------------------------
PASS: Output agrees with C/test/tfitshdr.out
Fri 2020/06/05 22:31:11 -0400, executing on 
Testing FITS unit specification parser (tunits.c)
-------------------------------------------------
PASS: Output agrees with C/test/tunits.out
Fri 2020/06/05 22:31:12 -0400, executing on 
Testing WCSLIB translator for non-standard usage (twcsfix.c)
------------------------------------------------------------
PASS: Output agrees with C/test/twcsfix.out
Fri 2020/06/05 22:31:13 -0400, executing on 
Testing WCSLIB comparison routine (twcscompare.c)
-------------------------------------------------
PASS: All comparisons returned as expected.
Fri 2020/06/05 22:31:13 -0400, executing on 
Testing -TAB interpreter (twcstab.c)
------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FITSIO status = 1: non-CFITSIO program error
Failed to create FITS test file.
FAIL: Output disagrees with C/test/twcstab.out
./tofits < test/DSS.keyrec > DSS.fits
./tofits < test/SIPTPV.keyrec > SIPTPV.fits
./tofits < test/TNX.keyrec > TNX.fits
./tofits < test/ZPX.keyrec > ZPX.fits
Fri 2020/06/05 22:31:16 -0400, executing on 
Testing WCSLIB's handling of translated distortions (tdis3)
-----------------------------------------------------------
Each of the 10 SIPTPV alternates should produce the same results.
Using SIPTPV alternate 0:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 1:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 2:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 3:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 4:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 5:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 6:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 7:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 8:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using SIPTPV alternate 9:
-------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using DSS alternate 0:
----------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using TNX alternate 0:
----------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Using ZPX alternate 0:
----------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FAIL: Output disagrees with C/test/tdis3.out
./tofits < test/wcslint.keyrec > wcslint.fits
Fri 2020/06/05 22:31:18 -0400, executing on 
Testing WCSLIB syntax checker for FITS WCS keyrecords (twcslint)
----------------------------------------------------------------
FITSIO status = 1: non-CFITSIO program error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Byteswapping is not being done correctly on this system.
 Check the MACHINE and BYTESWAPPED definitions in fitsio2.h
 Please report this problem to the CFITSIO developers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FAIL: Output disagrees with C/test/twcslint.out
make[1]: Leaving directory '/builddir/build/BUILD/wcslib-7.2/C'
Summary of results for non-graphical tests
------------------------------------------
PASS: C/tlin
PASS: C/tdis1
PASS: C/tdis2
PASS: C/tlog
PASS: C/tprj1
PASS: C/tsph
PASS: C/tspx
PASS: C/ttab1
PASS: C/twcs
PASS: C/twcssub
PASS: C/tpih1
PASS: C/tbth1
PASS: C/tfitshdr
PASS: C/tunits
PASS: C/twcsfix
PASS: C/twcscompare
FAIL: C/twcstab
FAIL: C/tdis3
FAIL: C/twcslint
make: *** [GNUmakefile:74: check] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.hSxgAA (%check)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.hSxgAA (%check)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wcslib.spec