> From: Gavin Smith <gavinsmith0...@gmail.com> > Date: Sun, 17 Nov 2024 13:19:48 +0000 > Cc: Patrice Dumas <pertu...@free.fr>, bug-texinfo@gnu.org > > On Sun, Nov 17, 2024 at 08:48:48AM +0200, Eli Zaretskii wrote: > > > Date: Sun, 17 Nov 2024 00:34:29 +0100 > > > From: Patrice Dumas <pertu...@free.fr> > > > > > > Hello, > > > > > > In the CI, solaris 11 fails with > > > > > > cd built_input && \ > > > tar -xm -f > > > "/home/runner/work/ci-check/ci-check/texinfo-7.1.91-20241116/build/../tp/tests/input/non_ascii.tar" > > > tar: /dev/rmt/0: No such file or directory > > > > > > I have read the solaris man page for tar, and it is not so clear to what > > > extent the format with a - should work. > > > > > > Maybe it would be better for portability to use the old style bundeled > > > format, like > > > > > > tar xmf .... > > > > Yes, I think it will be more portable that way. > > > > Thanks, I didn't really know what to look at for information on portable > use of tar. I checked the FreeBSD man page for "tar" and that was about > it. The POSIX tar specification is very rudimentary and only uses the > "bundled" format and also marks it as LEGACY. > > We use tar cf and tar xf in texi2dvi. > > There were other options I wanted to use like --directory or > --transform which were GNU extensions.
The GNU Tar manual has a node called "Old Options" that describes the "old style" of Tar commands. The following node, "Mixing", explains how to mix the old style with --directory and the likes. Maybe that can help.