Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libgringotts.spec'], chrootPath='/var/lib/mock/f42-build-55253574-6534116/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v_d4rns0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v_d4rns0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '370ed8123fcd46f5be2c6e4011cd9e79', '-D', '/var/lib/mock/f42-build-55253574-6534116/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v_d4rns0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/libgringotts-1.2.1-41.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libgringotts.spec'], chrootPath='/var/lib/mock/f42-build-55253574-6534116/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v_d4rns0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v_d4rns0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6629bcff3c0f438d9fe9fbbf4285905e', '-D', '/var/lib/mock/f42-build-55253574-6534116/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v_d4rns0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Crkn0A + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + test -d /builddir/build/BUILD/libgringotts-1.2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libgringotts-1.2.1-build + /usr/bin/rm -rf /builddir/build/BUILD/libgringotts-1.2.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7IpoGK + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + cd /builddir/build/BUILD/libgringotts-1.2.1-build + rm -rf libgringotts-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgringotts-1.2.1.tar.bz2 + 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-bzip2-algo-bigendian-sizefix.patch):' Patch #0 (libgringotts-1.2.1-bzip2-algo-bigendian-sizefix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bigendian --fuzz=0 patching file src/libgrg_crypt.c + sed -i src/Makefile.am -e 's|\(^[ \t][ \t]*\)@|\1|' -e 's|test.c .libs/libgringotts.a|test.c -L.libs -lgringotts|' -e 's|./libgrgtest|env LD_LIBRARY_PATH=.libs ./libgrgtest|' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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. aclocal: 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. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: 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. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9809: 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 autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8wRksY + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libgringotts-1.2.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-11-27 22:30:43.596136845 +0000 +++ ./configure 2024-11-27 22:30:44.560140065 +0000 @@ -6918,7 +6918,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -16093,7 +16093,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c 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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gnu-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... none 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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-file... no checking for file... file checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6924: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 x86_64-redhat-linux-gnu-mt... no 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... no 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 -m elf_x86_64) 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... no checking for x86_64-redhat-linux-gnu-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) none 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 + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c libgrg_tmp.c -fPIC -DPIC -o .libs/libgrg_tmp.o make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' libgrg_tmp.c: In function 'grg_tmpfile_gen': libgrg_tmp.c:62:37: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] 62 | mcrypt_module_open (grg2mcrypt (ca), NULL, MCRYPT_CFB, NULL); | ^~~~~~~~~~~~~~~ | | | unsigned char * 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:41: note: expected 'char *' but argument is of type 'unsigned char *' 38 | MCRYPT mcrypt_module_open(char *algorithm, | ~~~~~~^~~~~~~~~ libgrg_tmp.c: In function 'grg_tmpfile_write': libgrg_tmp.c:109:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 109 | dim = (data_len < 0) ? strlen (data) : data_len; | ^~~~ | | | const unsigned char * 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:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | write (tf->tmpfd, &dim, sizeof (long)); //without considering endianity, since we | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libgrg_tmp.c:123:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | 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:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | read (tf->tmpfd, &dim, sizeof (long)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libgrg_tmp.c:158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | read (tf->tmpfd, enc_data, dim + HEADER_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o libgrg_structs.lo libgrg_structs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c libgrg_structs.c -fPIC -DPIC -o .libs/libgrg_structs.o make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' libgrg_structs.c: In function 'grg_context_initialize': libgrg_structs.c:84:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 84 | if (!header || (strlen (header) != HEADER_LEN)) | ^~~~~~ | | | const unsigned char * 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:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 207 | real_pwd_len = strlen (pwd); | ^~~ | | | const unsigned char * /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:17: warning: 'ret_8->sec_lvl' may be used uninitialized [-Wmaybe-uninitialized] 44 | if (gctx->sec_lvl == GRG_SEC_PARANOIA) | ~~~~^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o libgrg_utils.lo libgrg_utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c libgrg_utils.c -fPIC -DPIC -o .libs/libgrg_utils.o make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' libgrg_utils.c: In function 'grg_rnd_seq_direct': libgrg_utils.c:225:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 225 | csize = strlen (toOverwrite); | ^~~~~~~~~~~ | | | unsigned char * 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:43: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] 307 | grg_rnd_seq_direct (gctx, pntr, (dim >= 0) ? dim : strlen (pntr)); | ^~~~ | | | char * libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *' 216 | grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ libgrg_utils.c: In function 'grg_file_pwd_quality': libgrg_utils.c:442:21: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 442 | pdf = open (pwd_path, O_RDONLY); | ^~~~~~~~ | | | const unsigned char * 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:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 490 | origlen = (inlen >= 0) ? inlen : strlen (in); | ^~ | | | const unsigned char * /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:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 536 | tmpinlen = (inlen >= 0) ? inlen : strlen (in); | ^~ | | | const unsigned char * /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:16: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 589 | return ret; | ^~~ libgrg_utils.c: In function 'grg_file_shred': libgrg_utils.c:631:49: warning: pointer targets in passing argument 1 of 'grg_context_initialize_defaults' differ in signedness [-Wpointer-sign] 631 | gctx = grg_context_initialize_defaults ("GRG"); | ^~~~~ | | | char * In file included from libgrg_utils.c:23: libgringotts.h:140:63: note: expected 'const unsigned char *' but argument is of type 'char *' 140 | GRG_CTX grg_context_initialize_defaults (const unsigned char *header); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ libgrg_utils.c:646:43: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] 646 | grg_rnd_seq_direct (gctx, mem, dim); | ^~~ | | | char * libgrg_utils.c:216:56: note: expected 'unsigned char *' but argument is of type 'char *' 216 | grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ libgrg_utils.c: In function 'grg_rnd_seq_direct': libgrg_utils.c:228:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 228 | read (gctx->rnd, toOverwrite, csize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libgrg_utils.c: In function 'grg_rnd_chr': libgrg_utils.c:284:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | read (gctx->rnd, &rnd, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o libgrg_crypt.lo libgrg_crypt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c libgrg_crypt.c -fPIC -DPIC -o .libs/libgrg_crypt.o make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' libgrg_crypt.c: In function 'grg2mcrypt': libgrg_crypt.c:141:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 141 | return MCRYPT_RIJNDAEL_128; | ^~~~~~~~~~~~~~~~~~~ libgrg_crypt.c:144:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 144 | return MCRYPT_SERPENT; | ^~~~~~~~~~~~~~ libgrg_crypt.c:147:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 147 | return MCRYPT_TWOFISH; | ^~~~~~~~~~~~~~ libgrg_crypt.c:150:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 150 | return MCRYPT_CAST_256; | ^~~~~~~~~~~~~~~ libgrg_crypt.c:153:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 153 | return MCRYPT_SAFERPLUS; | ^~~~~~~~~~~~~~~~ libgrg_crypt.c:156:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 156 | return MCRYPT_LOKI97; | ^~~~~~~~~~~~~ libgrg_crypt.c:159:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 159 | return MCRYPT_3DES; | ^~~~~~~~~~~ libgrg_crypt.c:162:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 162 | return MCRYPT_RIJNDAEL_256; | ^~~~~~~~~~~~~~~~~~~ libgrg_crypt.c:165:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 165 | return MCRYPT_SERPENT; | ^~~~~~~~~~~~~~ libgrg_crypt.c: In function 'validate_mem': libgrg_crypt.c:198:29: warning: pointer targets in passing argument 1 of 'compare_CRC32' differ in signedness [-Wpointer-sign] 198 | if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN)) | ^~~ | | | char * libgrg_crypt.c:114:37: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, | ~~~~~~~~~~~~~~~~~~~~~^~~ libgrg_crypt.c:198:38: warning: pointer targets in passing argument 2 of 'compare_CRC32' differ in signedness [-Wpointer-sign] 198 | if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN)) libgrg_crypt.c:114:63: note: expected 'const unsigned char *' but argument is of type 'char *' 114 | compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ libgrg_crypt.c: In function 'select_key': libgrg_crypt.c:226:49: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] 224 | key = grg_memdup (((*dim == | ~~~~~~~~~ 225 | 24) ? keystruct-> | ~~~~~~~~~~~~~~~~~ 226 | key_192_sha : keystruct->key_256_sha), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from libgrg_crypt.c:32: libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *' 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); | ~~~~~~~~~~~~~~~~~~~~~^~~ libgrg_crypt.c:231:50: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] 229 | key = grg_memdup (((*dim == | ~~~~~~~~~ 230 | 24) ? keystruct-> | ~~~~~~~~~~~~~~~~~ 231 | key_192_ripe : keystruct->key_256_ripe), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *' 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); | ~~~~~~~~~~~~~~~~~~~~~^~~ libgrg_crypt.c: In function 'decrypt_mem': libgrg_crypt.c:251:26: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] 251 | IV = grg_memdup (tmp, dIV); | ^~~ | | | char * libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *' 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); | ~~~~~~~~~~~~~~~~~~~~~^~~ libgrg_crypt.c:259:30: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] 259 | ecdata = grg_memdup (tmp, len); | ^~~ | | | char * libgrg_utils.h:27:49: note: expected 'const unsigned char *' but argument is of type 'char *' 27 | unsigned char *grg_memdup (const unsigned char *src, const long len); | ~~~~~~~~~~~~~~~~~~~~~^~~ libgrg_crypt.c:270:35: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] 270 | mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * 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:41: note: expected 'char *' but argument is of type 'unsigned char *' 38 | MCRYPT mcrypt_module_open(char *algorithm, | ~~~~~~^~~~~~~~~ libgrg_crypt.c:352:59: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] 352 | err = BZ2_bzBuffToBuffDecompress ((unsigned char *) | ^~~~~~~~~~~~~~~~~ | | | unsigned char * 353 | tmpData, &destLen, | ~~~~~~~ In file included from libgrg_crypt.c:38: /usr/include/bzlib.h:215:21: note: expected 'char *' but argument is of type 'unsigned char *' 215 | char* dest, | ~~~~~~~~~~~~~~^~~~ libgrg_crypt.c:354:59: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] 354 | (unsigned char *) curdata, curlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bzlib.h:217:21: note: expected 'char *' but argument is of type 'unsigned char *' 217 | char* source, | ~~~~~~~~~~~~~~^~~~~~ libgrg_crypt.c:359:52: warning: pointer targets in passing argument 2 of 'uncompress' differ in signedness [-Wpointer-sign] 359 | err = uncompress (tmpData, &oDim, curdata, curlen); | ^~~~~ | | | long int * In file included from libgrg_crypt.c:37: /usr/include/zlib.h:1251:70: note: expected 'long unsigned int *' but argument is of type 'long int *' 1251 | Z_EXTERN int Z_EXPORT uncompress(unsigned char *dest, unsigned long *destLen, const unsigned char *source, unsigned long sourceLen); | ~~~~~~~~~~~~~~~^~~~~~~ libgrg_crypt.c: In function 'grg_encrypt_mem': libgrg_crypt.c:403:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 403 | uncDim = (origDim < 0) ? strlen (origData) : origDim; | ^~~~~~~~ | | | const unsigned char * 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:412:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 412 | compData = (char *) malloc (compDim); | ^ libgrg_crypt.c:420:57: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] 420 | err = BZ2_bzBuffToBuffCompress (compData, | ^~~~~~~~ | | | unsigned char * /usr/include/bzlib.h:205:21: note: expected 'char *' but argument is of type 'unsigned char *' 205 | char* dest, | ~~~~~~~~~~~~~~^~~~ libgrg_crypt.c:422:57: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] 422 | (unsigned char *) | ^~~~~~~~~~~~~~~~~ | | | unsigned char * 423 | origData, uncDim, | ~~~~~~~~ /usr/include/bzlib.h:207:21: note: expected 'char *' but argument is of type 'unsigned char *' 207 | char* source, | ~~~~~~~~~~~~~~^~~~~~ libgrg_crypt.c:429:52: warning: pointer targets in passing argument 2 of 'compress2' differ in signedness [-Wpointer-sign] 429 | err = compress2 (compData, &compDim, origData, uncDim, | ^~~~~~~~ | | | long int * /usr/include/zlib.h:1229:69: note: expected 'long unsigned int *' but argument is of type 'long int *' 1229 | Z_EXTERN int Z_EXPORT compress2(unsigned char *dest, unsigned long *destLen, const unsigned char *source, | ~~~~~~~~~~~~~~~^~~~~~~ libgrg_crypt.c:479:35: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] 479 | mod = mcrypt_module_open (grg2mcrypt (gctx->crypt_algo), NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/mutils/mcrypt.h:38:41: note: expected 'char *' but argument is of type 'unsigned char *' 38 | MCRYPT mcrypt_module_open(char *algorithm, | ~~~~~~^~~~~~~~~ libgrg_crypt.c:498:44: warning: pointer targets in passing argument 3 of 'select_key' differ in signedness [-Wpointer-sign] 498 | key = select_key (gctx, keystruct, &dKey); | ^~~~~ | | | unsigned int * libgrg_crypt.c:214:63: note: expected 'int *' but argument is of type 'unsigned int *' 214 | select_key (const GRG_CTX gctx, const GRG_KEY keystruct, int *dim) | ~~~~~^~~ libgrg_crypt.c: In function 'grg_validate_file': libgrg_crypt.c:608:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 608 | fd = open (path, O_RDONLY); | ^~~~ | | | const unsigned char * 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:656:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 656 | fd = open (path, O_RDONLY); | ^~~~ | | | const unsigned char * /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:709:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 709 | fd = open (path, O_RDONLY); | ^~~~ | | | const unsigned char * /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:761:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 761 | fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, | ^~~~ | | | const unsigned char * /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:769:25: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 769 | unlink (path); | ^~~~ | | | const unsigned char * 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:741:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 741 | write (fd, mem, memDim); | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -version-info 2:7:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libgringotts.la -rpath /usr/lib64 libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -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 -lmcrypt -lmhash -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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: ( cd ".libs" && rm -f "libgringotts.la" && ln -s "../libgringotts.la" "libgringotts.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' Making all in docs make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8jabkW + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + '[' /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build + mkdir /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libgringotts-1.2.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' /usr/bin/mkdir -p '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libgringotts.la '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libgringotts.so.2.0.7 /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64/libgringotts.so.2.0.7 libtool: install: (cd /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64 && { 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 /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64 && { 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 -p .libs/libgringotts.lai /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64/libgringotts.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/include' /usr/bin/install -p -m 644 libgringotts.h '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-1.2.1' /usr/bin/install -p -m 644 manual.htm '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-1.2.1' make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs' make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1' mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64/pkgconfig/ cp libgringotts.pc /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64/pkgconfig/ ---------------------------------------------------------------------- md5sum of relevant files: /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/lib64/libgringotts.so : a2e2f4913b7a3c98a5431075acad0f7c /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/include/libgringotts.h : 5fdec1de5974752706277437bbc1d912 use these values to check library integrity at any time ---------------------------------------------------------------------- /usr/bin/mkdir -p '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-1.2.1' /usr/bin/install -p -m 644 TODO NEWS AUTHORS README COPYING ChangeLog '/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-1.2.1' make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1' + find /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT -name '*.la' -exec rm -f '{}' ';' + rm -rf /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 1.2.1-41.fc42 --unique-debug-suffix -1.2.1-41.fc42.x86_64 --unique-debug-src-base libgringotts-1.2.1-41.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libgringotts-1.2.1-41.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j48 /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT Scanned 14 directories and 14 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libgringotts-1.2.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JkSfVE + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libgringotts-1.2.1 + test_status=1 ++ seq 1 3 + for times in $(seq 1 3) + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make check-local make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' gcc test.c -L.libs -lgringotts -g -DHAVE_CONFIG_H -I/usr/include -Wall \ -Wpointer-arith -lz -lbz2 -lmcrypt -lmhash -lm -o libgrgtest test.c: In function ‘test1’: test.c:77:40: warning: pointer targets in passing argument 1 of ‘grg_context_initialize’ differ in signedness [-Wpointer-sign] 77 | gctx = grg_context_initialize ("TST", GRG_TWOFISH, GRG_RIPEMD_160, GRG_BZIP, GRG_LVL_GOOD, GRG_SEC_PARANOIA); | ^~~~~ | | | char * In file included from test.c:38: libgringotts.h:136:54: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 136 | GRG_CTX grg_context_initialize (const unsigned char *header, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ test.c: In function ‘test4’: test.c:118:28: warning: pointer targets in passing argument 1 of ‘grg_key_gen’ differ in signedness [-Wpointer-sign] 118 | key = grg_key_gen ("password", 8); | ^~~~~~~~~~ | | | char * libgringotts.h:163:43: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 163 | GRG_KEY grg_key_gen (const unsigned char *pwd, const int pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c: In function ‘test5’: test.c:128:37: warning: pointer targets in passing argument 1 of ‘grg_key_gen’ differ in signedness [-Wpointer-sign] 128 | GRG_KEY key2 = grg_key_gen ("password", -1); | ^~~~~~~~~~ | | | char * libgringotts.h:163:43: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 163 | GRG_KEY grg_key_gen (const unsigned char *pwd, const int pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c: In function ‘test6’: test.c:153:44: warning: pointer targets in passing argument 3 of ‘grg_decode64’ differ in signedness [-Wpointer-sign] 153 | debased = grg_decode64 (based, -1, &olen); | ^~~~~ | | | int * libgringotts.h:211:61: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 211 | const int inlen, unsigned int *outlen); | ~~~~~~~~~~~~~~^~~~~~ test.c:155:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 155 | if (strncmp (orig, debased, olen) == 0) | ^~~~ | | | unsigned char * In file included from test.c:33: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ test.c:155:28: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 155 | if (strncmp (orig, debased, olen) == 0) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ test.c: In function ‘test7’: test.c:180:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 180 | rs1 = grg_rnd_seq (gctx, TEST_DIM); | ^ test.c:181:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 181 | rs2 = grg_rnd_seq (gctx, TEST_DIM); | ^ test.c:190:35: warning: pointer targets in passing argument 2 of ‘grg_rnd_seq_direct’ differ in signedness [-Wpointer-sign] 190 | grg_rnd_seq_direct (gctx, rs1, TEST_DIM); | ^~~ | | | char * libgringotts.h:127:61: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 127 | void grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ test.c: In function ‘testA’: test.c:239:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 239 | #define PWD1 "aaaaab" | ^~~~~~~~ | | | char * test.c:249:44: note: in expansion of macro ‘PWD1’ 249 | double p1 = grg_ascii_pwd_quality (PWD1, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:240:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 240 | #define PWD2 "qwerty" | ^~~~~~~~ | | | char * test.c:250:45: note: in expansion of macro ‘PWD2’ 250 | p2 = grg_ascii_pwd_quality (PWD2, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:241:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 241 | #define PWD3 "qWerty" | ^~~~~~~~ | | | char * test.c:251:45: note: in expansion of macro ‘PWD3’ 251 | p3 = grg_ascii_pwd_quality (PWD3, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:242:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 242 | #define PWD4 "q2w3e4" | ^~~~~~~~ | | | char * test.c:252:45: note: in expansion of macro ‘PWD4’ 252 | p4 = grg_ascii_pwd_quality (PWD4, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:243:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 243 | #define PWD5 "de3456" | ^~~~~~~~ | | | char * test.c:253:45: note: in expansion of macro ‘PWD5’ 253 | p5 = grg_ascii_pwd_quality (PWD5, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:244:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 244 | #define PWD6 "dE3456" | ^~~~~~~~ | | | char * test.c:254:45: note: in expansion of macro ‘PWD6’ 254 | p6 = grg_ascii_pwd_quality (PWD6, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:245:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 245 | #define PWD7 "q123456" | ^~~~~~~~~ | | | char * test.c:255:45: note: in expansion of macro ‘PWD7’ 255 | p7 = grg_ascii_pwd_quality (PWD7, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:246:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 246 | #define PWD8 "23.23k2" | ^~~~~~~~~ | | | char * test.c:256:45: note: in expansion of macro ‘PWD8’ 256 | p8 = grg_ascii_pwd_quality (PWD8, -1); | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:257:22: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 257 | char *PWD9 = grg_rnd_seq (gctx, 256); | ^~~~~~~~~~~ test.c:258:44: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 258 | double p9 = grg_ascii_pwd_quality (PWD9, 256); | ^~~~ | | | char * libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c: In function ‘testB’: test.c:298:36: warning: pointer targets in passing argument 1 of ‘grg_file_pwd_quality’ differ in signedness [-Wpointer-sign] 298 | p1 = grg_file_pwd_quality (name1); unlink (name1); | ^~~~~ | | | char * libgringotts.h:132:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ test.c:299:36: warning: pointer targets in passing argument 1 of ‘grg_file_pwd_quality’ differ in signedness [-Wpointer-sign] 299 | p2 = grg_file_pwd_quality (name2); unlink (name2); | ^~~~~ | | | char * libgringotts.h:132:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ test.c:300:36: warning: pointer targets in passing argument 1 of ‘grg_file_pwd_quality’ differ in signedness [-Wpointer-sign] 300 | p3 = grg_file_pwd_quality (name3); unlink (name3); | ^~~~~ | | | char * libgringotts.h:132:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ test.c: In function ‘testE’: test.c:337:24: warning: variable ‘d’ set but not used [-Wunused-but-set-variable] 337 | int ret, rval, d; | ^ test.c: In function ‘testI’: test.c:463:42: warning: pointer targets in passing argument 3 of ‘grg_encrypt_file’ differ in signedness [-Wpointer-sign] 463 | ret=grg_encrypt_file (gctx, key, name, data, TEST_DIM); | ^~~~ | | | char * libgringotts.h:175:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 175 | const unsigned char *path, | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c:469:42: warning: pointer targets in passing argument 3 of ‘grg_decrypt_file’ differ in signedness [-Wpointer-sign] 469 | ret=grg_decrypt_file (gctx, key, name, &data2, &ffdim); | ^~~~ | | | char * libgringotts.h:172:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 172 | const unsigned char *path, unsigned char **origData, | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c: In function ‘testL’: test.c:497:38: warning: pointer targets in passing argument 3 of ‘grg_encrypt_file’ differ in signedness [-Wpointer-sign] 497 | grg_encrypt_file (gctx, key, name, data, TEST_DIM); | ^~~~ | | | char * libgringotts.h:175:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 175 | const unsigned char *path, | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c:499:38: warning: pointer targets in passing argument 2 of ‘grg_validate_file’ differ in signedness [-Wpointer-sign] 499 | ret=grg_validate_file (gctx, name); | ^~~~ | | | char * libgringotts.h:169:65: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 169 | int grg_validate_file (const GRG_CTX gctx, const unsigned char *path); | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c: In function ‘testM’: test.c:511:20: warning: pointer targets in passing argument 1 of ‘grg_decode64’ differ in signedness [-Wpointer-sign] 511 | #define ENC_STRING "VFNUM/Q2e5UfEC+5qi4MGcgHx6MYh8BLY0OjeYVq6sN8db1Hg15ZmxOUu5JN1yg2R7XBYRLvI1/eSTXUQ4dbLub+yIc2QU5TQ2TskJJHrg==" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * test.c:518:44: note: in expansion of macro ‘ENC_STRING’ 518 | unsigned char *data = grg_decode64(ENC_STRING, -1, &fdim), *data2; | ^~~~~~~~~~ libgringotts.h:210:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 210 | unsigned char *grg_decode64 (const unsigned char *in, | ~~~~~~~~~~~~~~~~~~~~~^~ test.c: In function ‘main’: test.c:540:25: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 540 | char *version = grg_get_version(); | ^~~~~~~~~~~~~~~ env LD_LIBRARY_PATH=.libs ./libgrgtest libGringotts 1.2.1 starting tests... -= GRG_CTX structure =- 1) Context creation... Ok 2) Context init sets valid parameters... Ok 3) Context changes parameters correctly... Ok -= Utility functions =- 4) Random number generators... Ok 5) grg_free() function... Ok 6) Base64 conversions... Ok 7) File shredding... Ok 8) Password quality test (strings)... Failed make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make[2]: *** [Makefile:710: check-local] Error 1 make[1]: *** [Makefile:573: check-am] Error 2 make: *** [Makefile:468: check-recursive] Error 1 + continue + for times in $(seq 1 3) + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make check-local make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' gcc test.c -L.libs -lgringotts -g -DHAVE_CONFIG_H -I/usr/include -Wall \ -Wpointer-arith -lz -lbz2 -lmcrypt -lmhash -lm -o libgrgtest test.c: In function ‘test1’: test.c:77:40: warning: pointer targets in passing argument 1 of ‘grg_context_initialize’ differ in signedness [-Wpointer-sign] 77 | gctx = grg_context_initialize ("TST", GRG_TWOFISH, GRG_RIPEMD_160, GRG_BZIP, GRG_LVL_GOOD, GRG_SEC_PARANOIA); | ^~~~~ | | | char * In file included from test.c:38: libgringotts.h:136:54: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 136 | GRG_CTX grg_context_initialize (const unsigned char *header, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ test.c: In function ‘test4’: test.c:118:28: warning: pointer targets in passing argument 1 of ‘grg_key_gen’ differ in signedness [-Wpointer-sign] 118 | key = grg_key_gen ("password", 8); | ^~~~~~~~~~ | | | char * libgringotts.h:163:43: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 163 | GRG_KEY grg_key_gen (const unsigned char *pwd, const int pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c: In function ‘test5’: test.c:128:37: warning: pointer targets in passing argument 1 of ‘grg_key_gen’ differ in signedness [-Wpointer-sign] 128 | GRG_KEY key2 = grg_key_gen ("password", -1); | ^~~~~~~~~~ | | | char * libgringotts.h:163:43: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 163 | GRG_KEY grg_key_gen (const unsigned char *pwd, const int pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c: In function ‘test6’: test.c:153:44: warning: pointer targets in passing argument 3 of ‘grg_decode64’ differ in signedness [-Wpointer-sign] 153 | debased = grg_decode64 (based, -1, &olen); | ^~~~~ | | | int * libgringotts.h:211:61: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 211 | const int inlen, unsigned int *outlen); | ~~~~~~~~~~~~~~^~~~~~ test.c:155:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 155 | if (strncmp (orig, debased, olen) == 0) | ^~~~ | | | unsigned char * In file included from test.c:33: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ test.c:155:28: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 155 | if (strncmp (orig, debased, olen) == 0) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ test.c: In function ‘test7’: test.c:180:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 180 | rs1 = grg_rnd_seq (gctx, TEST_DIM); | ^ test.c:181:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 181 | rs2 = grg_rnd_seq (gctx, TEST_DIM); | ^ test.c:190:35: warning: pointer targets in passing argument 2 of ‘grg_rnd_seq_direct’ differ in signedness [-Wpointer-sign] 190 | grg_rnd_seq_direct (gctx, rs1, TEST_DIM); | ^~~ | | | char * libgringotts.h:127:61: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 127 | void grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ test.c: In function ‘testA’: test.c:239:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 239 | #define PWD1 "aaaaab" | ^~~~~~~~ | | | char * test.c:249:44: note: in expansion of macro ‘PWD1’ 249 | double p1 = grg_ascii_pwd_quality (PWD1, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:240:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 240 | #define PWD2 "qwerty" | ^~~~~~~~ | | | char * test.c:250:45: note: in expansion of macro ‘PWD2’ 250 | p2 = grg_ascii_pwd_quality (PWD2, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:241:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 241 | #define PWD3 "qWerty" | ^~~~~~~~ | | | char * test.c:251:45: note: in expansion of macro ‘PWD3’ 251 | p3 = grg_ascii_pwd_quality (PWD3, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:242:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 242 | #define PWD4 "q2w3e4" | ^~~~~~~~ | | | char * test.c:252:45: note: in expansion of macro ‘PWD4’ 252 | p4 = grg_ascii_pwd_quality (PWD4, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:243:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 243 | #define PWD5 "de3456" | ^~~~~~~~ | | | char * test.c:253:45: note: in expansion of macro ‘PWD5’ 253 | p5 = grg_ascii_pwd_quality (PWD5, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:244:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 244 | #define PWD6 "dE3456" | ^~~~~~~~ | | | char * test.c:254:45: note: in expansion of macro ‘PWD6’ 254 | p6 = grg_ascii_pwd_quality (PWD6, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:245:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 245 | #define PWD7 "q123456" | ^~~~~~~~~ | | | char * test.c:255:45: note: in expansion of macro ‘PWD7’ 255 | p7 = grg_ascii_pwd_quality (PWD7, -1), | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:246:22: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 246 | #define PWD8 "23.23k2" | ^~~~~~~~~ | | | char * test.c:256:45: note: in expansion of macro ‘PWD8’ 256 | p8 = grg_ascii_pwd_quality (PWD8, -1); | ^~~~ libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c:257:22: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 257 | char *PWD9 = grg_rnd_seq (gctx, 256); | ^~~~~~~~~~~ test.c:258:44: warning: pointer targets in passing argument 1 of ‘grg_ascii_pwd_quality’ differ in signedness [-Wpointer-sign] 258 | double p9 = grg_ascii_pwd_quality (PWD9, 256); | ^~~~ | | | char * libgringotts.h:131:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 131 | double grg_ascii_pwd_quality (const unsigned char *pwd, const long pwd_len); | ~~~~~~~~~~~~~~~~~~~~~^~~ test.c: In function ‘testB’: test.c:298:36: warning: pointer targets in passing argument 1 of ‘grg_file_pwd_quality’ differ in signedness [-Wpointer-sign] 298 | p1 = grg_file_pwd_quality (name1); unlink (name1); | ^~~~~ | | | char * libgringotts.h:132:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ test.c:299:36: warning: pointer targets in passing argument 1 of ‘grg_file_pwd_quality’ differ in signedness [-Wpointer-sign] 299 | p2 = grg_file_pwd_quality (name2); unlink (name2); | ^~~~~ | | | char * libgringotts.h:132:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ test.c:300:36: warning: pointer targets in passing argument 1 of ‘grg_file_pwd_quality’ differ in signedness [-Wpointer-sign] 300 | p3 = grg_file_pwd_quality (name3); unlink (name3); | ^~~~~ | | | char * libgringotts.h:132:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 132 | double grg_file_pwd_quality (const unsigned char *pwd_path); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ test.c: In function ‘testE’: test.c:337:24: warning: variable ‘d’ set but not used [-Wunused-but-set-variable] 337 | int ret, rval, d; | ^ test.c: In function ‘testI’: test.c:463:42: warning: pointer targets in passing argument 3 of ‘grg_encrypt_file’ differ in signedness [-Wpointer-sign] 463 | ret=grg_encrypt_file (gctx, key, name, data, TEST_DIM); | ^~~~ | | | char * libgringotts.h:175:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 175 | const unsigned char *path, | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c:469:42: warning: pointer targets in passing argument 3 of ‘grg_decrypt_file’ differ in signedness [-Wpointer-sign] 469 | ret=grg_decrypt_file (gctx, key, name, &data2, &ffdim); | ^~~~ | | | char * libgringotts.h:172:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 172 | const unsigned char *path, unsigned char **origData, | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c: In function ‘testL’: test.c:497:38: warning: pointer targets in passing argument 3 of ‘grg_encrypt_file’ differ in signedness [-Wpointer-sign] 497 | grg_encrypt_file (gctx, key, name, data, TEST_DIM); | ^~~~ | | | char * libgringotts.h:175:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 175 | const unsigned char *path, | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c:499:38: warning: pointer targets in passing argument 2 of ‘grg_validate_file’ differ in signedness [-Wpointer-sign] 499 | ret=grg_validate_file (gctx, name); | ^~~~ | | | char * libgringotts.h:169:65: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 169 | int grg_validate_file (const GRG_CTX gctx, const unsigned char *path); | ~~~~~~~~~~~~~~~~~~~~~^~~~ test.c: In function ‘testM’: test.c:511:20: warning: pointer targets in passing argument 1 of ‘grg_decode64’ differ in signedness [-Wpointer-sign] 511 | #define ENC_STRING "VFNUM/Q2e5UfEC+5qi4MGcgHx6MYh8BLY0OjeYVq6sN8db1Hg15ZmxOUu5JN1yg2R7XBYRLvI1/eSTXUQ4dbLub+yIc2QU5TQ2TskJJHrg==" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * test.c:518:44: note: in expansion of macro ‘ENC_STRING’ 518 | unsigned char *data = grg_decode64(ENC_STRING, -1, &fdim), *data2; | ^~~~~~~~~~ libgringotts.h:210:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 210 | unsigned char *grg_decode64 (const unsigned char *in, | ~~~~~~~~~~~~~~~~~~~~~^~ test.c: In function ‘main’: test.c:540:25: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 540 | char *version = grg_get_version(); | ^~~~~~~~~~~~~~~ env LD_LIBRARY_PATH=.libs ./libgrgtest libGringotts 1.2.1 starting tests... -= GRG_CTX structure =- 1) Context creation... Ok 2) Context init sets valid parameters... Ok 3) Context changes parameters correctly... Ok -= Utility functions =- 4) Random number generators... Ok 5) grg_free() function... Ok 6) Base64 conversions... Ok 7) File shredding... Ok 8) Password quality test (strings)... Ok 9) Password quality test (files)... Ok -= GRG_KEY structure =- 10) Key creation... Ok 11) Key cloning and comparison... Ok -= Encryption/decryption =- 12) Data encryption and decryption in memory... Ok 13) Data format validation in memory... Ok 14) Data encryption and decryption in files (using file descriptor)... Ok 15) Data format validation in files (using file descriptor)... Ok 16) Data encryption and decryption in files (using filename)... Ok 17) Data format validation in files (using filename)... Ok -= Enc/decryption details =- 18) AES (Rijndael 128) encryption... Ok 19) Serpent encryption... Ok 20) Twofish encryption... Ok 21) CAST-256 encryption... Ok 22) Safer+ encryption... Ok 23) Loki97 encryption... Ok 24) Triple-DES encryption... Ok 25) Rijndael 256 encryption... Ok 26) SHA-1 hashing... Ok 27) Ripemd 160 hashing... Ok 28) ZLib compression... Ok 29) BZip2 compression... Ok 30) No compression... Ok -= Encrypted Temp Files =- 31) Tmpfile creation... Ok 32) Tmpfile reading and writing... Ok -= Other tests =- 33) Backwards compatibility... Ok ...all tests executed Ok! :o) rm -f libgrgtest test.o make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/src' Making check in docs make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs' make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1' + test_status=0 + break + test 0 '!=' 0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libgringotts-1.2.1-41.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FhXgHX + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + cd libgringotts-1.2.1 + DOCDIR=/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/AUTHORS /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/ChangeLog /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/NEWS /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/README /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/TODO /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZqjVsg + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + cd libgringotts-1.2.1 + LICENSEDIR=/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/licenses/libgringotts + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/licenses/libgringotts + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/COPYING /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/licenses/libgringotts + RPM_EC=0 ++ jobs -p + exit 0 Provides: libgringotts = 1.2.1-41.fc42 libgringotts(x86-64) = 1.2.1-41.fc42 libgringotts.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libmcrypt.so.4()(64bit) libmhash.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libgringotts-devel-1.2.1-41.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.baYFVA + umask 022 + cd /builddir/build/BUILD/libgringotts-1.2.1-build + cd libgringotts-1.2.1 + DOCDIR=/builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-devel + cp -pr /builddir/build/BUILD/libgringotts-1.2.1-build/libgringotts-1.2.1/docs/manual.htm /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT/usr/share/doc/libgringotts-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libgringotts-devel = 1.2.1-41.fc42 libgringotts-devel(x86-64) = 1.2.1-41.fc42 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-41.fc42.x86_64 Provides: libgringotts-debugsource = 1.2.1-41.fc42 libgringotts-debugsource(x86-64) = 1.2.1-41.fc42 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-41.fc42.x86_64 Provides: debuginfo(build-id) = cb8f8770f351f0b367b1beb32553643ff87b3f4f libgringotts-debuginfo = 1.2.1-41.fc42 libgringotts-debuginfo(x86-64) = 1.2.1-41.fc42 libgringotts.so.2.0.7-1.2.1-41.fc42.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libgringotts-debugsource(x86-64) = 1.2.1-41.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libgringotts-1.2.1-build/BUILDROOT Wrote: /builddir/build/RPMS/libgringotts-1.2.1-41.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/libgringotts-devel-1.2.1-41.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/libgringotts-debugsource-1.2.1-41.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/libgringotts-debuginfo-1.2.1-41.fc42.x86_64.rpm Child return code was: 0