Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 2021 13:47:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257063] archivers/star: Do not install 'gnutar' for it is broken
Message-ID:  <bug-257063-7788-cZ59HHyeYe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257063-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257063-7788@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=3D257063

J=C3=B6rg Schilling <schily@schily.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schily@schily.net

--- Comment #5 from J=C3=B6rg Schilling <schily@schily.net> ---
The problem is that firefox seems to use an incorrect GNU tar command line.

Non-standard options like --exclude need to appear after the TAR key letter=
 -c

The background is that GNU tar claims to implement a 100% TAR compatible CLI
and TAR does not use a standard option parser to parse the options.
Unfortunately, GNU tar is wrong with it's claims....and implements a CLI th=
at
is very different from the original TAR CLI.

In order to support the official TAR CLI, star calls a function that modifi=
es
the command line in a way that it later may be parsed by a standard option
parser.

Option parsing in GNU tar always was a big problem ans many user still comp=
lain
about problems they observe because of the strange option parsing in GNU ta=
r.

If recent GNU tar versions changed their behaviour and firefox adopted to t=
hat,
this seems to be a firefox problem.

BTW: GNU tar is never installed as "gnutar". This is why the name "gnutar" =
has
been selected by star to switch to the GNU tar CLI.

So my proposal:

Either change firefox to have the non-standard options like --exclude appear
late in the command line, or tell firefox to look for "gnutar" last, but ne=
ver
first.

--=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-257063-7788-cZ59HHyeYe>