Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 121006 - [PATCH] anacron package-build-error
Summary: [PATCH] anacron package-build-error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anacron
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact:
URL:
Whiteboard:
: 116249 (view as bug list)
Depends On:
Blocks: FC2Target
TreeView+ depends on / blocked
 
Reported: 2004-04-16 02:42 UTC by kanagawa jigorou
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version: anacron-2.3-31
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-07-03 10:41:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description kanagawa jigorou 2004-04-16 02:42:53 UTC
Description of problem:
package-build-error

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

How reproducible:
Always

Steps to Reproduce:
Try to build anacron-2.3-30.src.rpm on latest fedora-development
environment.

Additional info:
Here is extracted error messages...

gregor.c: In function `day_num':
gregor.c:79: error: assignment of read-only variable `isleap'
make: *** [gregor.o] Error 1


According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240043
Debian solved this problem with following patch.

--- anacron-2.3/gregor.c.orig	2000-06-23 02:00:14.000000000 +0200
+++ anacron-2.3/gregor.c	2004-03-26 20:45:13.000000000 +0100
@@ -65,7 +65,7 @@
 {
     int dn;
     int i;
-    const int isleap; /* save three calls to leap() */
+    int isleap; /* save three calls to leap() */
 
     /* Some validity checks */

Comment 1 Miloslav Trmac 2004-04-21 17:57:42 UTC
*** Bug 116249 has been marked as a duplicate of this bug. ***

Comment 2 kanagawa jigorou 2004-04-22 00:34:20 UTC
Oops!
That is very true.
Sorry for my carelessness.
And, thank you!

Comment 3 kanagawa jigorou 2004-07-03 10:41:15 UTC
It looks like fixed in anacron-2.3-31.


Note You need to log in before you can comment on or make changes to this bug.