From owner-freebsd-bugs@freebsd.org Sun Oct 9 10:40:11 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADDD7C07962 for ; Sun, 9 Oct 2016 10:40:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83B2EFC4 for ; Sun, 9 Oct 2016 10:40:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u99AeB7i046104 for ; Sun, 9 Oct 2016 10:40:11 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Sun, 09 Oct 2016 10:40:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wosch@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2016 10:40:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213335 Wolfram Schneider 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 --- 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.=