Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200173 - app-arch/libarchive-2.4.5 stable request
Summary: app-arch/libarchive-2.4.5 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-24 12:16 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-28 10:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libarchive-2.4.0-r1 build.log (build.log,163.26 KB, text/plain)
2007-11-24 12:50 UTC, Christoph Mende (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-11-24 12:16:19 UTC
So just we can cleanup the old one, and the new one is plenty of resolved bugs.
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2007-11-24 12:50:28 UTC
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?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-11-25 14:28:14 UTC
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
=====================================
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-11-25 14:31:28 UTC
/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.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-11-25 14:32:35 UTC
(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..)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-11-25 14:36:43 UTC
(bugspam continuing..)

Missed that .so in /usr/lib64 is only a "GNU ld script" so those are correct.

Test suite however is broken.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-12-03 15:45:02 UTC
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.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-12-04 16:28:56 UTC
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 ;-)
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-12-05 14:53:30 UTC
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 :-)
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-12-05 21:02:49 UTC
amd64 stable (libarchive-2.4.5) after it was also tested by folks at #-bsd.