<86>May 3 01:37:02 userdel[2021413]: delete user 'rooter' <86>May 3 01:37:02 userdel[2021413]: removed group 'rooter' owned by 'rooter' <86>May 3 01:37:02 userdel[2021413]: removed shadow group 'rooter' owned by 'rooter' <86>May 3 01:37:02 groupadd[2021457]: group added to /etc/group: name=rooter, GID=1853 <86>May 3 01:37:02 groupadd[2021457]: group added to /etc/gshadow: name=rooter <86>May 3 01:37:02 groupadd[2021457]: new group: name=rooter, GID=1853 <86>May 3 01:37:02 useradd[2021503]: new user: name=rooter, UID=1853, GID=1853, home=/root, shell=/bin/bash, from=none <86>May 3 01:37:02 userdel[2021561]: delete user 'builder' <86>May 3 01:37:02 userdel[2021561]: removed group 'builder' owned by 'builder' <86>May 3 01:37:02 userdel[2021561]: removed shadow group 'builder' owned by 'builder' <86>May 3 01:37:02 groupadd[2021609]: group added to /etc/group: name=builder, GID=1854 <86>May 3 01:37:02 groupadd[2021609]: group added to /etc/gshadow: name=builder <86>May 3 01:37:02 groupadd[2021609]: new group: name=builder, GID=1854 <86>May 3 01:37:02 useradd[2021664]: new user: name=builder, UID=1854, GID=1854, home=/usr/src, shell=/bin/bash, from=none <13>May 3 01:37:05 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 3 01:37:05 rpmi: libcom_err-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 3 01:37:05 rpmi: libe2fs-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 3 01:37:05 rpmi: libss-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 3 01:37:05 rpmi: libss-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 3 01:37:05 rpmi: libxslt-1.1.37-alt1 sisyphus+307481.100.1.1 1664360521 installed <13>May 3 01:37:05 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 3 01:37:05 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>May 3 01:37:05 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 3 01:37:05 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 3 01:37:06 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>May 3 01:37:06 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>May 3 01:37:06 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 3 01:37:06 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 3 01:37:06 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 3 01:37:06 rpmi: libssl-devel-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 3 01:37:06 rpmi: xsltproc-1.1.37-alt1 sisyphus+307481.100.1.1 1664360521 installed <13>May 3 01:37:06 rpmi: libe2fs-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 3 01:37:06 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>May 3 01:37:06 rpmi: libxml2-devel-1:2.12.6-alt1 sisyphus+347327.100.1.1 1714660882 installed <13>May 3 01:37:06 rpmi: liblzma-devel-5.4.5-alt1 sisyphus+338177.300.3.1 1707490235 installed <13>May 3 01:37:06 rpmi: libacl-devel-2.3.1.0.20.d265-alt1 sisyphus+324057.100.1.1 1688216614 installed <13>May 3 01:37:06 rpmi: bzlib-devel-1:1.0.8-alt3 sisyphus+327286.5000.14.1 1711487039 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.91584 + 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.91584 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xar-1.6.1 + cd xar + autoconf configure.ac:99: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:99: 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:99: the top level configure.ac:107: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:107: 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:107: the top level configure.ac:189: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:189: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:189: the top level configure.ac:219: warning: The macro `AC_ERROR' is obsolete. configure.ac:219: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:219: the top level configure.ac:230: warning: The macro `AC_ERROR' is obsolete. configure.ac:230: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:230: the top level configure.ac:243: warning: The macro `AC_ERROR' is obsolete. configure.ac:243: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:243: the top level configure.ac:256: warning: The macro `AC_ERROR' is obsolete. configure.ac:256: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:256: the top level configure.ac:389: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:389: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:389: the top level + 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_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./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 --runstatedir=/var/run --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 the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-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... x86_64-alt-linux-gcc -E checking for a BSD-compatible install... /usr/bin/ginstall -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 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 stdint.h... (cached) yes checking for ext2fs/ext2_fs.h... yes 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... 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.12.6 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 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 -j16 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/ext2.c -o lib/ext2.o lib/ext2.c: In function 'xar_ext2attr_archive': lib/ext2.c:117:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 117 | free(vstr); | ^~~~ lib/ext2.c:56:1: note: include '' or provide a declaration of 'free' 55 | #include +++ |+#include 56 | #else lib/ext2.c:117:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 117 | free(vstr); | ^~~~ lib/ext2.c:117:9: note: include '' or provide a declaration of 'free' lib/ext2.c: In function 'xar_ext2attr_extract': lib/ext2.c:198:27: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] 198 | version = strtol(temp, NULL, 10); | ^~~~~~ | strtok 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/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/linuxattr.c -o lib/linuxattr.o lib/linuxattr.c: In function 'xar_linuxattr_read': lib/linuxattr.c:103:51: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 103 | LINUXATTR_CONTEXT(context)->buf = malloc(LINUXATTR_CONTEXT(context)->bufsz); | ^~~~~~ lib/linuxattr.c:65:1: note: include '' or provide a declaration of 'malloc' 64 | #include +++ |+#include 65 | #endif lib/linuxattr.c:103:51: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 103 | LINUXATTR_CONTEXT(context)->buf = malloc(LINUXATTR_CONTEXT(context)->bufsz); | ^~~~~~ lib/linuxattr.c:103:51: note: include '' or provide a declaration of 'malloc' lib/linuxattr.c:110:78: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 110 | case ERANGE: LINUXATTR_CONTEXT(context)->bufsz *= 2; free(LINUXATTR_CONTEXT(context)->buf); goto AGAIN2; | ^~~~ lib/linuxattr.c:110:78: note: include '' or provide a declaration of 'free' lib/linuxattr.c:110:78: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] lib/linuxattr.c:110:78: note: include '' or provide a declaration of 'free' lib/linuxattr.c: In function 'xar_linuxattr_archive': lib/linuxattr.c:160:15: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 160 | buf = malloc(bufsz); | ^~~~~~ lib/linuxattr.c:160:15: note: include '' or provide a declaration of 'malloc' lib/linuxattr.c:166:47: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 166 | case ERANGE: bufsz = bufsz*2; free(buf); goto TRYAGAIN; | ^~~~ lib/linuxattr.c:166:47: note: include '' or provide a declaration of 'free' lib/linuxattr.c:196:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 196 | free(context.buf); | ^~~~ lib/linuxattr.c:196:17: note: include '' or provide a declaration of 'free' lib/linuxattr.c:201:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 201 | free(buf); | ^~~~ lib/linuxattr.c:201:9: note: include '' or provide a declaration of 'free' lib/linuxattr.c: In function 'xar_linuxattr_extract': lib/linuxattr.c:234:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 234 | free(tmp); | ^~~~ lib/linuxattr.c:234:17: note: include '' or provide a declaration of 'free' 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/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/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' 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/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/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/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/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' 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 lib/hash.c: In function 'xar_hash_done': lib/hash.c:190:17: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | const EVP_MD *md = EVP_MD_CTX_md(ctx); | ^~~~~ In file included from lib/hash.c:44: /usr/include/openssl/evp.h:557:15: note: declared here 557 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ lib/hash.c:206:17: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | const EVP_MD *md = EVP_MD_CTX_md(ctx); | ^~~~~ /usr/include/openssl/evp.h:557:15: note: declared here 557 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ 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/parser.h:17, from /usr/include/libxml2/libxml/tree.h:17, from /usr/include/libxml2/libxml/xmlreader.h:14, from lib/archive.c:54: /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1719:73: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1719 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/xmlIO.h:15, from /usr/include/libxml2/libxml/xmlwriter.h:18, from lib/archive.c:53: /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1735:49: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1735 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1736:49: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1736 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1777:25: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1777 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1778:25: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1778 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1785:17: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1785 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1786:17: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1786 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1791:9: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1791 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1792:9: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1792 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | 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/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/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/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/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/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/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; | ^~~ src/xar.c: In function 'replace_sign': src/xar.c:782:17: warning: pointer 'new_xar_path_147' used after 'free' [-Wuse-after-free] 782 | fprintf(stderr, "Error creating new archive %s\n", new_xar_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c:781:17: note: call to 'free' here 781 | free(new_xar_path); | ^~~~~~~~~~~~~~~~~~ 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 -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 -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' 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' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.20813 + 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:/usr/bin:/bin:/usr/local/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/parser.h:17, from /usr/include/libxml2/libxml/tree.h:17, from /usr/include/libxml2/libxml/xmlreader.h:14, from lib/archive.c:54: /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1719:73: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1719 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/xmlIO.h:15, from /usr/include/libxml2/libxml/xmlwriter.h:18, from lib/archive.c:53: /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1735:49: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1735 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1736:49: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1736 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1777:25: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1777 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1778:25: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1778 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1785:17: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1785 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1786:17: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1786 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | xmlCleanupCharEncodingHandlers (void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/archive.c:1791:9: warning: 'xmlDictCleanup' is deprecated [-Wdeprecated-declarations] 1791 | xmlDictCleanup(); | ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/dict.h:77:25: note: declared here 77 | xmlDictCleanup (void); | ^~~~~~~~~~~~~~ lib/archive.c:1792:9: warning: 'xmlCleanupCharEncodingHandlers' is deprecated [-Wdeprecated-declarations] 1792 | xmlCleanupCharEncodingHandlers(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/encoding.h:162:9: note: declared here 162 | 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 lib/ext2.c: In function 'xar_ext2attr_archive': lib/ext2.c:117:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 117 | free(vstr); | ^~~~ lib/ext2.c:56:1: note: include '' or provide a declaration of 'free' 55 | #include +++ |+#include 56 | #else lib/ext2.c:117:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 117 | free(vstr); | ^~~~ lib/ext2.c:117:9: note: include '' or provide a declaration of 'free' lib/ext2.c: In function 'xar_ext2attr_extract': lib/ext2.c:198:27: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] 198 | version = strtol(temp, NULL, 10); | ^~~~~~ | strtok 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 lib/linuxattr.c: In function 'xar_linuxattr_read': lib/linuxattr.c:103:51: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 103 | LINUXATTR_CONTEXT(context)->buf = malloc(LINUXATTR_CONTEXT(context)->bufsz); | ^~~~~~ lib/linuxattr.c:65:1: note: include '' or provide a declaration of 'malloc' 64 | #include +++ |+#include 65 | #endif lib/linuxattr.c:103:51: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 103 | LINUXATTR_CONTEXT(context)->buf = malloc(LINUXATTR_CONTEXT(context)->bufsz); | ^~~~~~ lib/linuxattr.c:103:51: note: include '' or provide a declaration of 'malloc' lib/linuxattr.c:110:78: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 110 | case ERANGE: LINUXATTR_CONTEXT(context)->bufsz *= 2; free(LINUXATTR_CONTEXT(context)->buf); goto AGAIN2; | ^~~~ lib/linuxattr.c:110:78: note: include '' or provide a declaration of 'free' lib/linuxattr.c:110:78: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] lib/linuxattr.c:110:78: note: include '' or provide a declaration of 'free' lib/linuxattr.c: In function 'xar_linuxattr_archive': lib/linuxattr.c:160:15: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 160 | buf = malloc(bufsz); | ^~~~~~ lib/linuxattr.c:160:15: note: include '' or provide a declaration of 'malloc' lib/linuxattr.c:166:47: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 166 | case ERANGE: bufsz = bufsz*2; free(buf); goto TRYAGAIN; | ^~~~ lib/linuxattr.c:166:47: note: include '' or provide a declaration of 'free' lib/linuxattr.c:196:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 196 | free(context.buf); | ^~~~ lib/linuxattr.c:196:17: note: include '' or provide a declaration of 'free' lib/linuxattr.c:201:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 201 | free(buf); | ^~~~ lib/linuxattr.c:201:9: note: include '' or provide a declaration of 'free' lib/linuxattr.c: In function 'xar_linuxattr_extract': lib/linuxattr.c:234:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 234 | free(tmp); | ^~~~ lib/linuxattr.c:234:17: note: include '' or provide a declaration of 'free' 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 lib/hash.c: In function 'xar_hash_done': lib/hash.c:190:17: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | const EVP_MD *md = EVP_MD_CTX_md(ctx); | ^~~~~ In file included from lib/hash.c:44: /usr/include/openssl/evp.h:557:15: note: declared here 557 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ lib/hash.c:206:17: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | const EVP_MD *md = EVP_MD_CTX_md(ctx); | ^~~~~ /usr/include/openssl/evp.h:557:15: note: declared here 557 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ 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 /usr/bin/ginstall -c -d /usr/src/tmp/xar-buildroot/usr/include/xar /usr/bin/ginstall -c -m 0644 include/xar.h /usr/src/tmp/xar-buildroot/usr/include/xar /usr/bin/ginstall -c -d /usr/src/tmp/xar-buildroot/usr/lib64 /usr/bin/ginstall -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 /usr/bin/ginstall -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; | ^~~ src/xar.c: In function 'replace_sign': src/xar.c:782:17: warning: pointer 'new_xar_path_147' used after 'free' [-Wuse-after-free] 782 | fprintf(stderr, "Error creating new archive %s\n", new_xar_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c:781:17: note: call to 'free' here 781 | free(new_xar_path); | ^~~~~~~~~~~~~~~~~~ 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 /usr/bin/ginstall -c -d /usr/src/tmp/xar-buildroot/usr/bin /usr/bin/ginstall -c -m 0755 src/ixar /usr/src/tmp/xar-buildroot/usr/bin/xar /usr/bin/ginstall -c -d /usr/src/tmp/xar-buildroot/usr/share/man/man1 /usr/bin/ginstall -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 :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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/xar-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.21803 + 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:/usr/bin:/bin:/usr/local/bin:/usr/games + PATH=/usr/src/tmp/xar-buildroot/usr/bin:/usr/src/bin:/usr/bin:/bin:/usr/local/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 ... -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 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 Extracts all certificates in PEM format, concatenates them together and stores the result in the specified file. Requires -f. --extract-sig Extracts the signature data and stores it into the specified file. Requires -f. Setting --sig-offset Setting --sig-offset is optional. --inject-sig After extracting the data to be signed and doing the signing externally, injects the signature. Requires -f. -f Specifies an archive to operate on [REQUIRED!] --file= Synonym for "-f " -v Print filenames as they are archived --verbose Synonym for "-v" -C Change directory to this location before doing anything --directory= Synonym for "-C " -n name Provides a name for a subdocument -s 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= Has xar dump the xml header into the specified file. -d Synonym for "--dump-toc=" --dump-toc-raw= 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 .xml --exclude= 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=

File properties to include in archive --prop-exclude=

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 + '[' 0 -eq 0 ']' + echo 'Didn'\''t handle the broken toc properly' Didn't handle the broken toc properly + exit 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.21803 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.21803 (%check) Command exited with non-zero status 1 11.98user 7.92system 0:12.85elapsed 154%CPU (0avgtext+0avgdata 58112maxresident)k 0inputs+0outputs (0major+1156188minor)pagefaults 0swaps hsh-rebuild: rebuild of `xar-1.6.1-alt4.src.rpm' failed. Command exited with non-zero status 1 3.54user 2.60system 0:22.01elapsed 27%CPU (0avgtext+0avgdata 131452maxresident)k 0inputs+0outputs (0major+207898minor)pagefaults 0swaps