23607593 Update libarchive to version 3.2.0
authorRich Burridge <rich.burridge@oracle.com>
Tue, 21 Jun 2016 09:11:29 -0700
changeset 6261 1dda1578278c
parent 6260 c6db55d32fc3
child 6262 879221d37327
23607593 Update libarchive to version 3.2.0 23607546 problem in LIBRARY/LIBARCHIVE
components/libarchive/Makefile
components/libarchive/libarchive.license
components/libarchive/libarchive.p5m
components/libarchive/patches/CVE-2016-1541.patch
components/libarchive/patches/fix-tests.patch
components/libarchive/test/results-all.master
--- a/components/libarchive/Makefile	Tue Jun 21 10:06:06 2016 -0600
+++ b/components/libarchive/Makefile	Tue Jun 21 09:11:29 2016 -0700
@@ -26,16 +26,17 @@
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		libarchive
-COMPONENT_VERSION=	3.1.2
+COMPONENT_VERSION=	3.2.0
 COMPONENT_PROJECT_URL=	http://www.libarchive.org/
 COMPONENT_ARCHIVE_HASH=	\
-	sha256:eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
+	sha256:7bce45fd71ff01dc20d19edd78322d4965583d81b8bed8e26cacb65d6f5baa87
 COMPONENT_ARCHIVE_URL=	\
     $(COMPONENT_PROJECT_URL)downloads/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	library/libarchive
 
-TPNO=			24584
+TPNO=			29561
 
+TEST_TARGET= install $(TEST_32_and_64)
 include $(WS_MAKE_RULES)/common.mk
 
 # Userland default includes -mt which links with libthread which we don't need.
@@ -59,6 +60,11 @@
 COMPONENT_TEST_ARGS +=	CFLAGS="$(CFLAGS)"
 COMPONENT_TEST_ENV +=	TMPDIR="$(COMPONENT_TEST_BUILD_DIR)"
 
+# Get correct libarchive.so from the proto area.
+TEST_LIBPATH.32 =       $(PROTOUSRLIBDIR)
+TEST_LIBPATH.64 =       $(PROTOUSRLIBDIR64)
+COMPONENT_TEST_ENV +=	LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS))
+
 # We need GNU awk for the following to work; hence the PATH tweak.
 # We then convert BSD-style section numbers in the libarchive man pages to
 # Solaris-style section numbers.
@@ -73,19 +79,32 @@
 
 PKG_PROTO_DIRS += $(COMPONENT_SRC)/doc/man
 
+# Needed for "gmake test" to work successfully.
+# If SHELLOPTS is exported (as it is by the userland makefiles),
+# then all shell options get exported to child invocations of bash,
+# which results in test failures due to nounset and xtrace being
+# set unexpectedly, and errors such as "$1: unbound variable" and
+# diffs failing due to script tracing in output files.
+unexport SHELLOPTS
+
 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
 COMPONENT_TEST_TRANSFORMS += \
-	'-e "s|$(COMPONENT_TEST_BUILD_DIR).*$$|build/test|g"' \
-	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
-	'-e "s/ld: warning: symbol .* has differing sizes:$$/XXX_CC_XXX/"' \
-	'-e "s/.*value=0x[0-9a-f]\+.*$$/XXX_CC_XXX/"' \
-	'-e "s/.* definition taken$$/XXX_CC_XXX/"' \
-	'-e "s|.*Assertions checked:.*$$|XXX_CC_XXX|g" ' \
-	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
-	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
-	'-e "s|.*recipe for target.*failed$$|XXX_CC_XXX|g" ' \
-	'-e "s|^make.*\*\*\*.*Error.*$$|XXX_CC_XXX|g" ' \
-	'-e "/^XXX_CC_XXX$$/d"'
+	'-n ' \
+	'-e "/ ok/p" ' \
+	'-e "/ FAIL/p" ' \
+	'-e "/Totals:/p" ' \
+	'-e "/Tests run:/p" ' \
+	'-e "/Tests failed:/p" ' \
+	'-e "/Assertions failed:/p" ' \
+	'-e "/Skips reported:/p" ' \
+	'-e "/Failing tests:/p" ' \
+	'-e "/ failure/p" ' \
+	'-e "/TOTAL/p" ' \
+	'-e "/SKIP/p" ' \
+	'-e "/PASS/p" ' \
+	'-e "/FAIL/p" ' \
+	'-e "/ERROR/p" ' \
+        '-e "/=========/p" ' \
 
 REQUIRED_PACKAGES += compress/bzip2
 REQUIRED_PACKAGES += compress/xz
--- a/components/libarchive/libarchive.license	Tue Jun 21 10:06:06 2016 -0600
+++ b/components/libarchive/libarchive.license	Tue Jun 21 09:11:29 2016 -0700
@@ -92,7 +92,7 @@
 
 /*-
  * Copyright (c) 1985, 1986, 1992, 1993
- *	The Regents of the University of California.  All rights reserved.
+ *      The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software contributed to Berkeley by
  * Diomidis Spinellis and James A. Woods, derived from original
@@ -110,6 +110,7 @@
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
+ *
  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
--- a/components/libarchive/libarchive.p5m	Tue Jun 21 10:06:06 2016 -0600
+++ b/components/libarchive/libarchive.p5m	Tue Jun 21 09:11:29 2016 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability Uncommitted>
@@ -65,6 +65,7 @@
 file path=usr/share/man/man3archive/archive_entry_stat.3archive
 file path=usr/share/man/man3archive/archive_entry_time.3archive
 file path=usr/share/man/man3archive/archive_read.3archive
+file path=usr/share/man/man3archive/archive_read_add_passphrase.3archive
 file path=usr/share/man/man3archive/archive_read_data.3archive
 file path=usr/share/man/man3archive/archive_read_disk.3archive
 file path=usr/share/man/man3archive/archive_read_extract.3archive
@@ -88,6 +89,7 @@
 file path=usr/share/man/man3archive/archive_write_new.3archive
 file path=usr/share/man/man3archive/archive_write_open.3archive
 file path=usr/share/man/man3archive/archive_write_set_options.3archive
+file path=usr/share/man/man3archive/archive_write_set_passphrase.3archive
 file path=usr/share/man/man3lib/libarchive.3lib
 file path=usr/share/man/man3lib/libarchive_changes.3lib
 file path=usr/share/man/man3lib/libarchive_internals.3lib
--- a/components/libarchive/patches/CVE-2016-1541.patch	Tue Jun 21 10:06:06 2016 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-Fix for CVE-2016-1541.
-
-More information at:
-
-  https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1541
-
-Patch based on committed changes at:
-
-  https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
-
-and adjusted to work with the version of libarchive we currently have.
-
---- libarchive-3.1.2/libarchive/archive_read_support_format_zip.c.orig	2016-05-25 07:28:45.920088332 -0700
-+++ libarchive-3.1.2/libarchive/archive_read_support_format_zip.c	2016-05-25 07:32:19.394552995 -0700
[email protected]@ -560,6 +560,11 @@
- 
- 	switch(rsrc->compression) {
- 	case 0:  /* No compression. */
-+		if (rsrc->uncompressed_size != rsrc->compressed_size) {
-+			archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
-+			    "Malformed OS X metadata entry: inconsistent size");
-+			return (ARCHIVE_FATAL);
-+		}
- #ifdef HAVE_ZLIB_H
- 	case 8: /* Deflate compression. */
- #endif
[email protected]@ -581,6 +586,13 @@
- 		return (ARCHIVE_WARN);
- 	}
- 
-+	if (rsrc->compressed_size > (4 * 1024 * 1024)) {
-+		archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
-+		    "Mac metadata is too large: %jd > 4M bytes",
-+		    (intmax_t)rsrc->compressed_size);
-+		return (ARCHIVE_WARN);
-+	}
-+
- 	metadata = malloc((size_t)rsrc->uncompressed_size);
- 	if (metadata == NULL) {
- 		archive_set_error(&a->archive, ENOMEM,
[email protected]@ -619,6 +631,8 @@
- 			bytes_avail = remaining_bytes;
- 		switch(rsrc->compression) {
- 		case 0:  /* No compression. */
-+			if ((size_t)bytes_avail > metadata_bytes)
-+				bytes_avail = metadata_bytes;
- 			memcpy(mp, p, bytes_avail);
- 			bytes_used = (size_t)bytes_avail;
- 			metadata_bytes -= bytes_used;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libarchive/patches/fix-tests.patch	Tue Jun 21 09:11:29 2016 -0700
@@ -0,0 +1,44 @@
+Version related tests fail because we have:
+
+#define ZLIB_VERSION "1.2.8-T4mods"
+
+in /usr/include/zlib.h instead of the normal:
+
+#define ZLIB_VERSION "1.2.8"
+
+This patch has been submitted upstream. See:
+https://github.com/libarchive/libarchive/issues/720
+
+--- libarchive-3.2.0/tar/test/test_version.c.orig	2016-06-17 15:01:20.182487097 -0700
++++ libarchive-3.2.0/tar/test/test_version.c	2016-06-17 16:09:37.869258356 -0700
[email protected]@ -88,7 +88,7 @@
+ 	if (*q == 'a' || *q == 'b' || *q == 'c' || *q == 'd')
+ 		++q;
+ 	/* Skip arbitrary third-party version numbers. */
+-	while (s > 0 && (*q == ' ' || *q == '/' || *q == '.' || isalnum(*q))) {
++	while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' || isalnum(*q))) {
+ 		++q;
+ 		--s;
+ 	}
+--- libarchive-3.2.0/cpio/test/test_option_version.c.orig	2016-06-17 16:33:58.917721419 -0700
++++ libarchive-3.2.0/cpio/test/test_option_version.c	2016-06-17 16:34:20.005855444 -0700
[email protected]@ -75,7 +75,7 @@
+ 	if (*q == 'a' || *q == 'b' || *q == 'c' || *q == 'd')
+ 		++q;
+ 	/* Skip arbitrary third-party version numbers. */
+-	while (s > 0 && (*q == ' ' || *q == '/' || *q == '.' || isalnum(*q))) {
++	while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' || isalnum(*q))) {
+ 		++q;
+ 		--s;
+ 	}
+--- libarchive-3.2.0/cat/test/test_version.c.orig	2016-06-17 16:36:09.148321710 -0700
++++ libarchive-3.2.0/cat/test/test_version.c	2016-06-17 16:36:25.036590222 -0700
[email protected]@ -83,7 +83,7 @@
+ 	if (*q == 'a' || *q == 'b' || *q == 'c' || *q == 'd')
+ 		++q;
+ 	/* Skip arbitrary third-party version numbers. */
+-	while (s > 0 && (*q == ' ' || *q == '/' || *q == '.' || isalnum(*q))) {
++	while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' || isalnum(*q))) {
+ 		++q;
+ 		--s;
+ 	}
--- a/components/libarchive/test/results-all.master	Tue Jun 21 10:06:06 2016 -0600
+++ b/components/libarchive/test/results-all.master	Tue Jun 21 09:11:29 2016 -0700
@@ -1,880 +1,16 @@
-/usr/gnu/bin/make  check-am
-/usr/gnu/bin/make  libarchive_test bsdtar_test bsdcpio_test
-  CC     libarchive/libarchive_test-archive_acl.o
-  CC     libarchive/libarchive_test-archive_check_magic.o
-  CC     libarchive/libarchive_test-archive_cmdline.o
-  CC     libarchive/libarchive_test-archive_crypto.o
-  CC     libarchive/libarchive_test-archive_entry.o
-  CC     libarchive/libarchive_test-archive_entry_copy_stat.o
-  CC     libarchive/libarchive_test-archive_entry_link_resolver.o
-  CC     libarchive/libarchive_test-archive_entry_sparse.o
-  CC     libarchive/libarchive_test-archive_entry_stat.o
-  CC     libarchive/libarchive_test-archive_entry_strmode.o
-  CC     libarchive/libarchive_test-archive_entry_xattr.o
-  CC     libarchive/libarchive_test-archive_getdate.o
-  CC     libarchive/libarchive_test-archive_match.o
-  CC     libarchive/libarchive_test-archive_options.o
-  CC     libarchive/libarchive_test-archive_pathmatch.o
-  CC     libarchive/libarchive_test-archive_ppmd7.o
-  CC     libarchive/libarchive_test-archive_rb.o
-  CC     libarchive/libarchive_test-archive_read.o
-  CC     libarchive/libarchive_test-archive_read_append_filter.o
-  CC     libarchive/libarchive_test-archive_read_data_into_fd.o
-  CC     libarchive/libarchive_test-archive_read_disk_entry_from_file.o
-  CC     libarchive/libarchive_test-archive_read_disk_posix.o
-  CC     libarchive/libarchive_test-archive_read_disk_set_standard_lookup.o
-  CC     libarchive/libarchive_test-archive_read_extract.o
-  CC     libarchive/libarchive_test-archive_read_open_fd.o
-  CC     libarchive/libarchive_test-archive_read_open_file.o
-  CC     libarchive/libarchive_test-archive_read_open_filename.o
-  CC     libarchive/libarchive_test-archive_read_open_memory.o
-  CC     libarchive/libarchive_test-archive_read_set_format.o
-  CC     libarchive/libarchive_test-archive_read_set_options.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_all.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_bzip2.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_compress.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_grzip.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_gzip.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_lrzip.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_lzop.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_none.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_program.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_rpm.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_uu.o
-  CC     libarchive/libarchive_test-archive_read_support_filter_xz.o
-  CC     libarchive/libarchive_test-archive_read_support_format_7zip.o
-"$(SOURCE_DIR)/libarchive/archive_read_support_format_7zip.c", line 3274: warning: initializer will be sign-extended: -1
-"$(SOURCE_DIR)/libarchive/archive_read_support_format_7zip.c", line 3274: warning: initializer will be sign-extended: -1
-"$(SOURCE_DIR)/libarchive/archive_read_support_format_7zip.c", line 3274: warning: initializer will be sign-extended: -1
-  CC     libarchive/libarchive_test-archive_read_support_format_all.o
-  CC     libarchive/libarchive_test-archive_read_support_format_ar.o
-  CC     libarchive/libarchive_test-archive_read_support_format_by_code.o
-  CC     libarchive/libarchive_test-archive_read_support_format_cab.o
-  CC     libarchive/libarchive_test-archive_read_support_format_cpio.o
-  CC     libarchive/libarchive_test-archive_read_support_format_empty.o
-  CC     libarchive/libarchive_test-archive_read_support_format_iso9660.o
-  CC     libarchive/libarchive_test-archive_read_support_format_lha.o
-  CC     libarchive/libarchive_test-archive_read_support_format_mtree.o
-  CC     libarchive/libarchive_test-archive_read_support_format_rar.o
-  CC     libarchive/libarchive_test-archive_read_support_format_raw.o
-  CC     libarchive/libarchive_test-archive_read_support_format_tar.o
-  CC     libarchive/libarchive_test-archive_read_support_format_xar.o
-  CC     libarchive/libarchive_test-archive_read_support_format_zip.o
-  CC     libarchive/libarchive_test-archive_string.o
-  CC     libarchive/libarchive_test-archive_string_sprintf.o
-  CC     libarchive/libarchive_test-archive_util.o
-  CC     libarchive/libarchive_test-archive_virtual.o
-  CC     libarchive/libarchive_test-archive_write.o
-  CC     libarchive/libarchive_test-archive_write_disk_acl.o
-  CC     libarchive/libarchive_test-archive_write_disk_posix.o
-  CC     libarchive/libarchive_test-archive_write_disk_set_standard_lookup.o
-  CC     libarchive/libarchive_test-archive_write_open_fd.o
-  CC     libarchive/libarchive_test-archive_write_open_file.o
-  CC     libarchive/libarchive_test-archive_write_open_filename.o
-  CC     libarchive/libarchive_test-archive_write_open_memory.o
-  CC     libarchive/libarchive_test-archive_write_add_filter.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_b64encode.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_by_name.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_bzip2.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_compress.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_grzip.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_gzip.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_lrzip.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_lzop.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_none.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_program.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_uuencode.o
-  CC     libarchive/libarchive_test-archive_write_add_filter_xz.o
-  CC     libarchive/libarchive_test-archive_write_set_format.o
-  CC     libarchive/libarchive_test-archive_write_set_format_7zip.o
-  CC     libarchive/libarchive_test-archive_write_set_format_ar.o
-  CC     libarchive/libarchive_test-archive_write_set_format_by_name.o
-  CC     libarchive/libarchive_test-archive_write_set_format_cpio.o
-  CC     libarchive/libarchive_test-archive_write_set_format_cpio_newc.o
-  CC     libarchive/libarchive_test-archive_write_set_format_iso9660.o
-  CC     libarchive/libarchive_test-archive_write_set_format_mtree.o
-  CC     libarchive/libarchive_test-archive_write_set_format_pax.o
-  CC     libarchive/libarchive_test-archive_write_set_format_shar.o
-  CC     libarchive/libarchive_test-archive_write_set_format_ustar.o
-  CC     libarchive/libarchive_test-archive_write_set_format_v7tar.o
-  CC     libarchive/libarchive_test-archive_write_set_format_gnutar.o
-  CC     libarchive/libarchive_test-archive_write_set_format_xar.o
-  CC     libarchive/libarchive_test-archive_write_set_format_zip.o
-  CC     libarchive/libarchive_test-archive_write_set_options.o
-  CC     libarchive/libarchive_test-filter_fork_posix.o
-  CC     test_utils/libarchive_test-test_utils.o
-  CC     libarchive/test/libarchive_test-main.o
-  CC     libarchive/test/libarchive_test-read_open_memory.o
-  CC     libarchive/test/libarchive_test-test_acl_freebsd_posix1e.o
-  CC     libarchive/test/libarchive_test-test_acl_freebsd_nfs4.o
-  CC     libarchive/test/libarchive_test-test_acl_nfs4.o
-  CC     libarchive/test/libarchive_test-test_acl_pax.o
-  CC     libarchive/test/libarchive_test-test_acl_posix1e.o
-  CC     libarchive/test/libarchive_test-test_archive_api_feature.o
-  CC     libarchive/test/libarchive_test-test_archive_clear_error.o
-  CC     libarchive/test/libarchive_test-test_archive_cmdline.o
-  CC     libarchive/test/libarchive_test-test_archive_crypto.o
-  CC     libarchive/test/libarchive_test-test_archive_getdate.o
-  CC     libarchive/test/libarchive_test-test_archive_match_owner.o
-  CC     libarchive/test/libarchive_test-test_archive_match_path.o
-  CC     libarchive/test/libarchive_test-test_archive_match_time.o
-  CC     libarchive/test/libarchive_test-test_archive_pathmatch.o
-  CC     libarchive/test/libarchive_test-test_archive_read_close_twice.o
-  CC     libarchive/test/libarchive_test-test_archive_read_close_twice_open_fd.o
-  CC     libarchive/test/libarchive_test-test_archive_read_close_twice_open_filename.o
-  CC     libarchive/test/libarchive_test-test_archive_read_multiple_data_objects.o
-  CC     libarchive/test/libarchive_test-test_archive_read_next_header_empty.o
-  CC     libarchive/test/libarchive_test-test_archive_read_next_header_raw.o
-  CC     libarchive/test/libarchive_test-test_archive_read_open2.o
-  CC     libarchive/test/libarchive_test-test_archive_read_set_filter_option.o
-  CC     libarchive/test/libarchive_test-test_archive_read_set_format_option.o
-  CC     libarchive/test/libarchive_test-test_archive_read_set_option.o
-  CC     libarchive/test/libarchive_test-test_archive_read_set_options.o
-  CC     libarchive/test/libarchive_test-test_archive_read_support.o
-  CC     libarchive/test/libarchive_test-test_archive_set_error.o
-  CC     libarchive/test/libarchive_test-test_archive_string.o
-  CC     libarchive/test/libarchive_test-test_archive_string_conversion.o
-  CC     libarchive/test/libarchive_test-test_archive_write_add_filter_by_name.o
-  CC     libarchive/test/libarchive_test-test_archive_write_set_filter_option.o
-  CC     libarchive/test/libarchive_test-test_archive_write_set_format_by_name.o
-  CC     libarchive/test/libarchive_test-test_archive_write_set_format_option.o
-  CC     libarchive/test/libarchive_test-test_archive_write_set_option.o
-  CC     libarchive/test/libarchive_test-test_archive_write_set_options.o
-  CC     libarchive/test/libarchive_test-test_bad_fd.o
-  CC     libarchive/test/libarchive_test-test_compat_bzip2.o
-  CC     libarchive/test/libarchive_test-test_compat_cpio.o
-  CC     libarchive/test/libarchive_test-test_compat_gtar.o
-  CC     libarchive/test/libarchive_test-test_compat_gzip.o
-  CC     libarchive/test/libarchive_test-test_compat_lzip.o
-  CC     libarchive/test/libarchive_test-test_compat_lzma.o
-  CC     libarchive/test/libarchive_test-test_compat_lzop.o
-  CC     libarchive/test/libarchive_test-test_compat_mac.o
-  CC     libarchive/test/libarchive_test-test_compat_pax_libarchive_2x.o
-  CC     libarchive/test/libarchive_test-test_compat_solaris_tar_acl.o
-  CC     libarchive/test/libarchive_test-test_compat_solaris_pax_sparse.o
-  CC     libarchive/test/libarchive_test-test_compat_tar_hardlink.o
-  CC     libarchive/test/libarchive_test-test_compat_uudecode.o
-  CC     libarchive/test/libarchive_test-test_compat_xz.o
-  CC     libarchive/test/libarchive_test-test_compat_zip.o
-  CC     libarchive/test/libarchive_test-test_empty_write.o
-  CC     libarchive/test/libarchive_test-test_entry.o
-  CC     libarchive/test/libarchive_test-test_entry_strmode.o
-  CC     libarchive/test/libarchive_test-test_extattr_freebsd.o
-  CC     libarchive/test/libarchive_test-test_filter_count.o
-  CC     libarchive/test/libarchive_test-test_fuzz.o
-  CC     libarchive/test/libarchive_test-test_gnutar_filename_encoding.o
-  CC     libarchive/test/libarchive_test-test_link_resolver.o
-  CC     libarchive/test/libarchive_test-test_open_failure.o
-  CC     libarchive/test/libarchive_test-test_open_fd.o
-  CC     libarchive/test/libarchive_test-test_open_file.o
-  CC     libarchive/test/libarchive_test-test_open_filename.o
-  CC     libarchive/test/libarchive_test-test_pax_filename_encoding.o
-  CC     libarchive/test/libarchive_test-test_read_data_large.o
-  CC     libarchive/test/libarchive_test-test_read_disk.o
-  CC     libarchive/test/libarchive_test-test_read_disk_directory_traversals.o
-  CC     libarchive/test/libarchive_test-test_read_disk_entry_from_file.o
-  CC     libarchive/test/libarchive_test-test_read_extract.o
-  CC     libarchive/test/libarchive_test-test_read_file_nonexistent.o
-  CC     libarchive/test/libarchive_test-test_read_filter_grzip.o
-  CC     libarchive/test/libarchive_test-test_read_filter_lrzip.o
-  CC     libarchive/test/libarchive_test-test_read_filter_lzop.o
-  CC     libarchive/test/libarchive_test-test_read_filter_lzop_multiple_parts.o
-  CC     libarchive/test/libarchive_test-test_read_filter_program.o
-  CC     libarchive/test/libarchive_test-test_read_filter_program_signature.o
-  CC     libarchive/test/libarchive_test-test_read_filter_uudecode.o
-  CC     libarchive/test/libarchive_test-test_read_format_7zip.o
-  CC     libarchive/test/libarchive_test-test_read_format_ar.o
-  CC     libarchive/test/libarchive_test-test_read_format_cab.o
-  CC     libarchive/test/libarchive_test-test_read_format_cab_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_afio.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_Z.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_be.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_bz2.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_gz.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_lzip.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_lzma.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_bin_xz.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_odc.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_svr4_bzip2_rpm.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_svr4_gzip.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_svr4_gzip_rpm.o
-  CC     libarchive/test/libarchive_test-test_read_format_cpio_svr4c_Z.o
-  CC     libarchive/test/libarchive_test-test_read_format_empty.o
-  CC     libarchive/test/libarchive_test-test_read_format_gtar_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_gtar_gz.o
-  CC     libarchive/test/libarchive_test-test_read_format_gtar_lzma.o
-  CC     libarchive/test/libarchive_test-test_read_format_gtar_sparse.o
-  CC     libarchive/test/libarchive_test-test_read_format_iso_Z.o
-  CC     libarchive/test/libarchive_test-test_read_format_iso_multi_extent.o
-  CC     libarchive/test/libarchive_test-test_read_format_iso_xorriso.o
-  CC     libarchive/test/libarchive_test-test_read_format_isojoliet_bz2.o
-  CC     libarchive/test/libarchive_test-test_read_format_isojoliet_long.o
-  CC     libarchive/test/libarchive_test-test_read_format_isojoliet_rr.o
-  CC     libarchive/test/libarchive_test-test_read_format_isojoliet_versioned.o
-  CC     libarchive/test/libarchive_test-test_read_format_isorr_bz2.o
-  CC     libarchive/test/libarchive_test-test_read_format_isorr_ce.o
-  CC     libarchive/test/libarchive_test-test_read_format_isorr_new_bz2.o
-  CC     libarchive/test/libarchive_test-test_read_format_isorr_rr_moved.o
-  CC     libarchive/test/libarchive_test-test_read_format_isozisofs_bz2.o
-  CC     libarchive/test/libarchive_test-test_read_format_lha.o
-  CC     libarchive/test/libarchive_test-test_read_format_lha_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_mtree.o
-  CC     libarchive/test/libarchive_test-test_read_format_pax_bz2.o
-  CC     libarchive/test/libarchive_test-test_read_format_rar.o
-  CC     libarchive/test/libarchive_test-test_read_format_raw.o
-  CC     libarchive/test/libarchive_test-test_read_format_tar.o
-  CC     libarchive/test/libarchive_test-test_read_format_tar_empty_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_tar_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_tbz.o
-  CC     libarchive/test/libarchive_test-test_read_format_tgz.o
-  CC     libarchive/test/libarchive_test-test_read_format_tlz.o
-  CC     libarchive/test/libarchive_test-test_read_format_txz.o
-  CC     libarchive/test/libarchive_test-test_read_format_tz.o
-  CC     libarchive/test/libarchive_test-test_read_format_ustar_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_xar.o
-  CC     libarchive/test/libarchive_test-test_read_format_zip.o
-  CC     libarchive/test/libarchive_test-test_read_format_zip_comment_stored.o
-  CC     libarchive/test/libarchive_test-test_read_format_zip_filename.o
-  CC     libarchive/test/libarchive_test-test_read_format_zip_mac_metadata.o
-  CC     libarchive/test/libarchive_test-test_read_format_zip_sfx.o
-  CC     libarchive/test/libarchive_test-test_read_large.o
-  CC     libarchive/test/libarchive_test-test_read_pax_truncated.o
-  CC     libarchive/test/libarchive_test-test_read_position.o
-  CC     libarchive/test/libarchive_test-test_read_set_format.o
-  CC     libarchive/test/libarchive_test-test_read_truncated.o
-  CC     libarchive/test/libarchive_test-test_read_truncated_filter.o
-  CC     libarchive/test/libarchive_test-test_sparse_basic.o
-  CC     libarchive/test/libarchive_test-test_tar_filenames.o
-  CC     libarchive/test/libarchive_test-test_tar_large.o
-  CC     libarchive/test/libarchive_test-test_ustar_filenames.o
-  CC     libarchive/test/libarchive_test-test_ustar_filename_encoding.o
-  CC     libarchive/test/libarchive_test-test_write_disk.o
-  CC     libarchive/test/libarchive_test-test_write_disk_appledouble.o
-  CC     libarchive/test/libarchive_test-test_write_disk_failures.o
-  CC     libarchive/test/libarchive_test-test_write_disk_hardlink.o
-  CC     libarchive/test/libarchive_test-test_write_disk_hfs_compression.o
-  CC     libarchive/test/libarchive_test-test_write_disk_lookup.o
-  CC     libarchive/test/libarchive_test-test_write_disk_mac_metadata.o
-  CC     libarchive/test/libarchive_test-test_write_disk_no_hfs_compression.o
-  CC     libarchive/test/libarchive_test-test_write_disk_perms.o
-  CC     libarchive/test/libarchive_test-test_write_disk_secure.o
-  CC     libarchive/test/libarchive_test-test_write_disk_sparse.o
-  CC     libarchive/test/libarchive_test-test_write_disk_symlink.o
-  CC     libarchive/test/libarchive_test-test_write_disk_times.o
-  CC     libarchive/test/libarchive_test-test_write_filter_b64encode.o
-  CC     libarchive/test/libarchive_test-test_write_filter_bzip2.o
-  CC     libarchive/test/libarchive_test-test_write_filter_compress.o
-  CC     libarchive/test/libarchive_test-test_write_filter_gzip.o
-  CC     libarchive/test/libarchive_test-test_write_filter_gzip_timestamp.o
-  CC     libarchive/test/libarchive_test-test_write_filter_lrzip.o
-  CC     libarchive/test/libarchive_test-test_write_filter_lzip.o
-  CC     libarchive/test/libarchive_test-test_write_filter_lzma.o
-  CC     libarchive/test/libarchive_test-test_write_filter_lzop.o
-  CC     libarchive/test/libarchive_test-test_write_filter_program.o
-  CC     libarchive/test/libarchive_test-test_write_filter_uuencode.o
-  CC     libarchive/test/libarchive_test-test_write_filter_xz.o
-  CC     libarchive/test/libarchive_test-test_write_format_7zip.o
-  CC     libarchive/test/libarchive_test-test_write_format_7zip_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_7zip_large.o
-  CC     libarchive/test/libarchive_test-test_write_format_ar.o
-  CC     libarchive/test/libarchive_test-test_write_format_cpio.o
-  CC     libarchive/test/libarchive_test-test_write_format_cpio_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_cpio_newc.o
-  CC     libarchive/test/libarchive_test-test_write_format_cpio_odc.o
-  CC     libarchive/test/libarchive_test-test_write_format_gnutar.o
-  CC     libarchive/test/libarchive_test-test_write_format_iso9660.o
-  CC     libarchive/test/libarchive_test-test_write_format_iso9660_boot.o
-  CC     libarchive/test/libarchive_test-test_write_format_iso9660_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_iso9660_filename.o
-  CC     libarchive/test/libarchive_test-test_write_format_iso9660_zisofs.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree_absolute_path.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree_classic.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree_classic_indent.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree_fflags.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree_no_separator.o
-  CC     libarchive/test/libarchive_test-test_write_format_mtree_quoted_filename.o
-  CC     libarchive/test/libarchive_test-test_write_format_pax.o
-  CC     libarchive/test/libarchive_test-test_write_format_shar_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_tar.o
-  CC     libarchive/test/libarchive_test-test_write_format_tar_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_tar_sparse.o
-  CC     libarchive/test/libarchive_test-test_write_format_tar_ustar.o
-  CC     libarchive/test/libarchive_test-test_write_format_tar_v7tar.o
-  CC     libarchive/test/libarchive_test-test_write_format_xar.o
-  CC     libarchive/test/libarchive_test-test_write_format_xar_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_zip.o
-  CC     libarchive/test/libarchive_test-test_write_format_zip_empty.o
-  CC     libarchive/test/libarchive_test-test_write_format_zip_no_compression.o
-  CC     libarchive/test/libarchive_test-test_write_open_memory.o
-  CC     libarchive/test/libarchive_test-test_write_zip_set_compression_store.o
-  CC     libarchive/test/libarchive_test-test_zip_filename_encoding.o
-  CCLD   libarchive_test
-  CC     test_utils/bsdtar_test-test_utils.o
-  CC     tar/test/bsdtar_test-main.o
-  CC     tar/test/bsdtar_test-test_0.o
-  CC     tar/test/bsdtar_test-test_basic.o
-  CC     tar/test/bsdtar_test-test_copy.o
-  CC     tar/test/bsdtar_test-test_empty_mtree.o
-  CC     tar/test/bsdtar_test-test_extract_tar_Z.o
-  CC     tar/test/bsdtar_test-test_extract_tar_bz2.o
-  CC     tar/test/bsdtar_test-test_extract_tar_grz.o
-  CC     tar/test/bsdtar_test-test_extract_tar_gz.o
-  CC     tar/test/bsdtar_test-test_extract_tar_lrz.o
-  CC     tar/test/bsdtar_test-test_extract_tar_lz.o
-  CC     tar/test/bsdtar_test-test_extract_tar_lzma.o
-  CC     tar/test/bsdtar_test-test_extract_tar_lzo.o
-  CC     tar/test/bsdtar_test-test_extract_tar_xz.o
-  CC     tar/test/bsdtar_test-test_format_newc.o
-  CC     tar/test/bsdtar_test-test_help.o
-  CC     tar/test/bsdtar_test-test_option_C_upper.o
-  CC     tar/test/bsdtar_test-test_option_H_upper.o
-  CC     tar/test/bsdtar_test-test_option_L_upper.o
-  CC     tar/test/bsdtar_test-test_option_O_upper.o
-  CC     tar/test/bsdtar_test-test_option_T_upper.o
-  CC     tar/test/bsdtar_test-test_option_U_upper.o
-  CC     tar/test/bsdtar_test-test_option_X_upper.o
-  CC     tar/test/bsdtar_test-test_option_a.o
-  CC     tar/test/bsdtar_test-test_option_b.o
-  CC     tar/test/bsdtar_test-test_option_b64encode.o
-  CC     tar/test/bsdtar_test-test_option_exclude.o
-  CC     tar/test/bsdtar_test-test_option_gid_gname.o
-  CC     tar/test/bsdtar_test-test_option_grzip.o
-  CC     tar/test/bsdtar_test-test_option_j.o
-  CC     tar/test/bsdtar_test-test_option_k.o
-  CC     tar/test/bsdtar_test-test_option_keep_newer_files.o
-  CC     tar/test/bsdtar_test-test_option_lrzip.o
-  CC     tar/test/bsdtar_test-test_option_lzma.o
-  CC     tar/test/bsdtar_test-test_option_lzop.o
-  CC     tar/test/bsdtar_test-test_option_n.o
-  CC     tar/test/bsdtar_test-test_option_newer_than.o
-  CC     tar/test/bsdtar_test-test_option_nodump.o
-  CC     tar/test/bsdtar_test-test_option_older_than.o
-  CC     tar/test/bsdtar_test-test_option_q.o
-  CC     tar/test/bsdtar_test-test_option_r.o
-  CC     tar/test/bsdtar_test-test_option_s.o
-  CC     tar/test/bsdtar_test-test_option_uid_uname.o
-  CC     tar/test/bsdtar_test-test_option_uuencode.o
-  CC     tar/test/bsdtar_test-test_option_xz.o
-  CC     tar/test/bsdtar_test-test_option_z.o
-  CC     tar/test/bsdtar_test-test_patterns.o
-  CC     tar/test/bsdtar_test-test_print_longpath.o
-  CC     tar/test/bsdtar_test-test_stdio.o
-  CC     tar/test/bsdtar_test-test_strip_components.o
-  CC     tar/test/bsdtar_test-test_symlink_dir.o
-  CC     tar/test/bsdtar_test-test_version.o
-  CC     tar/test/bsdtar_test-test_windows.o
-  CCLD   bsdtar_test
-  CC     test_utils/bsdcpio_test-test_utils.o
-  CC     cpio/bsdcpio_test-cmdline.o
-  CC     cpio/test/bsdcpio_test-main.o
-  CC     cpio/test/bsdcpio_test-test_0.o
-  CC     cpio/test/bsdcpio_test-test_basic.o
-  CC     cpio/test/bsdcpio_test-test_cmdline.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_Z.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_bz2.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_grz.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_gz.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_lrz.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_lz.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_lzma.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_lzo.o
-  CC     cpio/test/bsdcpio_test-test_extract_cpio_xz.o
-  CC     cpio/test/bsdcpio_test-test_format_newc.o
-  CC     cpio/test/bsdcpio_test-test_gcpio_compat.o
-  CC     cpio/test/bsdcpio_test-test_option_0.o
-  CC     cpio/test/bsdcpio_test-test_option_B_upper.o
-  CC     cpio/test/bsdcpio_test-test_option_C_upper.o
-  CC     cpio/test/bsdcpio_test-test_option_J_upper.o
-  CC     cpio/test/bsdcpio_test-test_option_L_upper.o
-  CC     cpio/test/bsdcpio_test-test_option_Z_upper.o
-  CC     cpio/test/bsdcpio_test-test_option_a.o
-  CC     cpio/test/bsdcpio_test-test_option_b64encode.o
-  CC     cpio/test/bsdcpio_test-test_option_c.o
-  CC     cpio/test/bsdcpio_test-test_option_d.o
-  CC     cpio/test/bsdcpio_test-test_option_f.o
-  CC     cpio/test/bsdcpio_test-test_option_grzip.o
-  CC     cpio/test/bsdcpio_test-test_option_help.o
-  CC     cpio/test/bsdcpio_test-test_option_l.o
-  CC     cpio/test/bsdcpio_test-test_option_lrzip.o
-  CC     cpio/test/bsdcpio_test-test_option_lzma.o
-  CC     cpio/test/bsdcpio_test-test_option_lzop.o
-  CC     cpio/test/bsdcpio_test-test_option_m.o
-  CC     cpio/test/bsdcpio_test-test_option_t.o
-  CC     cpio/test/bsdcpio_test-test_option_u.o
-  CC     cpio/test/bsdcpio_test-test_option_uuencode.o
-  CC     cpio/test/bsdcpio_test-test_option_version.o
-  CC     cpio/test/bsdcpio_test-test_option_xz.o
-  CC     cpio/test/bsdcpio_test-test_option_y.o
-  CC     cpio/test/bsdcpio_test-test_option_z.o
-  CC     cpio/test/bsdcpio_test-test_owner_parse.o
-  CC     cpio/test/bsdcpio_test-test_passthrough_dotdot.o
-  CC     cpio/test/bsdcpio_test-test_passthrough_reverse.o
-  CCLD   bsdcpio_test
-/usr/gnu/bin/make  check-TESTS
-
-If tests fail or crash, details will be in:
-   build/test
-
-Reference files will be read from: $(SOURCE_DIR)/libarchive/test
-Exercising: libarchive 3.1.2
-  0: test_acl_freebsd_nfs4                             ok
-  1: test_acl_freebsd_posix1e                          ok
-  2: test_acl_nfs4                                     ok
-  3: test_acl_pax                                      ok
-  4: test_acl_posix1e                                  ok
-  5: test_archive_api_feature                          ok
-  6: test_archive_clear_error                          ok
-  7: test_archive_cmdline                              ok
-  8: test_archive_md5                                  ok
-  9: test_archive_rmd160                               ok
- 10: test_archive_sha1                                 ok
- 11: test_archive_sha256                               ok
- 12: test_archive_sha384                               ok
- 13: test_archive_sha512                               ok
- 14: test_archive_getdate                              ok
- 15: test_archive_match_owner                          ok
- 16: test_archive_match_path                           ok
- 17: test_archive_match_time                           ok
- 18: test_archive_pathmatch                            ok
- 19: test_archive_read_close_twice                     ok
- 20: test_archive_read_close_twice_open_fd             ok
- 21: test_archive_read_close_twice_open_filename       ok
- 22: test_archive_read_multiple_data_objects           ok
- 23: test_archive_read_next_header_empty               ok
- 24: test_archive_read_next_header_raw                 ok
- 25: test_archive_read_open2                           ok
- 26: test_archive_read_set_filter_option               ok
- 27: test_archive_read_set_format_option               ok
- 28: test_archive_read_set_option                      ok
- 29: test_archive_read_set_options                     ok
- 30: test_archive_read_support                         ok
- 31: test_archive_set_error                            ok
- 32: test_archive_string                               ok
- 33: test_archive_string_conversion                    ok
- 34: test_archive_write_add_filter_by_name_b64encode   ok
- 35: test_archive_write_add_filter_by_name_bzip2       ok
- 36: test_archive_write_add_filter_by_name_compress    ok
- 37: test_archive_write_add_filter_by_name_grzip       ok
- 38: test_archive_write_add_filter_by_name_gzip        ok
- 39: test_archive_write_add_filter_by_name_lrzip       ok
- 40: test_archive_write_add_filter_by_name_lzip        ok
- 41: test_archive_write_add_filter_by_name_lzma        ok
- 42: test_archive_write_add_filter_by_name_lzop        ok
- 43: test_archive_write_add_filter_by_name_uuencode    ok
- 44: test_archive_write_add_filter_by_name_xz          ok
- 45: test_archive_write_set_filter_option              ok
- 46: test_archive_write_set_format_by_name_7zip        ok
- 47: test_archive_write_set_format_by_name_ar          ok
- 48: test_archive_write_set_format_by_name_arbsd       ok
- 49: test_archive_write_set_format_by_name_argnu       ok
- 50: test_archive_write_set_format_by_name_arsvr4      ok
- 51: test_archive_write_set_format_by_name_bsdtar      ok
- 52: test_archive_write_set_format_by_name_cd9660      ok
- 53: test_archive_write_set_format_by_name_cpio        ok
- 54: test_archive_write_set_format_by_name_gnutar      ok
- 55: test_archive_write_set_format_by_name_iso         ok
- 56: test_archive_write_set_format_by_name_iso9660     ok
- 57: test_archive_write_set_format_by_name_mtree       ok
- 58: test_archive_write_set_format_by_name_mtree_classicok
- 59: test_archive_write_set_format_by_name_newc        ok
- 60: test_archive_write_set_format_by_name_odc         ok
- 61: test_archive_write_set_format_by_name_oldtar      ok
- 62: test_archive_write_set_format_by_name_pax         ok
- 63: test_archive_write_set_format_by_name_paxr        ok
- 64: test_archive_write_set_format_by_name_posix       ok
- 65: test_archive_write_set_format_by_name_rpax        ok
- 66: test_archive_write_set_format_by_name_shar        ok
- 67: test_archive_write_set_format_by_name_shardump    ok
- 68: test_archive_write_set_format_by_name_ustar       ok
- 69: test_archive_write_set_format_by_name_v7tar       ok
- 70: test_archive_write_set_format_by_name_v7          ok
- 71: test_archive_write_set_format_by_name_xar         ok
- 72: test_archive_write_set_format_by_name_zip         ok
- 73: test_archive_write_set_format_option              ok
- 74: test_archive_write_set_option                     ok
- 75: test_archive_write_set_options                    ok
- 76: test_bad_fd                                       ok
- 77: test_compat_bzip2                                 ok
- 78: test_compat_cpio                                  ok
- 79: test_compat_gtar                                  ok
- 80: test_compat_gzip                                  ok
- 81: test_compat_lzip                                  ok
- 82: test_compat_lzma                                  ok
- 83: test_compat_lzop                                  ok
- 84: test_compat_mac                                   ok
- 85: test_compat_pax_libarchive_2x                     FAIL
- 86: test_compat_solaris_pax_sparse                    ok
- 87: test_compat_solaris_tar_acl                       ok
- 88: test_compat_tar_hardlink                          ok
- 89: test_compat_uudecode                              ok
- 90: test_compat_xz                                    ok
- 91: test_compat_zip                                   ok
- 92: test_empty_write                                  ok
- 93: test_entry                                        ok
- 94: test_entry_strmode                                ok
- 95: test_extattr_freebsd                              ok
- 96: test_filter_count                                 ok
- 97: test_fuzz_ar                                      ok
- 98: test_fuzz_cab                                     ok
- 99: test_fuzz_cpio                                    ok
-100: test_fuzz_iso9660                                 ok
-101: test_fuzz_lzh                                     ok
-102: test_fuzz_mtree                                   ok
-103: test_fuzz_rar                                     ok
-104: test_fuzz_tar                                     ok
-105: test_fuzz_zip                                     ok
-106: test_gnutar_filename_encoding                     ok
-107: test_link_resolver                                ok
-108: test_open_failure                                 ok
-109: test_open_fd                                      ok
-110: test_open_file                                    ok
-111: test_open_filename                                ok
-112: test_pax_filename_encoding                        ok
-113: test_read_data_large                              ok
-114: test_read_disk                                    ok
-115: test_read_disk_directory_traversals               ok
-116: test_read_disk_entry_from_file                    ok
-117: test_read_extract                                 ok
-118: test_read_file_nonexistent                        ok
-119: test_read_filter_grzip                            ok
-120: test_read_filter_lrzip                            ok
-121: test_read_filter_lzop                             ok
-122: test_read_filter_lzop_multiple_parts              ok
-123: test_read_filter_program                          ok
-124: test_read_filter_program_signature                ok
-125: test_read_filter_uudecode                         ok
-126: test_read_filter_uudecode_base64                  ok
-127: test_read_format_7zip                             ok
-128: test_read_format_7zip_bzip2                       ok
-129: test_read_format_7zip_copy                        ok
-130: test_read_format_7zip_deflate                     ok
-131: test_read_format_7zip_empty                       ok
-132: test_read_format_7zip_lzma1                       ok
-133: test_read_format_7zip_lzma2                       ok
-134: test_read_format_7zip_ppmd                        ok
-135: test_read_format_ar                               ok
-136: test_read_format_cab                              ok
-137: test_read_format_cab_filename                     ok
-138: test_read_format_cpio_afio                        ok
-139: test_read_format_cpio_bin_be                      ok
-140: test_read_format_cpio_bin_bz2                     ok
-141: test_read_format_cpio_bin                         ok
-142: test_read_format_cpio_bin_gz                      ok
-143: test_read_format_cpio_bin_lzip                    ok
-144: test_read_format_cpio_bin_lzma                    ok
-145: test_read_format_cpio_bin_xz                      ok
-146: test_read_format_cpio_bin_Z                       ok
-147: test_read_format_cpio_filename                    ok
-148: test_read_format_cpio_odc                         ok
-149: test_read_format_cpio_svr4_bzip2_rpm              ok
-150: test_read_format_cpio_svr4c_Z                     ok
-151: test_read_format_cpio_svr4_gzip                   ok
-152: test_read_format_cpio_svr4_gzip_rpm               ok
-153: test_read_format_empty                            ok
-154: test_read_format_gtar_filename                    ok
-155: test_read_format_gtar_gz                          ok
-156: test_read_format_gtar_lzma                        ok
-157: test_read_format_gtar_sparse                      ok
-158: test_read_format_isojoliet_bz2                    ok
-159: test_read_format_isojoliet_long                   ok
-160: test_read_format_isojoliet_rr                     ok
-161: test_read_format_isojoliet_versioned              ok
-162: test_read_format_iso_multi_extent                 ok
-163: test_read_format_isorr_bz2                        ok
-164: test_read_format_isorr_ce                         ok
-165: test_read_format_isorr_new_bz2                    ok
-166: test_read_format_isorr_rr_moved                   ok
-167: test_read_format_iso_xorriso                      ok
-168: test_read_format_iso_Z                            ok
-169: test_read_format_isozisofs_bz2                    ok
-170: test_read_format_lha                              ok
-171: test_read_format_lha_filename                     ok
-172: test_read_format_mtree                            ok
-173: test_read_format_mtree_filenames_only             ok
-174: test_read_format_mtree_nochange                   ok
-175: test_read_format_mtree_nomagic_v1_form            ok
-176: test_read_format_mtree_nomagic_v2_form            ok
-177: test_read_format_mtree_nomagic_v2_netbsd_form     ok
-178: test_read_format_mtree_nonexistent_contents_file  ok
-179: test_read_format_pax_bz2                          ok
-180: test_read_format_rar_basic                        ok
-181: test_read_format_rar_subblock                     ok
-182: test_read_format_rar_noeof                        ok
-183: test_read_format_rar_unicode_UTF8                 ok
-184: test_read_format_rar_unicode_CP932                ok
-185: test_read_format_rar_compress_normal              ok
-186: test_read_format_rar_multi_lzss_blocks            ok
-187: test_read_format_rar_compress_best                ok
-188: test_read_format_rar_ppmd_lzss_conversion         ok
-189: test_read_format_rar_binary                       ok
-190: test_read_format_rar_windows                      ok
-191: test_read_format_rar_multivolume                  ok
-192: test_read_format_rar_multivolume_skip             ok
-193: test_read_format_rar_sfx                          ok
-194: test_read_format_rar_multivolume_stored_file      ok
-195: test_read_format_rar_multivolume_stored_file_skip ok
-196: test_read_format_rar_multivolume_seek_data        ok
-197: test_read_format_rar_multivolume_seek_multiple_filesok
-198: test_read_format_rar_multivolume_uncompressed_filesok
-199: test_read_format_raw                              ok
-200: test_read_format_tar                              ok
-201: test_read_format_tar_empty_filename               ok
-202: test_read_format_tar_filename                     ok
-203: test_read_format_tbz                              ok
-204: test_read_format_tgz                              ok
-205: test_read_format_tlz                              ok
-206: test_read_format_txz                              ok
-207: test_read_format_tz                               ok
-208: test_read_format_ustar_filename                   ok
-209: test_read_format_xar                              ok
-210: test_read_format_zip                              ok
-211: test_read_format_zip_comment_stored               ok
-212: test_read_format_zip_filename                     ok
-213: test_read_format_zip_mac_metadata                 ok
-214: test_read_format_zip_sfx                          ok
-215: test_read_large                                   ok
-216: test_read_pax_truncated                           ok
-217: test_read_position                                ok
-218: test_read_set_format                              ok
-219: test_read_set_wrong_format                        ok
-220: test_read_append_filter                           ok
-221: test_read_append_wrong_filter                     ok
-222: test_read_append_filter_program                   ok
-223: test_read_append_filter_wrong_program             ok
-224: test_read_truncated                               ok
-225: test_read_truncated_filter_bzip2                  ok
-226: test_read_truncated_filter_compress               ok
-227: test_read_truncated_filter_gzip                   ok
-228: test_read_truncated_filter_lzip                   ok
-229: test_read_truncated_filter_lzma                   ok
-230: test_read_truncated_filter_lzop                   ok
-231: test_read_truncated_filter_xz                     ok
-232: test_sparse_basic                                 ok
-233: test_tar_filenames                                ok
-234: test_tar_large                                    ok
-235: test_ustar_filename_encoding                      ok
-236: test_ustar_filenames                              ok
-237: test_write_disk_appledouble                       ok
-238: test_write_disk                                   ok
-239: test_write_disk_failures                          ok
-240: test_write_disk_hardlink                          ok
-241: test_write_disk_hfs_compression                   ok
-242: test_write_disk_lookup                            ok
-243: test_write_disk_mac_metadata                      ok
-244: test_write_disk_no_hfs_compression                ok
-245: test_write_disk_perms                             ok
-246: test_write_disk_secure                            ok
-247: test_write_disk_sparse                            ok
-248: test_write_disk_symlink                           ok
-249: test_write_disk_times                             ok
-250: test_write_filter_b64encode                       ok
-251: test_write_filter_bzip2                           ok
-252: test_write_filter_compress                        ok
-253: test_write_filter_gzip                            ok
-254: test_write_filter_gzip_timestamp                  ok
-255: test_write_filter_lrzip                           ok
-256: test_write_filter_lzip                            ok
-257: test_write_filter_lzma                            ok
-258: test_write_filter_lzop                            ok
-259: test_write_filter_program                         ok
-260: test_write_filter_uuencode                        ok
-261: test_write_filter_xz                              ok
-262: test_write_format_7zip                            ok
-263: test_write_format_7zip_basic_bzip2                ok
-264: test_write_format_7zip_basic_copy                 ok
-265: test_write_format_7zip_basic_deflate              ok
-266: test_write_format_7zip_basic_lzma1                ok
-267: test_write_format_7zip_basic_lzma2                ok
-268: test_write_format_7zip_basic_ppmd                 ok
-269: test_write_format_7zip_empty_archive              ok
-270: test_write_format_7zip_empty_files                ok
-271: test_write_format_7zip_large_bzip2                ok
-272: test_write_format_7zip_large_copy                 ok
-273: test_write_format_7zip_large_deflate              ok
-274: test_write_format_7zip_large_lzma1                ok
-275: test_write_format_7zip_large_lzma2                ok
-276: test_write_format_7zip_large_ppmd                 ok
-277: test_write_format_ar                              ok
-278: test_write_format_cpio                            ok
-279: test_write_format_cpio_empty                      ok
-280: test_write_format_cpio_newc                       ok
-281: test_write_format_cpio_odc                        ok
-282: test_write_format_gnutar                          ok
-283: test_write_format_iso9660_boot                    ok
-284: test_write_format_iso9660                         ok
-285: test_write_format_iso9660_empty                   ok
-286: test_write_format_iso9660_filename                ok
-287: test_write_format_iso9660_zisofs                  ok
-288: test_write_format_mtree_absolute_path             ok
-289: test_write_format_mtree                           ok
-290: test_write_format_mtree_classic                   ok
-291: test_write_format_mtree_classic_indent            ok
-292: test_write_format_mtree_fflags                    ok
-293: test_write_format_mtree_no_separator              ok
-294: test_write_format_mtree_quoted_filename           ok
-295: test_write_format_pax                             ok
-296: test_write_format_shar_empty                      ok
-297: test_write_format_tar                             ok
-298: test_write_format_tar_empty                       ok
-299: test_write_format_tar_sparse                      ok
-300: test_write_format_tar_ustar                       ok
-301: test_write_format_tar_v7tar                       ok
-302: test_write_format_xar                             ok
-303: test_write_format_xar_empty                       ok
-304: test_write_format_zip                             ok
-305: test_write_format_zip_empty                       ok
-306: test_write_format_zip_no_compression              ok
-307: test_write_open_memory                            ok
-308: test_write_zip_set_compression_store              ok
-309: test_zip_filename_encoding                        ok
-
-Totals:
-  Tests run:              310
-  Tests failed:             1
-  Assertions failed:        2
-  Skips reported:          65
-
-Failing tests:
-  85: test_compat_pax_libarchive_2x (2 failures)
-
-Details for failing tests: build/test
-
-FAIL: libarchive_test
-
-If tests fail or crash, details will be in:
-   build/test
-
-Reference files will be read from: $(SOURCE_DIR)/tar/test
-Running tests on: "$(@D)/bsdtar"
-Exercising: bsdtar 3.1.2 - libarchive 3.1.2
-
-  0: test_0                                            ok
-  1: test_basic                                        ok
-  2: test_copy                                         ok
-  3: test_empty_mtree                                  ok
-  4: test_extract_tar_bz2                              ok
-  5: test_extract_tar_grz                              ok
-  6: test_extract_tar_gz                               ok
-  7: test_extract_tar_lrz                              ok
-  8: test_extract_tar_lz                               ok
-  9: test_extract_tar_lzma                             ok
- 10: test_extract_tar_lzo                              ok
- 11: test_extract_tar_xz                               ok
- 12: test_extract_tar_Z                                ok
- 13: test_format_newc                                  ok
- 14: test_help                                         ok
- 15: test_option_a                                     ok
- 16: test_option_b64encode                             ok
- 17: test_option_b                                     ok
- 18: test_option_C_upper                               ok
- 19: test_option_exclude                               ok
- 20: test_option_gid_gname                             ok
- 21: test_option_grzip                                 ok
- 22: test_option_H_upper                               ok
- 23: test_option_j                                     ok
- 24: test_option_k                                     ok
- 25: test_option_keep_newer_files                      ok
- 26: test_option_lrzip                                 ok
- 27: test_option_L_upper                               ok
- 28: test_option_lzma                                  ok
- 29: test_option_lzop                                  ok
- 30: test_option_n                                     ok
- 31: test_option_newer_than                            ok
- 32: test_option_nodump                                ok
- 33: test_option_older_than                            ok
- 34: test_option_O_upper                               ok
- 35: test_option_q                                     ok
- 36: test_option_r                                     ok
- 37: test_option_s                                     ok
- 38: test_option_T_upper                               ok
- 39: test_option_uid_uname                             FAIL
- 40: test_option_uuencode                              ok
- 41: test_option_U_upper                               ok
- 42: test_option_X_upper                               ok
- 43: test_option_xz                                    ok
- 44: test_option_z                                     ok
- 45: test_patterns                                     ok
- 46: test_print_longpath                               ok
- 47: test_stdio                                        ok
- 48: test_strip_components                             ok
- 49: test_symlink_dir                                  ok
- 50: test_version                                      ok
- 51: test_windows                                      ok
-
-Totals:
-  Tests run:               52
-  Tests failed:             1
-  Assertions failed:        1
-  Skips reported:           8
-
-Failing tests:
-  39: test_option_uid_uname (1 failures)
-
-Details for failing tests: build/test
-
+PASS: libarchive_test
 FAIL: bsdtar_test
-
-If tests fail or crash, details will be in:
-   build/test
-
-Reference files will be read from: $(SOURCE_DIR)/cpio/test
-Running tests on: "$(@D)/bsdcpio"
-Exercising: bsdcpio 3.1.2 -- libarchive 3.1.2
-
-  0: test_0                                            ok
-  1: test_basic                                        ok
-  2: test_cmdline                                      ok
-  3: test_extract_cpio_bz2                             ok
-  4: test_extract_cpio_grz                             ok
-  5: test_extract_cpio_gz                              ok
-  6: test_extract_cpio_lrz                             ok
-  7: test_extract_cpio_lz                              ok
-  8: test_extract_cpio_lzma                            ok
-  9: test_extract_cpio_lzo                             ok
- 10: test_extract_cpio_xz                              ok
- 11: test_extract_cpio_Z                               ok
- 12: test_format_newc                                  ok
- 13: test_gcpio_compat                                 ok
- 14: test_option_0                                     ok
- 15: test_option_a                                     ok
- 16: test_option_b64encode                             ok
- 17: test_option_B_upper                               ok
- 18: test_option_c                                     ok
- 19: test_option_C_upper                               ok
- 20: test_option_d                                     ok
- 21: test_option_f                                     ok
- 22: test_option_grzip                                 ok
- 23: test_option_help                                  ok
- 24: test_option_J_upper                               ok
- 25: test_option_l                                     ok
- 26: test_option_lrzip                                 ok
- 27: test_option_L_upper                               ok
- 28: test_option_lzma                                  ok
- 29: test_option_lzop                                  ok
- 30: test_option_m                                     ok
- 31: test_option_t                                     ok
- 32: test_option_u                                     ok
- 33: test_option_uuencode                              ok
- 34: test_option_version                               ok
- 35: test_option_xz                                    ok
- 36: test_option_y                                     ok
- 37: test_option_z                                     ok
- 38: test_option_Z_upper                               ok
- 39: test_owner_parse                                  ok
- 40: test_passthrough_dotdot                           ok
- 41: test_passthrough_reverse                          ok
-
-Totals:
-  Tests run:               42
-  Tests failed:             0
-  Assertions failed:        0
-  Skips reported:           6
-42 tests passed, no failures
 PASS: bsdcpio_test
-====================================================
-2 of 3 tests failed
-Please report to [email protected]
-====================================================
+PASS: bsdcat_test
+============================================================================
+============================================================================
+# TOTAL: 4
+# PASS:  3
+# SKIP:  0
+# XFAIL: 0
+# FAIL:  1
+# FAIL:  1
+# XPASS: 0
+# ERROR: 0
+============================================================================
+============================================================================