Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/libgringotts.spec'], timeout=172800shell=FalseprintOutput=Falseuid=1000chrootPath='/var/lib/mock/epel7-build-7460430-689257/root'gid=425env={'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}logger=user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/libgringotts.spec'] with env {'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False warning: Could not canonicalize hostname: buildvm-ppc64le-03.ppc.fedoraproject.org Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/libgringotts-1.2.1-18.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/libgringotts.spec'], timeout=172800private_network=Trueshell=FalseprintOutput=Falseuid=1000user='mockbuild'chrootPath='/var/lib/mock/epel7-build-7460430-689257/root'env={'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}logger=gid=425) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/libgringotts.spec'] with env {'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QPgiFE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgringotts-1.2.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libgringotts-1.2.1.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libgringotts-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libgringotts-1.2.1-aarch64.patch):' Patch #0 (libgringotts-1.2.1-aarch64.patch): + /usr/bin/cat /builddir/build/SOURCES/libgringotts-1.2.1-aarch64.patch + /usr/bin/patch -p1 -b --suffix .aarch64 --fuzz=0 patching file config.guess patching file config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MtDdP5 + umask 022 + cd /builddir/build/BUILD + cd libgringotts-1.2.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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 . -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' + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-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... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for style of include used by make... GNU checking for ppc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for X... no checking for /dev/random... yes checking for compress2 in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for BZ2_bzBuffToBuffCompress in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for libmcrypt... yes checking for mhash_keygen in -lmhash... yes checking mhash.h usability... yes checking mhash.h presence... yes checking for mhash.h... yes checking whether stat file-mode macros are broken... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes 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 -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/libgringotts-1.2.1' Making all in src make[2]: Entering directory `/builddir/build/BUILD/libgringotts-1.2.1/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o libgrg_crypt.lo `test -f 'libgrg_crypt.c' || echo './'`libgrg_crypt.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o libgrg_structs.lo `test -f 'libgrg_structs.c' || echo './'`libgrg_structs.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o libgrg_utils.lo `test -f 'libgrg_utils.c' || echo './'`libgrg_utils.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o libgrg_tmp.lo `test -f 'libgrg_tmp.c' || echo './'`libgrg_tmp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c libgrg_crypt.c -fPIC -DPIC -o libgrg_crypt.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c libgrg_tmp.c -fPIC -DPIC -o libgrg_tmp.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c libgrg_structs.c -fPIC -DPIC -o libgrg_structs.lo libgrg_tmp.c: In function 'grg_tmpfile_gen': libgrg_tmp.c:62:3: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] mcrypt_module_open (grg2mcrypt (ca), NULL, MCRYPT_CFB, NULL); ^ In file included from /usr/include/mcrypt.h:4:0, from libgrg_structs.h:27, from libgrg_tmp.c:26: /usr/include/mutils/mcrypt.h:38:9: note: expected 'char *' but argument is of type 'unsigned char *' MCRYPT mcrypt_module_open(char *algorithm, ^ libgrg_tmp.c: In function 'grg_tmpfile_write': libgrg_tmp.c:109:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] dim = (data_len < 0) ? strlen (data) : data_len; ^ In file included from libgrg_tmp.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ libgrg_tmp.c:122:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (tf->tmpfd, &dim, sizeof (long)); //without considering endianity, since we ^ libgrg_tmp.c:123:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (tf->tmpfd, tocrypt, dim + HEADER_LEN); //read and write on the same system. ^ libgrg_tmp.c: In function 'grg_tmpfile_read': libgrg_tmp.c:152:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (tf->tmpfd, &dim, sizeof (long)); ^ libgrg_tmp.c:158:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (tf->tmpfd, enc_data, dim + HEADER_LEN); ^ libgrg_crypt.c: In function 'grg2mcrypt': libgrg_crypt.c:141:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_RIJNDAEL_128; ^ libgrg_crypt.c:144:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_SERPENT; ^ libgrg_crypt.c:147:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_TWOFISH; ^ libgrg_crypt.c:150:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_CAST_256; ^ libgrg_crypt.c:153:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_SAFERPLUS; ^ libgrg_crypt.c:156:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_LOKI97; ^ libgrg_crypt.c:159:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_3DES; ^ libgrg_crypt.c:162:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_RIJNDAEL_256; ^ libgrg_crypt.c:165:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return MCRYPT_SERPENT; ^ libgrg_crypt.c: In function 'validate_mem': libgrg_crypt.c:198:2: warning: pointer targets in passing argument 1 of 'compare_CRC32' differ in signedness [-Wpointer-sign] if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN)) ^ libgrg_crypt.c:114:1: note: expected 'const unsigned char *' but argument is of type 'char *' compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, ^ libgrg_crypt.c:198:2: warning: pointer targets in passing argument 2 of 'compare_CRC32' differ in signedness [-Wpointer-sign] if (!compare_CRC32 (tmp, tmp + LIBGRG_CRC_LEN, rem - LIBGRG_CRC_LEN)) ^ libgrg_crypt.c:114:1: note: expected 'const unsigned char *' but argument is of type 'char *' compare_CRC32 (const unsigned char *CRC, const unsigned char *toCheck, ^ libgrg_crypt.c: In function 'select_key': libgrg_crypt.c:227:8: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] *dim); ^ In file included from libgrg_crypt.c:32:0: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *grg_memdup (const unsigned char *src, const long len); ^ libgrg_crypt.c:232:8: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] *dim); ^ In file included from libgrg_crypt.c:32:0: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *grg_memdup (const unsigned char *src, const long len); ^ libgrg_crypt.c: In function 'decrypt_mem': libgrg_crypt.c:251:2: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] IV = grg_memdup (tmp, dIV); ^ In file included from libgrg_crypt.c:32:0: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *grg_memdup (const unsigned char *src, const long len); ^ libgrg_crypt.c:259:2: warning: pointer targets in passing argument 1 of 'grg_memdup' differ in signedness [-Wpointer-sign] ecdata = grg_memdup (tmp, len); ^ In file included from libgrg_crypt.c:32:0: libgrg_utils.h:27:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *grg_memdup (const unsigned char *src, const long len); ^ libgrg_crypt.c:271:7: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] MCRYPT_CFB, NULL); ^ In file included from /usr/include/mcrypt.h:4:0, from libgrg_structs.h:27, from libgrg_crypt.c:33: /usr/include/mutils/mcrypt.h:38:9: note: expected 'char *' but argument is of type 'unsigned char *' MCRYPT mcrypt_module_open(char *algorithm, ^ libgrg_crypt.c:353:10: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] USE_BZ2_SMALL_MEM, 0); ^ In file included from libgrg_crypt.c:38:0: /usr/include/bzlib.h:214:15: note: expected 'char *' but argument is of type 'unsigned char *' BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffDecompress) ( ^ libgrg_crypt.c:353:10: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffDecompress' differ in signedness [-Wpointer-sign] USE_BZ2_SMALL_MEM, 0); ^ In file included from libgrg_crypt.c:38:0: /usr/include/bzlib.h:214:15: note: expected 'char *' but argument is of type 'unsigned char *' BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffDecompress) ( ^ libgrg_crypt.c:355:4: warning: pointer targets in passing argument 2 of 'uncompress' differ in signedness [-Wpointer-sign] err = uncompress (tmpData, &oDim, curdata, curlen); ^ In file included from libgrg_crypt.c:37:0: /usr/include/zlib.h:1180:21: note: expected 'uLongf *' but argument is of type 'long int *' ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, ^ libgrg_crypt.c: In function 'grg_encrypt_mem': libgrg_crypt.c:399:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] uncDim = (origDim < 0) ? strlen (origData) : origDim; ^ In file included from libgrg_crypt.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ libgrg_crypt.c:408:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] compData = (char *) malloc (compDim); ^ libgrg_crypt.c:420:8: warning: pointer targets in passing argument 1 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] 0); ^ In file included from libgrg_crypt.c:38:0: /usr/include/bzlib.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *' BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffCompress) ( ^ libgrg_crypt.c:420:8: warning: pointer targets in passing argument 3 of 'BZ2_bzBuffToBuffCompress' differ in signedness [-Wpointer-sign] 0); ^ In file included from libgrg_crypt.c:38:0: /usr/include/bzlib.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *' BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffCompress) ( ^ libgrg_crypt.c:423:7: warning: pointer targets in passing argument 2 of 'compress2' differ in signedness [-Wpointer-sign] gctx->comp_lvl * 3); ^ In file included from libgrg_crypt.c:37:0: /usr/include/zlib.h:1157:21: note: expected 'uLongf *' but argument is of type 'long int *' ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, ^ libgrg_crypt.c:473:7: warning: pointer targets in passing argument 1 of 'mcrypt_module_open' differ in signedness [-Wpointer-sign] MCRYPT_CFB, NULL); ^ In file included from /usr/include/mcrypt.h:4:0, from libgrg_structs.h:27, from libgrg_crypt.c:33: /usr/include/mutils/mcrypt.h:38:9: note: expected 'char *' but argument is of type 'unsigned char *' MCRYPT mcrypt_module_open(char *algorithm, ^ libgrg_crypt.c:491:2: warning: pointer targets in passing argument 3 of 'select_key' differ in signedness [-Wpointer-sign] key = select_key (gctx, keystruct, &dKey); ^ libgrg_crypt.c:214:1: note: expected 'int *' but argument is of type 'unsigned int *' select_key (const GRG_CTX gctx, const GRG_KEY keystruct, int *dim) ^ libgrg_crypt.c: In function 'grg_validate_file': libgrg_crypt.c:601:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open (path, O_RDONLY); ^ In file included from /usr/include/fcntl.h:296:0, from libgrg_crypt.c:26: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *' open (const char *__path, int __oflag, ...) ^ libgrg_crypt.c: In function 'grg_update_gctx_from_file': libgrg_crypt.c:649:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open (path, O_RDONLY); ^ In file included from /usr/include/fcntl.h:296:0, from libgrg_crypt.c:26: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *' open (const char *__path, int __oflag, ...) ^ libgrg_crypt.c: In function 'grg_decrypt_file': libgrg_crypt.c:702:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open (path, O_RDONLY); ^ In file included from /usr/include/fcntl.h:296:0, from libgrg_crypt.c:26: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *' open (const char *__path, int __oflag, ...) ^ libgrg_crypt.c: In function 'grg_encrypt_file': libgrg_crypt.c:755:6: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR); ^ In file included from /usr/include/fcntl.h:296:0, from libgrg_crypt.c:26: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *' open (const char *__path, int __oflag, ...) ^ libgrg_crypt.c:762:3: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (path); ^ In file included from libgrg_crypt.c:24:0: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'const unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ libgrg_crypt.c: In function 'grg_encrypt_file_direct': libgrg_crypt.c:734:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, mem, memDim); ^ libgrg_structs.c: In function 'grg_context_initialize': libgrg_structs.c:84:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!header || (strlen (header) != HEADER_LEN)) ^ In file included from libgrg_structs.c:26:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ libgrg_structs.c: In function 'grg_key_gen': libgrg_structs.c:207:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] real_pwd_len = strlen (pwd); ^ In file included from libgrg_structs.c:26:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_CONFIG_H -I/usr/include -Wall -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c libgrg_utils.c -fPIC -DPIC -o libgrg_utils.lo libgrg_utils.c: In function 'grg_rnd_seq_direct': libgrg_utils.c:225:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] csize = strlen (toOverwrite); ^ In file included from libgrg_utils.c:29:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ libgrg_utils.c: In function 'grg_free': libgrg_utils.c:307:3: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] grg_rnd_seq_direct (gctx, pntr, (dim >= 0) ? dim : strlen (pntr)); ^ libgrg_utils.c:216:1: note: expected 'unsigned char *' but argument is of type 'char *' grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, ^ libgrg_utils.c: In function 'grg_file_pwd_quality': libgrg_utils.c:442:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] pdf = open (pwd_path, O_RDONLY); ^ In file included from /usr/include/fcntl.h:296:0, from libgrg_utils.c:35: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'const unsigned char *' open (const char *__path, int __oflag, ...) ^ libgrg_utils.c: In function 'grg_encode64': libgrg_utils.c:490:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] origlen = (inlen >= 0) ? inlen : strlen (in); ^ In file included from libgrg_utils.c:29:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ libgrg_utils.c: In function 'grg_decode64': libgrg_utils.c:536:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] tmpinlen = (inlen >= 0) ? inlen : strlen (in); ^ In file included from libgrg_utils.c:29:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ libgrg_utils.c:589:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return ret; ^ libgrg_utils.c: In function 'grg_file_shred': libgrg_utils.c:631:2: warning: pointer targets in passing argument 1 of 'grg_context_initialize_defaults' differ in signedness [-Wpointer-sign] gctx = grg_context_initialize_defaults ("GRG"); ^ In file included from libgrg_utils.c:23:0: libgringotts.h:140:9: note: expected 'const unsigned char *' but argument is of type 'char *' GRG_CTX grg_context_initialize_defaults (const unsigned char *header); ^ libgrg_utils.c:646:3: warning: pointer targets in passing argument 2 of 'grg_rnd_seq_direct' differ in signedness [-Wpointer-sign] grg_rnd_seq_direct (gctx, mem, dim); ^ libgrg_utils.c:216:1: note: expected 'unsigned char *' but argument is of type 'char *' grg_rnd_seq_direct (const GRG_CTX gctx, unsigned char *toOverwrite, ^ libgrg_utils.c: In function 'grg_rnd_seq_direct': libgrg_utils.c:228:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (gctx->rnd, toOverwrite, csize); ^ libgrg_utils.c: In function 'grg_rnd_chr': libgrg_utils.c:284:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (gctx->rnd, &rnd, 1); ^ /bin/sh ../libtool --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -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 -Wl,relro -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]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/libgringotts-1.2.1' make[1]: Leaving directory `/builddir/build/BUILD/libgringotts-1.2.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ClVevz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le + cd libgringotts-1.2.1 + make install DESTDIR=/builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le 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-18.el7.ppc64le/usr/lib64 mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c libgringotts.la /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/lib64/libgringotts.la /usr/bin/install -c .libs/libgringotts.so.2.0.7 /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/lib64/libgringotts.so.2.0.7 (cd /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/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-18.el7.ppc64le/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-18.el7.ppc64le/usr/lib64/libgringotts.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/include mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/include /usr/bin/install -c -m 644 libgringotts.h /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/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-18.el7.ppc64le/usr/share/doc/libgringotts mkdir -p -- /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/share/doc/libgringotts /usr/bin/install -c -m 644 manual.htm /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/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-18.el7.ppc64le/usr/lib64/pkgconfig/ cp libgringotts.pc /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/lib64/pkgconfig/ ---------------------------------------------------------------------- md5sum of relevant files: /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/lib64/libgringotts.so : 8e116a7d5f74f00063364ec85863d8ab /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/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-18.el7.ppc64le/usr/share/doc/libgringotts /usr/bin/install -c -m 644 TODO /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/share/doc/libgringotts/TODO /usr/bin/install -c -m 644 NEWS /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/share/doc/libgringotts/NEWS /usr/bin/install -c -m 644 AUTHORS /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/share/doc/libgringotts/AUTHORS /usr/bin/install -c -m 644 README /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/share/doc/libgringotts/README /usr/bin/install -c -m 644 COPYING /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/share/doc/libgringotts/COPYING /usr/bin/install -c -m 644 ChangeLog /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/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-18.el7.ppc64le -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/libgringotts-1.2.1 extracting debug info from /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le/usr/lib64/libgringotts.so.2.0.7 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libgringotts.so.2.0.7.debug to /usr/lib/debug/usr/lib64/libgringotts.so.debug symlinked /usr/lib/debug/usr/lib64/libgringotts.so.2.0.7.debug to /usr/lib/debug/usr/lib64/libgringotts.so.2.debug 101 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: libgringotts-1.2.1-18.el7.ppc64le Provides: libgringotts = 1.2.1-18.el7 libgringotts(ppc-64) = 1.2.1-18.el7 libgringotts.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libmcrypt.so.4()(64bit) libmhash.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libgringotts-devel-1.2.1-18.el7.ppc64le Provides: libgringotts-devel = 1.2.1-18.el7 libgringotts-devel(ppc-64) = 1.2.1-18.el7 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-debuginfo-1.2.1-18.el7.ppc64le Provides: libgringotts-debuginfo = 1.2.1-18.el7 libgringotts-debuginfo(ppc-64) = 1.2.1-18.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le warning: Could not canonicalize hostname: buildvm-ppc64le-03.ppc.fedoraproject.org Wrote: /builddir/build/RPMS/libgringotts-1.2.1-18.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/libgringotts-devel-1.2.1-18.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/libgringotts-debuginfo-1.2.1-18.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3eiBnv + umask 022 + cd /builddir/build/BUILD + cd libgringotts-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libgringotts-1.2.1-18.el7.ppc64le + exit 0 Child return code was: 0