PACKAGE NAME ------------ neko_libarchive DESCRIPTION ----------- A multi-format archive and compression library SOURCE/VERSION -------------- libarchive-3.3.3 / 1 IRIX/MIPSPRO VERSION -------------------- 6.5.22 / 7.4.4m ENVIRONMENT VARIABLES --------------------- setenv CC c99 setenv MAKE /usr/nekoware/bin/gmake setenv PERL /usr/nekoware/bin/perl setenv CFLAGS '-O2 -mips4 -n32 -diag_error 1035 -woff 3970' setenv LDFLAGS '-L/usr/nekoware/lib' setenv CPPFLAGS '-I/usr/nekoware/include' setenv LIBS -lpthread setenv PATH /usr/nekoware/bin:/usr/nekoware/sbin:$PATH for building on mips3 systems, use: setenv CFLAGS '-O2 -mips3 -n32 -diag_error 1035 -woff 3970' CONFIGURE --------- patch -p0 < libarchive-3.3.3_irix.patch ./configure --prefix=/usr/nekoware --disable-rpath BUILD ----- gmake gmake check - The 'gmake check' fails on overloading the objects buffer in the linker when building libarchive-test. Redo this step with the objectlist you get from 'gmake check V=1' in a separate file and issue: c99 -O2 -mips3 -n32 -diag_error 1035 -woff 3970 -Wall -L/usr/nekoware/lib -o libarchive_test -objectlist libarchive-objectlist -L/usr/nekoware/lib -liconv -lcrypto -lcrypto -llzma -lbz2 -lexpat -lz -lpthread gmake check gmake install KNOWN DEPENDENCIES ------------------ neko_bzip2.sw.lib 6 maxint neko_expat.sw.lib 7 maxint neko_gettext.sw.lib 10 maxint neko_libiconv.sw.lib 5 maxint neko_openssl.sw.lib 33 maxint neko_xz.sw.lib 5 maxint neko_zlib.sw.lib 9 maxint gmake to build the package ERRORS/MISCELLANEOUS -------------------- The 'gmake check' will fail on several tests with libarchive, most notably with iso9660 data formats and derivatives. FAIL: libarchive_test PASS: bsdtar_test PASS: bsdcpio_test PASS: bsdcat_test ============================================================================ Testsuite summary for libarchive 3.3.3 ============================================================================ # TOTAL: 4 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 Currently there are 12 failed tests: Failing tests: 68: test_archive_write_set_format_by_name_cd9660 (1 failures) 71: test_archive_write_set_format_by_name_iso (1 failures) 72: test_archive_write_set_format_by_name_iso9660 (1 failures) 87: test_archive_write_set_format_by_name_warc (1 failures) 96: test_archive_write_set_format_filter_by_ext_iso (1 failures) 175: test_read_disk_directory_traversals (4 failures) 310: test_read_format_warc (2 failures) 397: test_write_disk_perms (1 failures) 449: test_write_format_iso9660 (201 failures) 450: test_write_format_iso9660_boot (8 failures) 452: test_write_format_iso9660_filename (13104 failures) 453: test_write_format_iso9660_zisofs (34 failures) The test_write_disk_perms when run as root passes, so that leaves 11 failed tests. This package has dual support for both mips3 and mips4 architecture, controlled by the mach(CPUARCH=R4000) switch for libraries and executables. PACKAGED BY ----------- S/N VER PORTER Date --------------------------------------------------------------- 1 3.3.3 Frank Everdij (dexter1@gmail.com) 22-01-2019