Red Hat Bugzilla – Bug 125054
Attempted assignment to const variable halts build
Last modified: 2007-11-30 17:10:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040120
Description of problem:
Rebuild of package anacron-2.3-30.src.rpm halts due to the code
attempting to assign a value to a variable declared as const. The
failure is at line #79 of file /usr/src/redhat/BUILD/anacron-2.3/gregor.c.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpmbuild --rebuild anacron-2.3-30.src.rpm
Actual Results: Build halts at compiler error.
Expected Results: Build of this package should continue to completion.
Removing the "const" from the variable declaration fixes the problem.
fixed in anacron-2.3-31.