Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dans-gdal-scripts.spec'], chrootPath='/var/lib/mock/f30-build-36213-20393/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dans-gdal-scripts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dans-gdal-scripts-0.24-6.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dans-gdal-scripts.spec'], chrootPath='/var/lib/mock/f30-build-36213-20393/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dans-gdal-scripts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ds4Ort + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dans-gdal-scripts-0.24 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.24.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dans-gdal-scripts-0.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./autogen.sh BUILDSTDERR: configure.ac:31: installing './install-sh' BUILDSTDERR: configure.ac:31: installing './missing' BUILDSTDERR: src/Makefile.am: installing './depcomp' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ 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 g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for gdal-config... /usr/bin/gdal-config checking how to run the C++ preprocessor... g++ -E 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 cpl_conv.h usability... yes checking cpl_conv.h presence... yes checking for cpl_conv.h... yes checking cpl_port.h usability... yes checking cpl_port.h presence... yes checking for cpl_port.h... yes checking cpl_string.h usability... yes checking cpl_string.h presence... yes checking for cpl_string.h... yes checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking ogr_spatialref.h usability... yes checking ogr_spatialref.h presence... yes checking for ogr_spatialref.h... yes checking ogrsf_frmts.h usability... yes checking ogrsf_frmts.h presence... yes checking for ogrsf_frmts.h... yes checking for Boost headers version >= 1.37.0... yes checking for Boost's header version... 1_66 checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for size_t... yes 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 for working strtod... yes checking for memset... yes checking for sqrt... yes checking for strtol... yes checking for pow in -lm... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m6wv91 + umask 022 + cd /builddir/build/BUILD + cd dans-gdal-scripts-0.24 + make -j4 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/dans-gdal-scripts-0.24/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory '/builddir/build/BUILD/dans-gdal-scripts-0.24' Making all in src make[2]: Entering directory '/builddir/build/BUILD/dans-gdal-scripts-0.24/src' g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_raw2geotiff.o gdal_raw2geotiff.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o common.o common.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_dem2rgb.o gdal_dem2rgb.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o georef.o georef.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ndv.o ndv.cc BUILDSTDERR: gdal_raw2geotiff.cc: In function 'int main(int, char**)': BUILDSTDERR: gdal_raw2geotiff.cc:228:15: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(dst_band, GF_Write, 0, row, w, 1, &linebuf[0], w, 1, gdal_dt, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_dem2rgb.cc: In function 'int main(int, char**)': BUILDSTDERR: gdal_dem2rgb.cc:387:16: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_band, GF_Read, 0, 0, w, 1, &inbuf_prev[0], w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_dem2rgb.cc:388:16: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_band, GF_Read, 0, 0, w, 1, &inbuf_this[0], w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_dem2rgb.cc:389:16: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_band, GF_Read, 0, 1, w, 1, &inbuf_next[0], w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_dem2rgb.cc:410:16: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_band, GF_Read, 0, read_row, w, 1, &inbuf_next[0], w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_dem2rgb.cc:416:17: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(tex_bands[i], GF_Read, 0, row, w, 1, &outbuf[i][0], w, 1, GDT_Byte, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_dem2rgb.cc:568:16: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(dst_band[i], GF_Write, 0, row, w, 1, &outbuf[i][0], w, 1, GDT_Byte, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o palette.o palette.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o datatype_conversion.o datatype_conversion.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_list_corners.o gdal_list_corners.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o polygon.o polygon.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o polygon-rasterizer.o polygon-rasterizer.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o debugplot.o debugplot.cc BUILDSTDERR: polygon.cc: In static member function 'static dangdal::Ring dangdal::Ring::debug_load_binary(FILE*)': BUILDSTDERR: polygon.cc:868:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&magic, sizeof(magic), 1, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: polygon.cc:873:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&is_hole_byte, sizeof(is_hole_byte), 1, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: polygon.cc:875:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&ret.parent_id, sizeof(ret.parent_id), 1, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: polygon.cc:877:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&npts, sizeof(npts), 1, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: polygon.cc:879:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&ret.pts[0], sizeof(Vertex), npts, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: polygon.cc: In static member function 'static dangdal::Mpoly dangdal::Mpoly::debug_load_binary(FILE*)': BUILDSTDERR: polygon.cc:898:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&magic, sizeof(magic), 1, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: polygon.cc:903:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&nrings, sizeof(nrings), 1, fh); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mask.o mask.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rectangle_finder.o rectangle_finder.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_trace_outline.o gdal_trace_outline.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mask-tracer.o mask-tracer.cc BUILDSTDERR: mask.cc: In function 'dangdal::BitGrid dangdal::get_bitgrid_for_dataset(GDALDatasetH, const std::vector&, const dangdal::NdvDef&, dangdal::DebugPlot*)': BUILDSTDERR: mask.cc:116:18: warning: ignoring return value of 'CPLErr GDALReadBlock(GDALRasterBandH, int, int, void*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALReadBlock(bands[band_idx], block_x, block_y, &band_buf[band_idx][0]); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o beveler.o beveler.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dp.o dp.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o excursion_pincher2.o excursion_pincher2.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o raster_features.o raster_features.cc BUILDSTDERR: gdal_trace_outline.cc: In function 'int main(int, char**)': BUILDSTDERR: gdal_trace_outline.cc:589:27: warning: ignoring return value of 'OGRErr OGR_L_CreateFeature(OGRLayerH, OGRFeatureH)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: OGR_L_CreateFeature(go.ogr_layer, ogr_feat); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_contrast_stretch.o gdal_contrast_stretch.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_landsat_pansharp.o gdal_landsat_pansharp.cc BUILDSTDERR: raster_features.cc: In static member function 'static dangdal::FeatureBitmap* dangdal::FeatureBitmap::from_raster(GDALDatasetH, std::vector, const dangdal::NdvDef&, dangdal::DebugPlot*)': BUILDSTDERR: raster_features.cc:341:18: warning: ignoring return value of 'CPLErr GDALReadBlock(GDALRasterBandH, int, int, void*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALReadBlock(bands[band_idx], block_x, block_y, &band_buf[band_idx][0]); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_wkt_to_mask.o gdal_wkt_to_mask.cc BUILDSTDERR: gdal_contrast_stretch.cc: In member function 'int Binning::to_bin(double) const': BUILDSTDERR: gdal_contrast_stretch.cc:47:20: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare] BUILDSTDERR: if(std::isinf(v) == -1) return 0; BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: gdal_contrast_stretch.cc: In function 'int main(int, char**)': BUILDSTDERR: gdal_contrast_stretch.cc:437:17: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_bands[band_idx], GF_Read, boff_x, boff_y, bsize_x, bsize_y, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &buf_in[band_idx][0], bsize_x, bsize_y, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_contrast_stretch.cc:482:17: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(dst_bands[band_idx], GF_Write, boff_x, boff_y, bsize_x, bsize_y, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &buf_out[band_idx][0], bsize_x, bsize_y, GDT_Byte, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_contrast_stretch.cc: In function 'std::vector > compute_minmax(const std::vector&, const dangdal::NdvDef&, size_t, size_t)': BUILDSTDERR: gdal_contrast_stretch.cc:533:17: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_bands[band_idx], GF_Read, boff_x, boff_y, bsize_x, bsize_y, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &buf_in[band_idx][0], bsize_x, bsize_y, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_contrast_stretch.cc: In function 'std::vector compute_histogram(const std::vector&, const dangdal::NdvDef&, size_t, size_t, const std::vector&)': BUILDSTDERR: gdal_contrast_stretch.cc:606:17: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(src_bands[band_idx], GF_Read, boff_x, boff_y, bsize_x, bsize_y, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &buf_in[band_idx][0], bsize_x, bsize_y, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_landsat_pansharp.cc: In function 'int main(int, char**)': BUILDSTDERR: gdal_landsat_pansharp.cc:236:15: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(pan_band, GF_Read, 0, row, w, 1, &pan_buf[0], w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_landsat_pansharp.cc:283:16: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(dst_bands[band_idx], GF_Write, 0, row, w, 1, BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &out_buf[0], w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gdal_landsat_pansharp.cc: In function 'void readLineScaled1D(ScaledBand&, int, double*)': BUILDSTDERR: gdal_landsat_pansharp.cc:396:15: warning: ignoring return value of 'CPLErr GDALRasterIO(GDALRasterBandH, GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: GDALRasterIO(sb.band, GF_Read, 0, row, sb.lo_w, 1, &lores_buf[0], sb.lo_w, 1, GDT_Float64, 0, 0); BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_merge_simple.o gdal_merge_simple.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_merge_vrt.o gdal_merge_vrt.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_get_projected_bounds.o gdal_get_projected_bounds.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gdal -Wall -Wextra -O3 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdal_make_ndv_mask.o gdal_make_ndv_mask.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -o gdal_raw2geotiff gdal_raw2geotiff.o common.o -L/usr/lib64 -lgdal BUILDSTDERR: /usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `wrapper_clapack_dposv' BUILDSTDERR: /usr/bin/ld: /usr/lib64/libgdal.so: undefined reference to `wrapper_clapack_dgesv' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:501: gdal_raw2geotiff] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/dans-gdal-scripts-0.24/src' make[1]: Leaving directory '/builddir/build/BUILD/dans-gdal-scripts-0.24' BUILDSTDERR: make[1]: *** [Makefile:389: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:330: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.m6wv91 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.m6wv91 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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/dans-gdal-scripts.spec