Cook: zsync 0.6.2
================================================================================
QA: checking package receipt...
Extracting source archive "zsync-0.6.2.tar.bz2"

Executing: compile_rules
CFLAGS   : -march=i486 -Os -pipe -mindirect-branch=thunk
CXXLAGS  : -march=i486 -Os -pipe -mindirect-branch=thunk
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1
LDFLAGS  : -Wl,-Os,--as-needed

configure: loading site script /etc/slitaz/cook.site
checking build system type... i486-slitaz-linux-gnu
checking host system type... i486-slitaz-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autotools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes
checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i486-slitaz-linux-gcc... gcc3
checking whether ln -s works... yes
checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... i486-slitaz-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 string.h... (cached) yes
checking for size_t... yes
checking for memcpy... yes
checking for pwrite... yes
checking for pread... yes
checking for mkstemp... yes
checking for socklen_t... yes
checking for in_port_t... yes
checking for h_errno declaration in netdb.h... yes
checking for socket in -lsocket... no
checking for getaddrinfo... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of size_t... 4
checking size of off_t... 8
checking if malloc debugging is wanted... no
checking whether compiler supports -g... yes
checking whether compiler supports -Wall... yes
checking whether compiler supports -Wwrite-strings... yes
checking whether compiler supports -Winline... yes
checking whether compiler supports -Wextra... yes
checking whether compiler supports -Winline... yes
checking whether compiler supports -Wmissing-noreturn... yes
checking whether compiler supports -Wredundant-decls... yes
checking whether compiler supports -Wnested-externs... yes
checking whether compiler supports -Wundef... yes
checking whether compiler supports -Wbad-function-cast... yes
checking whether compiler supports -Wcast-align... yes
checking whether compiler supports -Wvolatile-register-var... yes
checking whether compiler supports -ffast-math... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating librcksum/Makefile
config.status: creating zlib/Makefile
config.status: creating libzsync/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
Making all in librcksum
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/librcksum'
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT rsum.o -MD -MP -MF .deps/rsum.Tpo -c -o rsum.o rsum.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT range.o -MD -MP -MF .deps/range.Tpo -c -o range.o range.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT md4.o -MD -MP -MF .deps/md4.Tpo -c -o md4.o md4.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT md4test.o -MD -MP -MF .deps/md4test.Tpo -c -o md4test.o md4test.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from state.c:24:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from rsum.c:23:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from hash.c:23:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from range.c:23:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from md4test.c:18:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
mv -f .deps/md4test.Tpo .deps/md4test.Po
mv -f .deps/hash.Tpo .deps/hash.Po
mv -f .deps/state.Tpo .deps/state.Po
mv -f .deps/range.Tpo .deps/range.Po
mv -f .deps/md4.Tpo .deps/md4.Po
i486-slitaz-linux-gcc  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math  -Wl,-Os,--as-needed -o md4test md4test.o md4.o  
mv -f .deps/rsum.Tpo .deps/rsum.Po
rm -f librcksum.a
ar cru librcksum.a rsum.o hash.o state.o range.o md4.o 
i486-slitaz-linux-ranlib librcksum.a
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/librcksum'
Making all in zlib
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/zlib'
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT inflate.o -MD -MP -MF .deps/inflate.Tpo -c -o inflate.o inflate.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT adler32.o -MD -MP -MF .deps/adler32.Tpo -c -o adler32.o adler32.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT inftrees.o -MD -MP -MF .deps/inftrees.Tpo -c -o inftrees.o inftrees.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT zutil.o -MD -MP -MF .deps/zutil.Tpo -c -o zutil.o zutil.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT crc32.o -MD -MP -MF .deps/crc32.Tpo -c -o crc32.o crc32.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT deflate.o -MD -MP -MF .deps/deflate.Tpo -c -o deflate.o deflate.c
mv -f .deps/zutil.Tpo .deps/zutil.Po
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT compress.o -MD -MP -MF .deps/compress.Tpo -c -o compress.o compress.c
mv -f .deps/adler32.Tpo .deps/adler32.Po
inflate.c: In function 'inflate':
inflate.c:639:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = EXLEN;
             ~~~~~~~~~~~~^~~~~~~
inflate.c:640:9: note: here
         case EXLEN:
         ^~~~
inflate.c:647:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = EXTRA;
             ~~~~~~~~~~~~^~~~~~~
inflate.c:648:9: note: here
         case EXTRA:
         ^~~~
inflate.c:661:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = NAME;
             ~~~~~~~~~~~~^~~~~~
inflate.c:662:9: note: here
         case NAME:
         ^~~~
inflate.c:675:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = COMMENT;
             ~~~~~~~~~~~~^~~~~~~~~
inflate.c:676:9: note: here
         case COMMENT:
         ^~~~
inflate.c:689:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = HCRC;
             ~~~~~~~~~~~~^~~~~~
inflate.c:690:9: note: here
         case HCRC:
         ^~~~
inflate.c:708:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DICT;
             ~~~~~~~~~~~~^~~~~~
inflate.c:709:9: note: here
         case DICT:
         ^~~~
inflate.c:715:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = TYPE;
             ~~~~~~~~~~~~^~~~~~
inflate.c:716:9: note: here
         case TYPE:
         ^~~~
inflate.c:717:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_BLOCK) goto inf_leave;
                ^
inflate.c:718:9: note: here
         case TYPEDO:
         ^~~~
inflate.c:762:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = COPY;
             ~~~~~~~~~~~~^~~~~~
inflate.c:763:9: note: here
         case COPY:
         ^~~~
inflate.c:892:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LEN;
             ~~~~~~~~~~~~^~~~~
inflate.c:893:9: note: here
         case LEN:
         ^~~~
inflate.c:933:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LENEXT;
             ~~~~~~~~~~~~^~~~~~~~
inflate.c:934:9: note: here
         case LENEXT:
         ^~~~
inflate.c:941:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DIST;
             ~~~~~~~~~~~~^~~~~~
inflate.c:942:9: note: here
         case DIST:
         ^~~~
inflate.c:966:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DISTEXT;
             ~~~~~~~~~~~~^~~~~~~~~
inflate.c:967:9: note: here
         case DISTEXT:
         ^~~~
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT trees.o -MD -MP -MF .deps/trees.Tpo -c -o trees.o trees.c
inflate.c:979:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = MATCH;
             ~~~~~~~~~~~~^~~~~~~
inflate.c:980:9: note: here
         case MATCH:
         ^~~~
inflate.c:1034:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LENGTH;
             ~~~~~~~~~~~~^~~~~~~~
inflate.c:1035:9: note: here
         case LENGTH:
         ^~~~
inflate.c:1047:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DONE;
             ~~~~~~~~~~~~^~~~~~
inflate.c:1048:9: note: here
         case DONE:
         ^~~~
mv -f .deps/crc32.Tpo .deps/crc32.Po
mv -f .deps/compress.Tpo .deps/compress.Po
mv -f .deps/inftrees.Tpo .deps/inftrees.Po
mv -f .deps/deflate.Tpo .deps/deflate.Po
mv -f .deps/inflate.Tpo .deps/inflate.Po
mv -f .deps/trees.Tpo .deps/trees.Po
rm -f libinflate.a
rm -f libdeflate.a
ar cru libinflate.a inflate.o adler32.o inftrees.o zutil.o crc32.o 
ar cru libdeflate.a deflate.o compress.o trees.o 
i486-slitaz-linux-ranlib libdeflate.a
i486-slitaz-linux-ranlib libinflate.a
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/zlib'
Making all in libzsync
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/libzsync'
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT zsync.o -MD -MP -MF .deps/zsync.Tpo -c -o zsync.o zsync.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT zmap.o -MD -MP -MF .deps/zmap.Tpo -c -o zmap.o zmap.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT sha1.o -MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I..   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT sha1test.o -MD -MP -MF .deps/sha1test.Tpo -c -o sha1test.o sha1test.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from zmap.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from sha1test.c:18:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/sys/types.h:25,
                 from /usr/include/sys/param.h:25,
                 from sha1.c:23:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from zsync.c:37:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
mv -f .deps/sha1test.Tpo .deps/sha1test.Po
zsync.c: In function 'zsync_begin':
zsync.c:213:35: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
                 if (zs->blocksize < 0 || (zs->blocksize & (zs->blocksize - 1))) {
                                   ^
zsync.c:214:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
                     fprintf(stderr, "nonsensical blocksize %ld\n", zs->blocksize);
                                                            ~~^     ~~~~~~~~~~~~~
                                                            %d
zsync.c:243:68: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
                     if (fread(zblock, sizeof *zblock, nzblocks, f) < nzblocks) {
                                                                    ^
zsync.c: In function 'zsync_get_urls':
zsync.c:443:18: warning: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types]
         return zs->zurl;
                ~~^~~~~~
zsync.c:448:18: warning: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types]
         return zs->url;
                ~~^~~~~
zsync.c: In function 'zsync_recompress':
zsync.c:704:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
                 if (fwrite(p, 1, r - (p - buf), zout) != r - (p - buf)) {
                                                       ^~
zsync.c: In function 'zsync_receive_data_compressed':
zsync.c:925:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     zr->strm.next_in = buf;
                      ^
zsync.c:942:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         zr->strm.next_in = buf;
                          ^
zsync.c:954:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
             eoz = 1;
             ~~~~^~~
zsync.c:955:9: note: here
         case Z_BUF_ERROR:
         ^~~~
mv -f .deps/zmap.Tpo .deps/zmap.Po
mv -f .deps/sha1.Tpo .deps/sha1.Po
i486-slitaz-linux-gcc  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math  -Wl,-Os,--as-needed -o sha1test sha1.o sha1test.o  
mv -f .deps/zsync.Tpo .deps/zsync.Po
rm -f libzsync.a
ar cru libzsync.a zsync.o zmap.o sha1.o 
i486-slitaz-linux-ranlib libzsync.a
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/libzsync'
Making all in doc
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/doc'
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT make.o -MD -MP -MF .deps/make.Tpo -c -o make.o make.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT makegz.o -MD -MP -MF .deps/makegz.Tpo -c -o makegz.o makegz.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT url.o -MD -MP -MF .deps/url.Tpo -c -o url.o url.c
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT progress.o -MD -MP -MF .deps/progress.Tpo -c -o progress.o progress.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from client.c:21:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from make.c:20:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from http.c:22:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from makegz.c:19:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from url.c:21:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from progress.c:19:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
url.c: In function 'get_http_host_port':
url.c:46:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     q = url + strlen(http_scheme);
       ^
client.c: In function 'main':
client.c:491:57: warning: passing argument 2 of 'append_ptrlist' from incompatible pointer type [-Wincompatible-pointer-types]
                 seedfiles = append_ptrlist(&nseedfiles, seedfiles, optarg);
                                                         ^~~~~~~~~
client.c:149:45: note: expected 'void **' but argument is of type 'char **'
 static void **append_ptrlist(int *n, void **p, void *a) {
                                      ~~~~~~~^
client.c:491:27: warning: assignment to 'char **' from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
                 seedfiles = append_ptrlist(&nseedfiles, seedfiles, optarg);
                           ^
client.c:549:53: warning: passing argument 2 of 'append_ptrlist' from incompatible pointer type [-Wincompatible-pointer-types]
             seedfiles = append_ptrlist(&nseedfiles, seedfiles, filename);
                                                     ^~~~~~~~~
client.c:149:45: note: expected 'void **' but argument is of type 'char **'
 static void **append_ptrlist(int *n, void **p, void *a) {
                                      ~~~~~~~^
client.c:549:23: warning: assignment to 'char **' from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
             seedfiles = append_ptrlist(&nseedfiles, seedfiles, filename);
                       ^
client.c:557:53: warning: passing argument 2 of 'append_ptrlist' from incompatible pointer type [-Wincompatible-pointer-types]
             seedfiles = append_ptrlist(&nseedfiles, seedfiles, temp_file);
                                                     ^~~~~~~~~
client.c:149:45: note: expected 'void **' but argument is of type 'char **'
 static void **append_ptrlist(int *n, void **p, void *a) {
                                      ~~~~~~~^
client.c:557:23: warning: assignment to 'char **' from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
             seedfiles = append_ptrlist(&nseedfiles, seedfiles, temp_file);
                       ^
mv -f .deps/progress.Tpo .deps/progress.Po
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I.   -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
mv -f .deps/url.Tpo .deps/url.Po
mv -f .deps/makegz.Tpo .deps/makegz.Po
make.c: In function 'main':
make.c:839:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=]
                 fprintf(stderr, "error converting %d to struct tm\n", mtime);
                                                   ~^                  ~~~~~
                                                   %ld
mv -f .deps/base64.Tpo .deps/base64.Po
http.c: In function 'range_fetch_set_url':
http.c:556:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
         snprintf(rf->hosth, sizeof(rf->hosth), "%s:%s", hostn, cport);
                                                      ^
In file included from /usr/include/stdio.h:873,
                 from http.c:22:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from make.c:44:
make.c: In function 'do_zstream':
libzsync/zmap.h:51:27: warning: inlining failed in call to 'skip_zhead': call is unlikely and code size would grow [-Winline]
 static inline const char* skip_zhead(const char* p)
                           ^~~~~~~~~~
make.c:196:25: note: called from here
         const char *p = skip_zhead(bufsofar);
                         ^~~~~~~~~~~~~~~~~~~~
In file included from make.c:44:
make.c: In function 'guess_gzip_options':
libzsync/zmap.h:51:27: warning: inlining failed in call to 'skip_zhead': call is unlikely and code size would grow [-Winline]
 static inline const char* skip_zhead(const char* p)
                           ^~~~~~~~~~
make.c:524:37: note: called from here
                     const char *b = skip_zhead(samp);
                                     ^~~~~~~~~~~~~~~~
In file included from make.c:44:
libzsync/zmap.h:51:27: warning: inlining failed in call to 'skip_zhead': call is unlikely and code size would grow [-Winline]
 static inline const char* skip_zhead(const char* p)
                           ^~~~~~~~~~
make.c:523:37: note: called from here
                     const char *a = skip_zhead(orig);
                                     ^~~~~~~~~~~~~~~~
mv -f .deps/client.Tpo .deps/client.Po
mv -f .deps/make.Tpo .deps/make.Po
i486-slitaz-linux-gcc  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math  -Wl,-Os,--as-needed -o zsyncmake make.o makegz.o libzsync/libzsync.a librcksum/librcksum.a zlib/libinflate.a zlib/libdeflate.a -lm 
mv -f .deps/http.Tpo .deps/http.Po
i486-slitaz-linux-gcc  -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math  -Wl,-Os,--as-needed -o zsync client.o http.o url.o progress.o base64.o libzsync/libzsync.a librcksum/librcksum.a zlib/libinflate.a  
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
make[1]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
Making install in librcksum
make[1]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/librcksum'
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/librcksum'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/librcksum'
make[1]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/librcksum'
Making install in zlib
make[1]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/zlib'
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/zlib'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/zlib'
make[1]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/zlib'
Making install in libzsync
make[1]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/libzsync'
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/libzsync'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/libzsync'
make[1]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/libzsync'
Making install in doc
make[1]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/doc'
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/doc'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/share/man/man1" || ../autotools/install-sh -c -d "/home/slitaz/wok/zsync/install/usr/share/man/man1"
 /usr/bin/install -c -m 644 zsync.1 zsyncmake.1 '/home/slitaz/wok/zsync/install/usr/share/man/man1'
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/doc'
make[1]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2/doc'
make[1]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
make[2]: Entering directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
test -z "/usr/share/doc/zsync" || autotools/install-sh -c -d "/home/slitaz/wok/zsync/install/usr/share/doc/zsync"
 /usr/bin/install -c -m 644 COPYING README '/home/slitaz/wok/zsync/install/usr/share/doc/zsync'
test -z "/usr/bin" || autotools/install-sh -c -d "/home/slitaz/wok/zsync/install/usr/bin"
  /usr/bin/install -c zsyncmake zsync '/home/slitaz/wok/zsync/install/usr/bin'
make[2]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
make[1]: Leaving directory '/home/slitaz/wok/zsync/source/zsync-0.6.2'
================================================================================

Executing strip on all files...                                        Done
  Time: 0.28s. Size: 462000 B -> 146164 B. Save: 308 KB.
Installing (pkg/local): advancecomp-static-2.1-i486
Compressing man pages...                                               Done
  Time: 1.22s. Size: 10937 B -> 4399 B. Save: 6 KB. Cache hit: 2/2.
================================================================================


Build dependencies to remove: 1
Removing: advancecomp-static


Pack: zsync 0.6.2
================================================================================
Executing: genpkg_rules
Copying folders and files...                                           Done
Copying "receipt"...                                                   Done
Determining package architecture...                                    i486
Creating the list of files...                                          Done
Creating md5sum of files...                                            Done
Compressing the FS...                                                  Done
Creating full cpio archive...                                          Done
QA: checking for empty package...                                      Done
Removing old package "zsync-0.6.2-i486.tazpkg"                         Done
The release checksum has changed.
================================================================================
Package "zsync-0.6.2-i486.tazpkg" created


Post-check
================================================================================
Checking build...                                                      Done
Checking 'any' arch...                                                 Done
Checking libtool in source/zsync-0.6.2...                              Done
Checking site script in source/zsync-0.6.2...                          Done
Checking ownership in install...                                       Done
Checking permissions in install...                                     Done
Checking broken symlinks in install...                                 Done
Querying Repology...                                                   Done
Updating activity log...                                               Done
================================================================================


Summary for: zsync 0.6.2
================================================================================
Src file    : zsync-0.6.2.tar.bz2
Src size    : 240.0K
Source dir  : 2.7M
Produced    : 208.0K
Cook time   : 13s
Cook date   : 2020-07-20 17:07
Target arch : i486
--------------------------------------------------------------------------------
 # :  Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
 1 :  176.0K :      50.1K :     2 : zsync-0.6.2-i486.tazpkg
================================================================================