Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libgringotts.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667628537.950943/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m5mjfi4q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m5mjfi4q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'f4dd02c772704771bf469ae5d5445cae', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667628537.950943/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m5mjfi4q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1658361600 Wrote: /builddir/build/SRPMS/libgringotts-1.2.1-32.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libgringotts.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667628537.950943/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m5mjfi4q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m5mjfi4q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'e53212a428864d91806cf8ac05e2b6d2', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667628537.950943/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m5mjfi4q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4AsfOj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 . Patch #0 (libgringotts-1.2.1-aarch64.patch): + echo 'Patch #0 (libgringotts-1.2.1-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64 --fuzz=0 patching file config.guess patching file config.sub + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5PzK0p + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 --- ./configure.backup 2003-04-24 11:33:48.000000000 +0000 +++ ./configure 2022-11-05 06:10:04.938723455 +0000 @@ -6580,7 +6580,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -6712,7 +6712,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -9132,7 +9132,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -9333,7 +9333,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -9468,7 +9468,7 @@ #if defined (__stub_remove) || defined (__stub___remove) choke me #else -char (*f) () = remove; +__attribute__ ((used)) char (*f) () = remove; #endif #ifdef __cplusplus } @@ -9603,7 +9603,7 @@ #if defined (__stub_shmat) || defined (__stub___shmat) choke me #else -char (*f) () = shmat; +__attribute__ ((used)) char (*f) () = shmat; #endif #ifdef __cplusplus } @@ -10834,7 +10834,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + mv ./configure.backup ./configure + '[' 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.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' + 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' + '[' 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 + ./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 --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 gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E failed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for X... no checking for /dev/random... yes checking for compress2 in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for BZ2_bzBuffToBuffCompress in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for libmcrypt... yes checking for mhash_keygen in -lmhash... yes checking mhash.h usability... yes checking mhash.h presence... yes checking for mhash.h... yes checking whether stat file-mode macros are broken... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for fcntl... yes checking for fsync... yes checking for lstat... yes checking for stat... yes checking for umask... yes checking for utime... yes checking for memmove... yes checking for size_t... yes checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating libgringotts.spec config.status: creating libgringotts.pc config.status: creating config.h config.status: executing depfiles commands + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libgrg_crypt.lo `test -f 'libgrg_crypt.c' || echo './'`libgrg_crypt.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libgrg_structs.lo `test -f 'libgrg_structs.c' || echo './'`libgrg_structs.c gcc -DHAVE_CONFIG_H -I. -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c libgrg_crypt.c -fPIC -DPIC -o libgrg_crypt.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c libgrg_structs.c -fPIC -DPIC -o libgrg_structs.lo 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_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:350:59: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] 350 | err = BZ2_bzBuffToBuffDecompress ((unsigned char *) | ^~~~~~~~~~~~~~~~~ | | | unsigned char * 351 | tmpData, (unsigned int *) &oDim, | ~~~~~~~ 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:352:59: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] 352 | (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:355:52: warning: pointer targets in passing argument 2 of 'uncompress' differ in signedness [-Wpointer-sign] 355 | err = uncompress (tmpData, &oDim, curdata, curlen); | ^~~~~ | | | long int * In file included from /usr/include/zlib.h:34, from libgrg_crypt.c:37: /usr/include/zlib.h:1267:32: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *' 1267 | ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, | ^~ libgrg_crypt.c: In function 'grg_encrypt_mem': libgrg_crypt.c:399:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 399 | 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:408:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 408 | compData = (char *) malloc (compDim); | ^ libgrg_crypt.c:414:57: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] 414 | 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:417:57: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] 417 | (unsigned char *) | ^~~~~~~~~~~~~~~~~ | | | unsigned char * 418 | origData, uncDim, | ~~~~~~~~ /usr/include/bzlib.h:207:21: note: expected 'char *' but argument is of type 'unsigned char *' 207 | char* source, | ~~~~~~~~~~~~~~^~~~~~ libgrg_crypt.c:422:52: warning: pointer targets in passing argument 2 of 'compress2' differ in signedness [-Wpointer-sign] 422 | err = compress2 (compData, &compDim, origData, uncDim, | ^~~~~~~~ | | | long int * /usr/include/zlib.h:1244:31: note: expected 'uLongf *' {aka 'long unsigned int *'} but argument is of type 'long int *' 1244 | ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, | ^~ libgrg_crypt.c:472:35: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] 472 | 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:491:44: warning: pointer targets in passing argument 3 of 'select_key' differ in signedness [-Wpointer-sign] 491 | 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:601:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 601 | fd = open (path, O_RDONLY); | ^~~~ | | | const unsigned char * In file included from /usr/include/fcntl.h:342, from libgrg_crypt.c:26: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ libgrg_crypt.c: In function 'grg_update_gctx_from_file': libgrg_crypt.c:649:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 649 | fd = open (path, O_RDONLY); | ^~~~ | | | const unsigned char * /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ libgrg_crypt.c: In function 'grg_decrypt_file': libgrg_crypt.c:702:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 702 | fd = open (path, O_RDONLY); | ^~~~ | | | const unsigned char * /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ libgrg_crypt.c: In function 'grg_encrypt_file': libgrg_crypt.c:754:20: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 754 | fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, | ^~~~ | | | const unsigned char * /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ libgrg_crypt.c:762:25: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 762 | 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_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) | ~~~~~~~~~~~~^~~ libgrg_crypt.c: In function 'grg_encrypt_file_direct': libgrg_crypt.c:734:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 734 | write (fd, mem, memDim); | ^~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libgrg_utils.lo `test -f 'libgrg_utils.c' || echo './'`libgrg_utils.c gcc -DHAVE_CONFIG_H -I. -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c libgrg_utils.c -fPIC -DPIC -o libgrg_utils.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libgrg_tmp.lo `test -f 'libgrg_tmp.c' || echo './'`libgrg_tmp.c 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:342, from libgrg_utils.c:35: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const unsigned char *' 41 | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c libgrg_tmp.c -fPIC -DPIC -o libgrg_tmp.lo 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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 -version-info 2:7:0 libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -lmcrypt -lmhash -lm mkdir .libs rm -fr .libs/libgringotts.la .libs/libgringotts.* .libs/libgringotts.* (cd . && ln -s libgrg_crypt.lo libgrg_crypt.o) (cd . && ln -s libgrg_structs.lo libgrg_structs.o) (cd . && ln -s libgrg_utils.lo libgrg_utils.o) (cd . && ln -s libgrg_tmp.lo libgrg_tmp.o) gcc -shared libgrg_crypt.lo libgrg_structs.lo libgrg_utils.lo libgrg_tmp.lo -lz -lbz2 -lmcrypt -lmhash -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libgringotts.so.2 -o .libs/libgringotts.so.2.0.7 (cd .libs && rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2) (cd .libs && rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so) creating libgringotts.la (cd .libs && rm -f libgringotts.la && ln -s ../libgringotts.la libgringotts.la) make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/src' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6vgRyH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + make install DESTDIR=/builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 libgringottsdocdir=/usr/share/doc/libgringotts Making install in src make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64 mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c libgringotts.la /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/libgringotts.la /usr/bin/install -c .libs/libgringotts.so.2.0.7 /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/libgringotts.so.2.0.7 (cd /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64 && rm -f libgringotts.so.2 && ln -s libgringotts.so.2.0.7 libgringotts.so.2) (cd /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64 && rm -f libgringotts.so && ln -s libgringotts.so.2.0.7 libgringotts.so) /usr/bin/install -c .libs/libgringotts.lai /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/libgringotts.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/include mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/include /usr/bin/install -c -m 644 libgringotts.h /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/include/libgringotts.h make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/src' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts /usr/bin/install -c -m 644 manual.htm /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/manual.htm make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1/docs' make[1]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' make[2]: Entering directory '/builddir/build/BUILD/libgringotts-1.2.1' mkdir -p /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/pkgconfig/ cp libgringotts.pc /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/pkgconfig/ ---------------------------------------------------------------------- md5sum of relevant files: /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/libgringotts.so : 24a442894fd21448f6619154b5ff9a65 /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/include/libgringotts.h : 5fdec1de5974752706277437bbc1d912 use these values to check library integrity at any time ---------------------------------------------------------------------- /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts /usr/bin/install -c -m 644 TODO /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/TODO /usr/bin/install -c -m 644 NEWS /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/NEWS /usr/bin/install -c -m 644 AUTHORS /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/AUTHORS /usr/bin/install -c -m 644 README /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/README /usr/bin/install -c -m 644 COPYING /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/COPYING /usr/bin/install -c -m 644 ChangeLog /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/share/doc/libgringotts/ChangeLog make[2]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' make[1]: Leaving directory '/builddir/build/BUILD/libgringotts-1.2.1' + find /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.2.1-32.fc38 --unique-debug-suffix -1.2.1-32.fc38.x86_64 --unique-debug-src-base libgringotts-1.2.1-32.fc38.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 extracting debug info from /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64/usr/lib64/libgringotts.so.2.0.7 original debug info size: 84kB, size after compression: 76kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 101 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libgringotts-1.2.1-32.fc38.x86_64 Provides: libgringotts = 1.2.1-32.fc38 libgringotts(x86-64) = 1.2.1-32.fc38 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.33)(64bit) libc.so.6(GLIBC_2.4)(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-32.fc38.x86_64 Provides: libgringotts-devel = 1.2.1-32.fc38 libgringotts-devel(x86-64) = 1.2.1-32.fc38 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-32.fc38.x86_64 Provides: libgringotts-debugsource = 1.2.1-32.fc38 libgringotts-debugsource(x86-64) = 1.2.1-32.fc38 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-32.fc38.x86_64 Provides: debuginfo(build-id) = 2d8095c02c0c09a598869f90efed8124e4cc77fd libgringotts-debuginfo = 1.2.1-32.fc38 libgringotts-debuginfo(x86-64) = 1.2.1-32.fc38 libgringotts.so.2.0.7-1.2.1-32.fc38.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-32.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 Wrote: /builddir/build/RPMS/libgringotts-1.2.1-32.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libgringotts-debuginfo-1.2.1-32.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libgringotts-debugsource-1.2.1-32.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libgringotts-devel-1.2.1-32.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zPIpDu + umask 022 + cd /builddir/build/BUILD + cd libgringotts-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libgringotts-1.2.1-32.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.JoNZIk + umask 022 + cd /builddir/build/BUILD + rm -rf libgringotts-1.2.1 libgringotts-1.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0