Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2016 10:40:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213335] tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1
Message-ID:  <bug-213335-8-UgnPSm5dV9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213335-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213335-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213335

Wolfram Schneider <wosch@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|tar: INTERNAL ERROR:        |tar: INTERNAL ERROR:
                   |                            |Function
                   |                            |'archive_read_disk_open'
                   |                            |invoked with archive
                   |                            |structure in state
                   |                            |'header', should be in
                   |                            |state 'new/closed': Unknown
                   |                            |error: -1

--- Comment #1 from Wolfram Schneider <wosch@FreeBSD.org> ---
I got a strange error message from tar if I try to add file to an archive w=
hich
don't exists.

How to repeat:

$ tar cf -  foo bar
tar: foo: Cannot stat: No such file or directory
tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive
structure in state 'header', should be in state 'new/closed': Unknown error=
: -1
tar: Error exit delayed from previous errors.

what I expected (as on MacOS with an older bsdtar)

$ tar cf - foo bar
tar: foo: Cannot stat: No such file or directory
tar: bar: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213335-8-UgnPSm5dV9>