Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2013 21:45:49 GMT
From:      olli hauer <ohauer@FreeBSD.org>
To:        <FreeBSD-gnats-submit@freebsd.org>
Cc:        ohauer@gmx.de
Subject:   bin/181973: bsdgrep regression in ports framework
Message-ID:  <201309092145.r89Ljnir019454@freefall.freebsd.org>
Resent-Message-ID: <201309092150.r89Lo0B7038429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309092145.r89Ljnir019454>