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/ntfs2btrfs.spec'], chrootPath='/var/lib/mock/f33-build-582975-66463/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=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/ntfs2btrfs.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 setting SOURCE_DATE_EPOCH=1617321600 Wrote: /builddir/build/SRPMS/ntfs2btrfs-20210402-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/ntfs2btrfs.spec'], chrootPath='/var/lib/mock/f33-build-582975-66463/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=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/ntfs2btrfs.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 setting SOURCE_DATE_EPOCH=1617321600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JQVNXA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ntfs2btrfs-20210402 + /usr/bin/gzip -dc /builddir/build/SOURCES/ntfs2btrfs-20210402.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ntfs2btrfs-20210402 + /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.Fn7BrA + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210402 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu + /usr/bin/cmake --build riscv64-redhat-linux-gnu -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/ntfs2btrfs-20210402 -B/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/ntfs2btrfs.dir/build.make CMakeFiles/ntfs2btrfs.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ntfs2btrfs-20210402 /builddir/build/BUILD/ntfs2btrfs-20210402 /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles/ntfs2btrfs.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles/ntfs2btrfs.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles/ntfs2btrfs.dir/depend.internal". Dependee "/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles/ntfs2btrfs.dir/depend.internal". Scanning dependencies of target ntfs2btrfs gmake[2]: Leaving directory '/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/ntfs2btrfs.dir/build.make CMakeFiles/ntfs2btrfs.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu' [ 9%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o [ 18%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -o CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs2btrfs.cpp /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -o CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs.cpp [ 27%] Building C object CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/crc32c.c [ 36%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -o CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp [ 45%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:59: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:41: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:10: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:38:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 38 | # define bsr64(n) (63 - __builtin_clzll(n)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:193:10: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 229 | return bsf32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:35: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | # define bsf32(n) __builtin_ctz(n) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:10: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:40:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 40 | # define bsf64(n) __builtin_ctzll(n) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:231:10: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:183:34: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 183 | if (unlikely(is->end - is->next < count)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:35:46: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:59: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'repeat_byte': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:436:34: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 436 | return repeat_u16(((u16)b << 8) | b); | ~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'lz_copy': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:472:48: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c: In function 'lzx_read_codeword_lens': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:165:4: warning: conversion from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 165 | bitstream_read_bits(is, LZX_PRECODE_ELEMENT_SIZE); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:186:10: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 186 | len = *len_ptr - presym; | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:209:11: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 209 | len = *len_ptr - presym; | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c: In function 'lzx_read_block_header': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:251:15: warning: conversion to 'int' from 'u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 251 | block_type = bitstream_pop_bits(is, 3); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:272:5: warning: conversion from 'u32' {aka 'unsigned int'} to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 272 | bitstream_read_bits(is, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c: In function 'lzx_decompress_block': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:390:18: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 390 | *out_next++ = mainsym; | ^~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:420:11: warning: conversion to 'u32' {aka 'unsigned int'} from 's32' {aka 'const int'} may change the sign of the result [-Wsign-conversion] 420 | offset += lzx_offset_slot_base[offset_slot]; | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c: In function 'lzx_decompress': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:452:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] 452 | init_input_bitstream(&is, compressed_data, compressed_size); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:500:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] 500 | lzx_postprocess(uncompressed_data, uncompressed_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c: In function 'lzx_read_block_header': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:270:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 270 | for (int i = 0; i < LZX_ALIGNEDCODE_NUM_SYMBOLS; i++) { | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_decompress.c:279:2: note: here 279 | case LZX_BLOCKTYPE_VERBATIM: | ^~~~ [ 54%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:36: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:41: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:10: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:38:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 38 | # define bsr64(n) (63 - __builtin_clzll(n)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:193:10: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 229 | return bsf32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:35: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | # define bsf32(n) __builtin_ctz(n) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:10: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:40:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 40 | # define bsf64(n) __builtin_ctzll(n) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:231:10: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c: In function 'lzx_get_window_order': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:47:8: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 47 | (_a > _b) ? _a : _b; }) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:79:9: note: in expansion of macro 'max' 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:47:21: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 47 | (_a > _b) ? _a : _b; }) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:79:9: note: in expansion of macro 'max' 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:47:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 47 | (_a > _b) ? _a : _b; }) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:79:9: note: in expansion of macro 'max' 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c: In function 'lzx_get_num_main_syms': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:95:20: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'const int'} [-Wsign-compare] 95 | while (max_offset >= lzx_offset_slot_base[num_offset_slots]) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c: In function 'do_translate_target': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:115:30: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 115 | *(uint32_t*)target = abs_offset; | ^~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c: In function 'undo_translate_target': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:129:34: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 129 | *(uint32_t*)target = rel_offset; | ^~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:135:34: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 135 | *(uint32_t*)target = rel_offset; | ^~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c: In function 'lzx_e8_filter': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/lzx_common.c:197:30: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] 197 | (*process_target)(p + 1, p - data); | ~~^~~~~~ [ 63%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/aligned_malloc.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/aligned_malloc.c:11: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:41: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:10: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:38:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 38 | # define bsr64(n) (63 - __builtin_clzll(n)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:193:10: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 229 | return bsf32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:35: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | # define bsf32(n) __builtin_ctz(n) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:10: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:40:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 40 | # define bsf64(n) __builtin_ctzll(n) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:231:10: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/aligned_malloc.c: In function 'aligned_malloc': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/aligned_malloc.c:24:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 24 | *((size_t *)ptr - 1) = ptr - raw_ptr; | ^~~ [ 72%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:33: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:41: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:10: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:38:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 38 | # define bsr64(n) (63 - __builtin_clzll(n)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:193:10: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 229 | return bsf32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:35: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | # define bsf32(n) __builtin_ctz(n) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:10: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:40:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 40 | # define bsf64(n) __builtin_ctzll(n) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:231:10: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:183:34: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 183 | if (unlikely(is->end - is->next < count)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:35:46: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:33: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'repeat_byte': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:436:34: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 436 | return repeat_u16(((u16)b << 8) | b); | ~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'lz_copy': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:472:48: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c: In function 'make_huffman_decode_table': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:127:23: warning: initialization of 'uint8_t *' {aka 'unsigned char *'} from incompatible pointer type 'u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 127 | uint8_t *entry_ptr = decode_table; | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:33: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:158:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 158 | if (unlikely(remainder != 1U << max_codeword_len)) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:35:46: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:182:39: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 182 | sorted_syms[offsets[lens[sym]]++] = sym; | ^~~ In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:33: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:232:43: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:237:5: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' 237 | MAKE_DECODE_TABLE_ENTRY(sorted_syms[sym_idx], | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:232:2: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:254:12: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' 254 | u16 v = MAKE_DECODE_TABLE_ENTRY(sorted_syms[sym_idx], | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:269:13: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 269 | codeword = ((u16 *)entry_ptr - decode_table) << 1; | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:272:20: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] 272 | subtable_prefix = -1; | ^ In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:33: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:232:2: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:317:5: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' 317 | MAKE_DECODE_TABLE_ENTRY(subtable_pos, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:232:2: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.c:322:15: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' 322 | u16 entry = MAKE_DECODE_TABLE_ENTRY(sorted_syms[sym_idx], | ^~~~~~~~~~~~~~~~~~~~~~~ [ 81%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -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 -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/xpress_decompress.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/xpress_decompress.c:70: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 191 | return bsr32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:41: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:37:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:191:10: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:38:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 38 | # define bsr64(n) (63 - __builtin_clzll(n)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:193:10: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:16: warning: conversion from 'machine_word_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 229 | return bsf32(v); | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:35: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:39:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | # define bsf32(n) __builtin_ctz(n) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:229:10: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:40:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 40 | # define bsf64(n) __builtin_ctzll(n) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:231:10: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:183:34: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 183 | if (unlikely(is->end - is->next < count)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/common_defs.h:35:46: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ In file included from /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/xpress_decompress.c:70: /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'repeat_byte': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:436:34: warning: conversion from 'int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 436 | return repeat_u16(((u16)b << 8) | b); | ~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h: In function 'lz_copy': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/decompress_common.h:472:48: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/xpress_decompress.c: In function 'xpress_decompress': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/xpress_decompress.c:116:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] 116 | compressed_size - XPRESS_NUM_SYMBOLS / 2); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ebiggers/xpress_decompress.c:128:18: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 128 | *out_next++ = sym; | ^~~ [ 90%] Building ASM object CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu -isystem /usr/include -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -o CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o -c /builddir/build/BUILD/ntfs2btrfs-20210402/src/crc32c-gas.S /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp: In function 'std::string do_lzx_decompress(const string_view&, uint32_t)': /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp:172:38: warning: conversion from 'std::basic_string_view::size_type' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 172 | complen = num_chunks > 1 ? offsets[0] : data.length(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp:174:37: warning: conversion from 'std::basic_string_view::size_type' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 174 | complen = data.length() - offsets[i - 1]; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp: In function 'std::string do_xpress_decompress(const string_view&, uint32_t, uint32_t)': /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp:218:38: warning: conversion from 'std::basic_string_view::size_type' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 218 | complen = num_chunks > 1 ? offsets[0] : data.length(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/decomp.cpp:220:37: warning: conversion from 'std::basic_string_view::size_type' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 220 | complen = data.length() - offsets[i - 1]; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs2btrfs.cpp: In function 'add_inode(root&, unsigned long, unsigned long, bool&, std::__cxx11::list >&, ntfs_file&, ntfs&, std::__cxx11::list > const&)': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs2btrfs.cpp:2348:30: warning: 'atts' may be used uninitialized in this function [-Wmaybe-uninitialized] 2348 | uint8_t c = atts % 16; | ~~~~~^~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs2btrfs.cpp: In function 'main': /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs2btrfs.cpp:2471:29: warning: 'img_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] 2471 | di2.edr1.offset = img_addr; | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210402/src/ntfs2btrfs.cpp:2418:18: note: 'img_addr' was declared here 2418 | uint64_t img_addr; | ^~~~~~~~ [100%] Linking CXX executable ntfs2btrfs /usr/bin/cmake -E cmake_link_script CMakeFiles/ntfs2btrfs.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -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 CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o -o ntfs2btrfs gmake[2]: Leaving directory '/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu' [100%] Built target ntfs2btrfs gmake[1]: Leaving directory '/builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ntfs2btrfs-20210402/riscv64-redhat-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NgM0dC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 + cd ntfs2btrfs-20210402 + DESTDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 + /usr/bin/cmake --install riscv64-redhat-linux-gnu -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/bin/ntfs2btrfs + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20210402-1.fc33 --unique-debug-suffix -20210402-1.fc33.riscv64 --unique-debug-src-base ntfs2btrfs-20210402-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ntfs2btrfs-20210402 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/bin/ntfs2btrfs extracting debug info from /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/bin/ntfs2btrfs original debug info size: 10036kB, size after compression: 9780kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 489 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/ntfs2btrfs-20210402-1.fc33.riscv64/src/ntfs2btrfs.cpp is executable but has no shebang, removing executable bit Processing files: ntfs2btrfs-20210402-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qM5w2A + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210402 + DOCDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/share/doc/ntfs2btrfs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/share/doc/ntfs2btrfs + cp -pr README.md /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/share/doc/ntfs2btrfs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DInVDC + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210402 + LICENSEDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/share/licenses/ntfs2btrfs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/share/licenses/ntfs2btrfs + cp -pr LICENCE /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64/usr/share/licenses/ntfs2btrfs + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(ntfs-3g-system-compression) ntfs2btrfs = 20210402-1.fc33 ntfs2btrfs(riscv-64) = 20210402-1.fc33 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) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.5.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: ntfs2btrfs-debugsource-20210402-1.fc33.riscv64 Provides: ntfs2btrfs-debugsource = 20210402-1.fc33 ntfs2btrfs-debugsource(riscv-64) = 20210402-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ntfs2btrfs-debuginfo-20210402-1.fc33.riscv64 Provides: debuginfo(build-id) = 9613190a58d14518dbffd394924383fe9eb57c83 ntfs2btrfs-debuginfo = 20210402-1.fc33 ntfs2btrfs-debuginfo(riscv-64) = 20210402-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ntfs2btrfs-debugsource(riscv-64) = 20210402-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 Wrote: /builddir/build/RPMS/ntfs2btrfs-20210402-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ntfs2btrfs-debugsource-20210402-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ntfs2btrfs-debuginfo-20210402-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.scNj1A + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210402 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ntfs2btrfs-20210402-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0