==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: libgringotts 1.2.1-16 (Sun Aug 31 17:51:24 2025)
==> Retrieving sources...
  -> Found libgringotts-1.2.1.tar.bz2
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    libgringotts-1.2.1.tar.bz2 ... Passed
==> Making package: libgringotts 1.2.1-16 (Sun 31 Aug 2025 05:51:30 PM MDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) libmcrypt-2.5.8-7  mhash-0.9.9.9-6

Total Download Size:   0.17 MiB
Total Installed Size:  0.44 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mhash-0.9.9.9-6-aarch64 downloading...
 libmcrypt-2.5.8-7-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libmcrypt...
installing mhash...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libgringotts-1.2.1.tar.bz2
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting libgringotts-1.2.1.tar.bz2 with bsdtar
==> Starting prepare()...
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /usr/bin/autoconf --force
configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9610: AM_INIT_AUTOMAKE is expanded from...
configure.in:12: the top level
configure.in:13: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.in:13: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.in:13: the top level
configure.in:16: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:16: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:9889: AM_CONFIG_HEADER is expanded from...
configure.in:16: the top level
configure.in:30: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:30: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:30: the top level
configure.in:74: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:74: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:74: the top level
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: automake --add-missing --copy --force-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:12: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:13: installing './compile'
configure.in:12: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
==> Starting build()...
configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9610: AM_INIT_AUTOMAKE is expanded from...
configure.in:12: the top level
configure.in:13: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.in:13: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.in:13: the top level
configure.in:16: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:16: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:9889: AM_CONFIG_HEADER is expanded from...
configure.in:16: the top level
configure.in:30: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:30: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:30: the top level
configure.in:74: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:74: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:74: the top level
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for /dev/random... yes
checking for compress2 in -lz... yes
checking for zlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for bzlib.h... yes
checking for libmcrypt... yes
checking for mhash_keygen in -lmhash... yes
checking for mhash.h... yes
checking whether stat file-mode macros are broken... no
checking for egrep... (cached) /usr/bin/grep -E
checking for sys/types.h... (cached) yes
checking for fcntl.h... yes
checking for signal.h... yes
checking for unistd.h... (cached) 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
checking that generated files are newer than configure... done
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
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1'
Making all in src
make[2]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith    -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT libgrg_crypt.lo -MD -MP -MF .deps/libgrg_crypt.Tpo -c -o libgrg_crypt.lo libgrg_crypt.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith    -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT libgrg_structs.lo -MD -MP -MF .deps/libgrg_structs.Tpo -c -o libgrg_structs.lo libgrg_structs.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith    -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT libgrg_utils.lo -MD -MP -MF .deps/libgrg_utils.Tpo -c -o libgrg_utils.lo libgrg_utils.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith    -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT libgrg_tmp.lo -MD -MP -MF .deps/libgrg_tmp.Tpo -c -o libgrg_tmp.lo libgrg_tmp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_tmp.lo -MD -MP -MF .deps/libgrg_tmp.Tpo -c libgrg_tmp.c  -fPIC -DPIC -o .libs/libgrg_tmp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_crypt.lo -MD -MP -MF .deps/libgrg_crypt.Tpo -c libgrg_crypt.c  -fPIC -DPIC -o .libs/libgrg_crypt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_utils.lo -MD -MP -MF .deps/libgrg_utils.Tpo -c libgrg_utils.c  -fPIC -DPIC -o .libs/libgrg_utils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_structs.lo -MD -MP -MF .deps/libgrg_structs.Tpo -c libgrg_structs.c  -fPIC -DPIC -o .libs/libgrg_structs.o
In file included from libgrg_structs.c:30:
../config.h:80:9: warning: "PACKAGE" redefined
   80 | #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:9: note: this is the location of the previous definition
  186 | #define PACKAGE "mhash"
      |         ^~~~~~~
../config.h:83:9: warning: "PACKAGE_BUGREPORT" redefined
   83 | #define PACKAGE_BUGREPORT "mano@pluto.linux.it"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/mutils/mhash_config.h:189:9: note: this is the location of the previous definition
  189 | #define PACKAGE_BUGREPORT "mhash-devel@sourceforge.net"
      |         ^~~~~~~~~~~~~~~~~
../config.h:86:9: warning: "PACKAGE_NAME" redefined
   86 | #define PACKAGE_NAME "libgringotts"
      |         ^~~~~~~~~~~~
/usr/include/mutils/mhash_config.h:192:9: note: this is the location of the previous definition
  192 | #define PACKAGE_NAME "MHASH"
      |         ^~~~~~~~~~~~
../config.h:89:9: warning: "PACKAGE_STRING" redefined
   89 | #define PACKAGE_STRING "libgringotts 1.2.1"
      |         ^~~~~~~~~~~~~~
/usr/include/mutils/mhash_config.h:195:9: note: this is the location of the previous definition
  195 | #define PACKAGE_STRING "MHASH 0.9.9"
      |         ^~~~~~~~~~~~~~
../config.h:92:9: warning: "PACKAGE_TARNAME" redefined
   92 | #define PACKAGE_TARNAME "libgringotts"
      |         ^~~~~~~~~~~~~~~
/usr/include/mutils/mhash_config.h:198:9: note: this is the location of the previous definition
  198 | #define PACKAGE_TARNAME "mhash"
      |         ^~~~~~~~~~~~~~~
../config.h:98:9: warning: "PACKAGE_VERSION" redefined
   98 | #define PACKAGE_VERSION "1.2.1"
      |         ^~~~~~~~~~~~~~~
/usr/include/mutils/mhash_config.h:201:9: note: this is the location of the previous definition
  201 | #define PACKAGE_VERSION "0.9.9"
      |         ^~~~~~~~~~~~~~~
../config.h:109:9: warning: "VERSION" redefined
  109 | #define VERSION "1.2.1"
      |         ^~~~~~~
/usr/include/mutils/mhash_config.h:213:9: note: this is the location of the previous definition
  213 | #define VERSION "0.9.9"
      |         ^~~~~~~
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]
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:34: note: expected 'char *' but argument is of type 'unsigned char *'
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]
In file included from libgrg_tmp.c:22:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *'
  407 | 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]
libgrg_tmp.c:123:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
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]
libgrg_tmp.c:158:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_tmp.lo -MD -MP -MF .deps/libgrg_tmp.Tpo -c libgrg_tmp.c -o libgrg_tmp.o >/dev/null 2>&1
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]
In file included from libgrg_structs.c:26:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
libgrg_structs.c: In function 'grg_key_gen':
libgrg_structs.c:207:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
In function 'reinit_random',
    inlined from 'grg_context_initialize' at libgrg_structs.c:77:7:
libgrg_structs.c:44:10: warning: '*ret.sec_lvl' may be used uninitialized [-Wmaybe-uninitialized]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_structs.lo -MD -MP -MF .deps/libgrg_structs.Tpo -c libgrg_structs.c -o libgrg_structs.o >/dev/null 2>&1
mv -f .deps/libgrg_tmp.Tpo .deps/libgrg_tmp.Plo
libgrg_crypt.c: In function 'validate_mem':
libgrg_crypt.c:198:22: warning: pointer targets in passing argument 1 of 'compare_CRC32' differ in signedness [-Wpointer-sign]
libgrg_crypt.c:114:37: note: expected 'const unsigned char *' but argument is of type 'char *'
libgrg_crypt.c:198:31: warning: pointer targets in passing argument 2 of 'compare_CRC32' differ in signedness [-Wpointer-sign]
libgrg_crypt.c:114:63: note: expected 'const unsigned char *' but argument is of type 'char *'
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]
In file included from libgrg_crypt.c:32:
libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *'
libgrg_crypt.c:231:22: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign]
libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *'
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]
libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *'
libgrg_crypt.c:259:23: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign]
libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *'
libgrg_crypt.c:270:28: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign]
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:34: note: expected 'char *' but argument is of type 'unsigned char *'
libgrg_crypt.c:350:38: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign]
In file included from libgrg_crypt.c:38:
/usr/include/bzlib.h:215:13: note: expected 'char *' but argument is of type 'unsigned char *'
  215 |       char*         dest,
      |       ~~~~~~^~~~
libgrg_crypt.c:352:10: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign]
/usr/include/bzlib.h:217:13: note: expected 'char *' but argument is of type 'unsigned char *'
  217 |       char*         source,
      |       ~~~~~~^~~~~~
libgrg_crypt.c:355:31: warning: pointer targets in passing argument 2 of 'uncompress' differ in signedness [-Wpointer-sign]
In file included from libgrg_crypt.c:37:
/usr/include/zlib.h:1270:44: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *'
 1270 | ZEXTERN int ZEXPORT uncompress(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]
In file included from libgrg_crypt.c:22:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *'
  407 | 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]
libgrg_crypt.c:414:36: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign]
/usr/include/bzlib.h:205:13: note: expected 'char *' but argument is of type 'unsigned char *'
  205 |       char*         dest,
      |       ~~~~~~^~~~
libgrg_crypt.c:417:8: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign]
/usr/include/bzlib.h:207:13: note: expected 'char *' but argument is of type 'unsigned char *'
  207 |       char*         source,
      |       ~~~~~~^~~~~~
libgrg_crypt.c:422:31: warning: pointer targets in passing argument 2 of 'compress2' differ in signedness [-Wpointer-sign]
/usr/include/zlib.h:1247:43: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *'
 1247 | ZEXTERN int ZEXPORT compress2(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]
/usr/include/mutils/mcrypt.h:38:34: note: expected 'char *' but argument is of type 'unsigned char *'
libgrg_crypt.c:491:37: warning: pointer targets in passing argument 3 of 'select_key' differ in signedness [-Wpointer-sign]
libgrg_crypt.c:214:63: note: expected 'int *' but argument is of type 'unsigned int *'
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]
In file included from /usr/include/fcntl.h:341,
                 from libgrg_crypt.c:26:
/usr/include/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *'
   43 | 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]
/usr/include/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *'
   43 | 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]
/usr/include/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *'
   43 | 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]
/usr/include/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *'
   43 | 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]
In file included from libgrg_crypt.c:24:
/usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'const unsigned char *'
  858 | 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]
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]
In file included from libgrg_utils.c:29:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | 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]
libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *'
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]
In file included from /usr/include/fcntl.h:341,
                 from libgrg_utils.c:35:
/usr/include/bits/fcntl2.h:43:19: note: expected 'const char *' but argument is of type 'const unsigned char *'
   43 | 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]
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *'
  407 | 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]
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *'
  407 | 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]
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]
In file included from libgrg_utils.c:23:
libgringotts.h:140:63: note: expected 'const unsigned char *' but argument is of type 'char *'
libgrg_utils.c:646:29: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign]
libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *'
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]
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]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_crypt.lo -MD -MP -MF .deps/libgrg_crypt.Tpo -c libgrg_crypt.c -o libgrg_crypt.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT libgrg_utils.lo -MD -MP -MF .deps/libgrg_utils.Tpo -c libgrg_utils.c -o libgrg_utils.o >/dev/null 2>&1
mv -f .deps/libgrg_structs.Tpo .deps/libgrg_structs.Plo
mv -f .deps/libgrg_crypt.Tpo .deps/libgrg_crypt.Plo
mv -f .deps/libgrg_utils.Tpo .deps/libgrg_utils.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -version-info 2:7:0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o libgringotts.la -rpath /usr/lib libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -L/usr/lib -lmcrypt -lmhash -lm 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libgrg_crypt.o .libs/libgrg_structs.o .libs/libgrg_utils.o .libs/libgrg_tmp.o   -lz -lbz2 -L/usr/lib -lmcrypt -lmhash -lm  -march=armv8-a -O2 -Werror=format-security -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libgringotts.so.2 -o .libs/libgringotts.so.2.0.7
libtool: link: (cd ".libs" && rm -f "libgringotts.so.2" && ln -s "libgringotts.so.2.0.7" "libgringotts.so.2")
libtool: link: (cd ".libs" && rm -f "libgringotts.so" && ln -s "libgringotts.so.2.0.7" "libgringotts.so")
libtool: link: ar cr .libs/libgringotts.a  libgrg_crypt.o libgrg_structs.o libgrg_utils.o libgrg_tmp.o
libtool: link: ranlib .libs/libgringotts.a
libtool: link: ( cd ".libs" && rm -f "libgringotts.la" && ln -s "../libgringotts.la" "libgringotts.la" )
make[2]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1/src'
Making all in docs
make[2]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1/docs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1/docs'
make[2]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1'
make[2]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1'
make[1]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1/src'
make[2]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1/src'
 /usr/bin/mkdir -p '/build/libgringotts/pkg/libgringotts/usr/lib'
 /usr/bin/mkdir -p '/build/libgringotts/pkg/libgringotts/usr/include'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libgringotts.la '/build/libgringotts/pkg/libgringotts/usr/lib'
 /usr/bin/install -c -m 644 libgringotts.h '/build/libgringotts/pkg/libgringotts/usr/include'
libtool: install: /usr/bin/install -c .libs/libgringotts.so.2.0.7 /build/libgringotts/pkg/libgringotts/usr/lib/libgringotts.so.2.0.7
libtool: install: (cd /build/libgringotts/pkg/libgringotts/usr/lib && { ln -s -f libgringotts.so.2.0.7 libgringotts.so.2 || { rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2; }; })
libtool: install: (cd /build/libgringotts/pkg/libgringotts/usr/lib && { ln -s -f libgringotts.so.2.0.7 libgringotts.so || { rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so; }; })
libtool: install: /usr/bin/install -c .libs/libgringotts.lai /build/libgringotts/pkg/libgringotts/usr/lib/libgringotts.la
libtool: install: /usr/bin/install -c .libs/libgringotts.a /build/libgringotts/pkg/libgringotts/usr/lib/libgringotts.a
libtool: install: chmod 644 /build/libgringotts/pkg/libgringotts/usr/lib/libgringotts.a
libtool: install: ranlib /build/libgringotts/pkg/libgringotts/usr/lib/libgringotts.a
libtool: warning: remember to run 'libtool --finish /usr/lib'
make[2]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1/src'
make[1]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1/src'
Making install in docs
make[1]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1/docs'
make[2]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1/docs'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/libgringotts/pkg/libgringotts/usr/share/doc/libgringotts-1.2.1'
 /usr/bin/install -c -m 644 manual.htm '/build/libgringotts/pkg/libgringotts/usr/share/doc/libgringotts-1.2.1'
make[2]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1/docs'
make[1]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1/docs'
make[1]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1'
make[2]: Entering directory '/build/libgringotts/src/libgringotts-1.2.1'
mkdir -p /build/libgringotts/pkg/libgringotts/usr/lib/pkgconfig/
cp libgringotts.pc /build/libgringotts/pkg/libgringotts/usr/lib/pkgconfig/
 /usr/bin/mkdir -p '/build/libgringotts/pkg/libgringotts/usr/share/doc/libgringotts-1.2.1'


 /usr/bin/install -c -m 644 TODO NEWS AUTHORS README COPYING ChangeLog '/build/libgringotts/pkg/libgringotts/usr/share/doc/libgringotts-1.2.1'
----------------------------------------------------------------------
md5sum of relevant files:

/build/libgringotts/pkg/libgringotts/usr/lib/libgringotts.so :
8d8332f74b4adbbc8f69f0df2055e422

/build/libgringotts/pkg/libgringotts/usr/include/libgringotts.h :
5fdec1de5974752706277437bbc1d912

use these values to check library integrity at any time
----------------------------------------------------------------------


make[2]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1'
make[1]: Leaving directory '/build/libgringotts/src/libgringotts-1.2.1'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libgringotts"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding changelog file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libgringotts 1.2.1-16 (Sun 31 Aug 2025 05:51:53 PM MDT)
==> Cleaning up...