So just we can cleanup the old one, and the new one is plenty of resolved bugs.
Created attachment 136884 [details] libarchive-2.4.0-r1 build.log fails to compile the test suite on a fresh install: In file included from cpio/cmdline.c:28: cpio/cpio_platform.h:62:21: error: archive.h: No such file or directory cpio/cpio_platform.h:63:27: error: archive_entry.h: No such file or directory and fails to run it when upgrading, see attached build.log seems to work though - do you want to fix the test suite first?
After installing it once, it doesn't hit those but. 37: test_write_disk_perms libarchive/test/test_write_disk_perms.c:256: Assertion failed: Ints not equal ARCHIVE_WARN=-20 archive_write_finish_entry(a)=0 Description: Non-opportunistic SUID failure should return error. *** forcing core dump so failure can be debugged *** /bin/sh: line 4: 9960 Segmentation fault BSDCPIO=`cd .;/bin/pwd`/bsdcpio BSDCPIO_TEST_FILES=`cd .;/bin/pwd`/cpio/test ${dir}$tst FAIL: libarchive_test Running tests in: /tmp/bsdcpio_test.2007-11-25T16.25.29-000 Reference files will be read from: /var/tmp/portage/app-arch/libarchive-2.4.0-r1/work/libarchive-2.4.0/cpio/test Running tests on: /var/tmp/portage/app-arch/libarchive-2.4.0-r1/work/libarchive-2.4.0/bsdcpio 0: test_basic 1: test_gcpio_compat 2: test_help cpio/test/test_help.c:46: Assertion failed Condition: strncmp(p, "bsdcpio", 6) == 0 *** forcing core dump so failure can be debugged *** /bin/sh: line 4: 9973 Segmentation fault BSDCPIO=`cd .;/bin/pwd`/bsdcpio BSDCPIO_TEST_FILES=`cd .;/bin/pwd`/cpio/test ${dir}$tst FAIL: bsdcpio_test ===================================== 2 of 2 tests failed Please report to kientzle@freebsd.org =====================================
/lib64/libarchive.so.2.4.0 /lib64/libarchive.so.2 /usr/lib64/libarchive.la /usr/lib64/libarchive.so /usr/lib64/libarchive.a Doesn't look right.
(In reply to comment #3) > /lib64/libarchive.so.2.4.0 > /lib64/libarchive.so.2 > /usr/lib64/libarchive.la > /usr/lib64/libarchive.so > /usr/lib64/libarchive.a > > Doesn't look right. > lrwxrwxrwx 1 root 19 Nov 25 16:24 /lib64/libarchive.so -> libarchive.so.2.4.0 lrwxrwxrwx 1 root 19 Nov 25 16:24 /lib64/libarchive.so.2 -> libarchive.so.2.4.0 -rwxr-xr-x 1 root 165K Nov 25 16:24 /lib64/libarchive.so.2.4.0 unique libarchive-2.4.0 # ls -l /usr/lib64/libarchive.* -rw-r--r-- 1 root 326K Nov 25 16:24 /usr/lib64/libarchive.a -rw-r--r-- 1 root 862 Nov 25 16:23 /usr/lib64/libarchive.la -rwxr-xr-x 1 root 330 Nov 25 16:23 /usr/lib64/libarchive.so (bugspam, aye..)
(bugspam continuing..) Missed that .so in /usr/lib64 is only a "GNU ld script" so those are correct. Test suite however is broken.
FYI, I've mailed upstream, he replied quickly and released 2.4.2 which is now in tree fixing most of the test suite -- but, it still has 1 test failing. Waiting for a reply.
Update, thanks to Tim from upstream (again) 2.4.4 no longer needs the acl/xattr patch used in 2.4.2 and previous version and test suite is yet again improved but i'm afraid it still fails at 10: test_write_odc cpio/test/test_write_odc.c:131: Assertion failed: memory not equal size 6 = 6 Dump of e + 18 0000 31 32 30 37_37_37_ 120777 Dump of "120755" 0000 31 32 30 37_35_35_ 120755 *** forcing core dump so failure can be debugged *** /bin/sh: line 4: 13664 Segmentation fault LIBARCHIVE_TEST_FILES=`cd .;/bin/pwd`/libarchive/test BSDTAR=`cd .;/bin/pwd`/bsdtar BSDTAR_TEST_FILES=`cd .;/bin/pwd`/tar/test BSDCPIO=`cd .;/bin/pwd`/bsdcpio BSDCPIO_TEST_FILES=`cd .;/bin/pwd`/cpio/test ${dir}$tst FAIL: bsdcpio_test ===================================== 1 of 3 tests failed Contacted Tim again, and waiting for a reply ;-)
2.4.5 in tree, and test suite is fixed (everything reported at this bug, and more) flameeyes, how soon you want it stable? asap? i suggest you double check it's still ok with bsd :-)
amd64 stable (libarchive-2.4.5) after it was also tested by folks at #-bsd.