I got a strange error message from tar if I try to add file to an archive which 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.
I cannot reproduce this error on -current anymore. Apparently, it was fixed.
*** Bug 218877 has been marked as a duplicate of this bug. ***