Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ext4magic.spec'], chrootPath='/var/lib/mock/1177983-epel-8-x86_64-1579827457.502941/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wekfoe5o:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wekfoe5o:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '52fb2c8b171d40538d6867526df0f6a7', '-D', '/var/lib/mock/1177983-epel-8-x86_64-1579827457.502941/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wekfoe5o:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ext4magic.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ext4magic-0.3.2-3.7._patched_.el8.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/ext4magic.spec'], chrootPath='/var/lib/mock/1177983-epel-8-x86_64-1579827457.502941/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wekfoe5o:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wekfoe5o:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '338e4bffc164402e92f9a2b724bb454a', '-D', '/var/lib/mock/1177983-epel-8-x86_64-1579827457.502941/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wekfoe5o:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ext4magic.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EjS84t + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ext4magic-0.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ext4magic-0.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ext4magic-0.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ext4magic_inode_recover.patch): + echo 'Patch #0 (ext4magic_inode_recover.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .p0 --fuzz=0 patching file src/inode.c patching file src/recover.c Patch #1 (ext4magic-workaround.patch): + echo 'Patch #1 (ext4magic-workaround.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .p1 --fuzz=0 patching file src/block.c patching file src/inode.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fDPXpy + umask 022 + cd /builddir/build/BUILD + cd ext4magic-0.3.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-expert-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking ext2fs/ext2fs.h usability... yes checking ext2fs/ext2fs.h presence... yes checking for ext2fs/ext2fs.h... yes checking blkid/blkid.h usability... yes checking blkid/blkid.h presence... yes checking for blkid/blkid.h... yes checking e2p/e2p.h usability... yes checking e2p/e2p.h presence... yes checking for e2p/e2p.h... yes checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for library containing ext2fs_test_inode_bitmap_range... -lext2fs checking for library containing magic_getpath... -lmagic checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -j2 /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2/src' gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-block.o `test -f 'block.c' || echo './'`block.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-dir_list.o `test -f 'dir_list.c' || echo './'`dir_list.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-ext4magic.o `test -f 'ext4magic.c' || echo './'`ext4magic.c ext4magic.c: In function 'show_super_stats': ext4magic.c:125:33: warning: unused variable 'gdp' [-Wunused-variable] struct ext2_group_desc *gdp; ^~~ ext4magic.c: In function 'main': ext4magic.c:787:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!des_dir) ^~ ext4magic.c:790:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' retval = stat (des_dir, &filestat); ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-extent_db.o `test -f 'extent_db.c' || echo './'`extent_db.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-file_type.o `test -f 'file_type.c' || echo './'`file_type.c file_type.c: In function 'read_smtp_len': file_type.c:2121:70: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((buf[i] == 0x3c) && (buf[i+3] == 0x3e) && ((buf[i+1] & 0x20) == 0x42) && ((buf[i+1] & 0x20) == 0x52)){ ^~ file_type.c:2121:101: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((buf[i] == 0x3c) && (buf[i+3] == 0x3e) && ((buf[i+1] & 0x20) == 0x42) && ((buf[i+1] & 0x20) == 0x52)){ ^~ gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-hard_link_stack.o `test -f 'hard_link_stack.c' || echo './'`hard_link_stack.c file_type.c: In function 'follow_flac': file_type.c:4797:10: warning: variable 'bits_per_sample' set but not used [-Wunused-but-set-variable] __u32 bits_per_sample; ^~~~~~~~~~~~~~~ hard_link_stack.c:110:13: warning: 'del_link_stack' defined but not used [-Wunused-function] static void del_link_stack(struct link_entry* entry){ ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-imap_search.o `test -f 'imap_search.c' || echo './'`imap_search.c imap_search.c: In function 'identify_filename': imap_search.c:129:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval= 0; ^~~~~~ imap_search.c: In function 'search_imap_inode': imap_search.c:161:34: warning: variable 'inode_max' set but not used [-Wunused-but-set-variable] __u32 blocksize, inodesize, inode_max, inode_per_group, block_count; ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-inode.o `test -f 'inode.c' || echo './'`inode.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-journal.o `test -f 'journal.c' || echo './'`journal.c journal.c: In function 'init_journal': journal.c:859:42: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr,"Error: can't allocate %u Memory\n",maxlen * sizeof(journal_descriptor_tag_t)); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu journal.c:808:10: warning: variable 'transaction' set but not used [-Wunused-but-set-variable] tid_t transaction; ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-lookup_local.o `test -f 'lookup_local.c' || echo './'`lookup_local.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-magic_block_scan.o `test -f 'magic_block_scan.c' || echo './'`magic_block_scan.c magic_block_scan.c: In function 'new_file_data': magic_block_scan.c:159:1: warning: value computed is not used [-Wunused-value] *f++; //"gcc warning: value computed is not used" warning is okay ^~~~ At top level: magic_block_scan.c:447:12: warning: 'add_ext4_extent_data' defined but not used [-Wunused-function] static int add_ext4_extent_data(struct found_data_t* this, struct extent_area* ea){ ^~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-recover.o `test -f 'recover.c' || echo './'`recover.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-ring_buf.o `test -f 'ring_buf.c' || echo './'`ring_buf.c gcc -DHAVE_CONFIG_H -I. -I.. -DEXPERT_MODE -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ext4magic-util.o `test -f 'util.c' || echo './'`util.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lext2fs -le2p -luuid -lblkid -lmagic -lz -lbz2 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext4magic ext4magic-block.o ext4magic-dir_list.o ext4magic-ext4magic.o ext4magic-extent_db.o ext4magic-file_type.o ext4magic-hard_link_stack.o ext4magic-imap_search.o ext4magic-inode.o ext4magic-journal.o ext4magic-lookup_local.o ext4magic-magic_block_scan.o ext4magic-recover.o ext4magic-ring_buf.o ext4magic-util.o -lmagic -lext2fs mkdir .libs gcc -O2 -g -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext4magic ext4magic-block.o ext4magic-dir_list.o ext4magic-ext4magic.o ext4magic-extent_db.o ext4magic-file_type.o ext4magic-hard_link_stack.o ext4magic-imap_search.o ext4magic-inode.o ext4magic-journal.o ext4magic-lookup_local.o ext4magic-magic_block_scan.o ext4magic-recover.o ext4magic-ring_buf.o ext4magic-util.o -le2p -luuid -lblkid -lz -lbz2 -lmagic -lext2fs make[2]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2/src' make[2]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2' make[2]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2' make[1]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ufF8FW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64 + cd ext4magic-0.3.2 + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr exec_prefix=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr bindir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/bin sbindir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/etc datadir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/share includedir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/include libdir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/libexec localstatedir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/var sharedstatedir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/var/lib mandir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/share/man infodir=/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/share/info install Making install in src make[1]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2/src' make[2]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c ext4magic '/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/sbin' /usr/bin/install -c ext4magic /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/sbin/ext4magic /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 ext4magic.8 '/builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2/src' make[1]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2/src' make[1]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2' make[2]: Entering directory '/builddir/build/BUILD/ext4magic-0.3.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2' make[1]: Leaving directory '/builddir/build/BUILD/ext4magic-0.3.2' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.3.2-3.7._patched_.el8 --unique-debug-suffix -0.3.2-3.7._patched_.el8.x86_64 --unique-debug-src-base ext4magic-0.3.2-3.7._patched_.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ext4magic-0.3.2 extracting debug info from /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64/usr/sbin/ext4magic /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1148 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ext4magic-0.3.2-3.7._patched_.el8.x86_64 Provides: ext4magic = 0.3.2-3.7._patched_.el8 ext4magic(x86-64) = 0.3.2-3.7._patched_.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libbz2.so.1()(64bit) 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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libe2p.so.2()(64bit) libext2fs.so.2()(64bit) libmagic.so.1()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: ext4magic-debugsource-0.3.2-3.7._patched_.el8.x86_64 Provides: ext4magic-debugsource = 0.3.2-3.7._patched_.el8 ext4magic-debugsource(x86-64) = 0.3.2-3.7._patched_.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ext4magic-debuginfo-0.3.2-3.7._patched_.el8.x86_64 Provides: debuginfo(build-id) = 552c1951e43dc1fda488ad0433a5a51680fae221 ext4magic-debuginfo = 0.3.2-3.7._patched_.el8 ext4magic-debuginfo(x86-64) = 0.3.2-3.7._patched_.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ext4magic-debugsource(x86-64) = 0.3.2-3.7._patched_.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64 Wrote: /builddir/build/RPMS/ext4magic-0.3.2-3.7._patched_.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ext4magic-debugsource-0.3.2-3.7._patched_.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ext4magic-debuginfo-0.3.2-3.7._patched_.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h2msRm + umask 022 + cd /builddir/build/BUILD + cd ext4magic-0.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ext4magic-0.3.2-3.7._patched_.el8.x86_64 + exit 0 Child return code was: 0