Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libgringotts.spec'], chrootPath='/var/lib/mock/f31-build-94103-32450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libgringotts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1565654400 Wrote: /builddir/build/SRPMS/libgringotts-1.2.1-26.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libgringotts.spec'], chrootPath='/var/lib/mock/f31-build-94103-32450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libgringotts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1565654400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YowsUe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgringotts-1.2.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libgringotts-1.2.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libgringotts-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libgringotts-1.2.1-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (libgringotts-1.2.1-aarch64.patch): patching file config.guess patching file config.sub Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WaZRae + umask 022 + cd /builddir/build/BUILD + cd libgringotts-1.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static '/usr/lib/rpm/redhat/config.sub' -> './config.sub' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of 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... nm checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking command to parse nm output... ok checking how to run the C preprocessor... 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 riscv64-redhat-linux-gnu-file... no checking for file... /usr/bin/file checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if 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... no checking whether -lc should be explicitly linked in... no creating libtool checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of 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 BUILDSTDERR: checking utime.h+ make -j4 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 '/builddir/build/BUILD/libgringotts-1.2.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgrg_crypt.lo `test -f 'libgrg_crypt.c' || echo './'`libgrg_crypt.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgrg_structs.lo `test -f 'libgrg_structs.c' || echo './'`libgrg_structs.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgrg_utils.lo `test -f 'libgrg_utils.c' || echo './'`libgrg_utils.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libgrg_tmp.lo `test -f 'libgrg_tmp.c' || echo './'`libgrg_tmp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libgrg_structs.c -fPIC -DPIC -o libgrg_structs.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libgrg_crypt.c -fPIC -DPIC -o libgrg_crypt.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libgrg_utils.c -fPIC -DPIC -o libgrg_utils.lo BUILDSTDERR: libgrg_structs.c: In function 'grg_context_initialize': BUILDSTDERR: libgrg_structs.c:84:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 84 | if (!header || (strlen (header) != HEADER_LEN)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from libgrg_structs.c:26: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_structs.c: In function 'grg_key_gen': BUILDSTDERR: libgrg_structs.c:207:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 207 | real_pwd_len = strlen (pwd); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from libgrg_structs.c:26: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_tmp.c: In function 'grg_tmpfile_gen': BUILDSTDERR: libgrg_tmp.c:62:23: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 62 | mcrypt_module_open (grg2mcrypt (ca), NULL, MCRYPT_CFB, NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/mcrypt.h:4, BUILDSTDERR: from libgrg_structs.h:27, BUILDSTDERR: from libgrg_tmp.c:26: BUILDSTDERR: /usr/include/mutils/mcrypt.h:38:34: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 38 | MCRYPT mcrypt_module_open(char *algorithm, BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg2mcrypt': BUILDSTDERR: libgrg_crypt.c:141:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 141 | return MCRYPT_RIJNDAEL_128; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:144:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 144 | return MCRYPT_SERPENT; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:147:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 147 | return MCRYPT_TWOFISH; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:150:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 150 | return MCRYPT_CAST_256; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:153:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 153 | return MCRYPT_SAFERPLUS; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_tmp.c: In function 'grg_tmpfile_write': BUILDSTDERR: libgrg_tmp.c:109:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 109 | dim = (data_len < 0) ? strlen (data) : data_len; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: libgrg_crypt.c:156:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 156 | return MCRYPT_LOKI97; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:159:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 159 | return MCRYPT_3DES; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:162:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 162 | return MCRYPT_RIJNDAEL_256; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from libgrg_tmp.c:22: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_crypt.c:165:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 165 | return MCRYPT_SERPENT; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'validate_mem': BUILDSTDERR: libgrg_crypt.c:198:22: warning: pointer targets in passing argument 1 of 'compare_CRC32' differ in signedness [-Wpointer-sign] BUILDSTDERR: 198 | if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: libgrg_crypt.c:114:37: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 114 | compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_crypt.c:198:31: warning: pointer targets in passing argument 2 of 'compare_CRC32' differ in signedness [-Wpointer-sign] BUILDSTDERR: 198 | if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN)) BUILDSTDERR: libgrg_crypt.c:114:63: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 114 | compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'select_key': BUILDSTDERR: libgrg_crypt.c:226:21: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: 224 | key = grg_memdup (((*dim == BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: 225 | 24) ? keystruct-> BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: 226 | key_192_sha : keystruct->key_256_sha), BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from libgrg_crypt.c:32: BUILDSTDERR: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:231:22: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: 229 | key = grg_memdup (((*dim == BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: 230 | 24) ? keystruct-> BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: 231 | key_192_ripe : keystruct->key_256_ripe), BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from libgrg_crypt.c:32: BUILDSTDERR: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'decrypt_mem': BUILDSTDERR: libgrg_crypt.c:251:19: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: 251 | IV = grg_memdup (tmp, dIV); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from libgrg_crypt.c:32: BUILDSTDERR: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:259:23: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: 259 | ecdata = grg_memdup (tmp, len); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from libgrg_crypt.c:32: BUILDSTDERR: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:270:28: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 270 | mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/mcrypt.h:4, BUILDSTDERR: from libgrg_structs.h:27, BUILDSTDERR: from libgrg_crypt.c:33: BUILDSTDERR: /usr/include/mutils/mcrypt.h:38:34: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 38 | MCRYPT mcrypt_module_open(char *algorithm, BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:350:38: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 350 | err = BZ2_bzBuffToBuffDecompress ((unsigned char *) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: 351 | tmpData, (unsigned int *) &oDim, BUILDSTDERR: | ~~~~~~~ BUILDSTDERR: In file included from libgrg_crypt.c:38: BUILDSTDERR: /usr/include/bzlib.h:215:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 215 | char* dest, BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: libgrg_crypt.c:352:10: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 352 | (unsigned char *) curdata, curlen, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libgrg_crypt.c:38: BUILDSTDERR: /usr/include/bzlib.h:217:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 217 | char* source, BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c:355:31: warning: pointer targets in passing argument 2 of 'uncompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 355 | err = uncompress (tmpData, &oDim, curdata, curlen); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | long int * BUILDSTDERR: libgrg_utils.c: In function 'grg_rnd_seq_direct': BUILDSTDERR: libgrg_utils.c:225:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 225 | csize = strlen (toOverwrite); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libgrg_utils.c:29: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from /usr/include/zlib.h:34, BUILDSTDERR: from libgrg_crypt.c:37: BUILDSTDERR: /usr/include/zlib.h:1265:32: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *' BUILDSTDERR: 1265 | ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, BUILDSTDERR: | ^~ BUILDSTDERR: libgrg_tmp.c:122:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 122 | write (tf->tmpfd, &dim, sizeof (long)); //without considering endianity, since we BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_tmp.c:123:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 123 | write (tf->tmpfd, tocrypt, dim + HEADER_LEN); //read and write on the same system. BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_utils.c: In function 'grg_free': BUILDSTDERR: libgrg_utils.c:307:29: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] BUILDSTDERR: 307 | grg_rnd_seq_direct (gctx, pntr, (dim >= 0) ? dim : strlen (pntr)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 216 | grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg_encrypt_mem': BUILDSTDERR: libgrg_crypt.c:399:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 399 | uncDim = (origDim < 0) ? strlen (origData) : origDim; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from libgrg_crypt.c:22: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_utils.c: In function 'grg_file_pwd_quality': BUILDSTDERR: libgrg_utils.c:442:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 442 | pdf = open (pwd_path, O_RDONLY); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /usr/include/fcntl.h:328, BUILDSTDERR: from libgrg_utils.c:35: BUILDSTDERR: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 41 | open (const char *__path, int __oflag, ...) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_utils.c: In function 'grg_encode64': BUILDSTDERR: libgrg_utils.c:490:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 490 | origlen = (inlen >= 0) ? inlen : strlen (in); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from libgrg_utils.c:29: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_tmp.c: In function 'grg_tmpfile_read': BUILDSTDERR: libgrg_tmp.c:152:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 152 | read (tf->tmpfd, &dim, sizeof (long)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_tmp.c:158:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 158 | read (tf->tmpfd, enc_data, dim + HEADER_LEN); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:408:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 408 | compData = (char *) malloc (compDim); BUILDSTDERR: | ^ BUILDSTDERR: libgrg_crypt.c:414:36: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 414 | err = BZ2_bzBuffToBuffCompress (compData, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libgrg_crypt.c:38: BUILDSTDERR: /usr/include/bzlib.h:205:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 205 | char* dest, BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ BUILDSTDERR: libgrg_crypt.c:417:8: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 417 | (unsigned char *) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: 418 | origData, uncDim, BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from libgrg_crypt.c:38: BUILDSTDERR: /usr/include/bzlib.h:207:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 207 | char* source, BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c:422:31: warning: pointer targets in passing argument 2 of 'compress2' differ in signedness [-Wpointer-sign] BUILDSTDERR: 422 | err = compress2 (compData, &compDim, origData, uncDim, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | long int * BUILDSTDERR: In file included from /usr/include/zlib.h:34, BUILDSTDERR: from libgrg_crypt.c:37: BUILDSTDERR: /usr/include/zlib.h:1242:31: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *' BUILDSTDERR: 1242 | ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, BUILDSTDERR: | ^~ BUILDSTDERR: libgrg_utils.c: In function 'grg_decode64': BUILDSTDERR: libgrg_utils.c:536:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 536 | tmpinlen = (inlen >= 0) ? inlen : strlen (in); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from libgrg_utils.c:29: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libgrg_crypt.c:472:28: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 472 | mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/mcrypt.h:4, BUILDSTDERR: from libgrg_structs.h:27, BUILDSTDERR: from libgrg_crypt.c:33: BUILDSTDERR: /usr/include/mutils/mcrypt.h:38:34: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 38 | MCRYPT mcrypt_module_open(char *algorithm, BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: libgrg_crypt.c:491:37: warning: pointer targets in passing argument 3 of 'select_key' differ in signedness [-Wpointer-sign] BUILDSTDERR: 491 | key = select_key (gctx, keystruct, &dKey); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: libgrg_crypt.c:214:63: note: expected 'int *' but argument is of type 'unsigned int *' BUILDSTDERR: 214 | select_key (const GRG_CTX gctx, const GRG_KEY keystruct, int *dim) BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: libgrg_utils.c:589:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 589 | return ret; BUILDSTDERR: | ^~~ BUILDSTDERR: libgrg_utils.c: In function 'grg_file_shred': BUILDSTDERR: libgrg_utils.c:631:42: warning: pointer targets in passing argument 1 of 'grg_context_initialize_defaults' differ in signedness [-Wpointer-sign] BUILDSTDERR: 631 | gctx = grg_context_initialize_defaults ("GRG"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from libgrg_utils.c:23: BUILDSTDERR: libgringotts.h:140:63: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | GRG_CTX grg_context_initialize_defaults (const unsigned char *header); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_utils.c:646:29: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] BUILDSTDERR: 646 | grg_rnd_seq_direct (gctx, mem, dim); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 216 | grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: libgrg_utils.c: In function 'grg_rnd_seq_direct': BUILDSTDERR: libgrg_utils.c:228:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 228 | read (gctx->rnd, toOverwrite, csize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_utils.c: In function 'grg_rnd_chr': BUILDSTDERR: libgrg_utils.c:284:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 284 | read (gctx->rnd, &rnd, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg_validate_file': BUILDSTDERR: libgrg_crypt.c:601:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 601 | fd = open (path, O_RDONLY); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /usr/include/fcntl.h:328, BUILDSTDERR: from libgrg_crypt.c:26: BUILDSTDERR: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 41 | open (const char *__path, int __oflag, ...) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg_update_gctx_from_file': BUILDSTDERR: libgrg_crypt.c:649:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 649 | fd = open (path, O_RDONLY); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /usr/include/fcntl.h:328, BUILDSTDERR: from libgrg_crypt.c:26: BUILDSTDERR: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 41 | open (const char *__path, int __oflag, ...) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg_decrypt_file': BUILDSTDERR: libgrg_crypt.c:702:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 702 | fd = open (path, O_RDONLY); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /usr/include/fcntl.h:328, BUILDSTDERR: from libgrg_crypt.c:26: BUILDSTDERR: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 41 | open (const char *__path, int __oflag, ...) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg_encrypt_file': BUILDSTDERR: libgrg_crypt.c:754:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 754 | fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /usr/include/fcntl.h:328, BUILDSTDERR: from libgrg_crypt.c:26: BUILDSTDERR: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 41 | open (const char *__path, int __oflag, ...) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c:762:11: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] BUILDSTDERR: 762 | unlink (path); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from libgrg_crypt.c:24: BUILDSTDERR: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: libgrg_crypt.c: In function 'grg_encrypt_file_direct': BUILDSTDERR: libgrg_crypt.c:734:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 734 | write (fd, mem, memDim); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libgrg_tmp.c -fPIC -DPIC -o libgrg_tmp.lo /bin/sh ../libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libgringotts.la -rpath /usr/lib64 -version-info 2:7:0 libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -lmcrypt -lmhash -lm mkdir .libs rm -fr .libs/libgringotts.la .libs/libgringotts.* .libs/libgringotts.* *** Warning: linker path does not have real file for library -lz. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libz but no candidates were found. (...for file magic test) *** Warning: linker path does not have real file for library -lbz2. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libbz2 but no candidates were found. (...for file magic test) *** Warning: linker path does not have real file for library -lmcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libmcrypt but no candidates were found. (...for file magic test) *** Warning: linker path does not have real file for library -lmhash. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libmhash but no candidates were found. (...for file magic test) *** Warning: linker path does not have real file for library -lm. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libm but no candidates were found. (...for file magic test) *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. (cd . && ln -s libgrg_crypt.lo libgrg_crypt.o) (cd . && ln -s libgrg_structs.lo libgrg_structs.o) (cd . && ln -s libgrg_utils.lo libgrg_utils.o) (cd . && ln -s libgrg_tmp.lo libgrg_tmp.o) gcc -shared libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -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) creating libgringotts.la (cd .libs && rm -f libgringotts.la && ln -s ../libgringotts.la libgringotts.la) BUILDSTDERR: make[2]: Leaving directory '/b+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 uilddir/build/BUILD/libgringotts-1.2.1/src' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Hb6Hzf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 + cd libgringotts-1.2.1 + make install DESTDIR=/builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 libgringottsdocdir=/usr/share/doc/libgringotts BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib64' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64 mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c libgringotts.la /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/libgringotts.la /usr/bin/install -c .libs/libgringotts.so.2.0.7 /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/libgringotts.so.2.0.7 (cd /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64 && rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2) (cd /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64 && rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so) /usr/bin/install -c .libs/libgringotts.lai /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/libgringotts.la /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/include mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/include /usr/bin/install -c -m 644 libgringotts.h /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/include/libgringotts.h make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/src' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts /usr/bin/install -c -m 644 manual.htm /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/manual.htm make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' mkdir -p /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/pkgconfig/ cp libgringotts.pc /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/pkgconfig/ ---------------------------------------------------------------------- md5sum of relevant files: /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/libgringotts.so : 7b39961e4276774267ed5a7ae29f5297 /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/include/libgringotts.h : 5fdec1de5974752706277437bbc1d912 use these values to check library integrity at any time ---------------------------------------------------------------------- /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts /usr/bin/install -c -m 644 TODO /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/TODO /usr/bin/install -c -m 644 NEWS /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/NEWS /usr/bin/install -c -m 644 AUTHORS /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/AUTHORS /usr/bin/install -c -m 644 README /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/README /usr/bin/install -c -m 644 COPYING /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/COPYING /usr/bin/install -c -m 644 ChangeLog /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/share/doc/libgringotts/ChangeLog make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' BUILDSTDERR: make[1]: Leaving directory '/builddir/build/BUILD/li+ find /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.1-26.fc31 --unique-debug-suffix -1.2.1-26.fc31.riscv64 --unique-debug-src-base libgringotts-1.2.1-26.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libgringotts-1.2.1 BUILDSTDERR: 101 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs bgringotts-1.2.1' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/libgringotts.so.2.0.7 extracting debug info from /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64/usr/lib64/libgringotts.so.2.0.7 original debug info size: 120kB, size after compression: 116kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: libgringotts-1.2.1-26.fc31.riscv64 Provides: libgringotts = 1.2.1-26.fc31 libgringotts(riscv-64) = 1.2.1-26.fc31 libgringotts.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libgringotts-devel-1.2.1-26.fc31.riscv64 Provides: libgringotts-devel = 1.2.1-26.fc31 libgringotts-devel(riscv-64) = 1.2.1-26.fc31 pkgconfig(libgringotts) = 1.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libgringotts.so.2()(64bit) Processing files: libgringotts-debugsource-1.2.1-26.fc31.riscv64 Provides: libgringotts-debugsource = 1.2.1-26.fc31 libgringotts-debugsource(riscv-64) = 1.2.1-26.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libgringotts-debuginfo-1.2.1-26.fc31.riscv64 Provides: debuginfo(build-id) = 4e3a53f68684385bed004a5f517206c2485a5c3c libgringotts-debuginfo = 1.2.1-26.fc31 libgringotts-debuginfo(riscv-64) = 1.2.1-26.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libgringotts-debugsource(riscv-64) = 1.2.1-26.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 Wrote: /builddir/build/RPMS/libgringotts-1.2.1-26.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libgringotts-debugsource-1.2.1-26.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libgringotts-devel-1.2.1-26.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libgringotts-debuginfo-1.2.1-26.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iu0v8b + umask 022 + cd /builddir/build/BUILD + cd libgringotts-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libgringotts-1.2.1-26.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0