[Bug 240982] archivers/zoo can’t delete files from an archive under amd64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 1 20:38:14 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240982

            Bug ID: 240982
           Summary: archivers/zoo can’t delete files from an archive under
                    amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: stegozor at gmail.com

When trying to delete a file from an archive under amd64, zoo fails with the
following error message:
Zoo: FATAL:  Archive header failed consistency check.

Adding a file to an archive works, and updating a file in the archive /seems/
to work but gives the same header failed consistency check error message.

An example:

$ zoo -add archive.zoo sample_text
Zoo:  sample_text --  (62%) added
$ zoo -add archive.zoo sample_text2
Zoo:  sample_text2 --  (49%) added
$
$ # After modifying sample_text2 a bit with nano
$
$ zoo -update archive zoo sample_text2
Zoo: sample_text2 --  (49%) replaced
----
Packing...Zoo:  WARNING: Archive header failed consistency check.
$
$ zoo -delete archive.zoo sample_text2
Zoo: FATAL: Archive header failed consistency check.
$
$ ls 
Desktop archive.bak sample_text
Downloads archive.zoo sample_text2

This is with zoo-2.10.1_3 and uname -a returns the following:
FreeBSD localhost 12.1-BETA1 FreeBSD 12.1 BETA1 r352546 GENERIC amd64

Please note that none of these problems occur with 
FreeBSD localhost 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 i386
(and for fun, I tested with zoo in FreeDOS 1.2 too, and the 16bit version works
fine as well) so it’s probably an architecture related issue.

Finally, this might somewhat be related to bug #162804 as it was closed as
FIXED but only 2 out of 4 provided patches were applied and the two others were
forgotten. See bug #162804 comment #4.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list