Bug 88846

Summary: assertion `current_variable_set_list->next != 0' failed
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: makeAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:52:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2003-04-14 21:11:35 UTC
Description of problem:

---
$ cat <<EOF >Makefile
foo:    CFLAGS+=a
EOF
$ touch foo.c
$ CFLAGS=a make foo
cc a a    foo.c   -o foo
make: expand.c:489: allocated_variable_append: Assertion
`current_variable_set_list->next != 0' failed.
---

(e.g. seen when building valgrind)


This is perhaps an upstream bug but because RHL ships a historic version of
make, I do not know if it happens with the recent 3.80 version also.


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

make-3.79.1-17


How reproducible:
100%

Comment 1 Miloslav Trmac 2003-04-15 12:42:56 UTC
Workaround when building valgrind:
instead of just
     make
doing
     env - PATH="$PATH" make
caused this failure to go away. I haven't been able to find out which
environment variable was the culprit though.

Comment 2 Enrico Scholz 2003-04-15 13:29:56 UTC
CPATH is guilty...

Comment 3 Tim Waugh 2004-07-28 15:23:50 UTC

*** This bug has been marked as a duplicate of 55490 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:52:40 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.