| ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_ffppxnll’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27482:5: note: in expansion of macro ‘dXSI32’ 27482 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_copy_pixlist2image’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27530:5: note: in expansion of macro ‘dXSI32’ 27530 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_write_keys_histo’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27575:5: note: in expansion of macro ‘dXSI32’ 27575 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_rebin_wcs’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27618:5: note: in expansion of macro ‘dXSI32’ 27618 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_rebin_wcsd’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27655:5: note: in expansion of macro ‘dXSI32’ 27655 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_make_hist’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27692:5: note: in expansion of macro ‘dXSI32’ 27692 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_make_histd’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27753:5: note: in expansion of macro ‘dXSI32’ 27753 | dXSI32; | ^~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_fits_make_histde’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ CFITSIO.c:27814:5: note: in expansion of macro ‘dXSI32’ 27814 | dXSI32; | ^~~~~~ CFITSIO.xs: At top level: CFITSIO.xs:23:1: warning: ‘not_here’ defined but not used [-Wunused-function] 23 | not_here(s) | ^~~~~~~~ CFITSIO.c: In function ‘XS_Astro__FITS__CFITSIO_ffgstr’: CFITSIO.c:15266:18: warning: ‘card’ may be used uninitialized [-Wmaybe-uninitialized] 15266 | RETVAL = ffgstr(fptr, string, card, &status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CFITSIO.c:15245:17: note: ‘card’ was declared here 15245 | char * card; | ^~~~ cc1: some warnings being treated as errors make: *** [Makefile:343: CFITSIO.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.efOlda (%build) Bad exit status from /var/tmp/rpm-tmp.efOlda (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/perl-Astro-FITS-CFITSIO.spec