Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.9k stars 540 forks source link

warn on implicit close feature breaks Capture-Tiny on Win32 blead #14575

Closed p5pRT closed 9 years ago

p5pRT commented 9 years ago

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

Searchable as RT124042$

p5pRT commented 9 years ago

From @bulk88

Created by @bulk88

This is a 5.22 blocker and/or "BBC" report so please link it to the 5.22 blocker ticket.

Commit http​://perl5.git.perl.org/perl.git/commitdiff/96d7c88819733eaaba892177a967d9e898b2b924 AKA Perl RT #57512 (this ticket should probably be linked to #57512 ) added the warn on implicit close feature\, but Capture-Tiny on Win32 has been failing tests (and uninstallable) for much of 5.21's life. So this feature is somehow (I didn't research it) back compat breaking. Most of CPAN depends on Capture-Tiny https://metacpan.org/requires/distribution/Capture-Tiny?sort=[[2,1]] so pretty much nothing is installable from CPAN on Win32 with blead without "notest" or "force" of Capture-Tiny.

https://github.com/dagolden/Capture-Tiny/issues/26

Perl Info ``` Flags: category=library severity=medium Site configuration information for perl 5.21.9: Configured by Administrator at Thu Mar 5 17:16:26 2015. Summary of my perl5 (revision 5 version 21 subversion 9 patch blead 2015-02-21.04:03:37 9200eb3463082f416cc7f441ae6ec39829d1e46a v5.21.9) configuration: Snapshot of: 9200eb3463082f416cc7f441ae6ec39829d1e46a Platform: osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL -DWIN32 -D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS', optimize='-O1 -MD -Zi -DNDEBUG -GL', cppflags='-DWIN32' ccversion='15.00.30729.01', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234, doublekind=3 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8, longdblkind=0 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"c:\perl\lib\CORE" -machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"' libpth=\lib libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl521.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"c:\perl\lib\CORE" -machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"' @INC for perl 5.21.9: C:/p521/219src/lib . Environment for perl 5.21.9: CYGWIN=tty HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH=/usr/lib/x86:/usr/X11R6/lib LOGDIR (unset) PATH=C:\WINDOWS\system32;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Perl\bin;C:\WINDOWS;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Git\bin PERL_BADLANG (unset) SHELL (unset) ```
p5pRT commented 9 years ago

From @bulk88

One example of how big the dep chain is for Capture​::Tiny is\, NYTProf cant be non-force installed on Win32 blead\, since there is Devel​::NYTProf(runtime requires)->File​::Which(test requires)->Test​::Script(runtime requires)->IPC​::Run3(runtime requires)->Win32​::ShellQuote(build requires)->Capture​::Tiny

-- bulk88 ~ bulk88 at hotmail.com

p5pRT commented 9 years ago

From @iabyn

On Fri\, Mar 27\, 2015 at 12​:26​:17AM -0700\, bulk88 via RT wrote​:

One example of how big the dep chain is for Capture​::Tiny is\, NYTProf cant be non-force installed on Win32 blead\, since there is Devel​::NYTProf(runtime requires)->File​::Which(test requires)->Test​::Script(runtime requires)->IPC​::Run3(runtime requires)->Win32​::ShellQuote(build requires)->Capture​::Tiny

This has apparently been fixed in Capture​::Tiny 0.29. Marking ticket as resolved.

-- In economics\, the exam questions are the same every year. They just change the answers.

p5pRT commented 9 years ago

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

p5pRT commented 9 years ago

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