Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 90615
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: pause [...] tlinx.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: OS version isn't reported correctly
I was looking into failures on on a module: http://www.cpantesters.org/distro/P/P.htm It has 4 failures all on MSWin32 OSver=4.0. MS Win 4.0 was the version of Windows BEFORE Windows 2000 and WinXP. WinNT4.0. I looked further into the reports. Two were actually from Windows 8. One from Windows 7 and one from XP. Those are WinNT versions 6.2, 6.1 and 5.1 respectively. Even says so in the reports: Win32::GetOSVersion = , 6, 2, 9200, 2, 0, 0, 400, 3 (Win8/Win2012) Service Pack 1, 6, 1, 7601, 2, 1, 0, 256, 1 (Win7) Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1 (XP) So why does the OS Version on the summary page say 4.0? Would it be useful if it stated the right version, or does OSver=4.0 mean something different in Strawberry Perl than what the OS Version is?
On Fri Nov 22 04:26:41 2013, LAWALSH wrote: Show quoted text
> I was looking into failures on on a module: > > http://www.cpantesters.org/distro/P/P.htm > > It has 4 failures all on MSWin32 OSver=4.0. > > MS Win 4.0 was the version of Windows BEFORE Windows 2000 and WinXP. > WinNT4.0. > > I looked further into the reports. > > Two were actually from Windows 8. > One from Windows 7 > and one from XP. > > Those are WinNT versions 6.2, 6.1 and 5.1 respectively. > > Even says so in the reports: > Win32::GetOSVersion = > , 6, 2, 9200, 2, 0, 0, 400, 3 (Win8/Win2012) > Service Pack 1, 6, 1, 7601, 2, 1, 0, 256, 1 (Win7) > Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1 (XP) > > > So why does the OS Version on the summary page say 4.0?
Because it was hardcoded in the build, as that variable is set at build time, not run time. It'll always be hard-coded to SOMETHING, unfortunately. It being 4.0 is just inertia from when David Golden originally set it, probably. (Yes, that far back!) Show quoted text
> Would it be useful if it stated the right version, or does > OSver=4.0 mean something different in Strawberry Perl than what > the OS Version is?
Subject: Re: [rt.cpan.org #90615] OS version isn't reported correctly
Date: Mon, 25 Nov 2013 09:59:34 +0100
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
I can change it to 6.1 ( == Win7 ) but as Curtis said it is a fixed information created during build time. -- kmx On 22.11.2013 14:07, Curtis Jewell via RT wrote: Show quoted text
> Queue: Perl-Dist-Strawberry > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=90615 > > > On Fri Nov 22 04:26:41 2013, LAWALSH wrote:
>> I was looking into failures on on a module: >> >> http://www.cpantesters.org/distro/P/P.htm >> >> It has 4 failures all on MSWin32 OSver=4.0. >> >> MS Win 4.0 was the version of Windows BEFORE Windows 2000 and WinXP. >> WinNT4.0. >> >> I looked further into the reports. >> >> Two were actually from Windows 8. >> One from Windows 7 >> and one from XP. >> >> Those are WinNT versions 6.2, 6.1 and 5.1 respectively. >> >> Even says so in the reports: >> Win32::GetOSVersion = >> , 6, 2, 9200, 2, 0, 0, 400, 3 (Win8/Win2012) >> Service Pack 1, 6, 1, 7601, 2, 1, 0, 256, 1 (Win7) >> Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1 (XP) >> >> >> So why does the OS Version on the summary page say 4.0?
> Because it was hardcoded in the build, as that variable is set at build time, not run time. > > It'll always be hard-coded to SOMETHING, unfortunately. It being 4.0 is just inertia from when David Golden originally set it, probably. (Yes, that far back!) >
>> Would it be useful if it stated the right version, or does >> OSver=4.0 mean something different in Strawberry Perl than what >> the OS Version is?
On Mon Nov 25 03:59:57 2013, kmx@volny.cz wrote: Show quoted text
> I can change it to 6.1 ( == Win7 ) but as Curtis said it is a fixed > information created during build time.
Maybe have it be whatever the current Strawberry Perl version that is being created at build time?