Andreas Wacknitz
2023-02-26 74e74e03025a64601b96b4128b8976ebe9ce1c17
fix pixz build and test results

4 files modified
1 files renamed
60 ■■■■■ changed files
components/archiver/pixz/Makefile 26 ●●●●● patch | view | raw | blame | history
components/archiver/pixz/manifests/sample-manifest.p5m 3 ●●●● patch | view | raw | blame | history
components/archiver/pixz/pixz.p5m 13 ●●●●● patch | view | raw | blame | history
components/archiver/pixz/pkg5 1 ●●●● patch | view | raw | blame | history
components/archiver/pixz/test/results-all.master 17 ●●●●● patch | view | raw | blame | history
components/archiver/pixz/Makefile
@@ -23,19 +23,21 @@
# Copyright (c) 2018, Michal Nowak
#
BUILD_BITS=64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        pixz
COMPONENT_VERSION=    1.0.7
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_NAME=            pixz
COMPONENT_VERSION=        1.0.7
COMPONENT_REVISION=        1
COMPONENT_SUMMARY=        parallel indexing version of XZ
COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_PROJECT_URL=    https://github.com/vasi/$(COMPONENT_NAME)/
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
COMPONENT_ARCHIVE_HASH=    \
    sha256:e5e32c6eb0bf112b98e74a5da8fb63b9f2cae71800f599d97ce540e150c8ddc5
COMPONENT_ARCHIVE_URL=    \
    $(COMPONENT_PROJECT_URL)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB=    utility/pixz
COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.xz
COMPONENT_ARCHIVE_HASH=    sha256:e5e32c6eb0bf112b98e74a5da8fb63b9f2cae71800f599d97ce540e150c8ddc5
COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=            compress/pixz
COMPONENT_CLASSIFICATION=    Applications/System Utilities
COMPONENT_LICENSE=        BSD-like
COMPONENT_LICENSE_FILE=    LICENSE
include $(WS_MAKE_RULES)/common.mk
@@ -49,11 +51,15 @@
COMPONENT_PREP_ACTION = (cd $(SOURCE_DIR) && $(AUTORECONF) -if)
CONFIGURE_OPTIONS += --with-libiconv-prefix=$(CONFIGURE_PREFIX)
ASLR_MODE = $(ASLR_ENABLE)
# Build dependencies added manually
REQUIRED_PACKAGES += text/asciidoc
# Note: We have one failing test because we don't have cppcheck.
# Auto-generated dependencies
REQUIRED_PACKAGES += compress/xz
REQUIRED_PACKAGES += library/libarchive
components/archiver/pixz/manifests/sample-manifest.p5m
@@ -10,10 +10,11 @@
#
#
# Copyright 2017 <contributor>
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
components/archiver/pixz/pixz.p5m
@@ -26,21 +26,18 @@
#
set name=pkg.fmri \
    value=pkg:/compress/pixz@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="parallel indexing version of XZ"
    value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=pkg.description \
    value="pixz compresses and decompresses files using multiple processors. If the input looks like a tar(1) archive, it also creates an index of all the files in the archive. This allows the extraction of only a small segment of the tarball, without needing to decompress the entire archive."
set name=com.oracle.info.description value="parallel indexing version of XZ"
set name=com.oracle.info.tpno value=11623
set name=info.classification \
    value="org.opensolaris.category.2008:Applications/System Utilities"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream value="Dave Vasilevsky <dave@vasilevsky.ca>"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2012/358
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license LICENSE license=BSD-like
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/bin/pixz
file path=usr/share/man/man1/pixz.1
components/archiver/pixz/pkg5
@@ -3,6 +3,7 @@
        "SUNWcs",
        "compress/xz",
        "library/libarchive",
        "shell/ksh93",
        "system/library",
        "text/asciidoc"
    ],
components/archiver/pixz/test/results-all.master
File was renamed from components/archiver/pixz/test/results-64.master
@@ -9,23 +9,28 @@
make[3]: Entering directory '$(@D)/test'
make[4]: Entering directory '$(@D)/test'
PASS: compress-file-permissions.sh
SKIP: cppcheck-src.sh
FAIL: cppcheck-src.sh
PASS: single-file-round-trip.sh
PASS: xz-compatibility-c-option.sh
============================================================================
Testsuite summary for pixz 1.0.6
Testsuite summary for pixz 1.0.7
============================================================================
# TOTAL: 4
# PASS:  3
# SKIP:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://github.com/vasi/pixz/issues
============================================================================
make[4]: *** [Makefile:498: test-suite.log] Error 1
make[4]: Leaving directory '$(@D)/test'
make[3]: *** [Makefile:606: check-TESTS] Error 2
make[3]: Leaving directory '$(@D)/test'
make[2]: *** [Makefile:671: check-am] Error 2
make[2]: Leaving directory '$(@D)/test'
make[2]: Entering directory '$(@D)'
make[2]: Leaving directory '$(@D)'
make[1]: *** [Makefile:377: check-recursive] Error 1
make[1]: Leaving directory '$(@D)'