Re: Test errors for 5.8.3

2004-04-08 Thread Craig A. Berry
At 10:25 PM -0400 4/7/04, John E. Malmberg wrote:
Craig A. Berry wrote:

If there is a discrepancy between your current offset from UTC and your timezone 
rule, then something that is explicitly testing that the two are in synch may run 
into problems.  Anything that uses UTC
or offsets from it (in short, anything using the standard C library functions) would 
have the same problem during the window between the time change and the system clock 
being reset.

The actual problem is that there are multiple independent ways of specifying the 
offset from the local time to UTC on OpenVMS for historical reasons.

I had a conversation with the editor of the OpenVMS FAQ about this today, and there 
will likely be an update to at least the OpenVMS FAQ.

The bottom line is to prevent problems, if you are not changing to/from DST at the 
exact time that the timezone rule states, you need to use the ZIC utility to create a 
new timezone.

Good to know about.  Just to be clear, the particular problem that
manifested itself is something that happens when running the Perl
test suite (specifically [.lib]vmsish.t) during the window between
the DST change and the clock reset.  vmsish.t uses the logical name
SYS$TIMEZONE_DIFFERENTIAL as a base for comparison to test various
timezone-related functions in Perl, which are in turn (usually) based
on CRTL functions.*  I think the safest thing to say is that running
the test during this window is unsupported.

*For ancient CRTLs that have a non-functioning gmtime(), Perl does
its best to determine the timezone offset using
SYS$TIMEZONE_DIFFERENTIAL, and if it can't do that because the
logical is not defined, it assumes the local time is UTC.  Perl also
has rudimentary timezone rule parsing capabilities, again for very
ancient CRTLs.  I leave the definition of ancient intentionally
ambiguous since I don't know at what point in the century previous to
ours these CRTL issues were resolved.
-- 

Craig A. Berry
mailto:[EMAIL PROTECTED]

... getting out of a sonnet is much more
 difficult than getting in.
 Brad Leithauser


configure -s option incompatible with /output=log.file

2004-04-08 Thread John E. Malmberg
It appears that the configure -s option is incompatible with having the 
configure script being run from a wrapper command file with the output 
redirected to a log file.

Removing the -s option results in prompts to continue.

For example for a command file:

$!
$if f$search(''build_disk'[''root']config.h) .eqs. 
$then
$show time
$   @'build_disk'['root']configure.com -de
$!   @build_root:['root']configure.com -Dusevmsdebug -de
$show time
$endif


EAGLE @LOCAL_ROOT:[00]build_gnv_perl.com/out=build.log
Type carriage return to continue
Type carriage return to continue
Type carriage return to continue
-John
[EMAIL PROTECTED]
Personal Opinion Only



[PATCH RC1] install reentr.(inc|h) on VMS with non-threaded Perl

2004-04-08 Thread Craig A. Berry
I've tested extension building against an installed copy of the release
candidate in a non-threaded configuration and it fails because
reentr.inc is included unconditionally even when threads are not enabled:
#include reentr.inc
.^
%CC-F-NOINCLFILEF, Cannot find file reentr.inc specified in #include 
directive.
at line number 3600 in file PERL_ROOT:[LIB.VMS_AXP.5_8_4.CORE]perl.h;1

I'm pretty sure this is different from how it used to be, but in any
case the attached patch unconditionally copies both reentr.inc and
reentr.h to the archcore directory, from whence installperl will pick
them up and install them.
This is only for maint; blead will need something different as it
appears there is no longer a reentr.inc there.

--- vms/descrip_mms.template;-0 Thu Apr  8 12:15:57 2004
+++ vms/descrip_mms.templateThu Apr  8 15:37:04 2004
@@ -293,11 +293,7 @@
 ac7 = $(ARCHCORE)pad.h $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h
 ac8 = $(ARCHCORE)perlapi.h $(ARCHCORE)perlio.h $(ARCHCORE)perlsdio.h
 ac9 = $(ARCHCORE)perlsfio.h $(ARCHCORE)perlvars.h $(ARCHCORE)perly.h $(ARCHCORE)pp.h
-.ifdef THREADED
 ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)reentr.h 
$(ARCHCORE)reentr.inc $(ARCHCORE)regcomp.h
-.else
-ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h
-.endif
 ac11 = $(ARCHCORE)regexp.h $(ARCHCORE)regnodes.h $(ARCHCORE)scope.h
 .ifdef SOCKARCH
 ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h $(SOCKARCH)
@@ -1392,14 +1388,12 @@
 $(ARCHCORE)proto.h : proto.h
@ If F$Search($(ARCHDIR)CORE.dir).eqs. Then Create/Directory $(ARCHCORE)
Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE)
-.ifdef THREADED
 $(ARCHCORE)reentr.h : reentr.h
@ If F$Search($(ARCHDIR)CORE.dir).eqs. Then Create/Directory $(ARCHCORE)
Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE)
 $(ARCHCORE)reentr.inc : reentr.inc
@ If F$Search($(ARCHDIR)CORE.dir).eqs. Then Create/Directory $(ARCHCORE)
Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE)
-.endif
 $(ARCHCORE)regcomp.h : regcomp.h
@ If F$Search($(ARCHDIR)CORE.dir).eqs. Then Create/Directory $(ARCHCORE)
Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE)