Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dcm2niix.spec'], chrootPath='/var/lib/mock/f29-build-19715-10460/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dcm2niix.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/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dcm2niix.spec'], chrootPath='/var/lib/mock/f29-build-19715-10460/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dcm2niix.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.JyP0Cz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + /usr/bin/gzip -dc /builddir/build/SOURCES/dcm2niix-ebc72ae.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-allow-nifti-openjpeg2-be-system.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + chmod -x README.md console/CMakeLists.txt console/config.h.in console/jpg_0XC3.cpp console/jpg_0XC3.h console/main_console.cpp console/makefile console/miniz.c console/nifti1.h console/nifti1_io_core.cpp console/nifti1_io_core.h console/nifti1_io_ext.cpp console/nifti1_io_ext.h console/nii_dicom.cpp console/nii_dicom.h console/nii_dicom_batch.cpp console/nii_dicom_batch.h console/nii_io.mm console/nii_ortho.cpp console/nii_ortho.h console/tinydir.h console/ujpeg.cpp console/ujpeg.h console/unused console/unused_visualstudio + mkdir build/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uDrok7 + umask 022 ~/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build ~/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + cd /builddir/build/BUILD + cd dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + pushd build/ + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ../ -- The C compiler identification is GNU 8.1.1 -- The CXX compiler identification is GNU 8.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found NIFTI: /usr/lib64/libniftiio.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.1") -- Checking for module 'libopenjp2' -- Found libopenjp2, version 2.3.0 -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build + /usr/bin/make -O -j4 /usr/bin/cmake -H/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d -B/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/CMakeFiles /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f console/CMakeFiles/dcm2niix.dir/build.make console/CMakeFiles/dcm2niix.dir/depend make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console/CMakeFiles/dcm2niix.dir/DependInfo.cmake --color= Scanning dependencies of target dcm2niix make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' /usr/bin/make -f console/CMakeFiles/dcm2niix.dir/build.make console/CMakeFiles/dcm2niix.dir/build make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 11%] Building CXX object console/CMakeFiles/dcm2niix.dir/main_console.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/main_console.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/main_console.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 55%] Building CXX object console/CMakeFiles/dcm2niix.dir/nifti1_io_core.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/nifti1_io_core.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nifti1_io_core.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 44%] Building CXX object console/CMakeFiles/dcm2niix.dir/ujpeg.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/ujpeg.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/ujpeg.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 22%] Building CXX object console/CMakeFiles/dcm2niix.dir/jpg_0XC3.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/jpg_0XC3.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:173: warning: ignoring #pragma unused [-Wunknown-pragmas] BUILDSTDERR: #pragma unused(DHTnLi) //we need to increment the input file position, but we do not care what the value is BUILDSTDERR: BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:244: warning: ignoring #pragma unused [-Wunknown-pragmas] BUILDSTDERR: #pragma unused(btS1) //dummy value used to increment file position BUILDSTDERR: BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:246: warning: ignoring #pragma unused [-Wunknown-pragmas] BUILDSTDERR: #pragma unused(btS2) //dummy value used to increment file position BUILDSTDERR: BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:251: warning: ignoring #pragma unused [-Wunknown-pragmas] BUILDSTDERR: #pragma unused(SOSse) //dummy value used to increment file position BUILDSTDERR: BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp: In function 'unsigned char* decode_JPEG_SOF_0XC3(const char*, int, bool, int*, int*, int*, int*)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:124:25: warning: variable 'btS2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned char btS1, btS2, SOSss, SOSse, SOSahal, SOSpttrans, btMarkerType, SOSns = 0x00; //tag BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:124:38: warning: variable 'SOSse' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned char btS1, btS2, SOSss, SOSse, SOSahal, SOSpttrans, btMarkerType, SOSns = 0x00; //tag BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:116:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(lRawRA, 1, lRawSz, reader); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:124:54: warning: 'SOSpttrans' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: unsigned char btS1, btS2, SOSss, SOSse, SOSahal, SOSpttrans, btMarkerType, SOSns = 0x00; //tag BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:471:20: warning: 'SOSss' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: } else if (SOSss == 7) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:125:20: warning: 'SOFprecision' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: uint8_t SOFnf, SOFprecision; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/jpg_0XC3.cpp:313:21: warning: 'SOFnf' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (lnHufTables < SOFnf) { //use single Hufman table for each frame BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 66%] Building CXX object console/CMakeFiles/dcm2niix.dir/nifti1_io_ext.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/nifti1_io_ext.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nifti1_io_ext.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 77%] Building CXX object console/CMakeFiles/dcm2niix.dir/nii_ortho.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/nii_ortho.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_ortho.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 33%] Building CXX object console/CMakeFiles/dcm2niix.dir/nii_dicom.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/nii_dicom.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'TDICOMdata nii_readParRec(char*, bool, TDTI4D*)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:1436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (!isIndexSequential) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:1438:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: printf("Done reading PAR header version %.1f, with %d DTI directions\n", (float)parVers/10, d.CSA.numDti); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:1477:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:1479:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: mat44 eye; BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'unsigned char* nii_XYTZ_XYZT(unsigned char*, nifti_1_header*, int)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:1859:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int t = 0; t < typeRepeats; t++) { //for each volume BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'TDICOMdata readDICOMv(char*, bool, int, TDTI4D*)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2308:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (((groupElement == kNest) || (groupElement == kUnnest) || (groupElement == kUnnest2)) && (!isEncapsulatedData)) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2308:51: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (((groupElement == kNest) || (groupElement == kUnnest) || (groupElement == kUnnest2)) && (!isEncapsulatedData)) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2308:80: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (((groupElement == kNest) || (groupElement == kUnnest) || (groupElement == kUnnest2)) && (!isEncapsulatedData)) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2312:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (groupElement == kUnnest2) sqDepth--; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2364:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((groupElement == kNest) || ((vr[0] == 'S') && (vr[1] == 'Q'))) nest++; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2365:26: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (groupElement == kUnnest) nest--; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2367:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((groupElement == kNest) && (isEncapsulatedData)) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2789:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if ((d.manufacturer == kMANUFACTURER_PHILIPS) && (d.locationsInAcquisition == 0)) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2791:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if ((d.manufacturer == kMANUFACTURER_GE) && (d.locationsInAcquisition == 0)) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2791:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2793:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (zSpacing > 0) d.xyzMM[3] = zSpacing; //use zSpacing if provided: depending on vendor, kZThick may or may not include a slice gap BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2795:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if ((d.manufacturer == kMANUFACTURER_PHILIPS) && (patientPositionCount > d.xyzDim[3])) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2797:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if ((d.imageStart > 144) && (d.xyzDim[1] > 1) && (d.xyzDim[2] > 1)) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2797:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2799:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if ((d.xyzMM[1] > FLT_EPSILON) && (d.xyzMM[2] < FLT_EPSILON)) { BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'unsigned char* nii_loadImgCoreOpenJPEG(char*, nifti_1_header, TDICOMdata, int)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:201:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(data, 1, size, reader); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'unsigned char* nii_loadImgCore(char*, nifti_1_header)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:1711: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(bImg, imgsz, 1, file); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'TDICOMdata readDICOMv(char*, bool, int, TDTI4D*)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:2175: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(buffer, fileLen, 1, file); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp: In function 'int headerDcm2Nii2(TDICOMdata, TDICOMdata, nifti_1_header*)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:589:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] BUILDSTDERR: snprintf(h->descrip,80, "%s",txt); BUILDSTDERR: ^~~~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/nifti/nifti1_io.h:9, BUILDSTDERR: from /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nifti1_io_core.h:14, BUILDSTDERR: from /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:23: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:591:33: warning: '%s' directive output may be truncated writing up to 30 bytes into a region of size 24 [-Wformat-truncation=] BUILDSTDERR: snprintf(h->aux_file,24,"%s",d.imageComments); BUILDSTDERR: ^~~~ ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/nifti/nifti1_io.h:9, BUILDSTDERR: from /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nifti1_io_core.h:14, BUILDSTDERR: from /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom.cpp:23: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin_snprintf' output between 1 and 31 bytes into a destination of size 24 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [ 88%] Building CXX object console/CMakeFiles/dcm2niix.dir/nii_dicom_batch.cpp.o cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/c++ -DmyDisableJasper -DmyDisableMiniZ -I/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console -I/usr/include/nifti -I/usr/include/openjpeg-2.3 -O2 -g -pipe -Wall -Werror=format-security -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 -o CMakeFiles/dcm2niix.dir/nii_dicom_batch.cpp.o -c /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp: In function 'int nii_createFilename(TDICOMdata, char*, TDCMopts)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:680:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (pos < strlen(inname)) { BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:689:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (pos < strlen(inname)) f = toupper(inname[pos]); BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:719:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((pos 0) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:1601:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: return nConvert - nDuplicates; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp: In function 'int convert_parRec(TDCMopts)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:1753:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < nameList.numItems; i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp: In function 'bool isDICOMfile(const char*)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:181: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(buffer, 256, 1, fp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp: In function 'int nii_saveNII(char*, nifti_1_header, unsigned char*, TDCMopts)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:938:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(command); BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/tinydir.h:30, BUILDSTDERR: from /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:38: BUILDSTDERR: In function 'char* strcat(char*, const char*)', BUILDSTDERR: inlined from 'int tinydir_readfile(const tinydir_dir*, tinydir_file*)' at /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/tinydir.h:350:8, BUILDSTDERR: inlined from 'void searchDirForDICOM(char*, TSearchList*, int, int)' at /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:1522:25: BUILDSTDERR: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 4097 or more bytes at offsets 0 and 4096 may overlap 1 byte at offset 4096 [-Wrestrict] BUILDSTDERR: return __builtin___strcat_chk (__dest, __src, __bos (__dest)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp: In function 'void searchDirForDICOM(char*, TSearchList*, int, int)': BUILDSTDERR: /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console/nii_dicom_batch.cpp:1519:16: warning: 'dir.tinydir_dir::has_next' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: while (dir.has_next) { BUILDSTDERR: ~~~~^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [100%] Linking CXX executable dcm2niix cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console && /usr/bin/cmake -E cmake_link_script CMakeFiles/dcm2niix.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/dcm2niix.dir/main_console.cpp.o CMakeFiles/dcm2niix.dir/nii_dicom.cpp.o CMakeFiles/dcm2niix.dir/jpg_0XC3.cpp.o CMakeFiles/dcm2niix.dir/ujpeg.cpp.o CMakeFiles/dcm2niix.dir/nifti1_io_core.cpp.o CMakeFiles/dcm2niix.dir/nifti1_io_ext.cpp.o CMakeFiles/dcm2niix.dir/nii_ortho.cpp.o CMakeFiles/dcm2niix.dir/nii_dicom_batch.cpp.o -o dcm2niix -lz -lniftiio -lopenjp2 make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[1]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [100%] Built target dcm2niix make[1]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/CMakeFiles 0 ~/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JNXg98 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 ~/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build ~/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + cd dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + pushd build/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -H/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d -B/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/CMakeFiles /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' /usr/bin/make -f console/CMakeFiles/dcm2niix.dir/build.make console/CMakeFiles/dcm2niix.dir/depend make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' cd /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/console /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/console/CMakeFiles/dcm2niix.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' /usr/bin/make -f console/CMakeFiles/dcm2niix.dir/build.make console/CMakeFiles/dcm2niix.dir/build make[2]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[2]: Nothing to be done for 'console/CMakeFiles/dcm2niix.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' [100%] Built target dcm2niix make[1]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64/usr/bin/dcm2niix ~/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + popd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.0-0.7.gitebc72ae.fc29 --unique-debug-suffix -0.0.0-0.7.gitebc72ae.fc29.riscv64 --unique-debug-src-base dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d extracting debug info from /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64/usr/bin/dcm2niix /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 740 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fWREG1 + umask 022 + cd /builddir/build/BUILD + cd dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + DOCDIR=/builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64/usr/share/doc/dcm2niix + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64/usr/share/doc/dcm2niix + cp -pr README.md /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64/usr/share/doc/dcm2niix + exit 0 Provides: bundled(nanojpeg) dcm2niix = 0.0.0-0.7.gitebc72ae.fc29 dcm2niix(riscv-64) = 0.0.0-0.7.gitebc72ae.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libniftiio.so.2()(64bit) libopenjp2.so.7()(64bit) libstdc++.so.6()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: dcm2niix-debugsource-0.0.0-0.7.gitebc72ae.fc29.riscv64 Provides: dcm2niix-debugsource = 0.0.0-0.7.gitebc72ae.fc29 dcm2niix-debugsource(riscv-64) = 0.0.0-0.7.gitebc72ae.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dcm2niix-debuginfo-0.0.0-0.7.gitebc72ae.fc29.riscv64 Provides: dcm2niix-debuginfo = 0.0.0-0.7.gitebc72ae.fc29 dcm2niix-debuginfo(riscv-64) = 0.0.0-0.7.gitebc72ae.fc29 debuginfo(build-id) = 60d4f8c59c2e7abf188fe6b1628fb96fc214a228 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dcm2niix-debugsource(riscv-64) = 0.0.0-0.7.gitebc72ae.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 Wrote: /builddir/build/RPMS/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dcm2niix-debugsource-0.0.0-0.7.gitebc72ae.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dcm2niix-debuginfo-0.0.0-0.7.gitebc72ae.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9nrGJx + umask 022 + cd /builddir/build/BUILD + cd dcm2niix-ebc72ae10a3f9e4cc7500decf9966b2a04caad5d + /usr/bin/rm -rf /builddir/build/BUILDROOT/dcm2niix-0.0.0-0.7.gitebc72ae.fc29.riscv64 + exit 0 Child return code was: 0