bin/181973: bsdgrep regression in ports framework
olli hauer
ohauer at FreeBSD.org
Mon Sep 9 21:50:00 UTC 2013
>Number: 181973
>Category: bin
>Synopsis: bsdgrep regression in ports framework
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 09 21:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Olli Hauer
>Release: FreeBSD 9.1-RELEASE-p6 amd64
>Organization:
>Environment:
>Description:
Given a Makefile with three OPTIONS
OPTIONS_DEFINE= AUTHN_DBD DBD SESSION_DBD
OPTIONS_DEFAULT= AUTHN_DBD DBD
The value of DBD is unexpected with bsdgrep but fine with the old GNU grep
>How-To-Repeat:
For testing I've created a simple test port.
http://people.freebsd.org/~ohauer/diffs/PR_181717/Makefile
> grep --v
grep (GNU grep) 2.5.1-FreeBSD
> make config (switch AUTHN_DBD and DBD to ON)
> make showconfig
===> The following configuration options are available for pr181717-1.0:
AUTHN_DBD=on
DBD=on
SESSION_DBD=off
===> Use 'make config' to modify these settings
> grep --v
grep (BSD grep) 2.5.1-FreeBSD
> make config (switch AUTHN_DBD and DBD to ON)
> make showconfig
===> The following configuration options are available for pr181717-1.0:
AUTHN_DBD=on
DBD=off <-- unexpected
SESSION_DBD=off
===> Use 'make config' to modify these settings
>Fix:
Switch back to GNU grep
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list