Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 13:56:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277784] textproc/gnugrep: obsolescence warning should be silenced
Message-ID:  <bug-277784-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 277784
           Summary: textproc/gnugrep: obsolescence warning should be
                    silenced
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: fuz@FreeBSD.org
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
             Flags: merge-quarterly?

The tools egrep and fgrep as shipped by this package print annoying
obsolescence warnings every time they are used:

$ cat /usr/local/bin/fgrep=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
#!/bin/sh
cmd=3D${0##*/}
echo "$cmd: warning: $cmd is obsolescent; using /usr/local/bin/ggrep -F" >&2
exec /usr/local/bin/ggrep -F "$@"

These warnings interfere with scripts like "make stage-qa" that internally =
use
egrep and cause some of my unit tests to fail.

Please patch the port to discard the warnings.

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