Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2023 14:33:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271261] archivers/gtar: GNU tar fails to write to pipe via stdout.
Message-ID:  <bug-271261-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271261
           Summary: archivers/gtar: GNU tar fails to write to pipe via
                    stdout.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: naddy@FreeBSD.org
          Reporter: mstone2001@msn.com
             Flags: maintainer-feedback?(naddy@FreeBSD.org)
          Assignee: naddy@FreeBSD.org

Trying to pipe GNU Tar output to another process fails.  I do this to write=
 the
output to another machine via ssh.  I have distilled it down to the simple
case:

gtar -c somefile.txt | cat > somefile.tar

I receive the following error:
gtar: /dev/sa0: Cannot open: Operation not supported
gtar: Error is not recoverable: exiting now

I have tried this on fedora, ubuntu, and netbsd, and all create the file
somefile.tar as expected.

bsd tar works fine:

tar -c somefile.txt | cat > somefile.tar=20

Creates the file as expected.

Unfortunately I need gnu tar due to the incremental options not available in
bsd tar.  I'm running 13.2 release.  gnu tar is latest version 1.34 install=
ed
from pkg.

--=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-271261-7788>