Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/xar.spec'], chrootPath='/var/lib/mock/655083-epel-7-ppc64le-1509103484/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/xar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-672755573.novalocal Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/xar-1.5.2-16.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/xar.spec'], chrootPath='/var/lib/mock/655083-epel-7-ppc64le-1509103484/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/xar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jc80Iw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xar-1.5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/xar-1.5.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xar-1.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xar-1.5-norpath.patch):' Patch #0 (xar-1.5-norpath.patch): + /usr/bin/cat /builddir/build/SOURCES/xar-1.5-norpath.patch + /usr/bin/patch -p1 -b --suffix .norpath --fuzz=0 patching file configure Hunk #1 succeeded at 3277 (offset 477 lines). patching file configure.ac Hunk #1 succeeded at 134 (offset 25 lines). + echo 'Patch #1 (xar-1.5.2-CVE-2010-0055.patch):' Patch #1 (xar-1.5.2-CVE-2010-0055.patch): + /usr/bin/cat /builddir/build/SOURCES/xar-1.5.2-CVE-2010-0055.patch + /usr/bin/patch -p1 -b --suffix .CVE-2010-0055 --fuzz=0 patching file lib/archive.c Hunk #1 succeeded at 286 (offset -44 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oBAx7O + umask 022 + cd /builddir/build/BUILD + cd xar-1.5.2 + 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=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 powerpc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... 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 for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for ld... /usr/bin/ld checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for autoconf... no checking whether to build shared libraries... yes checking whether to build static libraries... no checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu 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 ext2fs/ext2_fs.h usability... no checking ext2fs/ext2_fs.h presence... no checking for ext2fs/ext2_fs.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/extattr.h usability... no checking sys/extattr.h presence... no checking for sys/extattr.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for lgetxattr... yes checking for lsetxattr... yes checking for getxattr... yes checking for setxattr... yes checking for getattrlist... no checking for setattrlist... no checking for lchmod... no checking for lchown... yes checking for chflags... no checking for statvfs... yes checking for statfs... yes checking for strmode... no checking for struct statfs.f_fstypename... no checking for struct statvfs.f_fstypename... no checking for struct stat.st_flags... no checking for uid_t... yes checking size of uid_t... 4 checking for gid_t... yes checking size of gid_t... 4 checking for ino_t... yes checking size of ino_t... 8 checking for dev_t... yes checking size of dev_t... 8 checking for acl_get_file in -lacl... no checking for asprintf... yes checking for xml2-config... /usr/bin/xml2-config checking for libxml >= 2.6.11... 2.9.1 checking libxml/xmlwriter.h usability... yes checking libxml/xmlwriter.h presence... yes checking for libxml/xmlwriter.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for OpenSSL_add_all_ciphers in -lcrypto... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for deflate in -lz... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzCompress in -lbz2... yes configure: creating ./config.status config.status: creating cfgoutputs.stamp config.status: creating Makefile config.status: creating include/xar.h config.status: creating lib/Makefile.inc config.status: creating lib/libxar.la.in config.status: creating src/Makefile.inc config.status: creating xar.spec config.status: creating cfghdrs.stamp config.status: creating include/config.h + /usr/bin/make -j2 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o lib/archive.c: In function 'xar_close': lib/archive.c:348:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret, retval = 0; ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/b64.c -o lib/b64.o lib/archive.c: In function 'xar_unserialize': lib/archive.c:1350:12: warning: variable 'noattr' set but not used [-Wunused-but-set-variable] int type, noattr, ret; ^ lib/archive.c:1349:33: warning: variable 'uri' set but not used [-Wunused-but-set-variable] const xmlChar *name, *prefix, *uri; ^ lib/archive.c:1349:24: warning: variable 'prefix' set but not used [-Wunused-but-set-variable] const xmlChar *name, *prefix, *uri; ^ lib/archive.c: In function 'xar_open': lib/archive.c:199:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp4, "%s/xar.heap.XXXXXX", tmp3); ^ lib/archive.c: In function 'xar_close': lib/archive.c:400:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpser, "%s/xar.toc.XXXXXX", XAR(x)->dirname); ^ lib/archive.c:405:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpser, "%s/xar.toc.XXXXXX", XAR(x)->dirname); ^ lib/archive.c:503:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(XAR(x)->fd, &XAR(x)->header, sizeof(xar_header_t)); ^ lib/archive.c:537:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(XAR(x)->fd, chkstr, r); ^ lib/archive.c:565:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(XAR(x)->fd, signed_data,XAR_SIGNATURE(sig)->len); ^ lib/archive.c: In function 'xar_add_r': lib/archive.c:906:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&prefixstr, "%s../", prefix); ^ lib/archive.c: In function 'xar_add_pseudodir': lib/archive.c:815:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s", realpath); ^ lib/archive.c:817:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s%s%s", XAR(x)->path_prefix, prefix, name); ^ lib/archive.c:851:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s", realpath); ^ lib/archive.c:853:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s/%s%s", path, prefix, name); ^ lib/archive.c: In function 'xar_add_node': lib/archive.c:724:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s", realpath); ^ lib/archive.c:726:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s%s%s", XAR(x)->path_prefix, prefix, name); ^ lib/archive.c:760:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s", realpath); ^ lib/archive.c:762:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s/%s%s", path, prefix, name); ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o lib/bzxar.c: In function 'xar_bzip_toheap_in': lib/bzxar.c:172:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o lib/darwinattr.c: In function 'xar_underbar_check': lib/darwinattr.c:426:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&nupath, "%s/%s", dname, nonunderbar); ^ lib/darwinattr.c:438:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp2, "%s/..namedfork/rsrc", nupath); ^ lib/darwinattr.c: In function 'underbar_extract': lib/darwinattr.c:616:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(DARWINATTR_CONTEXT(context)->fd, &ash, XAR_ASH_SIZE); ^ lib/darwinattr.c:622:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(DARWINATTR_CONTEXT(context)->fd, &ase, 12); ^ lib/darwinattr.c:629:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(DARWINATTR_CONTEXT(context)->fd, &ase, 12); ^ lib/archive.c: In function 'xar_open': lib/archive.c:1426:30: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] XAR_SUBDOC(s)->attrs = XAR_ATTR(a); ^ lib/archive.c:1406:19: note: 's' was declared here xar_subdoc_t s; ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o In file included from lib/ea.c:12:0: lib/ea.c: In function 'xar_ea_new': lib/filetree.h:86:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' [-Wformat=] #define XAR_FILE(x) ((struct __xar_file_t *)(x)) ^ lib/ea.c:42:82: note: in expansion of macro 'XAR_FILE' asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++); ^ lib/ea.c:42:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++); ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o lib/filetree.c: In function 'xar_prop_next': lib/filetree.c:353:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&XAR_ITER(i)->path, "%s/%s", tmp, XAR_PROP(p)->key); ^ lib/filetree.c:390:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf((char **)&XAR_ITER(i)->node, "%s/%s", XAR_ITER(i)->path, XAR_PROP(p)->key); ^ lib/filetree.c: In function 'xar_prop_pget': lib/filetree.c:612:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%s/%s", k, key); ^ lib/filetree.c: In function 'xar_file_next': lib/filetree.c:838:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&XAR_ITER(i)->path, "%s/%s", tmp, name); ^ lib/filetree.c: In function 'xar_prop_unserialize': lib/filetree.c:1043:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf((char **)&XAR_FILE(f)->fspath, "%s/%s", XAR_FILE(XAR_FILE(f)->parent)->fspath, XAR_PROP(p)->value); ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o lib/io.c: In function 'xar_attrcopy_to_heap': lib/io.c:258:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%"PRIu64, readsize); ^ lib/io.c:262:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%"PRIu64, (uint64_t)orig_heap_offset); ^ lib/io.c:274:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%"PRIu64, writesize); ^ lib/io.c: In function 'xar_attrcopy_from_heap_to_heap': lib/io.c:566:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%"PRIu64, (uint64_t)orig_heap_offset); ^ lib/io.c: In function 'xar_attrcopy_to_heap': lib/io.c:201:7: warning: 'csum' may be used uninitialized in this function [-Wmaybe-uninitialized] tmpf = xmlHashLookup(XAR(x)->csum_hash, BAD_CAST(csum)); ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o lib/hash.c: In function 'xar_hash_out_done': lib/hash.c:244:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "archived-checksum %s's do not match",uncompstyle); ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o In file included from lib/signature.c:45:0: lib/signature.c: In function 'xar_signature_serialize': lib/signature.h:57:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int32_t' [-Wformat=] #define XAR_SIGNATURE(x) ((struct __xar_signature_t *)(x)) ^ lib/signature.c:384:49: note: in expansion of macro 'XAR_SIGNATURE' xmlTextWriterWriteFormatString(writer, "%ld", (XAR_SIGNATURE(sig)->len)); ^ lib/stat.c: In function 'xar_stat_archive': lib/stat.c:439:11: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] readlink(file, link, sizeof(link)-1); ^ lib/stat.c:449:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%04o", XAR(x)->sbcache.st_mode & (~S_IFMT)); ^ lib/stat.c:453:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%"PRIu64, (uint64_t)XAR(x)->sbcache.st_uid); ^ lib/stat.c:461:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmpstr, "%"PRIu64, (uint64_t)XAR(x)->sbcache.st_gid); ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o lib/util.c: In function 'xar_get_path': lib/util.c:99:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&ret, "%s/%s", name, tmp); ^ lib/zxar.c: In function 'xar_gzip_toheap_in': lib/zxar.c:161:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o 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 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o lib/macho.c: In function 'macho_parse': lib/macho.c:243:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&typestr2, "contents/%s/type", cpustr); ^ lib/macho.c:321:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&propstr, "contents/%s/library", tmpstr); ^ sed -e s/@LIBXAR_SNAME@/libxar.so.1/ -e s/@LIBXAR_LNAME@/libxar.so/ -e s/@LIBXAR_ANAME@// < lib/libxar.la.in > lib/libxar.la 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 -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o src/xar.c: In function 'main': src/xar.c:677:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&Subdoc, "%s.xml", SubdocName); ^ gcc -shared -Wl,-soname,libxar.so.1 -o lib/librxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -lbz2 -lz -lcrypto -lxml2 -lz -lm -ldl gcc -shared -Wl,-soname,libxar.so.1 -o lib/libxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -lbz2 -lz -lcrypto -lxml2 -lz -lm -ldl rm -f lib/librxar.so ln -s librxar.so.1 lib/librxar.so 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 -o src/xar src/xar.o -Llib -Wl,-z,relro lib/librxar.so.1 -lbz2 -lz -lcrypto -lxml2 -lz -lm -ldl rm -f lib/libxar.so ln -s libxar.so.1 lib/libxar.so 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 -o src/ixar src/xar.o -Llib -Wl,-z,relro lib/libxar.so.1 -lbz2 -lz -lcrypto -lxml2 -lz -lm -ldl rm src/xar.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I7rsoa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le ++ dirname /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le + cd xar-1.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/include/xar /usr/bin/install -c -m 0644 include/xar.h /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/include/xar /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64 /usr/bin/install -c -m 0755 lib/libxar.so.1 /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64 rm -f /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64/libxar.so ln -s libxar.so.1 /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64/libxar.so /usr/bin/install -c -m 0644 lib/libxar.la /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64 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 -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o src/xar.c: In function 'main': src/xar.c:677:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&Subdoc, "%s.xml", SubdocName); ^ 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 -o src/ixar src/xar.o -Llib -Wl,-z,relro lib/libxar.so.1 -lbz2 -lz -lcrypto -lxml2 -lz -lm -ldl /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/bin /usr/bin/install -c -m 0755 src/ixar /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/bin/xar /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/man/man1 /usr/bin/install -c -m 0644 src/xar.1 /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/man/man1 + /usr/bin/rm -f /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64/libxar.la + /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/xar-1.5.2 extracting debug info from /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/bin/xar extracting debug info from /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/lib64/libxar.so.1 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libxar.so.1.debug to /usr/lib/debug/usr/lib64/libxar.so.debug 576 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: xar-1.5.2-16.el7.centos.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vNrpUv + umask 022 + cd /builddir/build/BUILD + cd xar-1.5.2 + DOCDIR=/builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/doc/xar-1.5.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/doc/xar-1.5.2 + cp -pr TODO /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/doc/xar-1.5.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PxbxqR + umask 022 + cd /builddir/build/BUILD + cd xar-1.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/licenses/xar-1.5.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/licenses/xar-1.5.2 + cp -pr LICENSE /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le/usr/share/licenses/xar-1.5.2 + exit 0 Provides: libxar.so.1()(64bit) xar = 1.5.2-16.el7.centos xar(ppc-64) = 1.5.2-16.el7.centos Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libxar.so.1()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libxml2.so.2(LIBXML2_2.6.18)(64bit) libxml2.so.2(LIBXML2_2.6.5)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: xar-devel-1.5.2-16.el7.centos.ppc64le Provides: xar-devel = 1.5.2-16.el7.centos xar-devel(ppc-64) = 1.5.2-16.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libxar.so.1()(64bit) Processing files: xar-debuginfo-1.5.2-16.el7.centos.ppc64le Provides: xar-debuginfo = 1.5.2-16.el7.centos xar-debuginfo(ppc-64) = 1.5.2-16.el7.centos 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/xar-1.5.2-16.el7.centos.ppc64le warning: Could not canonicalize hostname: copr-builder-672755573.novalocal Wrote: /builddir/build/RPMS/xar-1.5.2-16.el7.centos.ppc64le.rpm Wrote: /builddir/build/RPMS/xar-devel-1.5.2-16.el7.centos.ppc64le.rpm Wrote: /builddir/build/RPMS/xar-debuginfo-1.5.2-16.el7.centos.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iTZ1Zf + umask 022 + cd /builddir/build/BUILD + cd xar-1.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xar-1.5.2-16.el7.centos.ppc64le + exit 0 Child return code was: 0