<86>Apr 23 06:31:44 userdel[1068262]: delete user 'rooter'
<86>Apr 23 06:31:44 userdel[1068262]: removed group 'rooter' owned by 'rooter'
<86>Apr 23 06:31:44 userdel[1068262]: removed shadow group 'rooter' owned by 'rooter'
<86>Apr 23 06:31:44 groupadd[1068280]: group added to /etc/group: name=rooter, GID=738
<86>Apr 23 06:31:44 groupadd[1068280]: group added to /etc/gshadow: name=rooter
<86>Apr 23 06:31:44 groupadd[1068280]: new group: name=rooter, GID=738
<86>Apr 23 06:31:44 useradd[1068299]: new user: name=rooter, UID=738, GID=738, home=/root, shell=/bin/bash
<86>Apr 23 06:31:44 userdel[1068326]: delete user 'builder'
<86>Apr 23 06:31:44 userdel[1068326]: removed group 'builder' owned by 'builder'
<86>Apr 23 06:31:44 userdel[1068326]: removed shadow group 'builder' owned by 'builder'
<86>Apr 23 06:31:44 groupadd[1068347]: group added to /etc/group: name=builder, GID=739
<86>Apr 23 06:31:44 groupadd[1068347]: group added to /etc/gshadow: name=builder
<86>Apr 23 06:31:44 groupadd[1068347]: new group: name=builder, GID=739
<86>Apr 23 06:31:44 useradd[1068363]: new user: name=builder, UID=739, GID=739, home=/usr/src, shell=/bin/bash
<13>Apr 23 06:31:47 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Apr 23 06:31:47 rpmi: libcom_err-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Apr 23 06:31:47 rpmi: libe2fs-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Apr 23 06:31:47 rpmi: libss-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Apr 23 06:31:47 rpmi: libss-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Apr 23 06:31:47 rpmi: libxslt-1.1.37-alt1 sisyphus+307481.100.1.1 1664360521 installed
<13>Apr 23 06:31:47 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed
<13>Apr 23 06:31:47 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed
<13>Apr 23 06:31:47 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Apr 23 06:31:47 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Apr 23 06:31:47 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed
<13>Apr 23 06:31:47 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Apr 23 06:31:47 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed
<13>Apr 23 06:31:47 rpmi: libcrypto1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed
<13>Apr 23 06:31:47 rpmi: libssl1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed
<13>Apr 23 06:31:47 rpmi: libssl-devel-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed
<13>Apr 23 06:31:47 rpmi: xsltproc-1.1.37-alt1 sisyphus+307481.100.1.1 1664360521 installed
<13>Apr 23 06:31:47 rpmi: libe2fs-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Apr 23 06:31:47 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed
<13>Apr 23 06:31:47 rpmi: libxml2-devel-1:2.10.3-alt1 sisyphus+308392.100.3.1 1666013203 installed
<13>Apr 23 06:31:47 rpmi: liblzma-devel-5.2.5-alt3.1 sisyphus+291400.100.1.1 1638634809 installed
<13>Apr 23 06:31:47 rpmi: libacl-devel-2.3.1-alt1 sisyphus+279621.200.1.1 1626627026 installed
<13>Apr 23 06:31:47 rpmi: bzlib-devel-1:1.0.8-alt2 sisyphus+283723.100.1.1 1629847653 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/xar-1.6.1-alt4.nosrc.rpm (w1.gzdio)
Installing xar-1.6.1-alt4.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.16926
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf xar-1.6.1
+ echo 'Source #0 (xar-1.6.1.tar):'
Source #0 (xar-1.6.1.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/xar-1.6.1.tar
+ cd xar-1.6.1
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (xar-1.5.3-ext2.patch):'
Patch #1 (xar-1.5.3-ext2.patch):
+ /usr/bin/patch -p1
patching file xar/lib/ext2.c
+ echo 'Patch #2 (xar-1.6.1-openssl-1.1.patch):'
Patch #2 (xar-1.6.1-openssl-1.1.patch):
+ /usr/bin/patch -p1
patching file xar/configure.ac
+ sed -ri 's/(RPATH=)".*/\1/' xar/configure.ac
+ sed '/^\. functions/iset -x' -i xar/test/attr xar/test/buffer.c xar/test/checksums xar/test/compression xar/test/data xar/test/data.xsl xar/test/functions xar/test/hardlink xar/test/heap xar/test/heap1.xsl xar/test/validate.c
+ sed 's|^\. functions|. ./functions|' -i xar/test/attr xar/test/buffer.c xar/test/checksums xar/test/compression xar/test/data xar/test/data.xsl xar/test/functions xar/test/hardlink xar/test/heap xar/test/heap1.xsl xar/test/validate.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.16926
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd xar-1.6.1
+ cd xar
+ autoconf
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --enable-autogen
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... 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... x86_64-alt-linux-gcc -E
checking for a BSD-compatible install... /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-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 for stdint.h... (cached) yes
checking ext2fs/ext2_fs.h usability... yes
checking ext2fs/ext2_fs.h presence... yes
checking for ext2fs/ext2_fs.h... yes
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 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... yes
checking for asprintf... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml >= 2.6.11... 2.10.3
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_init_crypto 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
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for lzma_code in -llzma... 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
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
+ make -j8
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
echo stamp > cfgoutputs.stamp.in
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
./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
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/b64.c -o lib/b64.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -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:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  353 |                 int err;
      |                     ^~~
lib/filetree.c:395:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  395 |                 int err;
      |                     ^~~
lib/filetree.c: In function 'xar_file_next':
lib/filetree.c:850:29: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  850 |                         int err;
      |                             ^~~
lib/filetree.c: In function 'xar_prop_unserialize':
lib/filetree.c:1058:45: warning: variable 'err' set but not used [-Wunused-but-set-variable]
 1058 |                                         int err;
      |                                             ^~~
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o
lib/archive.c: In function 'xar_close':
lib/archive.c:469:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  469 |         int ret, retval = 0;
      |             ^~~
lib/archive.c: In function 'xar_unserialize':
lib/archive.c:1718:73: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1718 |                                                                         xmlDictCleanup();
      |                                                                         ^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/xmlregexp.h:43,
                 from /usr/include/libxml2/libxml/tree.h:333,
                 from /usr/include/libxml2/libxml/parser.h:14,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/xmlIO.h:117,
                 from /usr/include/libxml2/libxml/xmlwriter.h:18,
                 from lib/archive.c:53:
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1719:73: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1719 |                                                                         xmlCleanupCharEncodingHandlers();
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:810:
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1735:49: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1735 |                                                 xmlDictCleanup();
      |                                                 ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1736:49: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1736 |                                                 xmlCleanupCharEncodingHandlers();
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1777:25: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1777 |                         xmlDictCleanup();
      |                         ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1778:25: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1778 |                         xmlCleanupCharEncodingHandlers();
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1785:17: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1785 |                 xmlDictCleanup();
      |                 ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1786:17: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1786 |                 xmlCleanupCharEncodingHandlers();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1791:9: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1791 |         xmlDictCleanup();
      |         ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1792:9: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1792 |         xmlCleanupCharEncodingHandlers();
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1684:19: warning: variable 'noattr' set but not used [-Wunused-but-set-variable]
 1684 |         int type, noattr, ret;
      |                   ^~~~~~
lib/archive.c:1683:40: warning: variable 'uri' set but not used [-Wunused-but-set-variable]
 1683 |         const xmlChar *name, *prefix, *uri;
      |                                        ^~~
lib/archive.c:1683:31: warning: variable 'prefix' set but not used [-Wunused-but-set-variable]
 1683 |         const xmlChar *name, *prefix, *uri;
      |                               ^~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
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
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o
lib/util.c: In function 'xar_get_path':
lib/util.c:97:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
   97 |                 int err;
      |                     ^~~
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o
src/xar.c: In function 'is_valid_dir':
src/xar.c:672:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  672 |         int err, result, curdir = open(".", O_RDONLY);
      |             ^~~
src/xar.c: In function 'archive':
src/xar.c:1211:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
 1211 |                 int err;
      |                     ^~~
src/xar.c: In function 'main':
src/xar.c:1931:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1931 |         int ret;
      |             ^~~
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-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  -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
rm -f lib/librxar.so
ln -s librxar.so.1 lib/librxar.so
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-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  -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
rm -f lib/libxar.so
ln -s libxar.so.1 lib/libxar.so
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -o src/xar src/xar.o -Llib  lib/librxar.so.1 -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -o src/ixar src/xar.o -Llib  lib/libxar.so.1 -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.89968
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/xar-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/xar-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd xar-1.6.1
+ cd xar
+ make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/xar-buildroot
make: Entering directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
echo stamp > cfghdrs.stamp.in
./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
echo stamp > cfghdrs.stamp
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o
lib/archive.c: In function 'xar_close':
lib/archive.c:469:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  469 |         int ret, retval = 0;
      |             ^~~
lib/archive.c: In function 'xar_unserialize':
lib/archive.c:1718:73: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1718 |                                                                         xmlDictCleanup();
      |                                                                         ^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/xmlregexp.h:43,
                 from /usr/include/libxml2/libxml/tree.h:333,
                 from /usr/include/libxml2/libxml/parser.h:14,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/xmlIO.h:117,
                 from /usr/include/libxml2/libxml/xmlwriter.h:18,
                 from lib/archive.c:53:
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1719:73: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1719 |                                                                         xmlCleanupCharEncodingHandlers();
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:810:
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1735:49: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1735 |                                                 xmlDictCleanup();
      |                                                 ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1736:49: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1736 |                                                 xmlCleanupCharEncodingHandlers();
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1777:25: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1777 |                         xmlDictCleanup();
      |                         ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1778:25: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1778 |                         xmlCleanupCharEncodingHandlers();
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1785:17: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1785 |                 xmlDictCleanup();
      |                 ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1786:17: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1786 |                 xmlCleanupCharEncodingHandlers();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1791:9: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations]
 1791 |         xmlDictCleanup();
      |         ^~~~~~~~~~~~~~
/usr/include/libxml2/libxml/dict.h:76:25: note: declared here
   76 |                         xmlDictCleanup  (void);
      |                         ^~~~~~~~~~~~~~
lib/archive.c:1792:9: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations]
 1792 |         xmlCleanupCharEncodingHandlers();
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/encoding.h:161:9: note: declared here
  161 |         xmlCleanupCharEncodingHandlers  (void);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/archive.c:1684:19: warning: variable 'noattr' set but not used [-Wunused-but-set-variable]
 1684 |         int type, noattr, ret;
      |                   ^~~~~~
lib/archive.c:1683:40: warning: variable 'uri' set but not used [-Wunused-but-set-variable]
 1683 |         const xmlChar *name, *prefix, *uri;
      |                                        ^~~
lib/archive.c:1683:31: warning: variable 'prefix' set but not used [-Wunused-but-set-variable]
 1683 |         const xmlChar *name, *prefix, *uri;
      |                               ^~~~~~
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -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:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  353 |                 int err;
      |                     ^~~
lib/filetree.c:395:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  395 |                 int err;
      |                     ^~~
lib/filetree.c: In function 'xar_file_next':
lib/filetree.c:850:29: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  850 |                         int err;
      |                             ^~~
lib/filetree.c: In function 'xar_prop_unserialize':
lib/filetree.c:1058:45: warning: variable 'err' set but not used [-Wunused-but-set-variable]
 1058 |                                         int err;
      |                                             ^~~
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o
lib/util.c: In function 'xar_get_path':
lib/util.c:97:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
   97 |                 int err;
      |                     ^~~
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o
x86_64-alt-linux-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  -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
rm -f lib/librxar.so
ln -s librxar.so.1 lib/librxar.so
x86_64-alt-linux-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  -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
rm -f lib/libxar.so
ln -s libxar.so.1 lib/libxar.so
/bin/install -c -d /usr/src/tmp/xar-buildroot/usr/include/xar
/bin/install -c -m 0644 include/xar.h /usr/src/tmp/xar-buildroot/usr/include/xar
/bin/install -c -d /usr/src/tmp/xar-buildroot/usr/lib64
/bin/install -c -m 0755 lib/libxar.so.1 /usr/src/tmp/xar-buildroot/usr/lib64
rm -f /usr/src/tmp/xar-buildroot/usr/lib64/libxar.so
ln -s libxar.so.1 /usr/src/tmp/xar-buildroot/usr/lib64/libxar.so
/bin/install -c -m 0644 lib/libxar.la /usr/src/tmp/xar-buildroot/usr/lib64
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o
src/xar.c: In function 'is_valid_dir':
src/xar.c:672:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  672 |         int err, result, curdir = open(".", O_RDONLY);
      |             ^~~
src/xar.c: In function 'archive':
src/xar.c:1211:21: warning: variable 'err' set but not used [-Wunused-but-set-variable]
 1211 |                 int err;
      |                     ^~~
src/xar.c: In function 'main':
src/xar.c:1931:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1931 |         int ret;
      |             ^~~
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -o src/ixar src/xar.o -Llib  lib/libxar.so.1 -llzma -lbz2 -lz -lcrypto -lacl  -lxml2
/bin/install -c -d /usr/src/tmp/xar-buildroot/usr/bin
/bin/install -c -m 0755 src/ixar /usr/src/tmp/xar-buildroot/usr/bin/xar
/bin/install -c -d /usr/src/tmp/xar-buildroot/usr/share/man/man1
/bin/install -c -m 0644 src/xar.1 /usr/src/tmp/xar-buildroot/usr/share/man/man1
make: Leaving directory '/usr/src/RPM/BUILD/xar-1.6.1/xar'
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/xar-buildroot (auto)
removed './usr/lib64/libxar.la'
mode of './usr/lib64/libxar.so.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/xar-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/xar-buildroot/ (default)
Compressing files in /usr/src/tmp/xar-buildroot (auto)
Adjusting library links in /usr/src/tmp/xar-buildroot
./usr/lib64: (from <cmdline>:0)
	libxar.so.1 -> libxar.so.1
Verifying ELF objects in /usr/src/tmp/xar-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.94671
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd xar-1.6.1
+ cd xar
+ cp -a /bin test-bin
++ pwd
+ /usr/bin/subst 's|/bin$|/usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin|g' test/attr test/buffer.c test/checksums test/compression test/data test/data.xsl test/functions test/hardlink test/heap test/heap1.xsl test/validate.c
+ /usr/bin/subst 's|bin |test-bin |g' test/attr test/buffer.c test/checksums test/compression test/data test/data.xsl test/functions test/hardlink test/heap test/heap1.xsl test/validate.c
+ /usr/bin/subst 's| bin$| test-bin|g' test/attr test/buffer.c test/checksums test/compression test/data test/data.xsl test/functions test/hardlink test/heap test/heap1.xsl test/validate.c
+ cd test
+ export PATH=/usr/src/tmp/xar-buildroot/usr/bin:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ PATH=/usr/src/tmp/xar-buildroot/usr/bin:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ export LD_LIBRARY_PATH=/usr/src/tmp/xar-buildroot/usr/lib64
+ LD_LIBRARY_PATH=/usr/src/tmp/xar-buildroot/usr/lib64
+ xar --help
xar 1.6.1
Usage: xar -[ctx][v] -f <archive> ...
	-c               Creates an archive
	--create         Synonym for "-c"
	-x               Extracts an archive
	--extract        Synonym for "-x"
	-t               Lists an archive
	--list           Synonym for "-t"
	--sign           Creates a placeholder signature and saves
	                 the data to sign to disk. Works with -c or -f, requires
	                 --sig-size and one or more --cert-loc to be set.
	                 Setting --data-to-sign and --sig-offset is optional.
	                 Fails with error code 61 if the archive has already
	                 been signed.
	--replace-sign   Rips out existing signature(s) and makes a new one.
	                 Same required parameter set as --sign, 
	                 but -f instead of -c.
	--extract-data-to-sign Extracts data to be signed from an
	                 existing archive. Requires --data-to-sign (and -f)
	                 to be set.  Setting --sig-offset is optional.
	--extract-certs <dir> Extracts all certificates in DER (binary) format
	                 into the specified pre-existing directory, naming them
	                  'cert00', 'cert01', 'cert02' etc. where 'cert00' is
	                 the leaf/signing cert.  Requires -f.
	--extract-CAfile <filename> Extracts all certificates in PEM format,
	                 concatenates them together and stores the result in the
	                 specified file.  Requires -f.
	--extract-sig <filename> Extracts the signature data and stores it into
	                 the specified file.  Requires -f.  Setting --sig-offset
	                 Setting --sig-offset is optional.
	--inject-sig <filename> After extracting the data to be signed and
	                 doing the signing externally, injects the
	                 signature. Requires -f.
	-f <filename>    Specifies an archive to operate on [REQUIRED!]
	--file=<filename> Synonym for "-f <filename>"
	-v               Print filenames as they are archived
	--verbose        Synonym for "-v"
	-C <path>        Change directory to this location before doing anything
	--directory=<path> Synonym for "-C <path>"
	-n name          Provides a name for a subdocument
	-s <filename>    On extract, specifies the file to extract
	                      subdocuments to.
	                 On archival, specifies an xml file to add
	                      as a subdocument.
	-l               On archival, stay on the local device.
	--one-file-system Synonym for "-l"
	-p               On extract, set ownership based on symbolic
	                      names, if possible.
	-P               On extract, set ownership based on uid/gid.
	--toc-cksum      Specifies the hashing algorithm to use for
	                      xml header verification.
	                      Valid values: none, sha1, and md5
	                      Default: sha1
	                      If the linked library supports them, sha224
	                      sha256, sha384 and sha512 may also be used.
	                      Setting a stronger toc hash than the default will
	                      also set the file hash to the same value if it's
	                      not been explictly set to something else.
	--file-cksum     Specifies the hashing algorithm to use for
	                      file verification.
	                      Same values and defaults as --toc-cksum.
	                      Setting a stronger file hash than the default will
	                      also set the toc hash to the same value if it's
	                      not been explictly set to something else.
	--dump-toc=<filename> Has xar dump the xml header into the
	                      specified file.
	-d <filename>    Synonym for "--dump-toc=<filename>"
	--dump-toc-raw=<filename> Has xar dump the raw, compressed xml
	                      header data into the specified file.
	--dump-header    Prints out the xar binary header information
	--compression    Specifies the compression type to use.
	                      Valid values: none, gzip, bzip2, lzma, xz
	                      Default: gzip
	-a               Synonym for "--compression=lzma"
	-j               Synonym for "--compression=bzip2"
	-z               Synonym for "--compression=gzip"
	--compression-args=arg Specifies arguments to be passed
	                       to the compression engine.
	--rfc6713        Always use application/zlib for gzip encoding style
	--list-subdocs   List the subdocuments in the xml header
	--extract-subdoc=name Extracts the specified subdocument
	                      to a document in cwd named <name>.xml
	--exclude=<regexp> POSIX basic regular expression of files to 
	                      ignore while archiving.
	--strip-components=n Number of path components to strip when extracting
	--to-stdout      Write file contents to standard out when extracting
	-O               Synonym for "--to-stdout"
	--rsize          Specifies the size of the buffer used
	                      for read IO operations in bytes.
	--coalesce-heap  When archived files are identical, only store one copy
	                      This option creates an archive which
	                      is not streamable
	--link-same      Hardlink identical files
	--recompress     Allow recompressing already compressed files
	--no-compress    POSIX regular expression of files
	                      to archive, but not compress.
	--prop-include=<p> File properties to include in archive
	--prop-exclude=<p> File properties to exclude in archive
	--distribution   Only includes a subset of file properties
	                      appropriate for archive distribution
	--keep-existing  Do not overwrite existing files while extracting
	-k               Synonym for --keep-existing
	--keep-setuid    Preserve the suid/sgid bits when extracting
	--sig-size=n     Size (in bytes) of the signature placeholder
	                      to generate.
	--sig-len=n      Synonym for "--sig-size=n"
	--data-to-sign=file   Path where to dump the data to be signed.
	                      Requires --toc-cksum type other than none.
	--digestinfo-to-sign=file Path where to dump the DigestInfo data to be
	                 signed.  This option requires the --toc-cksum type be
	                 set to sha1 (the default), md5, sha224, sha256, sha384
	                 or sha512.  It produces the same output data as the
	                 --data-to-sign option does except that the output has
	                 the appropriate DigestInfo prefix value prepended.
	                 May only be used in place of the --data-to-sign option.
	--sig-offset=file     Path where to dump the signature's offset
	                      within the xar.  Never required.
	--cert-loc=file  Location of a signing certificate to include in the
	                      archive.  May be repeated to include a
	                      certificate chain.  The first cert-loc option
	                      should specify the leaf certificate, the next its
	                      issuer and so on so that the last cert-loc option
	                      specifies the root CA for the chain.
	                      Certificate files must be in DER (binary) format.
	                      --leaf-cert-loc= and --intermediate-cert-loc=
	                      are accepted as synonyms for --cert-loc= for
	                      historical reasons.
	--help           Show this help on stdout
	-h               Synonym for "--help"
	-V               Synonym for "--version"
	--version        Print xar's version number to stdout
+ find .
.
./validate.c
./heap1.xsl
./heap
./hardlink
./functions
./data.xsl
./data
./compression
./checksums
./buffer.c
./attr
+ ./checksums
+ . ./functions
++ XAR=xar
+ echo 'Testing handling of a broken TOC with default checksum'
Testing handling of a broken TOC with default checksum
+ rm -rf bin.xar test-bin
+ xar -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
++ xar --dump-header -f bin.xar
++ grep size
++ awk '{print $2}'
+ hdrsize=28
++ expr 28 + 4
+ offset=32
+ dd if=/dev/random of=bin.xar seek=32 bs=100 count=1
+ xar -xf bin.xar
+ '[' 1 -eq 0 ']'
+ '[' -d test-bin ']'
+ echo 'Testing handling of a broken TOC with MD5 checksum'
Testing handling of a broken TOC with MD5 checksum
+ rm -rf bin.xar test-bin
+ xar --toc-cksum=md5 -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
xar: warning: The md5 hash is obsolete and should not be used anymore -- continuing anyway
+ '[' 0 -ne 0 ']'
++ xar --dump-header -f bin.xar
++ grep size
++ awk '{print $2}'
+ hdrsize=28
++ expr 28 + 4
+ offset=32
+ dd if=/dev/random of=bin.xar seek=32 bs=100 count=1
+ xar -xf bin.xar
+ '[' 1 -eq 0 ']'
+ '[' -d test-bin ']'
+ echo 'Testing handling of a broken TOC with SHA1 checksum'
Testing handling of a broken TOC with SHA1 checksum
+ rm -rf bin.xar test-bin
+ xar --toc-cksum=sha1 -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
++ xar --dump-header -f bin.xar
++ awk '{print $2}'
++ grep size
+ hdrsize=28
++ expr 28 + 4
+ offset=32
+ dd if=/dev/random of=bin.xar seek=32 bs=100 count=1
+ xar -xf bin.xar
+ '[' 1 -eq 0 ']'
+ '[' -d test-bin ']'
+ rm -f bin.xar
+ echo 'Testing handling of a broken heap with defaults'
Testing handling of a broken heap with defaults
+ rm -rf bin.xar test-bin
+ create_archive bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ xar -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
++ awk '{print $2}'
++ xar --dump-header -f bin.xar
++ grep size
+ hdrsize=28
++ grep Compressed
++ awk '{print $4}'
++ xar --dump-header -f bin.xar
+ tocsize=8729
++ expr 28 + 8729 + 20
+ offset=8777
+ dd if=/dev/random of=bin.xar seek=8777 bs=100 count=1
+ xar -xf bin.xar
+ '[' 1 -eq 0 ']'
+ rm -rf bin.xar test-bin
+ echo 'Success checking checksum handling'
Success checking checksum handling
+ ./compression
+ . ./functions
++ XAR=xar
+ echo 'Testing normal archival creation/extraction with default compression'
Testing normal archival creation/extraction with default compression
+ rm -rf bin.xar test-bin
+ xar -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
+ du -k bin.xar
3556	bin.xar
+ xar -xf bin.xar
+ '[' 0 -ne 0 ']'
+ '[' '!' -e bin/sh ']'
+ echo 'Error with extracted contents'
Error with extracted contents
+ echo 'Testing normal archival creation/extraction with gzip compression'
Testing normal archival creation/extraction with gzip compression
+ rm -rf bin.xar test-bin
+ xar --compression=gzip -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
+ du -k bin.xar
3556	bin.xar
+ xar -xf bin.xar
+ '[' 0 -ne 0 ']'
+ '[' '!' -e bin/sh ']'
+ echo 'Error with extracted contents'
Error with extracted contents
+ echo 'Testing normal archival creation/extraction with bzip2 compression'
Testing normal archival creation/extraction with bzip2 compression
+ rm -rf bin.xar test-bin
+ xar --compression=bzip2 -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
+ xar -xf bin.xar
+ '[' 0 -ne 0 ']'
+ du -k bin.xar
3456	bin.xar
+ '[' '!' -e bin/sh ']'
+ echo 'Error with extracted contents'
Error with extracted contents
+ echo 'Testing normal archival creation/extraction with lzma compression'
Testing normal archival creation/extraction with lzma compression
+ rm -rf bin.xar test-bin
+ xar --compression=lzma -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
+ du -k bin.xar
3052	bin.xar
+ xar -xf bin.xar
+ '[' 0 -ne 0 ']'
+ '[' '!' -e bin/sh ']'
+ echo 'Error with extracted contents'
Error with extracted contents
+ echo 'Testing normal archival creation/extraction with no compression'
Testing normal archival creation/extraction with no compression
+ rm -rf bin.xar test-bin
+ xar --compression=none -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
+ du -k bin.xar
7768	bin.xar
+ xar -xf bin.xar
+ '[' 0 -ne 0 ']'
+ '[' '!' -e bin/sh ']'
+ echo 'Error with extracted contents'
Error with extracted contents
+ xar --compression=none -cf bin.xar /usr/src/RPM/BUILD/xar-1.6.1/xar/test-bin
+ '[' 0 -ne 0 ']'
+ xar -xf bin.xar
+ '[' 0 -ne 0 ']'
+ '[' '!' -e bin/sh ']'
+ echo 'Error with extracted contents'
Error with extracted contents
+ rm -rf bin.xar test-bin
+ echo 'Success testing compression types'
Success testing compression types
+ ./data
+ . ./functions
++ XAR=xar
+ echo 'Testing if zero length files have data sections'
Testing if zero length files have data sections
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ cd h
+ create_archive ../h.xar .
+ xar -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ '[' 0 -ne 0 ']'
++ xsltproc data.xsl h.toc
++ grep -v xml
+ offset=
+ '[' '' '!=' '' ']'
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing zero length files with gzip compression'
Testing zero length files with gzip compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ cd h
+ xar --compression=gzip -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ '[' 0 -ne 0 ']'
++ xsltproc data.xsl h.toc
++ grep -v xml
+ offset=
+ '[' '' '!=' '' ']'
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing zero length files with bzip2 compression'
Testing zero length files with bzip2 compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ cd h
+ xar --compression=bzip2 -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ '[' 0 -ne 0 ']'
++ xsltproc data.xsl h.toc
++ grep -v xml
+ offset=
+ '[' '' '!=' '' ']'
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing zero length files with lzma compression'
Testing zero length files with lzma compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ cd h
+ xar --compression=lzma -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ '[' 0 -ne 0 ']'
++ grep -v xml
++ xsltproc data.xsl h.toc
+ offset=
+ '[' '' '!=' '' ']'
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing zero length files with no compression'
Testing zero length files with no compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ cd h
+ xar --compression=none -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ '[' 0 -ne 0 ']'
++ xsltproc data.xsl h.toc
++ grep -v xml
+ offset=
+ '[' '' '!=' '' ']'
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing mixed zero length/populated files with gzip compression'
Testing mixed zero length/populated files with gzip compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ echo foo
+ cd h
+ xar --compression=gzip -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
++ cat a
+ contents=
+ '[' '!' -z '' ']'
++ cat b
+ contents=foo
+ '[' foo '!=' foo ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing mixed zero length/populated files with bzip2 compression'
Testing mixed zero length/populated files with bzip2 compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ echo foo
+ cd h
+ xar --compression=bzip2 -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
++ cat a
+ contents=
+ '[' '!' -z '' ']'
++ cat b
+ contents=foo
+ '[' foo '!=' foo ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing mixed zero length/populated files with lzma compression'
Testing mixed zero length/populated files with lzma compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ echo foo
+ cd h
+ xar --compression=lzma -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
++ cat a
+ contents=
+ '[' '!' -z '' ']'
++ cat b
+ contents=foo
+ '[' foo '!=' foo ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ echo 'Testing mixed zero length/populated files with no compression'
Testing mixed zero length/populated files with no compression
+ cleanup
+ rm -rf a b h h.xar h.toc
+ mkdir h
+ touch h/a
+ echo foo
+ cd h
+ xar --compression=none -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ extract_archive h.xar
+ xar -xf h.xar
+ '[' 0 -ne 0 ']'
++ cat a
+ contents=
+ '[' '!' -z '' ']'
++ cat b
+ contents=foo
+ '[' foo '!=' foo ']'
+ cleanup
+ rm -rf a b h h.xar h.toc
+ ./hardlink
+ . ./functions
++ XAR=xar
+ echo 'Checking hardlinks in a directory'
Checking hardlinks in a directory
+ rm -rf h h1 h.xar
+ mkdir h h1
+ touch h/a
+ ln h/a h/b
+ create_archive h.xar h
+ xar -cf h.xar h
+ '[' 0 -ne 0 ']'
+ cd h1
+ extract_archive ../h.xar
+ xar -xf ../h.xar
+ '[' 0 -ne 0 ']'
+ check_hardlink h/a h/b
+ local a=h/a
+ local b=h/b
+ local inode1 inode2
+ '[' '!' -f h/a ']'
+ '[' '!' -f h/b ']'
++ ls -i h/a
++ awk '{print $1}'
+ inode1=517044
++ ls -i h/b
++ awk '{print $1}'
+ inode2=517044
+ '[' 517044 '!=' 517044 ']'
+ cd ..
+ rm -rf h h1 h.xar
+ echo 'Checking hardlinks in .'
Checking hardlinks in .
+ mkdir -p h h1
+ cd h
+ touch a
+ ln a b
+ create_archive ../h.xar .
+ xar -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ../h1
+ extract_archive ../h.xar
+ xar -xf ../h.xar
+ '[' 0 -ne 0 ']'
+ check_hardlink a b
+ local a=a
+ local b=b
+ local inode1 inode2
+ '[' '!' -f a ']'
+ '[' '!' -f b ']'
++ ls -i a
++ awk '{print $1}'
+ inode1=517052
++ ls -i b
++ awk '{print $1}'
+ inode2=517052
+ '[' 517052 '!=' 517052 ']'
+ cd ..
+ rm -rf h h1 h.xar
+ echo 'Checking link extraction (no original)'
Checking link extraction (no original)
+ rm -rf h h1 h.xar
+ mkdir h h1
+ touch h/a
+ ln h/a h/b
+ create_archive h.xar h
+ xar -cf h.xar h
+ '[' 0 -ne 0 ']'
+ cd h1
+ extract_archive ../h.xar
+ xar -xf ../h.xar
+ '[' 0 -ne 0 ']'
+ '[' '!' -f h/b ']'
+ cd ..
+ rm -rf h h1 h.xar
+ echo 'Hardlink success'
Hardlink success
+ ./heap
+ . ./functions
++ XAR=xar
+ echo 'Checking normal heap archiving'
Checking normal heap archiving
+ cleanup
+ rm -rf h h1 h.xar h.toc h.out
+ mkdir -p h h1
+ cp /bin/ls h
+ cp h/ls h/foo
+ cd h
+ create_archive ../h.xar .
+ xar -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ cd h1
+ extract_archive ../h.xar
+ xar -xf ../h.xar
+ '[' 0 -ne 0 ']'
+ cd ..
+ xsltproc heap1.xsl h.toc
+ '[' 0 -ne 0 ']'
++ head -1 h.out
++ awk '{print $2}'
+ offset1=20
++ tail -1 h.out
++ awk '{print $2}'
+ offset2=61502
+ '[' 20 -ge 61502 ']'
+ cleanup
+ rm -rf h h1 h.xar h.toc h.out
+ echo 'Checking --coalesce-heap heap archiving'
Checking --coalesce-heap heap archiving
+ mkdir -p h h1
+ cp /bin/ls h
+ cp h/ls h/foo
+ cd h
+ xar --coalesce-heap -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ cd h1
+ extract_archive ../h.xar
+ xar -xf ../h.xar
+ '[' 0 -ne 0 ']'
+ cd ..
+ xsltproc heap1.xsl h.toc
+ '[' 0 -ne 0 ']'
++ head -1 h.out
++ awk '{print $2}'
+ offset1=20
++ awk '{print $2}'
++ tail -1 h.out
+ offset2=20
+ '[' 20 -ne 20 ']'
+ cleanup
+ rm -rf h h1 h.xar h.toc h.out
+ echo 'Checking --link-same heap archiving'
Checking --link-same heap archiving
+ mkdir -p h h1
+ cp /bin/ls h
+ cp h/ls h/foo
+ cd h
+ xar --link-same -cf ../h.xar .
+ '[' 0 -ne 0 ']'
+ cd ..
+ xar --dump-toc=h.toc -f h.xar
+ cd h1
+ extract_archive ../h.xar
+ xar -xf ../h.xar
+ '[' 0 -ne 0 ']'
+ cd ..
++ awk '{print $1}'
++ ls -i h1/ls
+ inode1=517095
++ ls -i h1/foo
++ awk '{print $1}'
+ inode2=517095
+ '[' 517095 -ne 517095 ']'
+ cleanup
+ rm -rf h h1 h.xar h.toc h.out
+ exit 0
Processing files: xar-1.6.1-alt4
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.20713
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd xar-1.6.1
+ DOCDIR=/usr/src/tmp/xar-buildroot/usr/share/doc/xar-1.6.1
+ export DOCDIR
+ rm -rf /usr/src/tmp/xar-buildroot/usr/share/doc/xar-1.6.1
+ /bin/mkdir -p /usr/src/tmp/xar-buildroot/usr/share/doc/xar-1.6.1
+ cp -prL xar/LICENSE xar/NEWS xar/INSTALL xar/ChangeLog /usr/src/tmp/xar-buildroot/usr/share/doc/xar-1.6.1
+ chmod -R go-w /usr/src/tmp/xar-buildroot/usr/share/doc/xar-1.6.1
+ chmod -R a+rX /usr/src/tmp/xar-buildroot/usr/share/doc/xar-1.6.1
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YdjOrm
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PhKGcI
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: libxar = 1.6.1-alt4, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.2.5)(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.4)(64bit), libc.so.6(GLIBC_2.8)(64bit), libxar.so.1()(64bit) >= set:lfpC6B6Zf7L4QkwcnUZypY6uuGppybq2AzIvjP1mZ5i80ZKi5nsDT8UOG2cX2tT9A48dmVSjZq3IwzZtZIdKCk5CnZeJ1EZJeL1, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Zzwy2b
Creating xar-debuginfo package
Processing files: libxar-1.6.1-alt4
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0a3sZz
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
lib.prov: /usr/src/tmp/xar-buildroot/usr/lib64/libxar.so.1: 174 symbols, 18 bpp
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.99lrzU
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Provides: libxar.so.1()(64bit) = set:ldD2Pz3YDWtTxm8HDGZaoLz4ShZi1fZnWoEGn1zB9RT3D0W32gCaeuDNmZJEZbWl45ugNrjZotaB8WLhQ8DPgVJFTpBU8ex3CRnXKsaa45H5TKzmP1IBixes9prt9x8Jpz3MYCiI6GmTjzJ2T8S2nnPicEJ5mdr22CAwl0YUMQiIomRn4bSyyQwnU0zw1hdLJG1OgSmQBKDY68doUwHexaZ52dpn6QWeOEsHZjiLTrBITZiFNGX6WZq0yZcQawyttnVNq4CffHbxzE9clMZLtJYXsHdI6hl0I299Ab2uWWeKzy8iFv0cVALIUa5s6pz6pnBChbnmqabhRy8KdB2CyuhoB8i96TioZx
Requires: libacl.so.1()(64bit) >= set:jgi4sBNcrsTGNkXX0, libacl.so.1(ACL_1.0)(64bit), libbz2.so.1()(64bit) >= set:ifZkunoOqIvjfhv80, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.8)(64bit), libcrypto.so.1.1()(64bit) >= set:qmXyD7ls5VbZ9ya7DgwqvfrK3C3QVhQf0DfI1Rfjd, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), liblzma.so.5()(64bit) >= set:kgYmwU8cXBRZqkzdArC7Ijf, liblzma.so.5(XZ_5.0)(64bit), libxml2.so.2()(64bit) >= set:oifKYWhjYG0DlsZ6JTh9ZxxO5T1LdbuMLGTMdjY4ksaowFQaAOC8xV4lZ7NxeJRFOiRH1JI6WtwYSnQJCKZh8MoPsyTExVyiCEaVBf61WGPSlnHwAL1, 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) >= set:khdWPIUrJuazh01Xf1, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KwPKt5
Creating libxar-debuginfo package
Processing files: libxar-devel-1.6.1-alt4
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WLmqmP
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IbBHi2
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: libxar = 1.6.1-alt4, /usr/lib64/libxar.so.1
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5vpFAK
Processing files: xar-debuginfo-1.6.1-alt4
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0fM3JN
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HS6GbK
find-requires: running scripts (debuginfo)
Requires: xar = 1.6.1-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libxar.so.1)
Processing files: libxar-debuginfo-1.6.1-alt4
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.L82Klc
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oT26xa
find-requires: running scripts (debuginfo)
Provides: debug64(libxar.so.1)
Requires: libxar = 1.6.1-alt4, debug64(libacl.so.1), debug64(libbz2.so.1), debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(liblzma.so.5), debug64(libxml2.so.2), debug64(libz.so.1)
Adding to xar a strict dependency on libxar
Adding to xar-debuginfo a strict dependency on xar
Adding to libxar-devel a strict dependency on libxar
Adding to libxar-debuginfo a strict dependency on libxar
Adding to xar-debuginfo a strict dependency on libxar-debuginfo
Removing from xar-debuginfo 3 sources provided by libxar-debuginfo
also prunning dir /usr/src/debug/xar-1.6.1/xar/include
also prunning dir /usr/src/debug/xar-1.6.1/xar/lib
Removing 2 extra deps from xar due to dependency on libxar
Removing 1 extra deps from libxar-devel due to dependency on libxar
Removing 1 extra deps from xar-debuginfo due to dependency on libxar-debuginfo
Removing 6 extra deps from xar due to repentancy on libxar
Removing 1 extra deps from xar-debuginfo due to repentancy on libxar-debuginfo
Wrote: /usr/src/RPM/RPMS/x86_64/xar-1.6.1-alt4.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/libxar-1.6.1-alt4.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/libxar-devel-1.6.1-alt4.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/xar-debuginfo-1.6.1-alt4.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/libxar-debuginfo-1.6.1-alt4.x86_64.rpm (w2.lzdio)
37.18user 6.85system 0:49.82elapsed 88%CPU (0avgtext+0avgdata 57756maxresident)k
0inputs+0outputs (0major+2005772minor)pagefaults 0swaps
3.30user 1.90system 1:00.32elapsed 8%CPU (0avgtext+0avgdata 110020maxresident)k
632inputs+0outputs (32768major+165828minor)pagefaults 0swaps
--- libxar-1.6.1-alt4.x86_64.rpm.repo	2021-12-31 10:47:32.000000000 +0000
+++ libxar-1.6.1-alt4.x86_64.rpm.hasher	2023-04-23 06:32:41.906781974 +0000
@@ -27,3 +27,3 @@
 Provides: libxar = 1.6.1-alt4:sisyphus+292832.100.1.1
-File: /usr/lib64/libxar.so.1	100644	root:root	a8ddbf5e8e368f9bf996586f32971389	
-RPMIdentity: e068ab4c7d3aa48be05ea0937629a522615c481deaabada4f26c167176bf74eca413db9f95b77261be7c483a1a86ba8a1e658aa59150bef95761d6309a7c6927
+File: /usr/lib64/libxar.so.1	100644	root:root	0576995a5b01aa4e5925facb04c816d8	
+RPMIdentity: 86db81aef6fe82d41ebcef4d22fc428cbed02c9f3d37fd59995e54dc034e153943160c22c4b6cbc3c51685095542643d82f717fb12ced57c03bfd2008cd6a943
--- libxar-debuginfo-1.6.1-alt4.x86_64.rpm.repo	2021-12-31 10:47:32.000000000 +0000
+++ libxar-debuginfo-1.6.1-alt4.x86_64.rpm.hasher	2023-04-23 06:32:42.098782744 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/ea	40755	root:root	
-/usr/lib/debug/.build-id/ea/ba59c6a757ebaafb39bbb28db63fe2102fae4b	120777	root:root	../../../../lib64/libxar.so.1
-/usr/lib/debug/.build-id/ea/ba59c6a757ebaafb39bbb28db63fe2102fae4b.debug	120777	root:root	../../usr/lib64/libxar.so.1.debug
+/usr/lib/debug/.build-id/99	40755	root:root	
+/usr/lib/debug/.build-id/99/3deaa043a49fc034dbe51d3e7f2fef298a755b	120777	root:root	../../../../lib64/libxar.so.1
+/usr/lib/debug/.build-id/99/3deaa043a49fc034dbe51d3e7f2fef298a755b.debug	120777	root:root	../../usr/lib64/libxar.so.1.debug
 /usr/lib/debug/usr/lib64/libxar.so.1.debug	100644	root:root	
@@ -65,6 +65,6 @@
 Provides: libxar-debuginfo = 1.6.1-alt4:sisyphus+292832.100.1.1
-File: /usr/lib/debug/.build-id/ea	40755	root:root		
-File: /usr/lib/debug/.build-id/ea/ba59c6a757ebaafb39bbb28db63fe2102fae4b	120777	root:root		../../../../lib64/libxar.so.1
-File: /usr/lib/debug/.build-id/ea/ba59c6a757ebaafb39bbb28db63fe2102fae4b.debug	120777	root:root		../../usr/lib64/libxar.so.1.debug
-File: /usr/lib/debug/usr/lib64/libxar.so.1.debug	100644	root:root	195f9d698b193e6384623f63c4baa9cd	
+File: /usr/lib/debug/.build-id/99	40755	root:root		
+File: /usr/lib/debug/.build-id/99/3deaa043a49fc034dbe51d3e7f2fef298a755b	120777	root:root		../../../../lib64/libxar.so.1
+File: /usr/lib/debug/.build-id/99/3deaa043a49fc034dbe51d3e7f2fef298a755b.debug	120777	root:root		../../usr/lib64/libxar.so.1.debug
+File: /usr/lib/debug/usr/lib64/libxar.so.1.debug	100644	root:root	cdd649f8d5d1a3cd0b7ee5eb5d800834	
 File: /usr/src/debug/xar-1.6.1	40755	root:root		
@@ -119,2 +119,2 @@
 File: /usr/src/debug/xar-1.6.1/xar/lib/zxar.h	100644	root:root	9ccc87272c8573b53a766a322bce0523	
-RPMIdentity: bbdb1dc1266e3c1c9ed6abb77ea6cf95d77c6ae7a6e0ceca2a8f6301c46a03830d18011f09c1c7add363940f3300b1d57fc518c15bb16687dac3d97330852b56
+RPMIdentity: 42931cda2ce45354158ea16a2d274851ad548a827e61808f04f86b20b9838c95c970e959ab8ea27622038460eb00b38be53a151043bcc80bec3ae9a36d5948a9
--- xar-1.6.1-alt4.x86_64.rpm.repo	2021-12-31 10:47:32.000000000 +0000
+++ xar-1.6.1-alt4.x86_64.rpm.hasher	2023-04-23 06:32:42.489784313 +0000
@@ -12,3 +12,3 @@
 Provides: xar = 1.6.1-alt4:sisyphus+292832.100.1.1
-File: /usr/bin/xar	100755	root:root	4e4adeb4b3b91b58287d5f3c11015a91	
+File: /usr/bin/xar	100755	root:root	c00b9ad90d6e3b4c5d59d27a8cce0f13	
 File: /usr/share/doc/xar-1.6.1	40755	root:root		
@@ -19,2 +19,2 @@
 File: /usr/share/man/man1/xar.1.xz	100644	root:root	94aab9fa7eae629aaa86e5f39ecfd0ca	
-RPMIdentity: 460fb89d860a5c64683e3ca21d9fde862ee5d9557dfe8bd3a4f3d8b5e2f9e66a874ff53ea348612de891e0479803b92e4280de7fa6a12e06b7fff10c0458fee3
+RPMIdentity: 69c67286528b3cfb100ca0a7bb6d26c74ebfefc658101ab7c553a159474ae26478f5a34eaea53a3171a6e2258af828af20a51fce6a6d161af14356f49e65463c
--- xar-debuginfo-1.6.1-alt4.x86_64.rpm.repo	2021-12-31 10:47:32.000000000 +0000
+++ xar-debuginfo-1.6.1-alt4.x86_64.rpm.hasher	2023-04-23 06:32:42.657784988 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/f9	40755	root:root	
-/usr/lib/debug/.build-id/f9/2c907cf3921946c0dfcd9803a57dae8d099bfc	120777	root:root	../../../../bin/xar
-/usr/lib/debug/.build-id/f9/2c907cf3921946c0dfcd9803a57dae8d099bfc.debug	120777	root:root	../../usr/bin/xar.debug
+/usr/lib/debug/.build-id/db	40755	root:root	
+/usr/lib/debug/.build-id/db/dc21c25a2df0f74989e86206f9ab8b610ab0cf	120777	root:root	../../../../bin/xar
+/usr/lib/debug/.build-id/db/dc21c25a2df0f74989e86206f9ab8b610ab0cf.debug	120777	root:root	../../usr/bin/xar.debug
 /usr/lib/debug/usr/bin/xar.debug	100644	root:root	
@@ -13,6 +13,6 @@
 Provides: xar-debuginfo = 1.6.1-alt4:sisyphus+292832.100.1.1
-File: /usr/lib/debug/.build-id/f9	40755	root:root		
-File: /usr/lib/debug/.build-id/f9/2c907cf3921946c0dfcd9803a57dae8d099bfc	120777	root:root		../../../../bin/xar
-File: /usr/lib/debug/.build-id/f9/2c907cf3921946c0dfcd9803a57dae8d099bfc.debug	120777	root:root		../../usr/bin/xar.debug
-File: /usr/lib/debug/usr/bin/xar.debug	100644	root:root	dd7ab5c487d7dcc85d17796d5ab48d46	
+File: /usr/lib/debug/.build-id/db	40755	root:root		
+File: /usr/lib/debug/.build-id/db/dc21c25a2df0f74989e86206f9ab8b610ab0cf	120777	root:root		../../../../bin/xar
+File: /usr/lib/debug/.build-id/db/dc21c25a2df0f74989e86206f9ab8b610ab0cf.debug	120777	root:root		../../usr/bin/xar.debug
+File: /usr/lib/debug/usr/bin/xar.debug	100644	root:root	e7b5897293d1c8881eccf5955af901c9	
 File: /usr/src/debug/xar-1.6.1	40755	root:root		
@@ -21,2 +21,2 @@
 File: /usr/src/debug/xar-1.6.1/xar/src/xar.c	100644	root:root	ee39ec1ecf44a1bb4580b180d8a9eb0a	
-RPMIdentity: 51ac3128070aea033402bc49ffce8099feff3a02e5292ff60c17e513e14c83ce59ca5cdbd21c6d7408fea825135c00367d7ab13543f6095fcabcc7f93d69e1d7
+RPMIdentity: c2f3539e8a2df6f7fd5d5393eb93962264b912172ea0675f9421225f79e53ef7d925062adfc787ae4ee4975e34967d7452b6877a49c20288905c4224c7414172