Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ntfs2btrfs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672107138.136969/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hp1pcw61:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hp1pcw61:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0d040ce0c61f4e5eb7909f63ae306beb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672107138.136969/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hp1pcw61:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/ntfs2btrfs-20210923-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ntfs2btrfs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672107138.136969/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hp1pcw61:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hp1pcw61:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '57c9672365c146aab3fa0e4e3e733829', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672107138.136969/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hp1pcw61:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zO7uCJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ntfs2btrfs-20210923 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ntfs2btrfs-20210923.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ntfs2btrfs-20210923 + /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.cNtcnF + umask 022 + cd /builddir/build/BUILD + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ntfs2btrfs-20210923 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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 redhat-linux-build -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_DO_STRIP:BOOL=OFF -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 13.0.0 -- The CXX compiler identification is GNU 13.0.0 -- 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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Checking for module 'lzo2' -- Found lzo2, version 2.10 -- Checking for module 'libzstd' -- Found libzstd, version 1.5.2 -- 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 CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose /usr/bin/cmake -S/builddir/build/BUILD/ntfs2btrfs-20210923 -B/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ntfs2btrfs.dir/build.make CMakeFiles/ntfs2btrfs.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build' cd /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ntfs2btrfs-20210923 /builddir/build/BUILD/ntfs2btrfs-20210923 /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles/ntfs2btrfs.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles/ntfs2btrfs.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles/ntfs2btrfs.dir/depend.internal". Dependee "/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles/ntfs2btrfs.dir/depend.internal". Scanning dependencies of target ntfs2btrfs gmake[2]: Leaving directory '/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ntfs2btrfs.dir/build.make CMakeFiles/ntfs2btrfs.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build' [ 12%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o [ 12%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ntfs2btrfs.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ntfs.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs.cpp [ 18%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -MD -MT CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/decomp.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/decomp.cpp /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp: In function 'calc_checksums(root&, std::map >, std::less, std::allocator > > > >, ntfs&, btrfs_csum_type)': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2864:93: warning: 'csum_size' may be used uninitialized [-Wmaybe-uninitialized] 2864 | auto max_run = (uint32_t)((tree_size - sizeof(tree_header) - (sizeof(leaf_node) * 2)) / csum_size) - 1; | ^~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2845:14: note: 'csum_size' was declared here 2845 | uint32_t csum_size; | ^~~~~~~~~ In function 'check_cpu()', inlined from 'main' at /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:3491:18: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:3366:20: warning: 'MEM[(unsigned int *)&cpuInfo + 8B]' may be used uninitialized [-Wmaybe-uninitialized] 3366 | if (cpuInfo[2] & bit_SSE4_2) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp: In function 'main': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:3362:18: note: 'MEM[(unsigned int *)&cpuInfo + 8B]' was declared here 3362 | unsigned int cpuInfo[4]; | ^~~~~~~ In function 'create_data_extent_items(root&, std::map >, std::less, std::allocator > > > > const&, unsigned int, unsigned long, unsigned long)', inlined from 'convert(ntfs&, btrfs_compression, btrfs_csum_type)' at /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:3289:29, inlined from 'main' at /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:3552:16: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2807:33: warning: 'img_addr' may be used uninitialized [-Wmaybe-uninitialized] 2807 | di2.edr1.offset = img_addr; | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp: In function 'main': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2754:22: note: 'img_addr' was declared here 2754 | uint64_t img_addr; | ^~~~~~~~ [ 25%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -MD -MT CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/compress.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/compress.cpp [ 31%] Building CXX object CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o /usr/bin/g++ -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -std=gnu++17 -MD -MT CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o -MF CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o.d -o CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/rollback.cpp [ 37%] Building C object CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/crc32c.c [ 43%] Building C object CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/xxhash.c [ 50%] Building C object CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/sha256.c [ 56%] Building C object CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/blake2b-ref.c [ 62%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_decompress.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:59: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:191:30: 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-20210923/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:37:37: 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-20210923/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:38:37: 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-20210923/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:229:30: 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-20210923/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:39:33: 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-20210923/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:40:33: 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-20210923/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:183:41: 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-20210923/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h: In function 'repeat_byte': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:436:41: 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-20210923/src/ebiggers/decompress_common.h: In function 'lz_copy': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:472:55: 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-20210923/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' 34 | # define likely(expr) __builtin_expect(!!(expr), 1) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c: In function 'lzx_read_codeword_lens': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:165:25: 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-20210923/src/ebiggers/lzx_decompress.c:186:31: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 186 | len = *len_ptr - presym; | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:209:39: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 209 | len = *len_ptr - presym; | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c: In function 'lzx_read_block_header': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:251:22: 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-20210923/src/ebiggers/lzx_decompress.c:272:33: 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-20210923/src/ebiggers/lzx_decompress.c: In function 'lzx_decompress_block': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:390:39: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 390 | *out_next++ = mainsym; | ^~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:420:32: warning: conversion to 'u32' {aka 'unsigned int'} from 's32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 420 | offset += lzx_offset_slot_base[offset_slot]; | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c: In function 'lzx_decompress': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:452:52: 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-20210923/src/ebiggers/lzx_decompress.c:500:52: 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-20210923/src/ebiggers/lzx_decompress.c: In function 'lzx_read_block_header': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:270:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 270 | for (int i = 0; i < LZX_ALIGNEDCODE_NUM_SYMBOLS; i++) { | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_decompress.c:279:9: note: here 279 | case LZX_BLOCKTYPE_VERBATIM: | ^~~~ [ 68%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/lzx_common.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:36: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:191:30: 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-20210923/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:37:37: 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-20210923/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:38:37: 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-20210923/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:229:30: 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-20210923/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:39:33: 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-20210923/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:40:33: 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-20210923/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c: In function 'lzx_get_window_order': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:47:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 47 | (_a > _b) ? _a : _b; }) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:47:42: 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-20210923/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:47:40: 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-20210923/src/ebiggers/lzx_common.c:79:16: note: in expansion of macro 'max' 79 | return max(ilog2_ceil(max_bufsize), LZX_MIN_WINDOW_ORDER); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c: In function 'lzx_get_num_main_syms': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:95:27: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 95 | while (max_offset >= lzx_offset_slot_base[num_offset_slots]) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c: In function 'do_translate_target': /builddir/build/BUILD/ntfs2btrfs-20210923/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-20210923/src/ebiggers/lzx_common.c: In function 'undo_translate_target': /builddir/build/BUILD/ntfs2btrfs-20210923/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-20210923/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-20210923/src/ebiggers/lzx_common.c: In function 'lzx_e8_filter': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:205:26: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-1' to '18446744073709551615' [-Wsign-conversion] 205 | u64 valid_mask = ~0; | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:220:52: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] 220 | (*process_target)(p + 1, p - data); | ~~^~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:221:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-32' to '18446744073709551584' [-Wsign-conversion] 221 | valid_mask &= ~0x1F; | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:255:64: warning: conversion from 'int' to 'char' changes value from '232' to '-24' [-Wconversion] 255 | const __m128i e8_bytes = _mm_set1_epi8(0xE8); | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:263:45: warning: conversion to 'u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 263 | u32 mask1 = _mm_movemask_epi8(cmpresult1); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:264:45: warning: conversion to 'u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 264 | u32 mask2 = _mm_movemask_epi8(cmpresult2); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:278:46: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-1' to '18446744073709551615' [-Wsign-conversion] 278 | valid_mask = ~0; | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:287:44: warning: conversion from 'u64' {aka 'long unsigned int'} to 'u32' {aka 'unsigned int'} may change value [-Wconversion] 287 | while ((e8_mask &= valid_mask)) { | ^~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:39:33: 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-20210923/src/ebiggers/lzx_common.c:288:48: note: in expansion of macro 'bsf32' 288 | unsigned bit = bsf32(e8_mask); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:289:72: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] 289 | (*process_target)(p + bit + 1, p + bit - data); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:304:52: warning: conversion from 'long int' to 's32' {aka 'int'} may change value [-Wconversion] 304 | (*process_target)(p + 1, p - data); | ~~^~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/lzx_common.c:305:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long unsigned int'} changes value from '-32' to '18446744073709551584' [-Wsign-conversion] 305 | valid_mask &= ~0x1F; | ^~ [ 75%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/aligned_malloc.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/aligned_malloc.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/aligned_malloc.c:11: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:191:30: 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-20210923/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:37:37: 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-20210923/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:38:37: 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-20210923/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:229:30: 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-20210923/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:39:33: 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-20210923/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:40:33: 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-20210923/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/aligned_malloc.c: In function 'aligned_malloc': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/aligned_malloc.c:24:40: 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; | ^~~ [ 81%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/decompress_common.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:33: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:191:30: 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-20210923/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:37:37: 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-20210923/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:38:37: 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-20210923/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:229:30: 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-20210923/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:39:33: 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-20210923/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:40:33: 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-20210923/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:183:41: 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-20210923/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h: In function 'repeat_byte': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:436:41: 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-20210923/src/ebiggers/decompress_common.h: In function 'lz_copy': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:472:55: 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-20210923/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' 34 | # define likely(expr) __builtin_expect(!!(expr), 1) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c: In function 'make_huffman_decode_table': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:127:30: 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; | ^~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:158:40: 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-20210923/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:182:53: warning: conversion from 'unsigned int' to 'u16' {aka 'short unsigned int'} may change value [-Wconversion] 182 | sorted_syms[offsets[lens[sym]]++] = sym; | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:232:50: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] 232 | (((symbol) << DECODE_TABLE_SYMBOL_SHIFT) | (length)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:209:33: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' 209 | MAKE_DECODE_TABLE_ENTRY(sorted_syms[sym_idx], | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:269:20: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 269 | codeword = ((u16 *)entry_ptr - decode_table) << 1; | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.c:272:27: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] 272 | subtable_prefix = -1; | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:232:9: 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-20210923/src/ebiggers/decompress_common.c:317:33: note: in expansion of macro 'MAKE_DECODE_TABLE_ENTRY' 317 | MAKE_DECODE_TABLE_ENTRY(subtable_pos, | ^~~~~~~~~~~~~~~~~~~~~~~ [ 87%] Building C object CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith -MD -MT CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -MF CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o.d -o CMakeFiles/ntfs2btrfs.dir/src/ebiggers/xpress_decompress.c.o -c /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/xpress_decompress.c In file included from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:29, from /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/xpress_decompress.c:70: /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsrw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:191:30: 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-20210923/src/ebiggers/common_defs.h:37:53: note: in definition of macro 'bsr32' 37 | # define bsr32(n) (31 - __builtin_clz(n)) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:37:37: 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-20210923/src/ebiggers/common_defs.h:191:24: note: in expansion of macro 'bsr32' 191 | return bsr32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:38:37: 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-20210923/src/ebiggers/common_defs.h:193:24: note: in expansion of macro 'bsr64' 193 | return bsr64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h: In function 'bsfw': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:229:30: 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-20210923/src/ebiggers/common_defs.h:39:47: note: in definition of macro 'bsf32' 39 | # define bsf32(n) __builtin_ctz(n) | ^ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:39:33: 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-20210923/src/ebiggers/common_defs.h:229:24: note: in expansion of macro 'bsf32' 229 | return bsf32(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:40:33: 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-20210923/src/ebiggers/common_defs.h:231:24: note: in expansion of macro 'bsf64' 231 | return bsf64(v); | ^~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h: In function 'bitstream_read_bytes': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:183:41: 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-20210923/src/ebiggers/common_defs.h:35:53: note: in definition of macro 'unlikely' 35 | # define unlikely(expr) __builtin_expect(!!(expr), 0) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h: In function 'repeat_byte': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:436:41: 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-20210923/src/ebiggers/decompress_common.h: In function 'lz_copy': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:472:55: 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-20210923/src/ebiggers/decompress_common.h:499:62: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 499 | if (UNALIGNED_ACCESS_IS_FAST && likely(out_end - end >= WORDBYTES - 1)) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/common_defs.h:34:53: note: in definition of macro 'likely' 34 | # define likely(expr) __builtin_expect(!!(expr), 1) | ^~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/xpress_decompress.c: In function 'xpress_decompress': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/xpress_decompress.c:116:46: 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-20210923/src/ebiggers/xpress_decompress.c:128:39: warning: conversion from 'unsigned int' to 'u8' {aka 'unsigned char'} may change value [-Wconversion] 128 | *out_next++ = sym; | ^~~ [ 93%] Building ASM object CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o /usr/bin/gcc -DFMT_HEADER_ONLY=1 -I/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build -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-20210923/src/crc32c-gas.S [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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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/compress.cpp.o CMakeFiles/ntfs2btrfs.dir/src/rollback.cpp.o CMakeFiles/ntfs2btrfs.dir/src/crc32c.c.o CMakeFiles/ntfs2btrfs.dir/src/xxhash.c.o CMakeFiles/ntfs2btrfs.dir/src/sha256.c.o "CMakeFiles/ntfs2btrfs.dir/src/blake2b-ref.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 /usr/lib64/libz.so /usr/lib64/liblzo2.so /usr/lib64/libzstd.so gmake[2]: Leaving directory '/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build' [100%] Built target ntfs2btrfs gmake[1]: Leaving directory '/builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ntfs2btrfs-20210923/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cLHpxz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ntfs2btrfs-20210923 + DESTDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/sbin/ntfs2btrfs -- Installing: /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/man/man8/ntfs2btrfs.8 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 20210923-3.fc38 --unique-debug-suffix -20210923-3.fc38.x86_64 --unique-debug-src-base ntfs2btrfs-20210923-3.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ntfs2btrfs-20210923 extracting debug info from /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/sbin/ntfs2btrfs original debug info size: 5152kB, size after compression: 4704kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 688 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/ntfs2btrfs-20210923-3.fc38.x86_64/src/ntfs2btrfs.cpp is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ntfs2btrfs-20210923-3.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RXUO76 + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210923 + DOCDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/doc/ntfs2btrfs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/doc/ntfs2btrfs + cp -pr README.md /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/doc/ntfs2btrfs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fb4WXO + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210923 + LICENSEDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/licenses/ntfs2btrfs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/licenses/ntfs2btrfs + cp -pr LICENCE /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64/usr/share/licenses/ntfs2btrfs + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(ntfs-3g-system-compression) ntfs2btrfs = 20210923-3.fc38 ntfs2btrfs(x86-64) = 20210923-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) liblzo2.so.2()(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.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libz.so.1()(64bit) libzstd.so.1()(64bit) rtld(GNU_HASH) Processing files: ntfs2btrfs-debugsource-20210923-3.fc38.x86_64 Provides: ntfs2btrfs-debugsource = 20210923-3.fc38 ntfs2btrfs-debugsource(x86-64) = 20210923-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ntfs2btrfs-debuginfo-20210923-3.fc38.x86_64 Provides: debuginfo(build-id) = 68b0583407166f853ce15df61f3f49857e53c959 ntfs2btrfs-debuginfo = 20210923-3.fc38 ntfs2btrfs-debuginfo(x86-64) = 20210923-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ntfs2btrfs-debugsource(x86-64) = 20210923-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 Wrote: /builddir/build/RPMS/ntfs2btrfs-debugsource-20210923-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ntfs2btrfs-20210923-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ntfs2btrfs-debuginfo-20210923-3.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KFxgIf + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210923 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.tRIdRD + umask 022 + cd /builddir/build/BUILD + rm -rf ntfs2btrfs-20210923 ntfs2btrfs-20210923.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0