[Bug 257063] archivers/star: Do not install 'gnutar' for it is broken

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Jul 2021 22:44:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257063

            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) Firefox
from building correctly:

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

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

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

For a more complete user interface use the star type command interface.         
See 'man star'. The gnutar command is more or less limited to the               
GNU tar command line interface.                                                 
../../config/nsinstall -D /usr/ports/www/firefox-esr/work/stage/usr/local/bin
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' executable
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.