D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/ssdeep-2.14.1-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yIgfb5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + test -d /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3Be2rT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + rm -rf ssdeep-2.14.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ssdeep-2.14.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ssdeep-2.14.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PHBhkj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + cd ssdeep-2.14.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --disable-static 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 whether make supports nested variables... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none 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 how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-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-mageia-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-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... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for /usr/local/include... yes checking for /usr/local/lib... yes checking for /opt/local/include... no checking for /opt/local/lib... no checking for /sw/include... no checking for /sw/lib... no checking whether byte ordering is bigendian... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking for inttypes.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/types.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking for inttypes.h... (cached) yes checking for sys/mount.h... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i libtool -e 's/^runpath_var=.*/runpath_var=/' -e 's/^hardcode_libdir_flag_spec=".*"$/hardcode_libdir_flag_spec=""/' + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edit_dist.lo edit_dist.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edit_dist.c -fPIC -DPIC -o .libs/edit_dist.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o find-file-size.lo find-file-size.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c find-file-size.c -fPIC -DPIC -o .libs/find-file-size.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o fuzzy.lo fuzzy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c fuzzy.c -fPIC -DPIC -o .libs/fuzzy.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -no-undefined -version-info 3:0:1 -L/usr/local/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libfuzzy.la -rpath /usr/lib64 fuzzy.lo edit_dist.lo find-file-size.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/fuzzy.o .libs/edit_dist.o .libs/find-file-size.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -L/usr/local/lib -Wl,-soname -Wl,libfuzzy.so.2 -o .libs/libfuzzy.so.2.1.0 libtool: link: (cd ".libs" && rm -f "libfuzzy.so.2" && ln -s "libfuzzy.so.2.1.0" "libfuzzy.so.2") libtool: link: (cd ".libs" && rm -f "libfuzzy.so" && ln -s "libfuzzy.so.2.1.0" "libfuzzy.so") libtool: link: ( cd ".libs" && rm -f "libfuzzy.la" && ln -s "../libfuzzy.la" "libfuzzy.la" ) make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cycles.o cycles.cpp cycles.cpp: In function 'int done_processing_dir(char*)': cycles.cpp:51:11: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | realpath(fn,d_name); | ~~~~~~~~^~~~~~~~~~~ cycles.cpp: In function 'int processing_dir(char*)': cycles.cpp:107:11: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | realpath(fn,d_name); | ~~~~~~~~^~~~~~~~~~~ cycles.cpp: In function 'int have_processed_dir(char*)': cycles.cpp:158:11: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | realpath(fn,d_name); | ~~~~~~~~^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o engine.o engine.cpp In file included from ssdeep.h:20, from engine.cpp:4: engine.cpp: In function 'int hash_file(state*, char*)': engine.cpp:115:22: warning: '%s' directive output may be truncated writing up to 78 bytes into a region of size 68 [-Wformat-truncation=] 115 | _TEXT("Hashing: %s%s"), | ^~~~~~~~~~~~~~~ tchar-local.h:41:21: note: in definition of macro '_TEXT' 41 | #define _TEXT(A) A | ^ engine.cpp:115:32: note: format string is defined here 115 | _TEXT("Hashing: %s%s"), | ^~ In file included from /usr/include/stdio.h:970, from main.h:27, from engine.cpp:3: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'int hash_file(state*, char*)' at engine.cpp:113:15: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 89 and 167 bytes into a destination of size 77 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ engine.cpp: In function 'int hash_file(state*, char*)': engine.cpp:115:22: warning: '%s' directive output truncated writing 79 bytes into a region of size 68 [-Wformat-truncation=] 115 | _TEXT("Hashing: %s%s"), | ^~~~~~~~~~~~~~~ tchar-local.h:41:21: note: in definition of macro '_TEXT' 41 | #define _TEXT(A) A | ^ engine.cpp:115:34: note: format string is defined here 115 | _TEXT("Hashing: %s%s"), | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'int hash_file(state*, char*)' at engine.cpp:113:15: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output 89 or more bytes into a destination of size 77 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ui.o ui.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o main.cpp main.cpp: In function 'void generate_filename(state*, char*, char*, char*)': main.cpp:242:15: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 242 | realpath(input, fn); | ~~~~~~~~^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dig.o dig.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o helpers.o helpers.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o filedata.o filedata.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' g++ -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o match.o match.cpp match.cpp: In function 'bool sig_file_close(state*)': match.cpp:133:13: warning: argument 1 null where non-null expected [-Wnonnull] 133 | if (fclose(s->known_handle)) | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from main.h:27, from ssdeep.h:12, from match.h:8, from match.cpp:21: /usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ In function 'bool sig_file_close(state*)', inlined from 'bool match_compare_unknown(state*, const char*)' at match.cpp:412:17: match.cpp:133:13: warning: argument 1 null where non-null expected [-Wnonnull] 133 | if (fclose(s->known_handle)) | ~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/stdio.h: In function 'bool match_compare_unknown(state*, const char*)': /usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ In function 'bool sig_file_close(state*)', inlined from 'bool match_load(state*, const char*)' at match.cpp:388:17: match.cpp:133:13: warning: argument 1 null where non-null expected [-Wnonnull] 133 | if (fclose(s->known_handle)) | ~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/stdio.h: In function 'bool match_load(state*, const char*)': /usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' /bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -static -L/usr/local/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ssdeep main.o match.o engine.o filedata.o dig.o cycles.o helpers.o ui.o libfuzzy.la libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ssdeep main.o match.o engine.o filedata.o dig.o cycles.o helpers.o ui.o -L/usr/local/lib ./.libs/libfuzzy.so make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.coFaOv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + mkdir /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT + cd ssdeep-2.14.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libfuzzy.la '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libfuzzy.so.2.1.0 /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/lib64/libfuzzy.so.2.1.0 libtool: install: (cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/lib64 && { ln -s -f libfuzzy.so.2.1.0 libfuzzy.so.2 || { rm -f libfuzzy.so.2 && ln -s libfuzzy.so.2.1.0 libfuzzy.so.2; }; }) libtool: install: (cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/lib64 && { ln -s -f libfuzzy.so.2.1.0 libfuzzy.so || { rm -f libfuzzy.so && ln -s libfuzzy.so.2.1.0 libfuzzy.so; }; }) libtool: install: /usr/bin/install -p .libs/libfuzzy.lai /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/lib64/libfuzzy.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p ssdeep '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p ssdeep /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/bin/ssdeep /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/include' /usr/bin/install -p -m 644 fuzzy.h edit_dist.h '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/include' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 ssdeep.1 '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/man/man1' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1' + find /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT -name '*.la' -delete + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.14.1-5.mga10 --unique-debug-suffix -2.14.1-5.mga10.x86_64 --unique-debug-src-base ssdeep-2.14.1-5.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ssdeep-2.14.1-5.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ssdeep-2.14.1-5.mga10.x86_64 Provides: ssdeep = 2.14.1-5.mga10 ssdeep(x86-64) = 2.14.1-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libfuzzy.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) Processing files: lib64fuzzy2-2.14.1-5.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.X1AAu5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + cd ssdeep-2.14.1 + DOCDIR=/home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/AUTHORS /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/ChangeLog /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/README /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/FILEFORMAT /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/NEWS /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/README /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + cp -pr /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/ssdeep-2.14.1/TODO /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT/usr/share/doc/lib64fuzzy2 + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/doc/lib64fuzzy2/README Provides: lib64fuzzy2 = 2.14.1-5.mga10 lib64fuzzy2(x86-64) = 2.14.1-5.mga10 libfuzzy.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Processing files: lib64fuzzy-devel-2.14.1-5.mga10.x86_64 Provides: devel(libfuzzy(64bit)) fuzzy-devel = 2.14.1-5.mga10 lib64fuzzy-devel = 2.14.1-5.mga10 lib64fuzzy-devel(x86-64) = 2.14.1-5.mga10 ssdeep-devel = 2.14.1-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ssdeep-debugsource-2.14.1-5.mga10.x86_64 Provides: ssdeep-debugsource = 2.14.1-5.mga10 ssdeep-debugsource(x86-64) = 2.14.1-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ssdeep-debuginfo-2.14.1-5.mga10.x86_64 Provides: debuginfo(build-id) = fad1fc3b2ea85c5b4ebf4fd3d6f13e8c21588575 ssdeep-debuginfo = 2.14.1-5.mga10 ssdeep-debuginfo(x86-64) = 2.14.1-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ssdeep-debugsource(x86-64) = 2.14.1-5.mga10 Processing files: lib64fuzzy2-debuginfo-2.14.1-5.mga10.x86_64 Provides: debuginfo(build-id) = b343f85f510d21fd0960a93c709558c1d65afc8e lib64fuzzy2-debuginfo = 2.14.1-5.mga10 lib64fuzzy2-debuginfo(x86-64) = 2.14.1-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ssdeep-debugsource(x86-64) = 2.14.1-5.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64fuzzy-devel-2.14.1-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64fuzzy2-2.14.1-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64fuzzy2-debuginfo-2.14.1-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ssdeep-2.14.1-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ssdeep-debugsource-2.14.1-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ssdeep-debuginfo-2.14.1-5.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BsXfY9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + test -d /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/ssdeep-2.14.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/doc/lib64fuzzy2/README D: [iurt_root_command] Success!