Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ntfs2btrfs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672328371.300278/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.1q4e2ldk:/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.1q4e2ldk:/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', 'f3971aa8d581426aaf94d0a3b6737fdb', '-D', '/var/lib/mock/fedora-rawhide-i686-1672328371.300278/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1q4e2ldk:/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 i686 --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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/ntfs2btrfs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672328371.300278/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.1q4e2ldk:/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.1q4e2ldk:/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', '19d5b18ae2a94b938e570a3aebb56937', '-D', '/var/lib/mock/fedora-rawhide-i686-1672328371.300278/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1q4e2ldk:/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 i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6frRip + 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.TMQBFf + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -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/lib/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 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' [ 6%] 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs.cpp: In member function 'buffer_t ntfs_file::read_nonresident_attribute(uint64_t, uint32_t, const ATTRIBUTE_RECORD_HEADER*)': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs.cpp:206:39: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector >::size_type' {aka 'unsigned int'} may change value [-Wconversion] 206 | buffer_t tmp(read_end - read_start); | ~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs.cpp: In member function 'void ntfs::seek(uint64_t)': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs.cpp:750:19: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 750 | if (lseek(fd, pos, SEEK_SET) == -1) | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp: In function 'void add_inode(root&, uint64_t, uint64_t, bool&, runs_t&, ntfs_file&, ntfs&, const std::__cxx11::list&, btrfs_compression)': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2539:62: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::basic_string_view::size_type' {aka 'unsigned int'} may change value [-Wconversion] 2539 | c = zlib_compress(data.substr(0, len), cluster_size); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2545:61: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::basic_string_view::size_type' {aka 'unsigned int'} may change value [-Wconversion] 2545 | c = lzo_compress(data.substr(0, len), cluster_size); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2551:62: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::basic_string_view::size_type' {aka 'unsigned int'} may change value [-Wconversion] 2551 | c = zstd_compress(data.substr(0, len), cluster_size); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp: In constructor 'memory_map::memory_map(int, uint64_t, size_t)': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2825:74: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 2825 | ptr = (uint8_t*)mmap(nullptr, length, PROT_READ, MAP_SHARED, fd, off); | ^~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp: In function 'void calc_checksums(root&, runs_t, ntfs&, btrfs_csum_type)': /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2934:73: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 2934 | mm.reset(new memory_map(dev.fd, chunk * data_chunk_size, min(data_chunk_size, orig_device_size - (chunk * data_chunk_size)))); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ntfs2btrfs.cpp:2938:97: warning: conversion from 'long long unsigned int' to 'std::basic_string_view::size_type' {aka 'unsigned int'} may change value [-Wconversion] 2938 | string_view sv((char*)mm->ptr + ((r.offset * cluster_size) % data_chunk_size), r.length * cluster_size); | ~~~~~~~~~^~~~~~~~~~~~~~ [ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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:2864:91: 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 'create_data_extent_items(root&, std::map >, std::less, std::allocator > > > > const&, unsigned int, unsigned long long, unsigned long 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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: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: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: 'int' and 'size_t' {aka '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:460:29: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 460 | if (unlikely(offset > out_next - out_begin)) | ^ /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:472:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:482:29: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 482 | if (unlikely(length > out_end - out_next)) | ^ /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:499:62: warning: comparison of integer expressions of different signedness: 'int' and '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:468:50: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 468 | if (block_size < 1 || block_size > out_end - out_next) | ^ /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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: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: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 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:221:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long 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 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 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:305:36: warning: unsigned conversion from 'int' to 'u64' {aka 'long 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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: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: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 'unsigned int'} from '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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 [ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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/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: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: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: 'int' and 'size_t' {aka '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:460:29: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 460 | if (unlikely(offset > out_next - out_begin)) | ^ /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:472:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:482:29: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 482 | if (unlikely(length > out_end - out_next)) | ^ /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:499:62: warning: comparison of integer expressions of different signedness: 'int' and '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 to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 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, | ^~~~~~~~~~~~~~~~~~~~~~~ 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: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: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: 'int' and 'size_t' {aka '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:460:29: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 460 | if (unlikely(offset > out_next - out_begin)) | ^ /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:472:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 472 | offset >= WORDBYTES && out_end - out_next >= 3 * WORDBYTES) | ^~ /builddir/build/BUILD/ntfs2btrfs-20210923/src/ebiggers/decompress_common.h:482:29: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 482 | if (unlikely(length > out_end - out_next)) | ^ /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:499:62: warning: comparison of integer expressions of different signedness: 'int' and '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: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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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/lib/libz.so /usr/lib/liblzo2.so /usr/lib/libzstd.so /usr/bin/ld: CMakeFiles/ntfs2btrfs.dir/src/crc32c-gas.S.o: warning: relocation against `crctable' in read-only section `.text' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE 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.z451Nj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 ++ dirname /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ntfs2btrfs-20210923 + DESTDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/sbin/ntfs2btrfs -- Installing: /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/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.i386 --unique-debug-src-base ntfs2btrfs-20210923-3.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ntfs2btrfs-20210923 extracting debug info from /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/sbin/ntfs2btrfs original debug info size: 4904kB, size after compression: 4500kB /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.i386/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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MinRWQ + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210923 + DOCDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/share/doc/ntfs2btrfs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/share/doc/ntfs2btrfs + cp -pr README.md /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/share/doc/ntfs2btrfs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hustnW + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210923 + LICENSEDIR=/builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/share/licenses/ntfs2btrfs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/share/licenses/ntfs2btrfs + cp -pr LICENCE /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386/usr/share/licenses/ntfs2btrfs + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(ntfs-3g-system-compression) ntfs2btrfs = 20210923-3.fc38 ntfs2btrfs(x86-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GLIBC_2.0) liblzo2.so.2 libm.so.6 libm.so.6(GLIBC_2.0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.15) libstdc++.so.6(GLIBCXX_3.4.19) libstdc++.so.6(GLIBCXX_3.4.20) libstdc++.so.6(GLIBCXX_3.4.21) libstdc++.so.6(GLIBCXX_3.4.29) libstdc++.so.6(GLIBCXX_3.4.30) libz.so.1 libzstd.so.1 rtld(GNU_HASH) Processing files: ntfs2btrfs-debugsource-20210923-3.fc38.i686 Provides: ntfs2btrfs-debugsource = 20210923-3.fc38 ntfs2btrfs-debugsource(x86-32) = 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.i686 Provides: debuginfo(build-id) = 74e60326dea12af5113032ad6c145d7f26443adc ntfs2btrfs-debuginfo = 20210923-3.fc38 ntfs2btrfs-debuginfo(x86-32) = 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-32) = 20210923-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 Wrote: /builddir/build/RPMS/ntfs2btrfs-20210923-3.fc38.i686.rpm Wrote: /builddir/build/RPMS/ntfs2btrfs-debugsource-20210923-3.fc38.i686.rpm Wrote: /builddir/build/RPMS/ntfs2btrfs-debuginfo-20210923-3.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tOKhCM + umask 022 + cd /builddir/build/BUILD + cd ntfs2btrfs-20210923 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ntfs2btrfs-20210923-3.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.1c2Q9l + 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