Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jul 2021 22:44:04 +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@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 257063
           Summary: archivers/star: Do not install 'gnutar' for it is
                    broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ice@extreme.hu
                CC: fuz@fuz.su
                CC: fuz@fuz.su
             Flags: maintainer-feedback?(fuz@fuz.su)

The recent addition of 'gnutar' to point to 'star' prohibits (at least) Fir=
efox
from building correctly:

../../config/nsinstall -D
/usr/ports/www/firefox-esr/work/stage/usr/local/lib/firefox=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
(cd ../../dist/firefox && /usr/local/bin/gnutar --exclude=3Dprecomplete
--exclude=3D.mkdir.done -chf - .) | \
  (cd /usr/ports/www/firefox-esr/work/stage/usr/local/lib/firefox && tar -x=
f -)=20
gnutar: Bad Option: -chf.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Usage:  gnutar cmd [options] file1 ... filen=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20

Use     gnutar --help=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
and     gnutar --xhelp=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
to get a list of valid cmds and options.=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20

Use     gnutar -H help=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
to get a list of valid archive header formats.=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20

For a more complete user interface use the star type command interface.=20=
=20=20=20=20=20=20=20=20
See 'man star'. The gnutar command is more or less limited to the=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
GNU tar command line interface.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
../../config/nsinstall -D /usr/ports/www/firefox-esr/work/stage/usr/local/b=
in
rm -f -f /usr/ports/www/firefox-esr/work/stage/usr/local/bin/firefox
ln -s /usr/local/lib/firefox/firefox
/usr/ports/www/firefox-esr/work/stage/usr/local/bin
gmake[3]: Leaving directory
'/usr/ports/www/firefox-esr/work/.build/browser/installer'

I believe the error is because something in here finds the 'gnutar' executa=
ble
as a suitable GNU tar to use, which has recently been installed by
archivers/star:

$ ls -l /usr/local/bin/gnutar
lrwxr-xr-x  1 root  wheel  4 Jul  2 00:22 /usr/local/bin/gnutar -> star

star is rather obviously completely unsuitable as a stand-in for GNU tar --=
 the
 arguments star chokes on have been completely fine for GNU tar for close to
two decades (I do not have an older one handy to check).

Please stop installing the 'gnutar' link.

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