Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157687-9986/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xar-1.8.0.417.1-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xar.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157687-9986/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3pc8Dj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xar-417.1 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/xar-417.1.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/xar-417.1.tar.gz' | /usr/bin/tar -xvvof - drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/ drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/test_tools/ -rw-r--r-- bboardman/apple_ga 2265 2019-02-15 08:05 xar-417.1/test_tools/xar.tcl drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/patches/ -rw-r--r-- bboardman/apple_ga 37854 2006-04-20 04:46 xar-417.1/patches/appleadditions.diff -rw-r--r-- bboardman/apple_ga 16252 2006-04-20 04:46 xar-417.1/patches/hash.diff -rw-r--r-- bboardman/apple_ga 63187 2006-04-20 04:46 xar-417.1/patches/context.diff -rw-r--r-- bboardman/apple_ga 755 2006-04-20 04:46 xar-417.1/patches/noea.diff -rw-r--r-- bboardman/apple_ga 1328 2006-04-20 04:46 xar-417.1/patches/static-lib.diff drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xarsig/ -rw-r--r-- bboardman/apple_ga 43059 2018-03-29 09:33 xar-417.1/xarsig/xar-sig.c drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar/ -rwxr-xr-x bboardman/apple_ga 5585 2006-04-20 04:46 xar-417.1/xar/install-sh -rw-r--r-- bboardman/apple_ga 9872 2016-07-21 10:29 xar-417.1/xar/configure.ac -rw-r--r-- bboardman/apple_ga 4459 2008-10-17 11:35 xar-417.1/xar/INSTALL -rw-r--r-- bboardman/apple_ga 1628 2008-10-17 11:35 xar-417.1/xar/LICENSE drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar/test/ -rw-r--r-- bboardman/apple_ga 234 2006-04-20 04:46 xar-417.1/xar/test/data.xsl -rw-r--r-- bboardman/apple_ga 1532 2008-10-17 11:35 xar-417.1/xar/test/buffer.c -rw-r--r-- bboardman/apple_ga 3653 2008-10-17 11:35 xar-417.1/xar/test/validate.c -rwxr-xr-x bboardman/apple_ga 2563 2016-07-21 10:29 xar-417.1/xar/test/heap.py -rw-r--r-- bboardman/apple_ga 4632 2014-03-11 09:04 xar-417.1/xar/test/util.py -rwxr-xr-x bboardman/apple_ga 2107 2014-03-11 09:04 xar-417.1/xar/test/compression.py -rwxr-xr-x bboardman/apple_ga 2647 2014-03-11 09:04 xar-417.1/xar/test/hardlink.py -rwxr-xr-x bboardman/apple_ga 8446 2015-06-09 09:22 xar-417.1/xar/test/checksums.py -rw-r--r-- bboardman/apple_ga 498 2006-04-20 04:46 xar-417.1/xar/test/heap1.xsl -rwxr-xr-x bboardman/apple_ga 5055 2014-03-11 09:04 xar-417.1/xar/test/attr.py -rwxr-xr-x bboardman/apple_ga 2962 2014-03-11 09:04 xar-417.1/xar/test/integrity.py -rwxr-xr-x bboardman/apple_ga 3419 2014-03-21 05:45 xar-417.1/xar/test/data.py -rw-r--r-- bboardman/apple_ga 6 2006-04-20 04:46 xar-417.1/xar/cfgoutputs.stamp.in -rwxr-xr-x bboardman/apple_ga 180090 2016-07-21 10:29 xar-417.1/xar/configure -rw-r--r-- bboardman/apple_ga 5999 2008-10-17 11:35 xar-417.1/xar/ChangeLog drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar/include/ -rw-r--r-- bboardman/apple_ga 796 2016-07-21 10:29 xar-417.1/xar/include/config.h.in -rw-r--r-- bboardman/apple_ga 11077 2019-02-15 08:05 xar-417.1/xar/include/xar.h.in -rw-r--r-- bboardman/apple_ga 15 2019-02-22 05:23 xar-417.1/xar/include/.cvsignore -rwxr-xr-x bboardman/apple_ga 43499 2006-04-20 04:46 xar-417.1/xar/config.guess -rw-r--r-- bboardman/apple_ga 2612 2008-10-17 11:35 xar-417.1/xar/xar.spec.in -rw-r--r-- bboardman/apple_ga 97 2006-04-20 04:46 xar-417.1/xar/TODO -rwxr-xr-x bboardman/apple_ga 29504 2016-07-21 10:29 xar-417.1/xar/config.status -rwxr-xr-x bboardman/apple_ga 31743 2006-04-20 04:46 xar-417.1/xar/config.sub drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar/lib/ -rw-r--r-- bboardman/apple_ga 30990 2018-11-28 09:40 xar-417.1/xar/lib/filetree.c -rw-r--r-- bboardman/apple_ga 2676 2012-04-11 06:09 xar-417.1/xar/lib/signature.h -rw-r--r-- bboardman/apple_ga 2006 2006-07-12 07:47 xar-417.1/xar/lib/fbsdattr.h -rw-r--r-- bboardman/apple_ga 7189 2019-02-22 05:23 xar-417.1/xar/lib/zxar.c -rw-r--r-- bboardman/apple_ga 4489 2018-03-21 10:09 xar-417.1/xar/lib/archive.h -rw-r--r-- bboardman/apple_ga 13857 2008-10-17 11:35 xar-417.1/xar/lib/macho.c -rw-r--r-- bboardman/apple_ga 1864 2008-10-17 11:35 xar-417.1/xar/lib/script.h -rw-r--r-- bboardman/apple_ga 5680 2008-10-17 11:35 xar-417.1/xar/lib/Makefile.inc.in -rw-r--r-- bboardman/apple_ga 10878 2018-11-28 09:40 xar-417.1/xar/lib/util.c -rw-r--r-- bboardman/apple_ga 21211 2019-01-09 03:22 xar-417.1/xar/lib/io.c -rw-r--r-- bboardman/apple_ga 440 2008-10-17 11:35 xar-417.1/xar/lib/ea.h -rw-r--r-- bboardman/apple_ga 2266 2016-07-09 07:36 xar-417.1/xar/lib/data.h -rw-r--r-- bboardman/apple_ga 3395 2006-04-20 04:46 xar-417.1/xar/lib/appledouble.h -rw-r--r-- bboardman/apple_ga 6347 2008-10-17 11:35 xar-417.1/xar/lib/subdoc.c -rw-r--r-- bboardman/apple_ga 2119 2008-10-17 11:35 xar-417.1/xar/lib/lzmaxar.h -rw-r--r-- bboardman/apple_ga 2184 2008-10-17 11:35 xar-417.1/xar/lib/stat.h -rw-r--r-- bboardman/apple_ga 2443 2016-07-09 07:36 xar-417.1/xar/lib/arcmod.h -rw-r--r-- bboardman/apple_ga 288 2010-04-29 08:13 xar-417.1/xar/lib/b64.h -rw-r--r-- bboardman/apple_ga 2762 2008-10-17 11:35 xar-417.1/xar/lib/asprintf.h -rw-r--r-- bboardman/apple_ga 2092 2008-10-17 11:35 xar-417.1/xar/lib/darwinattr.h -rw-r--r-- bboardman/apple_ga 7571 2016-02-12 05:05 xar-417.1/xar/lib/linuxattr.c -rw-r--r-- bboardman/apple_ga 11238 2019-01-09 03:22 xar-417.1/xar/lib/hash.c -rw-r--r-- bboardman/apple_ga 7610 2008-10-17 11:35 xar-417.1/xar/lib/ext2.c -rw-r--r-- bboardman/apple_ga 2167 2008-10-17 11:35 xar-417.1/xar/lib/bzxar.h -rw-r--r-- bboardman/apple_ga 47310 2019-02-15 08:05 xar-417.1/xar/lib/archive.c -rw-r--r-- bboardman/apple_ga 2164 2008-10-17 11:35 xar-417.1/xar/lib/zxar.h -rw-r--r-- bboardman/apple_ga 3120 2014-03-11 09:04 xar-417.1/xar/lib/err.c -rw-r--r-- bboardman/apple_ga 15984 2012-09-21 04:22 xar-417.1/xar/lib/signature.c -rw-r--r-- bboardman/apple_ga 5289 2018-11-28 09:40 xar-417.1/xar/lib/filetree.h -rw-r--r-- bboardman/apple_ga 9883 2014-01-03 01:23 xar-417.1/xar/lib/fbsdattr.c -rw-r--r-- bboardman/apple_ga 4065 2014-01-03 01:23 xar-417.1/xar/lib/io.h -rw-r--r-- bboardman/apple_ga 3582 2008-10-17 11:35 xar-417.1/xar/lib/ea.c -rw-r--r-- bboardman/apple_ga 2835 2019-01-09 03:22 xar-417.1/xar/lib/util.h -rw-r--r-- bboardman/apple_ga 3208 2008-10-17 11:35 xar-417.1/xar/lib/script.c -rw-r--r-- bboardman/apple_ga 2295 2008-10-17 11:35 xar-417.1/xar/lib/macho.h -rwxr-xr-x bboardman/apple_ga 3522 2008-10-17 11:35 xar-417.1/xar/lib/strmode.h -rw-r--r-- bboardman/apple_ga 21396 2019-01-09 03:22 xar-417.1/xar/lib/stat.c -rw-r--r-- bboardman/apple_ga 7768 2018-06-01 07:10 xar-417.1/xar/lib/b64.c -rw-r--r-- bboardman/apple_ga 4553 2016-07-09 07:36 xar-417.1/xar/lib/arcmod.c -rw-r--r-- bboardman/apple_ga 10772 2008-10-17 11:35 xar-417.1/xar/lib/lzmaxar.c -rw-r--r-- bboardman/apple_ga 2481 2008-10-17 11:35 xar-417.1/xar/lib/subdoc.h -rw-r--r-- bboardman/apple_ga 7425 2016-07-09 07:36 xar-417.1/xar/lib/data.c -rw-r--r-- bboardman/apple_ga 2020 2006-07-12 07:47 xar-417.1/xar/lib/ext2.h -rw-r--r-- bboardman/apple_ga 8068 2008-10-17 11:35 xar-417.1/xar/lib/bzxar.c -rw-r--r-- bboardman/apple_ga 756 2008-10-17 11:35 xar-417.1/xar/lib/libxar.la.in.in -rw-r--r-- bboardman/apple_ga 36 2019-02-22 05:23 xar-417.1/xar/lib/.cvsignore -rw-r--r-- bboardman/apple_ga 2824 2014-03-11 09:04 xar-417.1/xar/lib/hash.h -rw-r--r-- bboardman/apple_ga 2012 2006-07-12 07:47 xar-417.1/xar/lib/linuxattr.h -rw-r--r-- bboardman/apple_ga 21063 2016-04-01 03:15 xar-417.1/xar/lib/darwinattr.c -rw-r--r-- bboardman/apple_ga 6 2006-04-20 04:46 xar-417.1/xar/cfghdrs.stamp.in -rw-r--r-- bboardman/apple_ga 2317 2008-10-17 11:35 xar-417.1/xar/Makefile.in -rw-r--r-- bboardman/apple_ga 90 2019-02-22 05:23 xar-417.1/xar/.cvsignore -rwxr-xr-x bboardman/apple_ga 315 2008-10-17 11:35 xar-417.1/xar/autogen.sh drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar/src/ -rw-r--r-- bboardman/apple_ga 1759 2008-10-17 11:35 xar-417.1/xar/src/Makefile.inc.in -rw-r--r-- bboardman/apple_ga 33229 2019-01-09 03:22 xar-417.1/xar/src/xar.c -rw-r--r-- bboardman/apple_ga 5737 2019-01-09 03:22 xar-417.1/xar/src/xar.1 -rw-r--r-- bboardman/apple_ga 26 2019-02-22 05:23 xar-417.1/xar/src/.cvsignore -rw-r--r-- bboardman/apple_ga 798 2006-04-20 04:46 xar-417.1/xar.plist -rw-r--r-- bboardman/apple_ga 652 2006-07-20 00:23 xar-417.1/README drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar.xcodeproj/ -rw-r--r-- bboardman/apple_ga 61240 2019-01-09 03:22 xar-417.1/xar.xcodeproj/project.pbxproj drwxr-xr-x bboardman/apple_ga 0 2019-02-22 05:24 xar-417.1/xar.xcodeproj/project.xcworkspace/ -rw-r--r-- bboardman/apple_ga 148 2014-03-11 09:04 xar-417.1/xar.xcodeproj/project.xcworkspace/contents.xcworkspacedata -rw-r--r-- bboardman/apple_ga 66 2019-02-22 05:23 xar-417.1/.swiftpm-packages.json -rw-r--r-- bboardman/apple_ga 238 2019-02-22 05:23 xar-417.1/.gitignore -rw-r--r-- bboardman/apple_ga 59 2012-04-11 08:32 xar-417.1/Revision.plist -rw-r--r-- bboardman/apple_ga 1685 2006-07-12 07:47 xar-417.1/xar.txt + STATUS=0 + '[' 0 -ne 0 ']' + cd xar-417.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd xar ~/build/BUILD/xar-417.1/xar ~/build/BUILD/xar-417.1 Patch #0 (xar-1.6.1-ext2.patch): + echo 'Patch #0 (xar-1.6.1-ext2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/ext2.c Patch #1 (xar-1.8-safe_dirname.patch): + echo 'Patch #1 (xar-1.8-safe_dirname.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/linuxattr.c Patch #2 (xar-1.8-arm-ppc.patch): + echo 'Patch #2 (xar-1.8-arm-ppc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/archive.c Hunk #1 succeeded at 400 (offset 13 lines). patching file src/xar.c Hunk #1 succeeded at 883 (offset 100 lines). Patch #3 (xar-1.8-openssl-1.1.patch): + echo 'Patch #3 (xar-1.8-openssl-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/hash.c Hunk #1 succeeded at 97 (offset -5 lines). Hunk #2 succeeded at 118 (offset -5 lines). Hunk #3 succeeded at 139 (offset -5 lines). Hunk #4 succeeded at 156 (offset -5 lines). Patch #4 (xar-1.8-Add-OpenSSL-To-Configuration.patch): + echo 'Patch #4 (xar-1.8-Add-OpenSSL-To-Configuration.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.ac Patch #5 (xar-1.8-gnuconfig.patch): + echo 'Patch #5 (xar-1.8-gnuconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.guess patching file config.sub + sed s:-Wl,-rpath,::g -i configure.ac + sed s:filetree.h:../lib/filetree.h:g -i src/xar.c + sed s:util.h:../lib/util.h:g -i src/xar.c + popd ~/build/BUILD/xar-417.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yZy83U + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS ~/build/BUILD/xar-417.1/xar ~/build/BUILD/xar-417.1 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xar-417.1 + pushd xar + env NOCONFIGURE=1 ./autogen.sh autoconf configure.ac:97: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:97: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:97: the top level configure.ac:105: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:105: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:105: the top level configure.ac:184: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:184: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:184: the top level configure.ac:214: warning: The macro `AC_ERROR' is obsolete. configure.ac:214: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:214: the top level configure.ac:225: warning: The macro `AC_ERROR' is obsolete. configure.ac:225: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:225: the top level configure.ac:238: warning: The macro `AC_ERROR' is obsolete. configure.ac:238: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:238: the top level configure.ac:251: warning: The macro `AC_ERROR' is obsolete. configure.ac:251: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:251: the top level configure.ac:366: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:366: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:366: the top level ./configure --enable-autogen checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS 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... /usr/bin/autoconf checking whether to build shared libraries... yes checking whether to build static libraries... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for ext2fs/ext2_fs.h... no checking for sys/statfs.h... yes checking for sys/xattr.h... yes checking for sys/param.h... yes checking for sys/extattr.h... 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... yes 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 size of uid_t... 4 checking size of gid_t... 4 checking size of ino_t... 8 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.11.5 checking for libxml/xmlwriter.h... yes checking for openssl/evp.h... yes checking for OPENSSL_init_crypto in -lcrypto... yes checking for zlib.h... yes checking for deflate in -lz... yes checking for bzlib.h... yes checking for BZ2_bzCompress in -lbz2... yes checking for pthread.h... yes checking for pthread_mutex_lock in -lpthread... 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-05-09 02:05:32.238462740 +0800 +++ ./configure 2024-05-09 02:05:35.984445673 +0800 @@ -1664,7 +1664,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS 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... /usr/bin/autoconf checking whether to build shared libraries... yes checking whether to build static libraries... no checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for ext2fs/ext2_fs.h... no checking for sys/statfs.h... yes checking for sys/xattr.h... yes checking for sys/param.h... yes checking for sys/extattr.h... 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... yes 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 size of uid_t... 4 checking size of gid_t... 4 checking size of ino_t... 8 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.11.5 checking for libxml/xmlwriter.h... yes checking for openssl/evp.h... yes checking for OPENSSL_init_crypto in -lcrypto... yes checking for zlib.h... yes checking for deflate in -lz... yes checking for bzlib.h... yes checking for BZ2_bzCompress in -lbz2... yes checking for pthread.h... yes checking for pthread_mutex_lock in -lpthread... 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: cfghdrs.stamp is unchanged config.status: creating include/config.h config.status: include/config.h is unchanged configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j32 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/b64.c -o lib/b64.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o 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 lib/macho.c: In function 'macho_parse': lib/macho.c:244:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 244 | asprintf(&typestr2, "contents/%s/type", cpustr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/macho.c:322:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 322 | asprintf(&propstr, "contents/%s/library", tmpstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/archive.h:53, from lib/arcmod.c:39: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/io.h:41, from lib/fbsdattr.c:43: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | In file included from lib/archive.h:53, from lib/data.c:46: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/data.c:47: lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | src/xar.c: In function 'main': src/xar.c:884:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 884 | int ret; | ^~~ src/xar.c:1001:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1001 | asprintf(&Subdoc, "%s.xml", SubdocName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c: In function 'add_subdoc': src/xar.c:146:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | read(fd, buf, len); | ^~~~~~~~~~~~~~~~~~ src/xar.c: In function 'extract': src/xar.c:341:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 341 | asprintf(&tmp->str, "%s/.*", args[argi]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/archive.h:53, from lib/io.h:41, from lib/zxar.c:51: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | src/xar.c: In function 'extract_subdoc': src/xar.c:167:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | write(fd, sdoc, size); | ^~~~~~~~~~~~~~~~~~~~~ lib/zxar.c: In function 'xar_gzip_fromheap_in': lib/zxar.c:120:24: warning: unused variable 'start_avail_out' [-Wunused-variable] 120 | size_t start_avail_out = GZIP_CONTEXT(context)->z.avail_out; | ^~~~~~~~~~~~~~~ lib/zxar.c:119:24: warning: unused variable 'start_avail_in' [-Wunused-variable] 119 | size_t start_avail_in = GZIP_CONTEXT(context)->z.avail_in; | ^~~~~~~~~~~~~~ In file included from lib/archive.h:53, from lib/io.h:41, from lib/bzxar.c:53: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/ea.c:41: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/err.c:38: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | lib/ea.c: In function 'xar_ea_new': lib/ea.c:70:85: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 70 | asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++); | ~~~^ | | | long long int | %ld In file included from lib/archive.h:53, from lib/util.c:52: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/err.c: In function 'xar_err_set_formatted_string': lib/err.c:75:9: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | vasprintf(&msg, format, arg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/ea.c:70:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/archive.h:53, from lib/filetree.c:55: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/io.h:41, from lib/lzmaxar.c:53: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | In file included from lib/archive.h:53, from lib/io.h:41, from lib/linuxattr.c:49: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/archive.c:64: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | In file included from lib/archive.c:67: lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | In file included from lib/hash.c:52: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/hash.c:59: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 59 | #pragma mark Hash Wrapper Object | In file included from lib/archive.h:53, from lib/io.h:41, from lib/darwinattr.c:53: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/hash.c:172: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 172 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/signature.c:43: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | In file included from lib/archive.h:53, from lib/io.c:57: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | In file included from lib/io.c:58: lib/io.h:91: warning: ignoring '#pragma mark internal' [-Wunknown-pragmas] 91 | #pragma mark internal | lib/util.c: In function 'xar_get_path': lib/util.c:152:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | asprintf(&ret, "%s/%s", name, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/archive.h:53, from lib/subdoc.c:43: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/darwinattr.c: In function 'xar_underbar_check': lib/darwinattr.c:426:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | asprintf(&nupath, "%s/%s", dname, nonunderbar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/darwinattr.c:439:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | asprintf(&tmp2, "%s/..namedfork/rsrc", nupath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c: In function 'xar_close': lib/archive.c:530:41: warning: unused variable 'rbytes' [-Wunused-variable] 530 | int fd, r, off, wbytes, rbytes; | ^~~~~~ lib/darwinattr.c: In function 'underbar_extract': lib/archive.c:524:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 524 | int ret, retval = 0; | ^~~ lib/darwinattr.c:637:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | write(DARWINATTR_CONTEXT(context)->fd, &ash, XAR_ASH_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/io.c: In function 'xar_attrcopy_from_heap': lib/darwinattr.c:643:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 643 | write(DARWINATTR_CONTEXT(context)->fd, &ase, 12); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/io.c:449:20: warning: unused variable 'tmpp' [-Wunused-variable] 449 | xar_prop_t tmpp; | ^~~~ lib/io.c:448:21: warning: unused variable 'opt' [-Wunused-variable] 448 | const char *opt; | ^~~ lib/darwinattr.c:650:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 650 | write(DARWINATTR_CONTEXT(context)->fd, &ase, 12); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/archive.h:53, from lib/stat.c:71: lib/hash.h:43: warning: ignoring '#pragma mark Hash' [-Wunknown-pragmas] 43 | #pragma mark Hash Wrapper Object | lib/archive.c: In function 'xar_opt_set': lib/hash.h:53: warning: ignoring '#pragma mark datamod' [-Wunknown-pragmas] 53 | #pragma mark datamod | lib/archive.c:859:20: warning: unused variable 'currentAttr' [-Wunused-variable] 859 | xar_attr_t currentAttr, a; | ^~~~~~~~~~~ lib/filetree.c: In function 'xar_prop_next': lib/filetree.c:333:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | asprintf(&XAR_ITER(i)->path, "%s/%s", tmp, XAR_PROP(p)->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/filetree.c:368:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 368 | 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:590:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 590 | asprintf(&tmp, "%s/%s", k, key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/filetree.c: In function 'xar_file_next': lib/filetree.c:816:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 816 | asprintf(&XAR_ITER(i)->path, "%s/%s", tmp, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/filetree.c: In function 'xar_prop_unserialize': lib/io.c: In function 'xar_attrcopy_to_heap': lib/io.c:413:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 413 | asprintf(&tmpstr, "%"PRIu64, readsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/io.c:417:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 417 | asprintf(&tmpstr, "%"PRIu64, (uint64_t)orig_heap_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/filetree.c:1025:41: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1025 | asprintf((char **)&XAR_FILE(f)->fspath, "%s/%s", XAR_FILE(XAR_FILE(f)->parent)->fspath, XAR_PROP(p)->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/io.c:429:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | asprintf(&tmpstr, "%"PRIu64, writesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/stat.c: In function 'xar_stat_archive': lib/io.c: In function 'xar_attrcopy_from_heap_to_heap': lib/stat.c:452:17: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | readlink(file, link, sizeof(link)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/io.c:614:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 614 | asprintf(&tmpstr, "%"PRIu64, (uint64_t)orig_heap_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/stat.c:463:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | asprintf(&tmpstr, "%"INO_STRING, XAR(x)->sbcache.st_ino); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/stat.c:469:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 469 | asprintf(&tmpstr, "%"DEV_STRING, XAR(x)->sbcache.st_dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c: In function 'xar_unserialize': lib/stat.c:475:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 475 | asprintf(&tmpstr, "%04o", XAR(x)->sbcache.st_mode & (~S_IFMT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/stat.c:481:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 481 | asprintf(&tmpstr, "%"PRIu64, (uint64_t)XAR(x)->sbcache.st_uid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/stat.c:493:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 493 | asprintf(&tmpstr, "%"PRIu64, (uint64_t)XAR(x)->sbcache.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1606:19: warning: variable 'noattr' set but not used [-Wunused-but-set-variable] 1606 | int type, noattr, ret; | ^~~~~~ lib/archive.c:1605:40: warning: variable 'uri' set but not used [-Wunused-but-set-variable] 1605 | const xmlChar *name, *prefix, *uri; | ^~~ lib/archive.c:1605:31: warning: variable 'prefix' set but not used [-Wunused-but-set-variable] 1605 | const xmlChar *name, *prefix, *uri; | ^~~~~~ lib/archive.c: In function 'xar_open_digest_verify': lib/archive.c:235:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 235 | asprintf(&tmp4, "%s/xar.heap.XXXXXX", XAR(ret)->dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c: In function 'xar_close': lib/archive.c:584:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 584 | asprintf(&tmpser, "%s/xar.toc.XXXXXX", XAR(x)->dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:589:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 589 | asprintf(&tmpser, "%s/xar.toc.XXXXXX", XAR(x)->dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:689:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 689 | write(XAR(x)->fd, &XAR(x)->header, sizeof(xar_header_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:720:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 720 | write(XAR(x)->fd, chkstr, chklen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:752:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 752 | write(XAR(x)->fd, signed_data,XAR_SIGNATURE(sig)->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c: In function 'xar_add_r': lib/archive.c:1119:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1119 | asprintf(&prefixstr, "%s../", prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c: In function 'xar_add_pseudodir': lib/archive.c:1028:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1028 | asprintf(&tmp, "%s", realpath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1030:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1030 | asprintf(&tmp, "%s%s%s", XAR(x)->path_prefix, prefix, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1064:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1064 | asprintf(&tmp, "%s", realpath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1066:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1066 | asprintf(&tmp, "%s/%s%s", path, prefix, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c: In function 'xar_add_node': lib/archive.c:937:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 937 | asprintf(&tmp, "%s", realpath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:939:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 939 | asprintf(&tmp, "%s%s%s", XAR(x)->path_prefix, prefix, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:973:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 973 | asprintf(&tmp, "%s", realpath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:975:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 975 | asprintf(&tmp, "%s/%s%s", path, prefix, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/hash.c: In function '_xar_format_hash': lib/hash.c:191:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] 191 | strncat(result,hexValue,2); | ^ 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/lzmaxar.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 -Llib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lpthread -lbz2 -lz -lcrypto -lxml2 -lz -llzma -lm 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/lzmaxar.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 -Llib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lpthread -lbz2 -lz -lcrypto -lxml2 -lz -llzma -lm rm -f lib/libxar.so ln -s libxar.so.1 lib/libxar.so 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o src/ixar src/xar.o -Llib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 lib/libxar.so.1 -lpthread -lbz2 -lz -lcrypto -lxml2 -lz -llzma -lm rm -f lib/librxar.so ln -s librxar.so.1 lib/librxar.so 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o src/xar src/xar.o -Llib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 lib/librxar.so.1 -lpthread -lbz2 -lz -lcrypto -lxml2 -lz -llzma -lm rm src/xar.o + popd ~/build/BUILD/xar-417.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ON3WD0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64 + cd xar-417.1 ~/build/BUILD/xar-417.1/xar ~/build/BUILD/xar-417.1 + pushd xar + make install DESTDIR=/builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64 /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/include/xar /usr/bin/install -c -m 0644 include/xar.h /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/include/xar /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64 /usr/bin/install -c -m 0755 lib/libxar.so.1 /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64 rm -f /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64/libxar.so ln -s libxar.so.1 /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64/libxar.so /usr/bin/install -c -m 0644 lib/libxar.la /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:884:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 884 | int ret; | ^~~ src/xar.c:1001:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1001 | asprintf(&Subdoc, "%s.xml", SubdocName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c: In function 'add_subdoc': src/xar.c:146:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | read(fd, buf, len); | ^~~~~~~~~~~~~~~~~~ src/xar.c: In function 'extract': src/xar.c:341:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 341 | asprintf(&tmp->str, "%s/.*", args[argi]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c: In function 'extract_subdoc': src/xar.c:167:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | write(fd, sdoc, size); | ^~~~~~~~~~~~~~~~~~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o src/ixar src/xar.o -Llib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 lib/libxar.so.1 -lpthread -lbz2 -lz -lcrypto -lxml2 -lz -llzma -lm /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/bin /usr/bin/install -c -m 0755 src/ixar /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/bin/xar /usr/bin/install -c -d /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/man/man1 /usr/bin/install -c -m 0644 src/xar.1 /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/man/man1 + rm -f /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64/libxar.la + popd ~/build/BUILD/xar-417.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.8.0.417.1-1.ocs23 --unique-debug-suffix -1.8.0.417.1-1.ocs23.x86_64 --unique-debug-src-base xar-1.8.0.417.1-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/xar-417.1 extracting debug info from /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/bin/xar extracting debug info from /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/lib64/libxar.so.1 749 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/src/debug/xar-1.8.0.417.1-1.ocs23.x86_64/xar/lib/strmode.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: xar-1.8.0.417.1-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3ix1PJ + umask 022 + cd /builddir/build/BUILD + cd xar-417.1 + DOCDIR=/builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/doc/xar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/doc/xar + cp -pr README /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/doc/xar + cp -pr xar/ChangeLog /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/doc/xar + cp -pr xar/TODO /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/doc/xar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ncN3iE + umask 022 + cd /builddir/build/BUILD + cd xar-417.1 + LICENSEDIR=/builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/licenses/xar + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/licenses/xar + cp -pr xar/LICENSE /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64/usr/share/licenses/xar + RPM_EC=0 ++ jobs -p + exit 0 Provides: libxar.so.1()(64bit) xar = 1.8.0.417.1-1.ocs23 xar(x86-64) = 1.8.0.417.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(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.5)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: xar-devel-1.8.0.417.1-1.ocs23.x86_64 Provides: xar-devel = 1.8.0.417.1-1.ocs23 xar-devel(x86-64) = 1.8.0.417.1-1.ocs23 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-debugsource-1.8.0.417.1-1.ocs23.x86_64 Provides: xar-debugsource = 1.8.0.417.1-1.ocs23 xar-debugsource(x86-64) = 1.8.0.417.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xar-debuginfo-1.8.0.417.1-1.ocs23.x86_64 Provides: debuginfo(build-id) = 5c0e98e66214babe88965945fad7f95ac8723fc2 debuginfo(build-id) = c75ca0b06bbc1ca7b6292c223d10e782375b97ca libxar.so.1-1.8.0.417.1-1.ocs23.x86_64.debug()(64bit) xar-debuginfo = 1.8.0.417.1-1.ocs23 xar-debuginfo(x86-64) = 1.8.0.417.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xar-debugsource(x86-64) = 1.8.0.417.1-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xar-1.8.0.417.1-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/xar-devel-1.8.0.417.1-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/xar-1.8.0.417.1-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/xar-debugsource-1.8.0.417.1-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/xar-debuginfo-1.8.0.417.1-1.ocs23.x86_64.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0