Cook: libgringotts 1.2.1
================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing (pkg/local): bzip2-dev-1.0.8-i486
Installing (pkg/local): zlib-dev-1.2.11-any
Installing (pkg/local): libmcrypt-2.5.8-i486
Installing (pkg/local): libmcrypt-dev-2.5.8-any
Installing (pkg/local): mhash-0.9.9.9-i486
Installing (pkg/local): mhash-dev-0.9.9.9-i486
Extracting source archive "libgringotts-1.2.1.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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i486-slitaz-linux-gnu
checking host system type... i486-slitaz-linux-gnu
checking for style of include used by make... GNU
checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking dependency style of i486-slitaz-linux-gcc... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i486-slitaz-linux-nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/i486-slitaz-linux-nm -B output... ok
checking how to run the C preprocessor... i486-slitaz-linux-gcc -E
checking for egrep... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib
checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip
checking for objdir... .libs
checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC
checking if i486-slitaz-linux-gcc PIC flag -fPIC works... yes
checking if i486-slitaz-linux-gcc static flag -static works... yes
checking if i486-slitaz-linux-gcc supports -c -o file.o... yes
checking if i486-slitaz-linux-gcc supports -c -o file.lo... yes
checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether we are using the GNU C compiler... (cached) yes
checking whether i486-slitaz-linux-gcc accepts -g... (cached) yes
checking for i486-slitaz-linux-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i486-slitaz-linux-gcc... (cached) none
checking for X... no
checking for /dev/random... yes
checking for compress2 in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for libmcrypt... yes
checking for mhash_keygen in -lmhash... yes
checking mhash.h usability... yes
checking mhash.h presence... yes
checking for mhash.h... yes
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for fcntl... yes
checking for fsync... yes
checking for lstat... yes
checking for stat... yes
checking for umask... yes
checking for utime... yes
checking for memmove... yes
checking for size_t... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating docs/Makefile
config.status: creating libgringotts.spec
config.status: creating libgringotts.pc
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
Making all in src
make[2]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/src'
/bin/sh ../libtool --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith  -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -c -o libgrg_crypt.lo `test -f 'libgrg_crypt.c' || echo './'`libgrg_crypt.c
/bin/sh ../libtool --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith  -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -c -o libgrg_structs.lo `test -f 'libgrg_structs.c' || echo './'`libgrg_structs.c
/bin/sh ../libtool --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith  -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -c -o libgrg_utils.lo `test -f 'libgrg_utils.c' || echo './'`libgrg_utils.c
/bin/sh ../libtool --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith  -D_GLIBCXX_USE_C99_MATH=1  -march=i486 -Os -pipe -mindirect-branch=thunk -c -o libgrg_tmp.lo `test -f 'libgrg_tmp.c' || echo './'`libgrg_tmp.c
mkdir .libs
mkdir .libs
mkdir: can't create directory '.libs': File exists
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_crypt.c  -fPIC -DPIC -o .libs/libgrg_crypt.lo
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_tmp.c  -fPIC -DPIC -o .libs/libgrg_tmp.lo
rm -f .libs/libgrg_structs.lo
rm -f .libs/libgrg_utils.lo
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_structs.c  -fPIC -DPIC -o .libs/libgrg_structs.lo
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_utils.c  -fPIC -DPIC -o .libs/libgrg_utils.lo
libgrg_tmp.c: In function 'grg_tmpfile_gen':
libgrg_tmp.c:62:23: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign]
   mcrypt_module_open (grg2mcrypt (ca), NULL, MCRYPT_CFB, NULL);
                       ^~~~~~~~~~~~~~~
In file included from /usr/include/mcrypt.h:4,
                 from libgrg_structs.h:27,
                 from libgrg_tmp.c:26:
/usr/include/mutils/mcrypt.h:38:9: note: expected 'char *' but argument is of type 'unsigned char *'
  MCRYPT mcrypt_module_open(char *algorithm,
         ^~~~~~~~~~~~~~~~~~
libgrg_tmp.c: In function 'grg_tmpfile_write':
libgrg_tmp.c:109:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  dim = (data_len < 0) ? strlen (data) : data_len;
                                 ^~~~
In file included from libgrg_tmp.c:22:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_tmp.c:122:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write (tf->tmpfd, &dim, sizeof (long)); //without considering endianity, since we
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libgrg_tmp.c:123:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write (tf->tmpfd, tocrypt, dim + HEADER_LEN); //read and write on the same system.
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libgrg_tmp.c: In function 'grg_tmpfile_read':
libgrg_tmp.c:152:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read (tf->tmpfd, &dim, sizeof (long));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libgrg_tmp.c:158:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read (tf->tmpfd, enc_data, dim + HEADER_LEN);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libgrg_structs.c:30:
../config.h:77: warning: "PACKAGE" redefined
 #define PACKAGE "libgringotts"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:186: note: this is the location of the previous definition
 #define PACKAGE "mhash"
 
In file included from libgrg_structs.c:30:
../config.h:80: warning: "PACKAGE_BUGREPORT" redefined
 #define PACKAGE_BUGREPORT "mano@pluto.linux.it"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:189: note: this is the location of the previous definition
 #define PACKAGE_BUGREPORT "mhash-devel@sourceforge.net"
 
In file included from libgrg_structs.c:30:
../config.h:83: warning: "PACKAGE_NAME" redefined
 #define PACKAGE_NAME "libgringotts"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:192: note: this is the location of the previous definition
 #define PACKAGE_NAME "MHASH"
 
In file included from libgrg_structs.c:30:
../config.h:86: warning: "PACKAGE_STRING" redefined
 #define PACKAGE_STRING "libgringotts 1.2.1"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:195: note: this is the location of the previous definition
 #define PACKAGE_STRING "MHASH 0.9.9"
 
In file included from libgrg_structs.c:30:
../config.h:89: warning: "PACKAGE_TARNAME" redefined
 #define PACKAGE_TARNAME "libgringotts"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:198: note: this is the location of the previous definition
 #define PACKAGE_TARNAME "mhash"
 
In file included from libgrg_structs.c:30:
../config.h:92: warning: "PACKAGE_VERSION" redefined
 #define PACKAGE_VERSION "1.2.1"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:201: note: this is the location of the previous definition
 #define PACKAGE_VERSION "0.9.9"
 
In file included from libgrg_structs.c:30:
../config.h:101: warning: "VERSION" redefined
 #define VERSION "1.2.1"
 
In file included from /usr/include/mutils/mhash.h:30,
                 from /usr/include/mhash.h:10,
                 from libgrg_structs.c:28:
/usr/include/mutils/mhash_config.h:213: note: this is the location of the previous definition
 #define VERSION "0.9.9"
 
libgrg_structs.c: In function 'grg_context_initialize':
libgrg_structs.c:84:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  if (!header || (strlen (header) != HEADER_LEN))
                          ^~~~~~
In file included from libgrg_structs.c:26:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_crypt.c: In function 'grg2mcrypt':
libgrg_crypt.c:141:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_RIJNDAEL_128;
          ^~~~~~~~~~~~~~~~~~~
libgrg_crypt.c:144:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_SERPENT;
          ^~~~~~~~~~~~~~
libgrg_crypt.c:147:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_TWOFISH;
          ^~~~~~~~~~~~~~
libgrg_crypt.c:150:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_CAST_256;
          ^~~~~~~~~~~~~~~
libgrg_crypt.c:153:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_SAFERPLUS;
          ^~~~~~~~~~~~~~~~
libgrg_crypt.c:156:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_LOKI97;
          ^~~~~~~~~~~~~
libgrg_crypt.c:159:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_3DES;
          ^~~~~~~~~~~
libgrg_crypt.c:162:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_RIJNDAEL_256;
          ^~~~~~~~~~~~~~~~~~~
libgrg_crypt.c:165:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
   return MCRYPT_SERPENT;
          ^~~~~~~~~~~~~~
libgrg_structs.c: In function 'grg_key_gen':
libgrg_crypt.c: In function 'validate_mem':
libgrg_structs.c:207:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
   real_pwd_len = strlen (pwd);
                          ^~~
In file included from libgrg_structs.c:26:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_crypt.c:198:22: warning: pointer targets in passing argument 1 of 'compare_CRC32' differ in signedness [-Wpointer-sign]
  if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN))
                      ^~~
libgrg_crypt.c:114:1: note: expected 'const unsigned char *' but argument is of type 'char *'
 compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck,
 ^~~~~~~~~~~~~
libgrg_crypt.c:198:31: warning: pointer targets in passing argument 2 of 'compare_CRC32' differ in signedness [-Wpointer-sign]
  if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN))
libgrg_crypt.c:114:1: note: expected 'const unsigned char *' but argument is of type 'char *'
 compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck,
 ^~~~~~~~~~~~~
libgrg_crypt.c: In function 'select_key':
libgrg_crypt.c:226:21: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign]
   key = grg_memdup (((*dim ==
                     ~~~~~~~~~
          24) ? keystruct->
          ~~~~~~~~~~~~~~~~~
         key_192_sha : keystruct->key_256_sha),
         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libgrg_crypt.c:32:
libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *'
 unsigned char *grg_memdup (const unsigned char *src, const long len);
                ^~~~~~~~~~
libgrg_crypt.c:231:22: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign]
   key = grg_memdup (((*dim ==
                     ~~~~~~~~~
          24) ? keystruct->
          ~~~~~~~~~~~~~~~~~
         key_192_ripe : keystruct->key_256_ripe),
         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libgrg_crypt.c:32:
libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *'
 unsigned char *grg_memdup (const unsigned char *src, const long len);
                ^~~~~~~~~~
libgrg_crypt.c: In function 'decrypt_mem':
libgrg_crypt.c:251:19: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign]
  IV = grg_memdup (tmp, dIV);
                   ^~~
In file included from libgrg_crypt.c:32:
libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *'
 unsigned char *grg_memdup (const unsigned char *src, const long len);
                ^~~~~~~~~~
libgrg_crypt.c:259:23: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign]
  ecdata = grg_memdup (tmp, len);
                       ^~~
In file included from libgrg_crypt.c:32:
libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *'
 unsigned char *grg_memdup (const unsigned char *src, const long len);
                ^~~~~~~~~~
libgrg_crypt.c:270:28: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign]
  mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mcrypt.h:4,
                 from libgrg_structs.h:27,
                 from libgrg_crypt.c:33:
/usr/include/mutils/mcrypt.h:38:9: note: expected 'char *' but argument is of type 'unsigned char *'
  MCRYPT mcrypt_module_open(char *algorithm,
         ^~~~~~~~~~~~~~~~~~
libgrg_crypt.c:350:38: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign]
    err = BZ2_bzBuffToBuffDecompress ((unsigned char *)
                                      ^~~~~~~~~~~~~~~~~
          tmpData, (unsigned int *) &oDim,
          ~~~~~~~                      
In file included from libgrg_crypt.c:38:
/usr/include/bzlib.h:214:15: note: expected 'char *' but argument is of type 'unsigned char *'
 BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffDecompress) (
               ^~~~~~
libgrg_crypt.c:352:10: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign]
          (unsigned char *) curdata, curlen,
          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libgrg_crypt.c:38:
/usr/include/bzlib.h:214:15: note: expected 'char *' but argument is of type 'unsigned char *'
 BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffDecompress) (
               ^~~~~~
libgrg_crypt.c:355:31: warning: pointer targets in passing argument 2 of 'uncompress' differ in signedness [-Wpointer-sign]
    err = uncompress (tmpData, &oDim, curdata, curlen);
                               ^~~~~
In file included from libgrg_crypt.c:37:
/usr/include/zlib.h:1265:21: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *'
 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest,   uLongf *destLen,
                     ^~~~~~~~~~
libgrg_crypt.c: In function 'grg_encrypt_mem':
libgrg_crypt.c:399:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  uncDim = (origDim < 0) ? strlen (origData) : origDim;
                                   ^~~~~~~~
In file included from libgrg_crypt.c:22:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_crypt.c:408:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
   compData = (char *) malloc (compDim);
            ^
libgrg_crypt.c:414:36: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign]
    err = BZ2_bzBuffToBuffCompress (compData,
                                    ^~~~~~~~
In file included from libgrg_crypt.c:38:
/usr/include/bzlib.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *'
 BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffCompress) (
               ^~~~~~
libgrg_crypt.c:417:8: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign]
        (unsigned char *)
        ^~~~~~~~~~~~~~~~~
        origData, uncDim,
        ~~~~~~~~
In file included from libgrg_crypt.c:38:
/usr/include/bzlib.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *'
 BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffCompress) (
               ^~~~~~
libgrg_crypt.c:422:31: warning: pointer targets in passing argument 2 of 'compress2' differ in signedness [-Wpointer-sign]
    err = compress2 (compData, &compDim, origData, uncDim,
                               ^~~~~~~~
In file included from libgrg_crypt.c:37:
/usr/include/zlib.h:1242:21: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *'
 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest,   uLongf *destLen,
                     ^~~~~~~~~
libgrg_crypt.c:472:28: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign]
  mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mcrypt.h:4,
                 from libgrg_structs.h:27,
                 from libgrg_crypt.c:33:
/usr/include/mutils/mcrypt.h:38:9: note: expected 'char *' but argument is of type 'unsigned char *'
  MCRYPT mcrypt_module_open(char *algorithm,
         ^~~~~~~~~~~~~~~~~~
libgrg_crypt.c:491:37: warning: pointer targets in passing argument 3 of 'select_key' differ in signedness [-Wpointer-sign]
  key = select_key (gctx, keystruct, &dKey);
                                     ^~~~~
libgrg_crypt.c:214:1: note: expected 'int *' but argument is of type 'unsigned int *'
 select_key (const GRG_CTX gctx, const GRG_KEY keystruct, int *dim)
 ^~~~~~~~~~
libgrg_crypt.c: In function 'grg_validate_file':
libgrg_crypt.c:601:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  fd = open (path, O_RDONLY);
             ^~~~
In file included from /usr/include/fcntl.h:328,
                 from libgrg_crypt.c:26:
/usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
 open (const char *__path, int __oflag, ...)
 ^~~~
libgrg_crypt.c: In function 'grg_update_gctx_from_file':
libgrg_crypt.c:649:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  fd = open (path, O_RDONLY);
             ^~~~
In file included from /usr/include/fcntl.h:328,
                 from libgrg_crypt.c:26:
/usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
 open (const char *__path, int __oflag, ...)
 ^~~~
libgrg_crypt.c: In function 'grg_decrypt_file':
libgrg_crypt.c:702:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  fd = open (path, O_RDONLY);
             ^~~~
In file included from /usr/include/fcntl.h:328,
                 from libgrg_crypt.c:26:
/usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
 open (const char *__path, int __oflag, ...)
 ^~~~
libgrg_crypt.c: In function 'grg_encrypt_file':
libgrg_crypt.c:754:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  fd = open (path, O_WRONLY | O_CREAT | O_TRUNC,
             ^~~~
In file included from /usr/include/fcntl.h:328,
                 from libgrg_crypt.c:26:
/usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
 open (const char *__path, int __oflag, ...)
 ^~~~
libgrg_crypt.c:762:11: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
   unlink (path);
           ^~~~
In file included from libgrg_crypt.c:24:
/usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern int unlink (const char *__name) __THROW __nonnull ((1));
            ^~~~~~
libgrg_crypt.c: In function 'grg_encrypt_file_direct':
libgrg_crypt.c:734:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write (fd, mem, memDim);
  ^~~~~~~~~~~~~~~~~~~~~~~
libgrg_utils.c: In function 'grg_rnd_seq_direct':
libgrg_utils.c:225:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
   csize = strlen (toOverwrite);
                   ^~~~~~~~~~~
In file included from libgrg_utils.c:29:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_utils.c: In function 'grg_free':
libgrg_utils.c:307:29: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign]
   grg_rnd_seq_direct (gctx, pntr, (dim >= 0) ? dim : strlen (pntr));
                             ^~~~
libgrg_utils.c:216:1: note: expected 'unsigned char *' but argument is of type 'char *'
 grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite,
 ^~~~~~~~~~~~~~~~~~
libgrg_utils.c: In function 'grg_file_pwd_quality':
libgrg_utils.c:442:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
  pdf = open (pwd_path, O_RDONLY);
              ^~~~~~~~
In file included from /usr/include/fcntl.h:328,
                 from libgrg_utils.c:35:
/usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *'
 open (const char *__path, int __oflag, ...)
 ^~~~
libgrg_utils.c: In function 'grg_encode64':
libgrg_utils.c:490:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  origlen = (inlen >= 0) ? inlen : strlen (in);
                                           ^~
In file included from libgrg_utils.c:29:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_utils.c: In function 'grg_decode64':
libgrg_utils.c:536:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  tmpinlen = (inlen >= 0) ? inlen : strlen (in);
                                            ^~
In file included from libgrg_utils.c:29:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
libgrg_utils.c:589:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
  return ret;
         ^~~
libgrg_utils.c: In function 'grg_file_shred':
libgrg_utils.c:631:42: warning: pointer targets in passing argument 1 of 'grg_context_initialize_defaults' differ in signedness [-Wpointer-sign]
  gctx = grg_context_initialize_defaults ("GRG");
                                          ^~~~~
In file included from libgrg_utils.c:23:
libgringotts.h:140:9: note: expected 'const unsigned char *' but argument is of type 'char *'
 GRG_CTX grg_context_initialize_defaults (const unsigned char *header);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libgrg_utils.c:646:29: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign]
   grg_rnd_seq_direct (gctx, mem, dim);
                             ^~~
libgrg_utils.c:216:1: note: expected 'unsigned char *' but argument is of type 'char *'
 grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite,
 ^~~~~~~~~~~~~~~~~~
libgrg_utils.c: In function 'grg_rnd_seq_direct':
libgrg_utils.c:228:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read (gctx->rnd, toOverwrite, csize);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libgrg_utils.c: In function 'grg_rnd_chr':
libgrg_utils.c:284:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
  read (gctx->rnd, &rnd, 1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_tmp.c -o libgrg_tmp.o >/dev/null 2>&1
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_structs.c -o libgrg_structs.o >/dev/null 2>&1
mv -f .libs/libgrg_tmp.lo libgrg_tmp.lo
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_utils.c -o libgrg_utils.o >/dev/null 2>&1
i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -c libgrg_crypt.c -o libgrg_crypt.o >/dev/null 2>&1
mv -f .libs/libgrg_structs.lo libgrg_structs.lo
mv -f .libs/libgrg_utils.lo libgrg_utils.lo
mv -f .libs/libgrg_crypt.lo libgrg_crypt.lo
/bin/sh ../libtool --mode=link i486-slitaz-linux-gcc  -march=i486 -Os -pipe -mindirect-branch=thunk  -Wl,-Os,--as-needed -o libgringotts.la -rpath /usr/lib -version-info 2:7:0 libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -L/usr/lib -lmcrypt -lmhash -lm 
rm -fr .libs/libgringotts.la .libs/libgringotts.* .libs/libgringotts.*
i486-slitaz-linux-gcc -Wl,-Os,--as-needed -shared  libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo  -lz -lbz2 -L/usr/lib -lmcrypt -lmhash -lm  -Wl,-Os -Wl,--as-needed -Wl,-soname -Wl,libgringotts.so.2 -o .libs/libgringotts.so.2.0.7
(cd .libs && rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2)
(cd .libs && rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so)
ar cru .libs/libgringotts.a  libgrg_crypt.o libgrg_structs.o libgrg_utils.o libgrg_tmp.o 
i486-slitaz-linux-ranlib .libs/libgringotts.a
creating libgringotts.la
(cd .libs && rm -f libgringotts.la && ln -s ../libgringotts.la libgringotts.la)
make[2]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/src'
Making all in docs
make[2]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/docs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/docs'
make[2]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
make[2]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
make[1]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
Making install in src
make[1]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/src'
make[2]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/src'
/bin/sh ../mkinstalldirs /home/slitaz/wok/libgringotts/install/usr/lib
/bin/sh ../mkinstalldirs /home/slitaz/wok/libgringotts/install/usr/include
mkdir -p -- /home/slitaz/wok/libgringotts/install/usr/lib
mkdir -p -- /home/slitaz/wok/libgringotts/install/usr/include
 /usr/bin/install -c -m 644 libgringotts.h /home/slitaz/wok/libgringotts/install/usr/include/libgringotts.h
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libgringotts.la /home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.la
/usr/bin/install -c .libs/libgringotts.so.2.0.7 /home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.so.2.0.7
(cd /home/slitaz/wok/libgringotts/install/usr/lib && rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2)
(cd /home/slitaz/wok/libgringotts/install/usr/lib && rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so)
/usr/bin/install -c .libs/libgringotts.lai /home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.la
/usr/bin/install -c .libs/libgringotts.a /home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.a
i486-slitaz-linux-ranlib /home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.a
chmod 644 /home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[2]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/src'
make[1]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/src'
Making install in docs
make[1]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/docs'
make[2]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/docs'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/sh ../mkinstalldirs /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1
mkdir -p -- /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1
 /usr/bin/install -c -m 644 manual.htm /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/manual.htm
make[2]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/docs'
make[1]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1/docs'
make[1]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
make[2]: Entering directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
mkdir -p /home/slitaz/wok/libgringotts/install/usr/lib/pkgconfig/
/bin/sh ./mkinstalldirs /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1
cp libgringotts.pc /home/slitaz/wok/libgringotts/install/usr/lib/pkgconfig/


 /usr/bin/install -c -m 644 TODO /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/TODO
----------------------------------------------------------------------
md5sum of relevant files:
 /usr/bin/install -c -m 644 NEWS /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/NEWS

/home/slitaz/wok/libgringotts/install/usr/lib/libgringotts.so :
7e61c46333ecdc58c4277ebb3f90c381
 /usr/bin/install -c -m 644 AUTHORS /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/AUTHORS

 /usr/bin/install -c -m 644 README /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/README
/home/slitaz/wok/libgringotts/install/usr/include/libgringotts.h :
5fdec1de5974752706277437bbc1d912

use these values to check library integrity at any time
----------------------------------------------------------------------
 /usr/bin/install -c -m 644 COPYING /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/COPYING


 /usr/bin/install -c -m 644 ChangeLog /home/slitaz/wok/libgringotts/install/usr/share/doc/libgringotts-1.2.1/ChangeLog
make[2]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
make[1]: Leaving directory '/home/slitaz/wok/libgringotts/source/libgringotts-1.2.1'
================================================================================

Executing strip on all files...                                        Done
  Time: 0.60s. Size: 53756 B -> 47832 B. Save: 6 KB.
================================================================================


Build dependencies to remove: 6
Removing: bzip2-dev libmcrypt libmcrypt-dev mhash mhash-dev zlib-dev


Pack: libgringotts 1.2.1
================================================================================
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 "libgringotts-1.2.1-i486.tazpkg"                  Done
The release checksum has changed.
================================================================================
Package "libgringotts-1.2.1-i486.tazpkg" created


Pack: libgringotts-dev 1.2.1
================================================================================
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
The release checksum has not changed.
================================================================================
Package "libgringotts-dev-1.2.1-i486.tazpkg" created


Post-check
================================================================================
Checking build...                                                      Done
Checking 'any' arch...                                                 Done
Checking libtool in source/libgringotts-1.2.1...                       Done
Checking site script in source/libgringotts-1.2.1...                   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: libgringotts 1.2.1
================================================================================
Src file    : libgringotts-1.2.1.tar.bz2
Src size    : 164.0K
Source dir  : 1.4M
Produced    : 176.0K
Cook time   : 19s
Cook date   : 2020-09-12 17:42
Target arch : i486
--------------------------------------------------------------------------------
 # :  Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
 1 :   56.0K :       9.7K :     2 : libgringotts-1.2.1-i486.tazpkg
 2 :   72.0K :      10.7K :     4 : libgringotts-dev-1.2.1-i486.tazpkg
================================================================================