=> Building misc/xdelta3 Started : Friday, 8 MAR 2019 at 00:52:27 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/misc/xdelta3 XDG_CONFIG_HOME=/construction/misc/xdelta3 HOME=/construction/misc/xdelta3 TMPDIR="/tmp" PATH=/construction/misc/xdelta3/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/xdelta3 XDG_CONFIG_HOME=/construction/misc/xdelta3 HOME=/construction/misc/xdelta3 TMPDIR="/tmp" PATH=/construction/misc/xdelta3/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/misc/xdelta3/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xdelta" EXAMPLESDIR="share/examples/xdelta" DATADIR="share/xdelta" WWWDIR="www/xdelta" ETCDIR="etc/xdelta" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xdelta DOCSDIR=/usr/local/share/doc/xdelta EXAMPLESDIR=/usr/local/share/examples/xdelta WWWDIR=/usr/local/www/xdelta ETCDIR=/usr/local/etc/xdelta -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xdelta3-3.1.0_2,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> xdelta3-3.1.0_2,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xdelta3-3.1.0_2,1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by xdelta3-3.1.0_2,1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by xdelta3-3.1.0_2,1 for building => SHA256 Checksum OK for jmacd-xdelta-v3.1.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by xdelta3-3.1.0_2,1 for building ===> Extracting for xdelta3-3.1.0_2,1 => SHA256 Checksum OK for jmacd-xdelta-v3.1.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xdelta3-3.1.0_2,1 ===> Applying ports patches for xdelta3-3.1.0_2,1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> xdelta3-3.1.0_2,1 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_2.txz Installing autoconf-2.69_2... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: .......... done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.28.1... `-- Extracting perl5-5.28.1: .......... done Extracting autoconf-2.69_2: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> xdelta3-3.1.0_2,1 depends on package: autoconf>=2.69 - found ===> Returning to build of xdelta3-3.1.0_2,1 ===> xdelta3-3.1.0_2,1 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_1.txz Installing automake-1.16.1_1... Extracting automake-1.16.1_1: .......... done ===> xdelta3-3.1.0_2,1 depends on package: automake>=1.16.1 - found ===> Returning to build of xdelta3-3.1.0_2,1 ===> xdelta3-3.1.0_2,1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> xdelta3-3.1.0_2,1 depends on executable: gmake - found ===> Returning to build of xdelta3-3.1.0_2,1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xdelta3-3.1.0_2,1 configure.ac:8: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' Makefile.am:49: warning: variable 'GOLANG_SOURCES' is defined but no program or Makefile.am:49: library has 'GOLANG' as canonical name (possible typo) configure: loading site script /xports/Templates/config.site ./configure: LT_INIT: not found checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... (cached) /usr/bin/tar checking whether gmake supports the include directive... yes (GNU style) checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking if pointers to integers require aligned access... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes 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 depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for xdelta3-3.1.0_2,1 gmake[1]: Entering directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' gmake all-am gmake[2]: Entering directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' cc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -pipe -O2 -fno-strict-aliasing -MT xdelta3-xdelta3.o -MD -MP -MF .deps/xdelta3-xdelta3.Tpo -c -o xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c cc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -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 -pipe -O2 -fno-strict-aliasing -MT xdelta3decode-xdelta3.o -MD -MP -MF .deps/xdelta3decode-xdelta3.Tpo -c -o xdelta3decode-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c c++ -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -pipe -O2 -fno-strict-aliasing -MT testing/xdelta3regtest-regtest.o -MD -MP -MF testing/.deps/xdelta3regtest-regtest.Tpo -c -o testing/xdelta3regtest-regtest.o `test -f 'testing/regtest.cc' || echo './'`testing/regtest.cc cc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -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 -pipe -O2 -fno-strict-aliasing -MT testing/xdelta3regtest-regtest_c.o -MD -MP -MF testing/.deps/xdelta3regtest-regtest_c.Tpo -c -o testing/xdelta3regtest-regtest_c.o `test -f 'testing/regtest_c.c' || echo './'`testing/regtest_c.c c++ -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_MAIN=1 -std=c++11 -pipe -O2 -fno-strict-aliasing -MT testing/xdelta3checksum-checksum_test.o -MD -MP -MF testing/.deps/xdelta3checksum-checksum_test.Tpo -c -o testing/xdelta3checksum-checksum_test.o `test -f 'testing/checksum_test.cc' || echo './'`testing/checksum_test.cc In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_HDRIND; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:869:5: note: here case DEC_HDRIND: ^~~~ xdelta3-decode.h:882:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_SECONDID; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:885:5: note: here case DEC_SECONDID: ^~~~ xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) ^ xdelta3-decode.h:905:5: note: here case DEC_TABLEN: ^~~~ xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { ^ xdelta3-decode.h:918:5: note: here case DEC_NEAR: ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ xdelta3-decode.h:922:5: note: here case DEC_SAME: ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ xdelta3-decode.h:926:5: note: here case DEC_TABDAT: ^~~~ xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_APPLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:946:5: note: here case DEC_APPLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, ^~~~~~~~~ xdelta3-decode.h:951:5: note: here case DEC_APPDAT: ^~~~ xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_WININD; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:985:5: note: here case DEC_WININD: ^~~~ xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_CPYLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here case DEC_CPYLEN: ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_position = stream->dec_cpylen; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here case DEC_CPYOFF: ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_win_ind & VCD_TARGET) && ^ xdelta3-decode.h:1050:5: note: here case DEC_ENCLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here case DEC_TGTLEN: ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here case DEC_DELIND: ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) ^ xdelta3-decode.h:1093:5: note: here case DEC_DATALEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here case DEC_INSTLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here case DEC_ADDRLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here case DEC_CKSUM: ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_sections (stream))) { return ret; } ^ xdelta3-decode.h:1151:5: note: here case DEC_EMIT: ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->data_sect, ^ xdelta3-decode.h:704:5: note: here case DEC_INST: ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->inst_sect, ^ xdelta3-decode.h:707:5: note: here case DEC_ADDR: ^~~~ In file included from xdelta3.c:718: xdelta3-main.h: In function 'main_file_read': xdelta3-main.h:1063: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 *, long unsigned int)'} [-Wcast-function-type] ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); ^ xdelta3-main.h: In function 'main_file_write': xdelta3-main.h:1097: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 *, long unsigned int)'} [-Wcast-function-type] ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); ^ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063: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 *, long unsigned int)'} [-Wcast-function-type] 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:1097: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 *, long unsigned int)'} [-Wcast-function-type] ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); ^ In file included from xdelta3.c:718: xdelta3-main.h: In function 'main_pipe_write': xdelta3-main.h:2118:7: 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 *, long unsigned int)'} [-Wcast-function-type] (xd3_posix_func*) &write, NULL))) ^ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:7: 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 *, long unsigned int)'} [-Wcast-function-type] (xd3_posix_func*) &write, NULL))) ^ In file included from testing/../xdelta3.c:2065, from testing/../xdelta3.c:658, from testing/regtest_c.c:2: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_HDRIND; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:869:5: note: here case DEC_HDRIND: ^~~~ testing/../xdelta3-decode.h:882:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_SECONDID; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:885:5: note: here case DEC_SECONDID: ^~~~ testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) ^ testing/../xdelta3-decode.h:905:5: note: here case DEC_TABLEN: ^~~~ testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { ^ testing/../xdelta3-decode.h:918:5: note: here case DEC_NEAR: ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ testing/../xdelta3-decode.h:922:5: note: here case DEC_SAME: ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ testing/../xdelta3-decode.h:926:5: note: here case DEC_TABDAT: ^~~~ testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_APPLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:946:5: note: here case DEC_APPLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, ^~~~~~~~~ testing/../xdelta3-decode.h:951:5: note: here case DEC_APPDAT: ^~~~ testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_WININD; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:985:5: note: here case DEC_WININD: ^~~~ testing/../xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_CPYLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1017:5: note: here case DEC_CPYLEN: ^~~~ testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_position = stream->dec_cpylen; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1028:5: note: here case DEC_CPYOFF: ^~~~ testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_win_ind & VCD_TARGET) && ^ testing/../xdelta3-decode.h:1050:5: note: here case DEC_ENCLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); ^~~~~~~~~ testing/../xdelta3-decode.h:1053:5: note: here case DEC_TGTLEN: ^~~~ testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1075:5: note: here case DEC_DELIND: ^~~~ testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) ^ testing/../xdelta3-decode.h:1093:5: note: here case DEC_DATALEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); ^~~~~~~~~ testing/../xdelta3-decode.h:1095:5: note: here case DEC_INSTLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); ^~~~~~~~~ testing/../xdelta3-decode.h:1097:5: note: here case DEC_ADDRLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); ^~~~~~~~~ testing/../xdelta3-decode.h:1100:5: note: here case DEC_CKSUM: ^~~~ testing/../xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_sections (stream))) { return ret; } ^ testing/../xdelta3-decode.h:1151:5: note: here case DEC_EMIT: ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->data_sect, ^ testing/../xdelta3-decode.h:704:5: note: here case DEC_INST: ^~~~ testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->inst_sect, ^ testing/../xdelta3-decode.h:707:5: note: here case DEC_ADDR: ^~~~ In file included from testing/../xdelta3.c:267, from testing/regtest_c.c:2: testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.h:404:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (! (x)) { \ ^ testing/../xdelta3.c:3164:8: note: in expansion of macro 'XD3_ASSERT' XD3_ASSERT (stream->match_fwd == 0); ^~~~~~~~~~ In file included from testing/../xdelta3.c:658, from testing/regtest_c.c:2: testing/../xdelta3.c:3166:6: note: here case MATCH_FORWARD: ^~~~ testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_INPUT; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3092:5: note: here case ENC_INPUT: ^~~~ testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_INSTR; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3203:5: note: here case ENC_INSTR: ^~~~ testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_FLUSH; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3217:5: note: here case ENC_FLUSH: ^~~~ testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (stream->avail_out > 0) ^ testing/../xdelta3.c:3253:5: note: here case ENC_POSTOUT: ^~~~ In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_HDRIND; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:869:5: note: here case DEC_HDRIND: ^~~~ xdelta3-decode.h:882:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_SECONDID; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:885:5: note: here case DEC_SECONDID: ^~~~ xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) ^ xdelta3-decode.h:905:5: note: here case DEC_TABLEN: ^~~~ xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { ^ xdelta3-decode.h:918:5: note: here case DEC_NEAR: ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ xdelta3-decode.h:922:5: note: here case DEC_SAME: ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ xdelta3-decode.h:926:5: note: here case DEC_TABDAT: ^~~~ xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_APPLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:946:5: note: here case DEC_APPLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, ^~~~~~~~~ xdelta3-decode.h:951:5: note: here case DEC_APPDAT: ^~~~ xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_WININD; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:985:5: note: here case DEC_WININD: ^~~~ xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_CPYLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here case DEC_CPYLEN: ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_position = stream->dec_cpylen; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here case DEC_CPYOFF: ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_win_ind & VCD_TARGET) && ^ xdelta3-decode.h:1050:5: note: here case DEC_ENCLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here case DEC_TGTLEN: ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here case DEC_DELIND: ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) ^ xdelta3-decode.h:1093:5: note: here case DEC_DATALEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here case DEC_INSTLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here case DEC_ADDRLEN: ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here case DEC_CKSUM: ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_sections (stream))) { return ret; } ^ xdelta3-decode.h:1151:5: note: here case DEC_EMIT: ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->data_sect, ^ xdelta3-decode.h:704:5: note: here case DEC_INST: ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->inst_sect, ^ xdelta3-decode.h:707:5: note: here case DEC_ADDR: ^~~~ In file included from xdelta3.c:658: xdelta3.c: In function 'xd3_encode_input': xdelta3.c:3151:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (stream->avail_in > 0) ^ xdelta3.c:3166:6: note: here case MATCH_FORWARD: ^~~~ xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_INPUT; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3092:5: note: here case ENC_INPUT: ^~~~ xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_INSTR; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3203:5: note: here case ENC_INSTR: ^~~~ xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_FLUSH; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3217:5: note: here case ENC_FLUSH: ^~~~ xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (stream->avail_out > 0) ^ xdelta3.c:3253:5: note: here case ENC_POSTOUT: ^~~~ In file included from xdelta3.c:718: xdelta3-main.h: In function 'main': xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=] option_force2 = 1; ~~~~~~~~~~~~~~^~~ xdelta3-main.h:3758:2: note: here case 'v': option_verbose += 1; option_quiet = 0; break; ^~~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } ^ xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } ^ xdelta3-main.h:3027:21: note: here else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } ^~~~ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=] option_force2 = 1; ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:2: note: here case 'v': option_verbose += 1; option_quiet = 0; break; ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } ^ testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } ^ testing/../xdelta3-main.h:3027:21: note: here else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } ^~~~ mv -f .deps/xdelta3decode-xdelta3.Tpo .deps/xdelta3decode-xdelta3.Po cc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -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_MAIN=1 -pipe -O2 -fno-strict-aliasing -MT testing/xdelta3checksum-checksum_test_c.o -MD -MP -MF testing/.deps/xdelta3checksum-checksum_test_c.Tpo -c -o testing/xdelta3checksum-checksum_test_c.o `test -f 'testing/checksum_test_c.c' || echo './'`testing/checksum_test_c.c In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063: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 *, long unsigned int)'} [-Wcast-function-type] 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:1097: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 *, long unsigned int)'} [-Wcast-function-type] ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); ^ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:7: 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 *, long unsigned int)'} [-Wcast-function-type] (xd3_posix_func*) &write, NULL))) ^ In file included from testing/../xdelta3.c:2065, from testing/../xdelta3.c:658, from testing/checksum_test_c.c:1: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_HDRIND; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:869:5: note: here case DEC_HDRIND: ^~~~ testing/../xdelta3-decode.h:882:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_SECONDID; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:885:5: note: here case DEC_SECONDID: ^~~~ testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) ^ testing/../xdelta3-decode.h:905:5: note: here case DEC_TABLEN: ^~~~ testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { ^ testing/../xdelta3-decode.h:918:5: note: here case DEC_NEAR: ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ testing/../xdelta3-decode.h:922:5: note: here case DEC_SAME: ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, ^~~~~~~~~ testing/../xdelta3-decode.h:926:5: note: here case DEC_TABDAT: ^~~~ testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_APPLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:946:5: note: here case DEC_APPLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, ^~~~~~~~~ testing/../xdelta3-decode.h:951:5: note: here case DEC_APPDAT: ^~~~ testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_WININD; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:985:5: note: here case DEC_WININD: ^~~~ testing/../xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = DEC_CPYLEN; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1017:5: note: here case DEC_CPYLEN: ^~~~ testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_position = stream->dec_cpylen; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1028:5: note: here case DEC_CPYOFF: ^~~~ testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_win_ind & VCD_TARGET) && ^ testing/../xdelta3-decode.h:1050:5: note: here case DEC_ENCLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); ^~~~~~~~~ testing/../xdelta3-decode.h:1053:5: note: here case DEC_TGTLEN: ^~~~ testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1075:5: note: here case DEC_DELIND: ^~~~ testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) ^ testing/../xdelta3-decode.h:1093:5: note: here case DEC_DATALEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); ^~~~~~~~~ testing/../xdelta3-decode.h:1095:5: note: here case DEC_INSTLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); ^~~~~~~~~ testing/../xdelta3-decode.h:1097:5: note: here case DEC_ADDRLEN: ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->dec_state = (nstate); \ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); ^~~~~~~~~ testing/../xdelta3-decode.h:1100:5: note: here case DEC_CKSUM: ^~~~ testing/../xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_sections (stream))) { return ret; } ^ testing/../xdelta3-decode.h:1151:5: note: here case DEC_EMIT: ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->data_sect, ^ testing/../xdelta3-decode.h:704:5: note: here case DEC_INST: ^~~~ testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((ret = xd3_decode_section (stream, & stream->inst_sect, ^ testing/../xdelta3-decode.h:707:5: note: here case DEC_ADDR: ^~~~ In file included from testing/../xdelta3.c:658, from testing/checksum_test_c.c:1: testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.c:3151:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (stream->avail_in > 0) ^ testing/../xdelta3.c:3166:6: note: here case MATCH_FORWARD: ^~~~ testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_INPUT; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3092:5: note: here case ENC_INPUT: ^~~~ testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_INSTR; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3203:5: note: here case ENC_INSTR: ^~~~ testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] stream->enc_state = ENC_FLUSH; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3217:5: note: here case ENC_FLUSH: ^~~~ testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (stream->avail_out > 0) ^ testing/../xdelta3.c:3253:5: note: here case ENC_POSTOUT: ^~~~ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=] option_force2 = 1; ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:2: note: here case 'v': option_verbose += 1; option_quiet = 0; break; ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } ^ testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } ^ testing/../xdelta3-main.h:3027:21: note: here else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } ^~~~ mv -f .deps/xdelta3-xdelta3.Tpo .deps/xdelta3-xdelta3.Po cc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -pipe -O2 -fno-strict-aliasing -o xdelta3 xdelta3-xdelta3.o -lm -llzma cc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -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 -pipe -O2 -fno-strict-aliasing -o xdelta3decode xdelta3decode-xdelta3.o -llzma mv -f testing/.deps/xdelta3regtest-regtest_c.Tpo testing/.deps/xdelta3regtest-regtest_c.Po mv -f testing/.deps/xdelta3checksum-checksum_test_c.Tpo testing/.deps/xdelta3checksum-checksum_test_c.Po mv -f testing/.deps/xdelta3regtest-regtest.Tpo testing/.deps/xdelta3regtest-regtest.Po c++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -pipe -O2 -fno-strict-aliasing -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma mv -f testing/.deps/xdelta3checksum-checksum_test.Tpo testing/.deps/xdelta3checksum-checksum_test.Po c++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_MAIN=1 -std=c++11 -pipe -O2 -fno-strict-aliasing -o xdelta3checksum testing/xdelta3checksum-checksum_test.o testing/xdelta3checksum-checksum_test_c.o -llzma gmake[2]: Leaving directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' gmake[1]: Leaving directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xdelta3-3.1.0_2,1 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' gmake[2]: Entering directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' /bin/mkdir -p '/construction/misc/xdelta3/stage/usr/local/bin' install -s -m 555 xdelta3 '/construction/misc/xdelta3/stage/usr/local/bin' /bin/mkdir -p '/construction/misc/xdelta3/stage/usr/local/man/man1' install -m 0644 xdelta3.1 '/construction/misc/xdelta3/stage/usr/local/man/man1' gmake[2]: Leaving directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' gmake[1]: Leaving directory '/construction/misc/xdelta3/xdelta-3.1.0/xdelta3' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xdelta3-3.1.0_2,1 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 00:53:47 UTC Duration: 00:01:19