Bug 125054

Summary: Attempted assignment to const variable halts build
Product: [Fedora] Fedora Reporter: Steve Snyder <swsnyder>
Component: anacronAssignee: Jason Vas Dias <jvdias>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: anacron-2.3-31 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-03 21:35:25 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 Steve Snyder 2004-06-02 14:08:09 UTC
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):
2.3-30

How reproducible:
Always

Steps to Reproduce:
1.rpmbuild --rebuild anacron-2.3-30.src.rpm
2.
3.
    

Actual Results:  Build halts at compiler error.

Expected Results:  Build of this package should continue to completion.

Additional info:

Removing the "const" from the variable declaration fixes the problem.

Comment 1 Jason Vas Dias 2004-08-03 21:35:25 UTC
fixed in anacron-2.3-31.