Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 200173
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log libarchive-2.4.0-r1 build.log text/plain Christoph Mende 2007-11-24 12:50 0000 163.26 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 200173 depends on: Show dependency tree
Bug 200173 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-24 12:16 0000
So just we can cleanup the old one, and the new one is plenty of resolved bugs.

------- Comment #1 From Christoph Mende 2007-11-24 12:50:28 0000 -------
Created an attachment (id=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 From Samuli Suominen 2007-11-25 14:28:14 0000 -------
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 From Samuli Suominen 2007-11-25 14:31:28 0000 -------
/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 From Samuli Suominen 2007-11-25 14:32:35 0000 -------
(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 From Samuli Suominen 2007-11-25 14:36:43 0000 -------
(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 From Samuli Suominen 2007-12-03 15:45:02 0000 -------
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 From Samuli Suominen 2007-12-04 16:28:56 0000 -------
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 From Samuli Suominen 2007-12-05 14:53:30 0000 -------
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 From Samuli Suominen 2007-12-05 21:02:49 0000 -------
amd64 stable (libarchive-2.4.5) after it was also tested by folks at #-bsd.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug