Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perldoc error in strawberry-perl-5.24.1.1-64bit-portable on Windows 10 #15869

Closed
p5pRT opened this issue Feb 10, 2017 · 36 comments
Closed

perldoc error in strawberry-perl-5.24.1.1-64bit-portable on Windows 10 #15869

p5pRT opened this issue Feb 10, 2017 · 36 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 10, 2017

Migrated from rt.perl.org#130759 (status was 'resolved')

Searchable as RT130759$

@p5pRT
Copy link
Author

p5pRT commented Feb 10, 2017

From dillman@ria.buffalo.edu

Created by dillman@ria.buffalo.edu

Using strawberry-perl-5.24.1.1-64bit-portable on my Windows 10 machine,
any invocation of perldoc toward valid documentation returns the error​:
Invalid parameter - -R

On the bright side requests for documentation of uninstalled modules
responds correctly.

FWIW​: I've also installed 5.24.1 via perlbrew on my Mac and it behaves
correctly.

Perl Info

Flags:
    category=utilities
    severity=medium

Site configuration information for perl 5.24.1:

Configured by strawberry-perl at Mon Jan 16 02:03:13 2017.

Summary of my perl5 (revision 5 version 24 subversion 1) configuration:
 
  Platform:
    osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread
    uname='Win32 strawberry-perl 5.24.1.1 #1 Mon Jan 16 02:00:29 2017 x64'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE 
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
-fwrapv -fno-strict-aliasing -mms-bitfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678, 
doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, 
longdblkind=3
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long 
long', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++.exe', ldflags ='-s 
-L"C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\perl\lib\CORE" 
-L"C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\c\lib"'
 
libpth=C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\c\lib 
C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\c\x86_64-w64-mingw32\lib 
C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\c\lib\gcc\x86_64-w64-mingw32\4.9.2
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr 
-lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr 
-lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl524.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s 
-L"C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\perl\lib\CORE" 
-L"C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\c\lib"'



@INC for perl 5.24.1:
 
C:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-portable/perl/site/lib/MSWin32-x64-multi-thread
 
C:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-portable/perl/site/lib
 
C:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-portable/perl/vendor/lib
 
C:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-portable/perl/lib


Environment for perl 5.24.1:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
 
PATH=C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\perl\site\bin;C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\perl\bin;C:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-portable\c\bin;C:\Program 
Files\ActiveState Perl Dev Kit 9.5.1\bin\;C:\Program Files 
(x86)\ActiveState Komodo IDE 10\;C:\Program Files\ActiveState Perl Dev Kit 
9.5\bin\;C:\Program Files\ActiveState Perl Dev Kit 
9.4\bin\;C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files 
(x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS 
Client\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files 
(x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program 
Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files 
(x86)\Intel\Intel(R) Management Engine 
Components\IPT;C:\WINDOWS\idmu\common;C:\Program 
Files\Novell\iPrint;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files 
(x86)\PuTTY\;C:\Program Files (x86)\Novell\ZENworks\bin;C:\Program 
Files\Git\cmd;C:\Program Files 
(x86)\IBM\Notes;C:\Users\dillman\AppData\Local\IBM\Notes\Data;C:\Program 
Files (x86)\Nmap;C:\Program Files\ActiveState Perl Dev Kit 
9.5.1\bin\;C:\Program Files (x86)\ActiveState Komodo IDE 10\;C:\Program 
Files\ActiveState Perl Dev Kit 9.5\bin\;C:\Program Files\ActiveState Perl 
Dev Kit 9.4\bin\;C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files 
(x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS 
Client\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files 
(x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program 
Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files 
(x86)\Intel\Intel(R) Management Engine 
Components\IPT;C:\WINDOWS\idmu\common;C:\Program 
Files\Novell\iPrint;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files 
(x86)\PuTTY\;C:\Program Files (x86)\Novell\ZENworks\bin;C:\Program 
Files\Git\cmd;C:\Program Files 
(x86)\IBM\Notes;C:\Users\dillman\AppData\Local\IBM\Notes\Data;C:\Users\dillman\AppData\Local\Microsoft\WindowsApps;Z:.;
    PERL_BADLANG (unset)
    SHELL (unset)

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From @jkeenan

On Fri, 10 Feb 2017 18​:05​:55 GMT, dillman@​ria.buffalo.edu wrote​:

This is a bug report for perl from dillman@​ria.buffalo.edu,
generated with the help of perlbug 1.40 running under perl 5.24.1.

-----------------------------------------------------------------
[Please describe your issue here]

Using strawberry-perl-5.24.1.1-64bit-portable on my Windows 10
machine,
any invocation of perldoc toward valid documentation returns the
error​:
Invalid parameter - -R

I'm a bit confused here. You're reporting a problem with 'perldoc', which is an executable program distributed with the Perl 5 core distribution (and presumably included in Strawberry Perl). But, ...

On the bright side requests for documentation of uninstalled modules
responds correctly.

FWIW​: I've also installed 5.24.1 via perlbrew on my Mac and it
behaves
correctly.

... 'perlbrew' is an executable which is part of the App​::perlbrew distribution from CPAN. It's not part of the Perl 5 core distribution (though it is, of course, used to install different versions of perl beneath your home directory).

Can you provide a few specific examples of your 'perldoc' problem -- both what doesn't work and what does?

Thank you very much.
Jim Keenan

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags​:
category=utilities
severity=medium
---
Site configuration information for perl 5.24.1​:

Configured by strawberry-perl at Mon Jan 16 02​:03​:13 2017.

Summary of my perl5 (revision 5 version 24 subversion 1)
configuration​:

Platform​:
osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread
uname='Win32 strawberry-perl 5.24.1.1 #1 Mon Jan 16 02​:00​:29 2017
x64'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler​:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fwrapv -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.9.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678,
doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16,
longdblkind=3
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='long
long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries​:
ld='g++.exe', ldflags ='-s
-L"C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\perl\lib\CORE"
-L"C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\c\lib"'

libpth=C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\c\lib
C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\c\x86_64-w64-mingw32\lib
C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\c\lib\gcc\x86_64-w64-mingw32\4.9.2
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32
-lmpr
-lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32
-lmpr
-lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl524.a
gnulibc_version=''
Dynamic Linking​:
dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s
-L"C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\perl\lib\CORE"
-L"C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\c\lib"'

---
@​INC for perl 5.24.1​:

C​:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-
portable/perl/site/lib/MSWin32-x64-multi-thread

C​:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-
portable/perl/site/lib

C​:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-
portable/perl/vendor/lib

C​:/Users/dillman/Documents/strawberry-perl-5.24.1.1-64bit-
portable/perl/lib

---
Environment for perl 5.24.1​:
HOME (unset)
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)

PATH=C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-64bit-
portable\perl\site\bin;C​:\Users\dillman\Documents\strawberry-perl-
5.24.1.1-64bit-
portable\perl\bin;C​:\Users\dillman\Documents\strawberry-perl-5.24.1.1-
64bit-portable\c\bin;C​:\Program
Files\ActiveState Perl Dev Kit 9.5.1\bin\;C​:\Program Files
(x86)\ActiveState Komodo IDE 10\;C​:\Program Files\ActiveState Perl Dev
Kit
9.5\bin\;C​:\Program Files\ActiveState Perl Dev Kit
9.4\bin\;C​:\Perl64\site\bin;C​:\Perl64\bin;C​:\Program Files
(x86)\Intel\iCLS Client\;C​:\Program Files\Intel\iCLS
Client\;C​:\ProgramData\Oracle\Java\javapath;C​:\WINDOWS\system32;C​:\WINDOWS;C​:\WINDOWS\System32\Wbem;C​:\WINDOWS\System32\WindowsPowerShell\v1.0\;C​:\Program
Files\Intel\Intel(R) Management Engine Components\DAL;C​:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\DAL;C​:\Program
Files\Intel\Intel(R) Management Engine Components\IPT;C​:\Program Files
(x86)\Intel\Intel(R) Management Engine
Components\IPT;C​:\WINDOWS\idmu\common;C​:\Program
Files\Novell\iPrint;C​:\Program Files (x86)\GNU\GnuPG\pub;C​:\Program
Files
(x86)\PuTTY\;C​:\Program Files (x86)\Novell\ZENworks\bin;C​:\Program
Files\Git\cmd;C​:\Program Files
(x86)\IBM\Notes;C​:\Users\dillman\AppData\Local\IBM\Notes\Data;C​:\Program
Files (x86)\Nmap;C​:\Program Files\ActiveState Perl Dev Kit
9.5.1\bin\;C​:\Program Files (x86)\ActiveState Komodo IDE
10\;C​:\Program
Files\ActiveState Perl Dev Kit 9.5\bin\;C​:\Program Files\ActiveState
Perl
Dev Kit 9.4\bin\;C​:\Perl64\site\bin;C​:\Perl64\bin;C​:\Program Files
(x86)\Intel\iCLS Client\;C​:\Program Files\Intel\iCLS
Client\;C​:\ProgramData\Oracle\Java\javapath;C​:\WINDOWS\system32;C​:\WINDOWS;C​:\WINDOWS\System32\Wbem;C​:\WINDOWS\System32\WindowsPowerShell\v1.0\;C​:\Program
Files\Intel\Intel(R) Management Engine Components\DAL;C​:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\DAL;C​:\Program
Files\Intel\Intel(R) Management Engine Components\IPT;C​:\Program Files
(x86)\Intel\Intel(R) Management Engine
Components\IPT;C​:\WINDOWS\idmu\common;C​:\Program
Files\Novell\iPrint;C​:\Program Files (x86)\GNU\GnuPG\pub;C​:\Program
Files
(x86)\PuTTY\;C​:\Program Files (x86)\Novell\ZENworks\bin;C​:\Program
Files\Git\cmd;C​:\Program Files
(x86)\IBM\Notes;C​:\Users\dillman\AppData\Local\IBM\Notes\Data;C​:\Users\dillman\AppData\Local\Microsoft\WindowsApps;Z​:.;
PERL_BADLANG (unset)
SHELL (unset)

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From itcharlie@gmail.com

I don't see this problem in Strawberry Perl 5.24.0 on Windows 10. I will attempt an install of Strawberry Perl 5.24.1 and test the following​:

====
PS C​:\Users\cgonzalez> perldoc CPAN​::Mini​::Simple​::Visit
No documentation found for "CPAN​::Mini​::Simple​::Visit".

====
PS C​:\Users\cgonzalez> perldoc Dancer2
NAME
  Dancer2 - Lightweight yet powerful web application framework

VERSION
  version 0.204001

DESCRIPTION
  Dancer2 is the new generation of Dancer, the lightweight web-framework
  for Perl. Dancer2 is a complete rewrite based on Moo.

  Dancer2 can optionally use XS modules for speed, but at its core remains
  fatpackable (packable by App​::FatPacker) so you could easily deploy
  Dancer2 applications on hosts that do not support custom CPAN modules.

  Dancer2 is easy and fun​:

  use Dancer2;
  get '/' => sub { "Hello World" };
  dance;

  This is the main module for the Dancer2 distribution. It contains logic
  for creating a new Dancer2 application.

  You are welcome to join our mailing list. For subscription information,

====
PS C​:\Users\cgonzalez> perl -v

This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x64-multi-thread

Copyright 1987-2016, Larry Wall

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From [Unknown Contact. See original ticket]

I don't see this problem in Strawberry Perl 5.24.0 on Windows 10. I will attempt an install of Strawberry Perl 5.24.1 and test the following​:

====
PS C​:\Users\cgonzalez> perldoc CPAN​::Mini​::Simple​::Visit
No documentation found for "CPAN​::Mini​::Simple​::Visit".

====
PS C​:\Users\cgonzalez> perldoc Dancer2
NAME
  Dancer2 - Lightweight yet powerful web application framework

VERSION
  version 0.204001

DESCRIPTION
  Dancer2 is the new generation of Dancer, the lightweight web-framework
  for Perl. Dancer2 is a complete rewrite based on Moo.

  Dancer2 can optionally use XS modules for speed, but at its core remains
  fatpackable (packable by App​::FatPacker) so you could easily deploy
  Dancer2 applications on hosts that do not support custom CPAN modules.

  Dancer2 is easy and fun​:

  use Dancer2;
  get '/' => sub { "Hello World" };
  dance;

  This is the main module for the Dancer2 distribution. It contains logic
  for creating a new Dancer2 application.

  You are welcome to join our mailing list. For subscription information,

====
PS C​:\Users\cgonzalez> perl -v

This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x64-multi-thread

Copyright 1987-2016, Larry Wall

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From itcharlie@gmail.com

This error comes up in Strawberry Perl 5.24.1 in Window 10

====
PS C​:\Users\cgonzalez> perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http​://www.perl.org/, the Perl Home Page.

====
PS C​:\Users\cgonzalez> perldoc Dancer2
Invalid parameter - -R

====
PS C​:\Users\cgonzalez> perldoc CPAN​::Mini​::Simple​::Visit
No documentation found for "CPAN​::Mini​::Simple​::Visit".

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From [Unknown Contact. See original ticket]

This error comes up in Strawberry Perl 5.24.1 in Window 10

====
PS C​:\Users\cgonzalez> perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http​://www.perl.org/, the Perl Home Page.

====
PS C​:\Users\cgonzalez> perldoc Dancer2
Invalid parameter - -R

====
PS C​:\Users\cgonzalez> perldoc CPAN​::Mini​::Simple​::Visit
No documentation found for "CPAN​::Mini​::Simple​::Visit".

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From @jkeenan

On Sat, 11 Feb 2017 17​:18​:52 GMT, itcharlie wrote​:

This error comes up in Strawberry Perl 5.24.1 in Window 10

====
PS C​:\Users\cgonzalez> perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-
x64-multi-thread

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source
kit.

Complete documentation for Perl, including FAQ lists, should be found
on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http​://www.perl.org/, the Perl Home
Page.

====
PS C​:\Users\cgonzalez> perldoc Dancer2
Invalid parameter - -R

====
PS C​:\Users\cgonzalez> perldoc CPAN​::Mini​::Simple​::Visit
No documentation found for "CPAN​::Mini​::Simple​::Visit".

Thanks for looking into this. Can you post what happens in Strawberry Perl (preferably both 5.24.0 and 5.24.1) when you seek Perl's core documentation, e.g.​:

#####
perldoc perlvar
#####

We'll have to determine whether this problem is specific to the Strawberry Perl build of 5.24.1 or is more generally a problem with 5.24.1 on Windows.

Thank you very much.
Jim Keenan

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From zefram@fysh.org

James E Keenan via RT wrote​:

PS C​:\Users\cgonzalez> perldoc Dancer2
Invalid parameter - -R

I want to know what's producing that error message. Doesn't seem to be
perldoc itself, and it only arises when there is documentation to show.
I suspect that perldoc is supplying a -R parameter to a pager, but the
pager isn't the one that perldoc expects. perldoc does try to add -R
as an option to less, by adding it to $ENV{LESS}.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2017

From @xenu

On Sat, 11 Feb 2017 20​:52​:18 +0000
Zefram <zefram@​fysh.org> wrote​:

I want to know what's producing that error message.

[22​:40] C​:\Users\xenu> set MORE=-R
[22​:40] C​:\Users\xenu> more foo
Invalid parameter - -R

The bug is already reported upstream[1], it was broken by this[2] commit.

[1] - jadeallenx/Pod-Perldoc#28
[2] - jadeallenx/Pod-Perldoc@7e78b9a

@p5pRT
Copy link
Author

p5pRT commented Feb 12, 2017

From @jkeenan

This problem appears to be a regression between 5.24.0 and 5.24.1. So I am adding it as a blocker for any 5.24.2.

I am also adding it as a blocker for 5.26.0, as version 3.27 of Pod-Perldoc (which is maintained upstream on cpan) is already in blead.

Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2017

From @sisyphus

-----Original Message-----
From​: Charlie Gonzalez via RT
Sent​: Sunday, February 12, 2017 3​:25 AM
To​: OtherRecipients of perl Ticket #130759​:
Cc​: perl5-porters@​perl.org
Subject​: [perl #130759] perldoc error in
strawberry-perl-5.24.1.1-64bit-portable on Windows 10

I don't see this problem in Strawberry Perl 5.24.0 on Windows 10. I will
attempt an install of Strawberry Perl 5.24.1 and test the following​:

On Windows 7, no problem with Strawberry Perl 5.24.0, but with Strawberry
Perl 5.24.1​:

###############
C​:\_64\strawberry5.24.1>perldoc Math​::BigInt
Invalid parameter - -R

###############

and also in 5.25.9 (built by me using gcc-5.3.0)​:

###############
C​:\_64>perl -le "print $];"
5.025009

C​:\_64>perldoc Math​::BigInt
Invalid parameter - -R

###############

Is there no testing of perldoc output in the test suite ?

(I haven't built a devel perl since 5.25.9 was released.)

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2017

From @sisyphus

-----Original Message-----
From​: sisyphus1@​optusnet.com.au
Sent​: Monday, February 13, 2017 1​:01 PM
To​: perlbug-comment@​perl.org
Cc​: perl5-porters@​perl.org

On Windows 7, no problem with Strawberry Perl 5.24.0 ....

However, if (on 5.24.0) I update Pod​::Perldoc to the same version (namely
3.27) as ships with Strawberry Perl 5.24.1 then I do get the same behaviour​:

#################
C​:\_64\strawberry5.24.0-ld>perl -le "print $]"
5.024000

C​:\_64\strawberry5.24.0-ld>perldoc Math​::BigInt
Invalid parameter - -R

C​:\_64\strawberry5.24.0-ld>pmver Pod​::Perldoc
3.27

#################

Also, installing Pod-Perldoc-3.27 on Strawberry Perl 5.22.0 introduces the
same error to that build of perl.

Something is apparently amiss with Pod​::Perldoc.

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2017

From @sisyphus

-----Original Message-----
From​: sisyphus1@​optusnet.com.au
Sent​: Monday, February 13, 2017 1​:42 PM
To​: perlbug-comment@​perl.org
Cc​: perl5-porters@​perl.org
Subject​: Re​: [perl #130759] perldoc error in
strawberry-perl-5.24.1.1-64bit-portable on Windows 10

This patch to Pod-Perldoc.pm fixes the error for me​:

Inline Patch
--- Perldoc.pm_orig    2017-02-13 20:15:54 +1100
+++ Perldoc.pm    2017-02-13 20:28:26 +1100
@@ -1938,7 +1938,9 @@
                 # https://bugs.debian.org/758689
                 local $ENV{LESS} = defined $ENV{LESS} ? "$ENV{LESS} -R" : 
"-R";   \# On FreeBSD\, the default pager is more\. \- local $ENV\{MORE\} = defined $ENV\{MORE\} ? "$ENV\{MORE\} \-R" : "\-R"; \+ unless\($^O =~ /MSWin/\) \{ \+ local $ENV\{MORE\} = defined $ENV\{MORE\} ? "$ENV\{MORE\} \-R" : "\-R"; \+ \}   last if system\("$pager \\"$output\\""\) == 0;   \}   \}

The problem being, apparently, that '-R' is an invalid switch for 'more' on
Windows.

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2017

From @hvds

On Mon, 13 Feb 2017 01​:31​:22 -0800, sisyphus wrote​:

This patch to Pod-Perldoc.pm fixes the error for me​:
[...]
+ unless($^O =~ /MSWin/) {
+ local $ENV{MORE} = defined $ENV{MORE} ? "$ENV{MORE} -R" :

That introduces a new scope, so the local() will not apply for long enough on platforms where it should happen.

Hugo

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2017

From zefram@fysh.org

Summarised findings of recent messages​: this problem doesn't depend
on the version of perl per se, but on the version of Pod​::Perldoc.
Strawberry Perl, unlike p5p perl, has apparently made a significant
change in the bundled version of Pod​::Perldoc between core versions
5.24.0 and 5.24.1. Whether the problem actually manifests depends on
the user's pager configuration and on the details of the pager program.

           \# https://bugs.debian.org/758689
           local $ENV\{LESS\} = defined $ENV\{LESS\} ? "$ENV\{LESS\} \-R" : "\-R";
           \# On FreeBSD\, the default pager is more\.
           local $ENV\{MORE\} = defined $ENV\{MORE\} ? "$ENV\{MORE\} \-R" : "\-R";

Huh, I hadn't until now seen this version of the code. I'd seen the part
adding -R to $ENV{LESS}, but not the similar part adding it to $ENV{MORE}.
The latter is going to be a problem on more systems than just Windows​:

  $ cat /etc/issue.net
  Debian GNU/Linux 8
  $ dpkg -S /bin/more
  util-linux​: /bin/more
  $ dpkg-query -W util-linux
  util-linux 2.25.2-6
  $ MORE=-R more /dev/null
  more​: unknown option -R

Even adding -R to $ENV{LESS} is a bit presumptuous​: its validity depends
on the specific version of less(1) that is installed.

In both of these cases, Pod​::Perldoc is overstepping its legitimate
bounds, mucking about in aspects of the environment that do not belong
to it. Those environment variables belong to the user, and it is up to
the user to ensure that they are set in a manner compatible with the
pager programs available on the system, with the terminal the user is
using, and with the user's actual preferences. Pod​::Perldoc does not
know enough about either the pager programs, terminal, or the user's
preferences to correctly edit these variables.

Ultimately this problem arises from the Pod​::Perldoc folks having
addressed [rt.cpan.org #88204] in the manner that I said in that ticket
would be a mistake. That approach has brought in a bundle of new
compatibility problems, to handle which no attempt was made. Just call
me Cassandra.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2017

From zefram@fysh.org

Additional​: this ticket duplicates [rt.cpan.org #116953].

-zefram

@p5pRT
Copy link
Author

p5pRT commented Feb 14, 2017

From @sisyphus

-----Original Message-----
From​: Zefram
Sent​: Tuesday, February 14, 2017 12​:43 AM
To​: perl5-porters@​perl.org
Subject​: Re​: [perl #130759] perldoc error in
strawberry-perl-5.24.1.1-64bit-portable on Windows 10

Strawberry Perl, unlike p5p perl, has apparently made a significant change
in the bundled version of Pod​::Perldoc between core versions 5.24.0 and
5.24.1.

Yes, I don't know why the Strawberry project felt it necessary to do that.

Looks to me that the current blead version of Pod​::Perldoc is 3.27.
I hope that doesn't mean that this broken version of Pod​::Perldoc is
destined for inclusion in perl-5.26.0.

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Feb 14, 2017

From @jkeenan

On Tue, 14 Feb 2017 02​:01​:20 GMT, sisyphus wrote​:

-----Original Message-----
From​: Zefram
Sent​: Tuesday, February 14, 2017 12​:43 AM
To​: perl5-porters@​perl.org
Subject​: Re​: [perl #130759] perldoc error in
strawberry-perl-5.24.1.1-64bit-portable on Windows 10

Strawberry Perl, unlike p5p perl, has apparently made a significant
change
in the bundled version of Pod​::Perldoc between core versions 5.24.0
and
5.24.1.

Yes, I don't know why the Strawberry project felt it necessary to do
that.

Looks to me that the current blead version of Pod​::Perldoc is 3.27.
I hope that doesn't mean that this broken version of Pod​::Perldoc is
destined for inclusion in perl-5.26.0.

Yes, that's why I've made this ticket a blocker for 5.26.0.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Feb 14, 2017

From @csjewell

On Mon, 13 Feb 2017 05​:44​:59 -0800, zefram@​fysh.org wrote​:

Summarised findings of recent messages​: this problem doesn't depend
on the version of perl per se, but on the version of Pod​::Perldoc.
Strawberry Perl, unlike p5p perl, has apparently made a significant
change in the bundled version of Pod​::Perldoc between core versions
5.24.0 and 5.24.1. Whether the problem actually manifests depends on
the user's pager configuration and on the details of the pager
program.

Since the 5.10.x.x versions of Strawberry Perl, and probably before that, "All pre-installed perl modules updated to their latest versions." is in the release notes, and is done. They just happened to get a version of Pod​::Perldoc that had a change that should have been reverted quickly, unfortunately, because they rely on the module maintainers of all the included modules being... well, sane may be a little too strong, but it's what I feel like I want to say. Maybe kmx should be poked about locking the version of Pod​::Perldoc to 3.26 until they fix this, but I certainly cannot blame him for tripping over this.

@p5pRT
Copy link
Author

p5pRT commented Feb 14, 2017

From zefram@fysh.org

Curtis Jewell via RT wrote​:

Maybe kmx should be poked about locking the version of Pod​::Perldoc to
3.26 until they fix this, but I certainly cannot blame him for tripping
over this.

3.26 wouldn't fully fix this. It doesn't try to feed -R to more(1),
but everything since 3.25 has made the fundamental error of futzing with
the pager configuration, to paper over a duff choice of default renderer
which was changed back in 3.20.

Of the renderers bundled with Pod​::Perldoc, the ones that render to
something approaching plain text are ToANSI, ToMan, ToTerm, and ToText.
Of these, ToMan and ToText render to properly plain text, which
will display correctly on any terminal and plays nicely with pagers.
ToANSI and ToTerm, by contrast, produce output that is specific to
a particular (albeit very widespread) kind of terminal, and which in
general does not work with pagers.

The default renderer used to be ToMan, one of the ones producing
nice straightforward plain text that goes properly through the user's
configured pager. In 3.20 this got changed due to some concern about
Unicode support. All the mechanism behind man pages is Unicode-capable
these days, so this concern looks misplaced. Any Unicode problem must
surely be in Pod​::Man or otherwise on the Perl side, and probably not
difficult to fix.

Anyway, the default got changed to ToTerm, apparently without any
recognition of the portability problems being imported. Even if were
implemented correctly, the output of this renderer isn't suitable for
general text handling; it's only fit to be fed directly to a terminal,
and only a terminal that uses the kind of escape sequences that the
renderer knows about. It can't go through a pager unless the pager itself
emulates that kind of terminal. One would think that the incompatibility
with pagers would be adequately managed by the existing mechanism of
the is_pageable flag supplied by the renderers, but, crucially, ToTerm
and ToANSI both have is_pageable incorrectly set to 1.

ToTerm and ToANSI are not fit to be default renderers for perldoc.
It is vitally important that perldoc by default work with arbitrary
terminals and with the user's configured pager. If ToMan is somehow
inadequate as the default, then the default must be ToText. That is
the only other option that is fit to be the default, and it is entirely
acceptable and reliable.

Rather than recognise and correct the mistake in selecting the default
renderer, later versions of Pod​::Perldoc have got in deeper by mucking
with the pager in order to try to get ToTerm output to page properly.
This means it's no longer using the user's configured pager, and
any such deviation from the user's configuration brings in a heap
more compatibility issues. This is where the present problem with
-R comes from. But, worse, Pod​::Perldoc isn't only applying this
sticking plaster when using ToTerm. It's actually applying it to *all*
pager invocations, even when the user has explicitly chosen one of the
renderers that does play nicely with pagers. It's actually impossible,
with any set of command-line options, to get current perldoc(1) to exhibit
the old behaviour involving invoking the user's pager *as configured*.

The farce has gone on too long. Pod​::Perldoc needs to stop interfering
with the pager configuration and switch its default renderer to one of
the ones that's actually pageable.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Feb 14, 2017

From @kmx

On 14.02.2017 15​:49, Curtis Jewell via RT wrote​:

On Mon, 13 Feb 2017 05​:44​:59 -0800, zefram@​fysh.org wrote​:

Summarised findings of recent messages​: this problem doesn't depend
on the version of perl per se, but on the version of Pod​::Perldoc.
Strawberry Perl, unlike p5p perl, has apparently made a significant
change in the bundled version of Pod​::Perldoc between core versions
5.24.0 and 5.24.1. Whether the problem actually manifests depends on
the user's pager configuration and on the details of the pager
program.
Since the 5.10.x.x versions of Strawberry Perl, and probably before that, "All pre-installed perl modules updated to their latest versions." is in the release notes, and is done. They just happened to get a version of Pod​::Perldoc that had a change that should have been reverted quickly, unfortunately, because they rely on the module maintainers of all the included modules being... well, sane may be a little too strong, but it's what I feel like I want to say. Maybe kmx should be poked about locking the version of Pod​::Perldoc to 3.26 until they fix this, but I certainly cannot blame him for tripping over this.

Exactly as Curtis wrote. The strategy "All pre-installed perl modules
updated to their latest versions" simply sometimes has a collateral damage
(note​: we bundle 400+ pre-installed modules).

But frankly it is not a big deal, strawberry perl users can simply work
around this bug by​:
cpanm
http​://strawberryperl.com/package/kmx/perl-modules-patched/Pod-Perldoc-3.27_patched.tar.gz

Unless there is a new/fixed release of Pod-Perldoc I will pre-install the
above mentioned Pod-Perldoc-3.27_patched.tar.gz in future strawberry perl
releases. I have also added a simple perdoc test to my pre-release QA list.

--
kmx

@p5pRT
Copy link
Author

p5pRT commented Mar 1, 2017

From @mrallen1

On Tue, 14 Feb 2017 12​:11​:42 -0800, kmx@​atlas.cz wrote​:

Unless there is a new/fixed release of Pod-Perldoc I will pre-install
the
above mentioned Pod-Perldoc-3.27_patched.tar.gz in future strawberry
perl
releases. I have also added a simple perdoc test to my pre-release QA
list.

I have released 3.27_02 to CPAN to address this problem. Please try it. If it fixes the problems, I will tag it as 3.28 "official" and release it.

Thanks.

@p5pRT
Copy link
Author

p5pRT commented Mar 1, 2017

From @sisyphus

-----Original Message-----
From​: Mark Allen via RT
Sent​: Thursday, March 02, 2017 9​:09 AM
To​: OtherRecipients of perl Ticket #130759​:
Cc​: perl5-porters@​perl.org
Subject​: [perl #130759] perldoc error in
strawberry-perl-5.24.1.1-64bit-portable on Windows 10

I have released 3.27_02 to CPAN to address this problem. Please try it. If
it fixes the problems, I will tag it as 3.28 "official" and release it.

Fixes the issue for me on strawberry-perl 5.24.1.1.

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Mar 2, 2017

From @jkeenan

On Sat, 11 Feb 2017 17​:18​:52 GMT, itcharlie wrote​:

This error comes up in Strawberry Perl 5.24.1 in Window 10

====
PS C​:\Users\cgonzalez> perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-
x64-multi-thread

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source
kit.

Complete documentation for Perl, including FAQ lists, should be found
on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http​://www.perl.org/, the Perl Home
Page.

====
PS C​:\Users\cgonzalez> perldoc Dancer2
Invalid parameter - -R

====
PS C​:\Users\cgonzalez> perldoc CPAN​::Mini​::Simple​::Visit
No documentation found for "CPAN​::Mini​::Simple​::Visit".

According to jadeallenx/Pod-Perldoc#28 (comment), a version 3.27_02 has been released to CPAN. Can you see whether this release resolves the problems you observed in Strawberry Perl for 5.24.1?

Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Mar 2, 2017

From zefram@fysh.org

Mark Allen via RT wrote​:

I have released 3.27_02 to CPAN to address this problem. Please try it.

It's better. It now only futzes with the pager settings when using
a formatter whose name, ignoring case, contains the letters "toterm".
One would think that it would be easy enough to actually limit this to
the ToTerm formatter, but at least it no longer hits ToMan or ToText.
The actual change made to the pager settings for ToTerm is as dodgy as
ever, but no longer affects $ENV{MORE} on Windows.

Fundamentally this approach is polishing a turd. It still dishonours the
user's pager settings, on some systems in a way that entirely breaks.
We should not commit ourselves to a further year of supporting this
brokenness. An actual fix, of not defaulting to an unpageable formatter,
is very easy and safe to achieve, and we should do it for 5.26.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Mar 2, 2017

From @jkeenan

On Thu, 02 Mar 2017 04​:46​:34 GMT, zefram@​fysh.org wrote​:

Mark Allen via RT wrote​:

I have released 3.27_02 to CPAN to address this problem. Please try it.

It's better.
[snip]

Fundamentally this approach is polishing a turd.

Zefram​:

While I believe your analysis is probably correct, the language in which you express your analysis is hyperbolic and not conducive to a civil discussion of the issues. If I were a CPAN maintainer on the receiving end of a message like that, I'd be very reluctant to engage with the author of the message and on the merits of the issue.

It still dishonours the
user's pager settings, on some systems in a way that entirely breaks.
We should not commit ourselves to a further year of supporting this
brokenness. An actual fix, of not defaulting to an unpageable formatter,
is very easy and safe to achieve, and we should do it for 5.26.

Speaking for myself, once we can confirm that 3.27_02 resolves the immediate issue, I would like to see Mark Allen release that as 3.28. Given where we are in the current annual release cycle, we would include that in the core distribution and release it with perl-5.26. We can then work with Mark to take a better approach in the next release cycle.

Thank you very much.
--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Mar 4, 2017

From itcharlie@gmail.com

Hello,

I was able to install Pod​::Perl 3.27_02 on Windows and testing shows that 3.27_02 fixes the reported issue.

++++++++
PS C​:\Users\cgonzalez> cpanm https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-3.27_02.tar.gz
--> Working on https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-3.27_02.tar.gz
Fetching https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-3.27_02.tar.gz ... OK
Configuring Pod-Perldoc-3.27_02 ... OK
Building and testing Pod-Perldoc-3.27_02 ... OK
Successfully installed Pod-Perldoc-3.27_02
1 distribution installed
+++++++++

PS C​:\Users\cgonzalez> perldoc -V
Perldoc v3.27_02, under perl v5.024001 for MSWin32

+++++++++
PS C​:\Users\cgonzalez> perldoc Dancer2
NAME
  Dancer2 - Lightweight yet powerful web application framework

VERSION
  version 0.204001

DESCRIPTION
  Dancer2 is the new generation of Dancer, the lightweight web-framework
  for Perl. Dancer2 is a complete rewrite based on Moo.

  Dancer2 can optionally use XS modules for speed, but at its core remains
  fatpackable (packable by App​::FatPacker) so you could easily deploy
  Dancer2 applications on hosts that do not support custom CPAN modules.

  Dancer2 is easy and fun​:

  use Dancer2;
  get '/' => sub { "Hello World" };
  dance;

  This is the main module for the Dancer2 distribution. It contains logic

+++++++++

@p5pRT
Copy link
Author

p5pRT commented Mar 4, 2017

From [Unknown Contact. See original ticket]

Hello,

I was able to install Pod​::Perl 3.27_02 on Windows and testing shows that 3.27_02 fixes the reported issue.

++++++++
PS C​:\Users\cgonzalez> cpanm https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-3.27_02.tar.gz
--> Working on https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-3.27_02.tar.gz
Fetching https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-3.27_02.tar.gz ... OK
Configuring Pod-Perldoc-3.27_02 ... OK
Building and testing Pod-Perldoc-3.27_02 ... OK
Successfully installed Pod-Perldoc-3.27_02
1 distribution installed
+++++++++

PS C​:\Users\cgonzalez> perldoc -V
Perldoc v3.27_02, under perl v5.024001 for MSWin32

+++++++++
PS C​:\Users\cgonzalez> perldoc Dancer2
NAME
  Dancer2 - Lightweight yet powerful web application framework

VERSION
  version 0.204001

DESCRIPTION
  Dancer2 is the new generation of Dancer, the lightweight web-framework
  for Perl. Dancer2 is a complete rewrite based on Moo.

  Dancer2 can optionally use XS modules for speed, but at its core remains
  fatpackable (packable by App​::FatPacker) so you could easily deploy
  Dancer2 applications on hosts that do not support custom CPAN modules.

  Dancer2 is easy and fun​:

  use Dancer2;
  get '/' => sub { "Hello World" };
  dance;

  This is the main module for the Dancer2 distribution. It contains logic

+++++++++

@p5pRT
Copy link
Author

p5pRT commented Mar 5, 2017

From @xsawyerx

On Sat, 04 Mar 2017 06​:52​:49 -0800, itcharlie wrote​:

Hello,

I was able to install Pod​::Perl 3.27_02 on Windows and testing shows
that 3.27_02 fixes the reported issue.

Excellent. Mark, would it be possible to release this as a new stable version?

It might be best to put it in 5.26.0 as well.

@p5pRT
Copy link
Author

p5pRT commented Mar 13, 2017

From itcharlie@gmail.com

Hello Sawyerx,

I posted a comment in the github issue related to this ticket on your behalf​: jadeallenx/Pod-Perldoc#28 (comment)

Hope Mark can get to this soon.

@p5pRT
Copy link
Author

p5pRT commented Mar 13, 2017

From [Unknown Contact. See original ticket]

Hello Sawyerx,

I posted a comment in the github issue related to this ticket on your behalf​: jadeallenx/Pod-Perldoc#28 (comment)

Hope Mark can get to this soon.

@p5pRT
Copy link
Author

p5pRT commented Mar 17, 2017

From @jkeenan

On Mon, 13 Mar 2017 11​:07​:52 GMT, itcharlie wrote​:

Hello Sawyerx,

I posted a comment in the github issue related to this ticket on your
behalf​: https://github.com/mrallen1/Pod-
Perldoc/issues/28#issuecomment-286077108

Hope Mark can get to this soon.

With commit 6aff4bf, cpan/Pod-Perldoc is synched with CPAN version 3.28.

I am taking this ticket for the purpose of closing it in a few days after monitoring smoke tests.

If anyone can build blead on Win32, run the commands provided by the original poster and report results, that would be helpful and appreciated.

Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Mar 18, 2017

From @sisyphus

-----Original Message-----
From​: James E Keenan via RT
Sent​: Saturday, March 18, 2017 10​:15 AM
To​: OtherRecipients of perl Ticket #130759​:
Cc​: perl5-porters@​perl.org
Subject​: [perl #130759] perldoc error in
strawberry-perl-5.24.1.1-64bit-portable on Windows 10

On Mon, 13 Mar 2017 11​:07​:52 GMT, itcharlie wrote​:

Hello Sawyerx,

I posted a comment in the github issue related to this ticket on your
behalf​: https://github.com/mrallen1/Pod-
Perldoc/issues/28#issuecomment-286077108

Hope Mark can get to this soon.

With commit 6aff4bf, cpan/Pod-Perldoc is synched with CPAN version 3.28.

I am taking this ticket for the purpose of closing it in a few days after
monitoring smoke tests.

If anyone can build blead on Win32, run the commands provided by the
original poster and report results, that would be helpful and appreciated.

My update of blead contained (among other things)​:

Updating 2e66fe9..6aff4bf

The issue raised in this ticket is no longer present for me.

I'm building pretty much the same way that Strawberry builds except that​:
1) I use gcc-6.3.0, whereas Strawberry might use a gcc with a different
version number;
2) For 'nvtype=double' builds I currently build
with -D__USE_MINGW_ANSIO_STDIO (whereas Strawberry does not).

Results of the 4 builds that I routinely perform are as per normal.

My 'MSWin32-x64-multi-thread' and 'MSWin32-x64-multi-thread-ld' builds hang
in the cpan/IO-Compress/t tests​:

../cpan/IO-Compress/t/105oneshot-bzip2.t ........................... 1/1002

For my 'MSWin32-x86-multi-thread-64int' build​:

Test Summary Report


porting/pod_rules.t (Wstat​: 0
Tests​: 8 Failed​: 1)
  Failed test​: 3
../ext/IPC-Open3/t/IPC-Open3.t (Wstat​: 0
Tests​: 45 Failed​: 0)
  TODO passed​: 25
Files=2565, Tests=1160703, 1441 wallclock secs (56.27 usr + 2.46 sys =
58.73 CPU)
Result​: FAIL

For my 'MSWin32-x86-multi-thread-64int-ld' build​:

Test Summary Report


op/pack.t (Wstat​: 0
Tests​: 14713 Failed​: 2)
  Failed tests​: 13177, 13180
porting/pod_rules.t (Wstat​: 0
Tests​: 8 Failed​: 1)
  Failed test​: 3
../ext/IPC-Open3/t/IPC-Open3.t (Wstat​: 0
Tests​: 45 Failed​: 0)
  TODO passed​: 25
Files=2565, Tests=1160821, 1443 wallclock secs (59.09 usr + 3.43 sys =
62.52 CPU)
Result​: FAIL

That's all the same as what normally happens.

For all 4 builds 'perldoc' is behaving correctly - though I previously
experienced the same problems as the OP.

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Mar 27, 2017

From @jkeenan

On Fri, 17 Mar 2017 23​:15​:06 GMT, jkeenan wrote​:

On Mon, 13 Mar 2017 11​:07​:52 GMT, itcharlie wrote​:

Hello Sawyerx,

I posted a comment in the github issue related to this ticket on your
behalf​: https://github.com/mrallen1/Pod-
Perldoc/issues/28#issuecomment-286077108

Hope Mark can get to this soon.

With commit 6aff4bf, cpan/Pod-Perldoc is synched with CPAN version
3.28.

I am taking this ticket for the purpose of closing it in a few days
after monitoring smoke tests.

If anyone can build blead on Win32, run the commands provided by the
original poster and report results, that would be helpful and
appreciated.

Thank you very much.

Have heard no bad news. Closing.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Mar 27, 2017

@jkeenan - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant