D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/xdelta3.spec line 37: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/xdelta3-3.0.11-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eH5Tjf Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rtEeJA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + rm -rf xdelta3-3.0.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xdelta3-3.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xdelta3-3.0.11 + /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.rHItcz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + 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 + cd xdelta3-3.0.11 + '[' 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 --with-liblzma checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf 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 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... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no 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 for gawk... gawk 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... yes 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 whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of gcc... none checking if pointers to integers require aligned access... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes 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 dependency style of g++... none checking size of size_t... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_easy_buffer_encode in -llzma... yes 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 libtool commands config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=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' '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' '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' /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -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 xdelta3decode-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c In file included from xdelta3.c:2108, from xdelta3.c:680: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 865 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:867:5: note: here 867 | case DEC_HDRIND: | ^~~~ xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 880 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:883:5: note: here 883 | case DEC_SECONDID: | ^~~~ xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 885 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ xdelta3-decode.h:903:5: note: here 903 | case DEC_TABLEN: | ^~~~ xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 909 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ xdelta3-decode.h:916:5: note: here 916 | case DEC_NEAR: | ^~~~ xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' 918 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:920:5: note: here 920 | case DEC_SAME: | ^~~~ xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' 922 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:924:5: note: here 924 | case DEC_TABDAT: | ^~~~ xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 942 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:944:5: note: here 944 | case DEC_APPLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' 946 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ xdelta3-decode.h:949:5: note: here 949 | case DEC_APPDAT: | ^~~~ xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 981 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:983:5: note: here 983 | case DEC_WININD: | ^~~~ xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1009 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1015:5: note: here 1015 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1024 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1026:5: note: here 1026 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1041 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1049:5: note: here 1049 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' 1051 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1052:5: note: here 1052 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1072 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1074:5: note: here 1074 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1085 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1092:5: note: here 1092 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' 1093 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1094:5: note: here 1094 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' 1095 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1096:5: note: here 1096 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' 1097 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1099:5: note: here 1099 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1148 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1150:5: note: here 1150 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 700 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:702:5: note: here 702 | case DEC_INST: | ^~~~ xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ In file included from xdelta3.c:268: xdelta3-main.h: In function 'main_format_rate': xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ In file included from xdelta3.c:740: xdelta3-main.h:627:27: note: format string is defined here 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:970, from xdelta3.h:38, from xdelta3.c:267: In function 'snprintf', inlined from 'main_format_rate' at xdelta3-main.h:627:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 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/xdelta3-3.0.11-build/xdelta3-3.0.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -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,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xdelta3decode xdelta3decode-xdelta3.o -llzma libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -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 xdelta3decode xdelta3decode-xdelta3.o -llzma make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -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 xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c In file included from xdelta3.c:740: xdelta3-main.h: In function 'main_file_read': xdelta3-main.h:1049:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] 1049 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ xdelta3-main.h: In function 'main_file_write': xdelta3-main.h:1083:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] 1083 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ xdelta3-main.h: In function 'main_pipe_write': xdelta3-main.h:2091:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] 2091 | (xd3_posix_func*) &write, NULL))) | ^ In file included from xdelta3.c:2108, from xdelta3.c:680: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 865 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:867:5: note: here 867 | case DEC_HDRIND: | ^~~~ xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 880 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:883:5: note: here 883 | case DEC_SECONDID: | ^~~~ xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 885 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ xdelta3-decode.h:903:5: note: here 903 | case DEC_TABLEN: | ^~~~ xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 909 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ xdelta3-decode.h:916:5: note: here 916 | case DEC_NEAR: | ^~~~ xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' 918 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:920:5: note: here 920 | case DEC_SAME: | ^~~~ xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' 922 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:924:5: note: here 924 | case DEC_TABDAT: | ^~~~ xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 942 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:944:5: note: here 944 | case DEC_APPLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' 946 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ xdelta3-decode.h:949:5: note: here 949 | case DEC_APPDAT: | ^~~~ xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 981 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:983:5: note: here 983 | case DEC_WININD: | ^~~~ xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1009 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1015:5: note: here 1015 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1024 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1026:5: note: here 1026 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1041 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1049:5: note: here 1049 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' 1051 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1052:5: note: here 1052 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1072 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1074:5: note: here 1074 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1085 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1092:5: note: here 1092 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' 1093 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1094:5: note: here 1094 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' 1095 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1096:5: note: here 1096 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' 1097 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1099:5: note: here 1099 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1148 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1150:5: note: here 1150 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 700 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:702:5: note: here 702 | case DEC_INST: | ^~~~ xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ xdelta3.c: In function 'xd3_encode_input': xdelta3.c:3182:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3182 | if (stream->avail_in > 0) | ^ xdelta3.c:3197:13: note: here 3197 | case MATCH_FORWARD: | ^~~~ xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3121 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3123:5: note: here 3123 | case ENC_INPUT: | ^~~~ xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3232 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3234:5: note: here 3234 | case ENC_INSTR: | ^~~~ xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3246 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3248:5: note: here 3248 | case ENC_FLUSH: | ^~~~ xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3278 | if (stream->avail_out > 0) | ^ xdelta3.c:3284:5: note: here 3284 | case ENC_POSTOUT: | ^~~~ xdelta3-main.h: In function 'main': xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3725 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ xdelta3-main.h:3731:9: note: here 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable] 2998 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ xdelta3-main.h:2999:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 2999 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ xdelta3-main.h:3000:21: note: here 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ In file included from xdelta3.c:744: xdelta3-test.h: In function 'test_source_cksum_offset': xdelta3-test.h:2848:15: warning: storing the address of local variable 'source' in '*stream.src' [-Wdangling-pointer=] 2848 | stream->src = &source; | ~~~~~~~~~~~~^~~~~~~~~ xdelta3-test.h:2818:14: note: 'source' declared here 2818 | xd3_source source; | ^~~~~~ xdelta3-test.h:2816:39: note: 'stream' declared here 2816 | test_source_cksum_offset (xd3_stream *stream, int ignore) | ~~~~~~~~~~~~^~~~~~ In file included from xdelta3.c:706: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at xdelta3-djw.h:1715:18: xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ~~~~~~~~~~~~^~~ xdelta3-djw.h: In function 'xd3_decode_huff': xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^~~~ In file included from xdelta3.c:268: In function 'main_format_rate', inlined from 'main_input' at xdelta3-main.h:3317:4: xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:627:27: note: format string is defined here 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:970, from xdelta3.h:38, from xdelta3.c:267: In function 'snprintf', inlined from 'main_format_rate' at xdelta3-main.h:627:3, inlined from 'main_input' at xdelta3-main.h:3317:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'main_format_rate', inlined from 'main_input' at xdelta3-main.h:3317:4: xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:627:27: note: format string is defined here 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In function 'snprintf', inlined from 'main_format_rate' at xdelta3-main.h:627:3, inlined from 'main_input' at xdelta3-main.h:3317:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xdelta3-test.h: In function 'xd3_selftest': xdelta3-test.h:2455:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] 2455 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, | ^~ ~~~~~ In function 'snprintf', inlined from 'test_appheader' at xdelta3-test.h:2454:3, inlined from 'xd3_selftest' at xdelta3-test.h:2954:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 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/xdelta3-3.0.11-build/xdelta3-3.0.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -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,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xdelta3 xdelta3-xdelta3.o -lm -llzma libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -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 xdelta3 xdelta3-xdelta3.o -lm -llzma make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -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 testing/xdelta3regtest-regtest_c.o `test -f 'testing/regtest_c.c' || echo './'`testing/regtest_c.c In file included from testing/../xdelta3.c:740, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1049:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] 1049 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ testing/../xdelta3-main.h: In function 'main_file_write': testing/../xdelta3-main.h:1083:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] 1083 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2091:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, unsigned int)'} [-Wcast-function-type] 2091 | (xd3_posix_func*) &write, NULL))) | ^ In file included from testing/../xdelta3.c:2108, from testing/../xdelta3.c:680: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:865:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 865 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:867:5: note: here 867 | case DEC_HDRIND: | ^~~~ testing/../xdelta3-decode.h:880:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 880 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:883:5: note: here 883 | case DEC_SECONDID: | ^~~~ testing/../xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 885 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ testing/../xdelta3-decode.h:903:5: note: here 903 | case DEC_TABLEN: | ^~~~ testing/../xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 909 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ testing/../xdelta3-decode.h:916:5: note: here 916 | case DEC_NEAR: | ^~~~ testing/../xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE' 918 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:920:5: note: here 920 | case DEC_SAME: | ^~~~ testing/../xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE' 922 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:924:5: note: here 924 | case DEC_TABDAT: | ^~~~ testing/../xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 942 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:944:5: note: here 944 | case DEC_APPLEN: | ^~~~ testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE' 946 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:949:5: note: here 949 | case DEC_APPDAT: | ^~~~ testing/../xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 981 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:983:5: note: here 983 | case DEC_WININD: | ^~~~ testing/../xdelta3-decode.h:1009:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1009 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1015:5: note: here 1015 | case DEC_CPYLEN: | ^~~~ testing/../xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1024 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1026:5: note: here 1026 | case DEC_CPYOFF: | ^~~~ testing/../xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1041 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ testing/../xdelta3-decode.h:1049:5: note: here 1049 | case DEC_ENCLEN: | ^~~~ testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE' 1051 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1052:5: note: here 1052 | case DEC_TGTLEN: | ^~~~ testing/../xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1072 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1074:5: note: here 1074 | case DEC_DELIND: | ^~~~ testing/../xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1085 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ testing/../xdelta3-decode.h:1092:5: note: here 1092 | case DEC_DATALEN: | ^~~~ testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE' 1093 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1094:5: note: here 1094 | case DEC_INSTLEN: | ^~~~ testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE' 1095 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1096:5: note: here 1096 | case DEC_ADDRLEN: | ^~~~ testing/../xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 838 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE' 1097 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ testing/../xdelta3-decode.h:1099:5: note: here 1099 | case DEC_CKSUM: | ^~~~ testing/../xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1148 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ testing/../xdelta3-decode.h:1150:5: note: here 1150 | case DEC_EMIT: | ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 700 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ testing/../xdelta3-decode.h:702:5: note: here 702 | case DEC_INST: | ^~~~ testing/../xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ testing/../xdelta3-decode.h:705:5: note: here 705 | case DEC_ADDR: | ^~~~ In file included from testing/../xdelta3.c:267: testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.h:342:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 342 | do { if (! (x)) { DP(RINT "%s:%d: XD3 assertion failed: %s\n", __FILE__, __LINE__, #x); \ | ^ testing/../xdelta3.c:3195:15: note: in expansion of macro 'XD3_ASSERT' 3195 | XD3_ASSERT (stream->match_fwd == 0); | ^~~~~~~~~~ testing/../xdelta3.c:3197:13: note: here 3197 | case MATCH_FORWARD: | ^~~~ testing/../xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3121 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3123:5: note: here 3123 | case ENC_INPUT: | ^~~~ testing/../xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3232 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3234:5: note: here 3234 | case ENC_INSTR: | ^~~~ testing/../xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3246 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3248:5: note: here 3248 | case ENC_FLUSH: | ^~~~ testing/../xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3278 | if (stream->avail_out > 0) | ^ testing/../xdelta3.c:3284:5: note: here 3284 | case ENC_POSTOUT: | ^~~~ testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3725:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3725 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3731:9: note: here 3731 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable] 2998 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ testing/../xdelta3-main.h:2999:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 2999 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ testing/../xdelta3-main.h:3000:21: note: here 3000 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ In file included from testing/../xdelta3.c:744: testing/../xdelta3-test.h: In function 'test_source_cksum_offset': testing/../xdelta3-test.h:2848:15: warning: storing the address of local variable 'source' in '*stream.src' [-Wdangling-pointer=] 2848 | stream->src = &source; | ~~~~~~~~~~~~^~~~~~~~~ testing/../xdelta3-test.h:2818:14: note: 'source' declared here 2818 | xd3_source source; | ^~~~~~ testing/../xdelta3-test.h:2816:39: note: 'stream' declared here 2816 | test_source_cksum_offset (xd3_stream *stream, int ignore) | ~~~~~~~~~~~~^~~~~~ In file included from testing/../xdelta3.c:706: In function 'djw_decode_1_2', inlined from 'djw_decode_prefix' at testing/../xdelta3-djw.h:1629:10, inlined from 'xd3_decode_huff' at testing/../xdelta3-djw.h:1715:18: testing/../xdelta3-djw.h:1564:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1564 | values[n++] = 0; | ~~~~~~~~~~~~^~~ testing/../xdelta3-djw.h: In function 'xd3_decode_huff': testing/../xdelta3-djw.h:1701:15: note: at offset 256 into destination object 'clen' of size 256 1701 | uint8_t clen [DJW_MAX_GROUPS][ALPHABET_SIZE]; | ^~~~ In file included from testing/../xdelta3.c:268: In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3317:4: testing/../xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ testing/../xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:627:27: note: format string is defined here 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In file included from /usr/include/stdio.h:970, from testing/../xdelta3.h:38: In function 'snprintf', inlined from 'main_format_rate' at testing/../xdelta3-main.h:627:3, inlined from 'main_input' at testing/../xdelta3-main.h:3317:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'main_format_rate', inlined from 'main_input' at testing/../xdelta3-main.h:3317:4: testing/../xdelta3-main.h:627:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=] 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~~~~~ testing/../xdelta3-internal.h:137:43: note: in definition of macro 'short_sprintf' 137 | snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__) | ^~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:627:27: note: format string is defined here 627 | short_sprintf (*buf, "%s/s", lbuf.buf); | ^~ In function 'snprintf', inlined from 'main_format_rate' at testing/../xdelta3-main.h:627:3, inlined from 'main_input' at testing/../xdelta3-main.h:3317:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ testing/../xdelta3-test.h: In function 'test_appheader.constprop': testing/../xdelta3-test.h:2455:31: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=] 2455 | "%s -q -f -A=%s -e -s %s %s %s", program_name, bogus, | ^~ ~~~~~ In function 'snprintf', inlined from 'test_appheader.constprop' at testing/../xdelta3-test.h:2454:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384 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/xdelta3-3.0.11-build/xdelta3-3.0.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' g++ -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -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 testing/xdelta3regtest-regtest.o `test -f 'testing/regtest.cc' || echo './'`testing/regtest.cc In file included from testing/regtest.cc:30: testing/file.h:69:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 69 | DP(RINT "%5"Q"x: ", pos); | ^ In file included from testing/regtest.cc:32: testing/delta.h:56:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 56 | DP(RINT "%"Q"u run %u\n", winst.position, winst.size); | ^ testing/delta.h:59:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 59 | DP(RINT "%"Q"u add %u\n", winst.position, winst.size); | ^ testing/delta.h:62:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 62 | DP(RINT "%"Q"u copy %u @ %"Q"u (mode %u)\n", | ^ testing/delta.h:62:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 62 | DP(RINT "%"Q"u copy %u @ %"Q"u (mode %u)\n", | ^ testing/regtest.cc:95:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", | ^ testing/regtest.cc:95:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", | ^ testing/regtest.cc:95:41: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", | ^ testing/regtest.cc:95:55: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 95 | IF_DEBUG1 (XPR(NTR "source %"Q"u[%"Q"u] target %"Q"u winsize %"Z"u\n", | ^ testing/regtest.cc:105:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " | ^ testing/regtest.cc:105:43: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " | ^ testing/regtest.cc:105:50: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " | ^ testing/regtest.cc:105:56: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 105 | IF_DEBUG2(XPR(NTR "target in %s: %"Q"u..%"Q"u %"Q"u(%"Q"u) " | ^ testing/regtest.cc:106:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 106 | "verified %"Q"u\n", | ^ testing/regtest.cc:156:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 156 | IF_DEBUG2(XPR(NTR "[srcblock] %"Q"u last srcpos %"Q"u " | ^ testing/regtest.cc:156:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 156 | IF_DEBUG2(XPR(NTR "[srcblock] %"Q"u last srcpos %"Q"u " | ^ testing/regtest.cc:157:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 157 | "encodepos %"Q"u\n", | ^ testing/regtest.cc:234:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 234 | snprintf(bbuf, sizeof(bbuf), "-B%"Q"u", options.encode_srcwin_maxsz); | ^ testing/regtest.cc:374:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 374 | snprintf_func (buf, sizeof(buf), "%"Q"u", x); | ^ testing/regtest.cc:816:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 816 | IF_DEBUG1(DP(RINT "[stride=%d] changes=%u adds=%"Q"u\n", | ^ testing/regtest.cc:1262:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1262 | XPR(NT "Blocksize %"Q"u windowsize %"Z"u\n", | ^ testing/regtest.cc:1262:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1262 | XPR(NT "Blocksize %"Q"u windowsize %"Z"u\n", | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' /bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -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,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma libtool: link: g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -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 xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jyyeiD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + mkdir /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT + 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 + cd xdelta3-3.0.11 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p xdelta3 '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p xdelta3 /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/bin/xdelta3 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 xdelta3.1 '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/share/man/man1' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11' + pushd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT//usr/bin ~/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11 + ln -s xdelta3 xdelta + popd ~/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11 + pushd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT//usr/share/man/man1 ~/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/share/man/man1 ~/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11 + ln -s xdelta3.1 xdelta.1 + popd ~/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 3.0.11-5.mga10 --unique-debug-suffix -3.0.11-5.mga10.x86_64 --unique-debug-src-base xdelta3-3.0.11-5.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xdelta3-3.0.11-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/xdelta3-3.0.11-build/SPECPARTS/rpm-debuginfo.specpart Processing files: xdelta3-3.0.11-5.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.t2Tg2P + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + cd xdelta3-3.0.11 + DOCDIR=/home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/share/doc/xdelta3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/share/doc/xdelta3 + cp -pr /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/xdelta3-3.0.11/COPYING /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT/usr/share/doc/xdelta3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: xdelta3 = 3.0.11-5.mga10 xdelta3(x86-64) = 3.0.11-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.4)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) Processing files: xdelta3-debugsource-3.0.11-5.mga10.x86_64 Provides: xdelta3-debugsource = 3.0.11-5.mga10 xdelta3-debugsource(x86-64) = 3.0.11-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xdelta3-debuginfo-3.0.11-5.mga10.x86_64 Provides: debuginfo(build-id) = 0f566859c7c35a4f0596808aee8a98a22b58a84b xdelta3-debuginfo = 3.0.11-5.mga10 xdelta3-debuginfo(x86-64) = 3.0.11-5.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xdelta3-debugsource(x86-64) = 3.0.11-5.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xdelta3-3.0.11-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xdelta3-debuginfo-3.0.11-5.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xdelta3-debugsource-3.0.11-5.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8G7uHL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + test -d /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + rm -rf /home/pterjan/rpmbuild/BUILD/xdelta3-3.0.11-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: /home/pterjan/rpmbuild/SPECS/xdelta3.spec line 37: autopatch: no matching patches in range D: [iurt_root_command] Success!