FW: glibc install problem caused by bug in zic (fwd)

Olson, Arthur David (NCI) olsona at dc37a.nci.nih.gov
Tue Mar 5 14:06:37 UTC 2002


The suggested patch relies on the fact that the Makefile does special stuff
for "tzlinks" files.
Perhaps a comment should be added to the Makefile indicating that any source
file containing "Link" lines should be listed in tzlinks.

				--ado

-----Original Message-----
From: Paul Eggert [mailto:eggert at twinsun.com]
Sent: Tuesday, February 26, 2002 3:33 AM
To: peb at mppmu.mpg.de
Cc: tz at elsie.nci.nih.gov
Subject: Re: FW: glibc install problem caused by bug in zic (fwd)


> From: Peter Breitenlohner [mailto:peb at mppmu.mpg.de]
> Sent: Monday, February 25, 2002 4:56 AM
> 
> 	Bad timing between two instances of zic, where one tried to link to
> 	a file which the other had not yet created.

Thanks for the bug report.  Here's an untested patch to
glibc/timezone/Makefile to fix that timing problem.  (Your symlink fix
to zic.c is also welcome, but that's a separate problem.)

Can you please test this patch?  If it works for you, we can submit it
to bug-glibc as "the consensus of the tz experts" (all 2 of us :-).

2002-02-25  Paul Eggert  <eggert at twinsun.com>

	* timezone/Makefile (tzbases): Move systemv from here...
	(tzlinks): to here, since the entries in systemv were all changed
	from Zone to Link lines in tz-2001a.

--- glibc-2.2.5/timezone/Makefile	2001-08-29 15:45:25.000000000 -0700
+++ glibc-2.2.5-fix/timezone//Makefile	2002-02-25 23:50:22.373587963 -0800
@@ -31,9 +31,9 @@ others	:= zdump zic
 tests	:= test-tz tst-timezone
 
 tzbases := africa antarctica asia australasia europe northamerica \
-	   southamerica etcetera factory systemv \
+	   southamerica etcetera factory \
 	   solar87 solar88 solar89
-tzlinks := backward
+tzlinks := backward systemv
 tzfiles := $(tzbases) $(tzlinks)
 # pacificnew doesn't compile; if it is to be used, it should be included in
 # northamerica.



More information about the tz mailing list