Bug 1323206

Summary: GNU make utility v.3.82 shipped with el7 breaks environment vars
Product: Red Hat Enterprise Linux 7 Reporter: Leandr <mail>
Component: makeAssignee: Patsy Griffin <pfrankli>
Status: CLOSED ERRATA QA Contact: Michal Kolar <mkolar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.4CC: bgollahe, mcermak, mkolar, mnewsome, qe-baseos-tools-bugs, tgummels, woodard
Target Milestone: rcFlags: tgummels: needinfo? (mnewsome)
Target Release: 7.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: make-3.82-22.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 08:22:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1274917, 1364088    

Description Leandr 2016-04-01 14:14:30 UTC
Description of problem:
make v. 3.82 was broken somehow and incorrectly parses environment variables.

As I know 3.81 was OK.
Also, we built 4.1 from sources and it is also OK.

Version-Release number of selected component (if applicable):
3.82

How reproducible:
always

Steps to Reproduce:
	1. create Makefile:
```
test: TEST ?= true
test:
        echo "TEST=$(TEST)"
```

2. check make version
$ make -v
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> [^]
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
go.stg.las1:~

3. run make
$ make test TEST=false
echo "TEST=f�"
TEST=f�

Actual results:
echo "TEST=f�"
TEST=f�


Expected results:
echo "TEST=false"
TEST=false


Additional info:

Comment 23 errata-xmlrpc 2016-11-04 08:22:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2539.html