Open
Description
Win32::Console::ANSI is failing many of its tests when building perl 5.40 RC1, and also 3.39.10.
This might be related to the build machine which is different to the one used for the 5.38 and 5.36 releases. The main difference is Windows 11 vs Windows 10.
These builds of perl also use UCRT instead of MSVCRT.
CPAN testers has many fails but not the same set of tests. http://matrix.cpantesters.org/?dist=Win32-Console-ANSI+1.11
Is anyone else able to reproduce these errors?
--> Working on Win32::Console::ANSI
Fetching https://cpan.metacpan.org/authors/id/J/JL/JLMOREL/Win32-Console-ANSI-1.11.tar.gz ... OK
Configuring Win32-Console-ANSI-1.11 ... Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Win32::Console::ANSI
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have Win32::Pipe 0 ... Yes (0.025)
Checking if you have Win32::Process 0 ... Yes (0.17)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.70)
OK
Building and testing Win32-Console-ANSI-1.11 ... "C:\strawberry\perl\bin\perl.exe" "C:\strawberry\perl\lib\ExtUtils/xsubpp" -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap C:\strawberry_build\env\AppDataRoaming\.cpanm\work\1716599122.14244\Win32-Console-ANSI-1.11\typemap ANSI.xs > ANSI.xsc
Running Mkbootstrap for ANSI ()
"C:\strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Win32::Console::ANSI\", 'DLBASE' => 'ANSI', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
cp lib/Win32/Console/ANSI.pm blib\lib\Win32\Console\ANSI.pm
"C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "ANSI.bs"
"C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- ANSI.xsc ANSI.c
"C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- ANSI.bs blib\arch\auto\Win32\Console\ANSI\ANSI.bs 644
gcc -c -I. -std=c99 -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields -Os -DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" "-IC:\strawberry\perl\lib\CORE" ANSI.c
In file included from ANSI.xs:8:
ppport.h:3042: warning: "PERL_UNUSED_DECL" redefined
3042 | # define PERL_UNUSED_DECL
|
In file included from ANSI.xs:5:
C:\strawberry\perl\lib\CORE/perl.h:539: note: this is the location of the previous definition
539 | # define PERL_UNUSED_DECL __attribute__unused__
|
g++ ANSI.def -o blib\arch\auto\Win32\Console\ANSI\ANSI.xs.dll -shared -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" -L"C:\strawberry\c\x86_64-w64-mingw32\lib" -L"C:\strawberry\c\lib\gcc\x86_64-w64-mingw32\13.2.0" ANSI.o "C:\strawberry\perl\lib\CORE\libperl540.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-auto-image-base
"C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Win32\Console\ANSI\ANSI.xs.dll
"C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- ANSI.bs blib\arch\auto\Win32\Console\ANSI\ANSI.bs 644
"C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_Pod.t ............. ok
t/01_PodCoverage.t ..... ok
t/02_CursorFunc.t ...... ok
t/03_CursorMove.t ......
Failed 7/98 subtests
t/04_DisplayEdition.t ..
Failed 41/74 subtests
t/05_Colors.t ..........
Failed 35/37 subtests
t/06_Func.t ............ ok
t/07_TortureMeHoney.t ..
Failed 2/3 subtests
t/08_Compatibility.t ...
Failed 2/3 subtests
t/09_Compatibility2.t .. skipped: Term::ANSIScreen not installed
t/99_Kwalitee.t ........ skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/03_CursorMove.t (Wstat: 0 Tests: 98 Failed: 7)
Failed tests: 1, 11, 22, 31, 40, 50, 58
t/04_DisplayEdition.t (Wstat: 0 Tests: 74 Failed: 41)
Failed tests: 3, 6, 9, 12, 14, 17-29, 33, 35, 43, 45
53-71
t/05_Colors.t (Wstat: 0 Tests: 37 Failed: 35)
Failed tests: 1-34, 36
t/07_TortureMeHoney.t (Wstat: 0 Tests: 3 Failed: 2)
Failed tests: 1-2
t/08_Compatibility.t (Wstat: 0 Tests: 3 Failed: 2)
Failed tests: 2-3
Files=11, Tests=278, 6 wallclock secs ( 0.03 usr + 0.01 sys = 0.05 CPU)
Result: FAIL
Failed 5/11 test programs. 87/278 subtests failed.
gmake: *** [makefile:1037: test_dynamic] Error 255
! Installing Win32::Console::ANSI failed. See C:\strawberry_build\env\AppDataRoaming\.cpanm\work\1716599122.14244\build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Win32::Console::ANSI' is not installed