Skip to content

t/compat.t failed on MSYS2 MINGW64 on Perl v5.38.2. #94

@yuki-kimoto

Description

@yuki-kimoto

t/compat.t failed on MSYS2 MINGW64 on Perl v5.38.2.

make && make test

t/compat.t ..................... 4/?
#   Failed test 'make ran without error'
#   at t/compat.t line 417.

#   Failed test 'make test ran without error'
#   at t/compat.t line 427.

#   Failed test 'make test output indicated success'
#   at t/compat.t line 428.
#                   '/USR/BIN/SH: LINE 1: REM: COMMAND NOT FOUND
# MINGW32-MAKE: *** [MAKEFILE:41: FORCE_DO_IT] ERROR 127
# '
#     doesn't match '(?^:DONE\.|SUCCESS)'

#   Failed test 'make realclean ran without error'
#   at t/compat.t line 433.
t/compat.t ..................... 12/?
#   Failed test 'Makefile cleaned up with realclean'
#   at t/compat.t line 467.

#   Failed test 'Makefile cleaned up with distclean'
#   at t/compat.t line 467.
t/compat.t ..................... 26/?
#   Failed test 'make ran without error'
#   at t/compat.t line 417.

#   Failed test 'make test ran without error'
#   at t/compat.t line 427.

#   Failed test 'make test output indicated success'
#   at t/compat.t line 428.
#                   '/USR/BIN/SH: LINE 1: REM: COMMAND NOT FOUND
# MINGW32-MAKE: *** [MAKEFILE:41: FORCE_DO_IT] ERROR 127
# '
#     doesn't match '(?^:DONE\.|SUCCESS)'

#   Failed test 'make realclean ran without error'
#   at t/compat.t line 433.

#   Failed test 'Makefile cleaned up with realclean'
#   at t/compat.t line 467.
t/compat.t ..................... 33/?
#   Failed test 'Makefile cleaned up with distclean'
#   at t/compat.t line 467.
t/compat.t ..................... 60/?
#   Failed test 'make ran without error'
#   at t/compat.t line 417.

#   Failed test 'PL_files generated - foo'
#   at t/compat.t line 420.

#   Failed test 'make test ran without error'
#   at t/compat.t line 427.

#   Failed test 'make test output indicated success'
#   at t/compat.t line 428.
#                   '/USR/BIN/SH: LINE 1: REM: COMMAND NOT FOUND
# MINGW32-MAKE: *** [MAKEFILE:43: FORCE_DO_IT] ERROR 127
# '
#     doesn't match '(?^:DONE\.|SUCCESS)'

#   Failed test 'make realclean ran without error'
#   at t/compat.t line 433.
t/compat.t ..................... 71/?
#   Failed test 'Makefile cleaned up with realclean'
#   at t/compat.t line 467.

#   Failed test 'Makefile cleaned up with distclean'
#   at t/compat.t line 467.
t/compat.t ..................... 76/?
#   Failed test 'make ran without error'
#   at t/compat.t line 417.

#   Failed test 'PL_files generated - foo'
#   at t/compat.t line 420.

#   Failed test 'make test ran without error'
#   at t/compat.t line 427.

#   Failed test 'make test output indicated success'
#   at t/compat.t line 428.
#                   '/USR/BIN/SH: LINE 1: REM: COMMAND NOT FOUND
# MINGW32-MAKE: *** [MAKEFILE:43: FORCE_DO_IT] ERROR 127
# '
#     doesn't match '(?^:DONE\.|SUCCESS)'
t/compat.t ..................... 87/?
#   Failed test 'make realclean ran without error'
#   at t/compat.t line 433.

#   Failed test 'Makefile cleaned up with realclean'
#   at t/compat.t line 467.
t/compat.t ..................... 91/?
#   Failed test 'Makefile cleaned up with distclean'
#   at t/compat.t line 467.
t/compat.t ..................... 131/?
#   Failed test 'make test ran without error'
#   at t/compat.t line 194.

#   Failed test 'Should be verbose'
#   at t/compat.t line 196.
#                   '# /usr/bin/sh: line 1: rem: command not found
# # mingw32-make: *** [Makefile:41: force_do_it] Error 127
# '
#     doesn't match '(?^:(?:# ok \d+\s+)+)'

#   Failed test 'make test without verbose ran ok'
#   at t/compat.t line 211.

#   Failed test 'Should be non-verbose'
#   at t/compat.t line 213.
#                   '# /usr/bin/sh: line 1: rem: command not found
# # mingw32-make: *** [Makefile:41: force_do_it] Error 127
# '
#     doesn't match '(?^:# .+basic(\.t)?[.\s#]+ok[.\s#]+All tests successful)'
t/compat.t ..................... 141/?
#   Failed test 'fakeinstall INSTALLDIRS=vendor ran ok'
#   at t/compat.t line 254.

#   Failed test 'Saw destination directory for INSTALLDIRS=vendor'
#   at t/compat.t line 257.
#                   '# # running Build.PL --installdirs vendor --config installvendorlib=C:\msys64\tmp\MB-dTyc8XDe\lbiidr --config installvendorarch=C:\msys64\tmp\MB-dTyc8XDe\lbiidr\arch
# # Created MYMETA.yml and MYMETA.json
# # Creating new 'Build' script for 'Simple' version '0.01'
# '
#     doesn't match '(?^ix:C\:\\msys64\\tmp\\MB\-dTyc8XDe\\lbiidr .* Simple\.pm)'

#   Failed test 'fakeinstall PREFIX=$libdir2 ran ok'
#   at t/compat.t line 254.

#   Failed test 'Saw destination directory for PREFIX=$libdir2'
#   at t/compat.t line 257.
#                   '# # running Build.PL --prefix C:\msys64\tmp\MB-dTyc8XDe\lbiidr
# # Created MYMETA.yml and MYMETA.json
# # Creating new 'Build' script for 'Simple' version '0.01'
# '
#     doesn't match '(?^ix:C\:\\msys64\\tmp\\MB\-dTyc8XDe\\lbiidr .* Simple\.pm)'

#   Failed test 'fakeinstall PREFIX=$libdir2 LIB=mylib ran ok'
#   at t/compat.t line 254.
t/compat.t ..................... 145/?
#   Failed test 'Saw destination directory for PREFIX=$libdir2 LIB=mylib'
#   at t/compat.t line 257.
#                   '# # running Build.PL --prefix C:\msys64\tmp\MB-dTyc8XDe\lbiidr --config installarchlib=mylib/MSWin32-x64-multi-thread --config installprivlib=mylib --config installsitearch=mylib/MSWin32-x64-multi-thread --config installsitelib=mylib
# # Created MYMETA.yml and MYMETA.json
# # Creating new 'Build' script for 'Simple' version '0.01'
# '
#     doesn't match '(?^ix:C\:\\msys64\\tmp\\MB\-dTyc8XDe\\lbiidr[/\\\.]mylib[/\\\]]Simple\.pm)'

#   Failed test 'Makefile shouldn't exist'
#   at t/compat.t line 262.
t/compat.t ..................... 150/?
#   Failed test 'Makefile shouldn't exist'
#   at t/compat.t line 285.
t/compat.t ..................... 158/? # Looks like you failed 38 tests of 165.
cannot make file writeable for C:\msys64\tmp\MB-dTyc8XDe\Simple\nul: Invalid argument at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921.
 at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 65.
        File::Path::_error(HASH(0x264b7b4f968), "cannot make file writeable", "C:\\msys64\\tmp\\MB-dTyc8XDe\\Simple\\nul") called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 588
        File::Path::_rmtree(HASH(0x264b7b4f968), ARRAY(0x264b7b4f1e8)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b6fc0ab8), ARRAY(0x264b67d2638)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b79aad40), ARRAY(0x264b79a9000)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 366
        File::Path::rmtree("C:/msys64/tmp/MB-dTyc8XDe", 0, 0) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        eval {...} called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        File::Temp::cleanup("at_exit", 1) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 875
        File::Temp::END() called at t/compat.t line 0
        eval {...} called at t/compat.t line 0
cannot unlink file for C:\msys64\tmp\MB-dTyc8XDe\Simple\nul: Permission denied at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921.
 at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 65.
        File::Path::_error(HASH(0x264b7b4f968), "cannot unlink file", "C:\\msys64\\tmp\\MB-dTyc8XDe\\Simple\\nul") called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 602
        File::Path::_rmtree(HASH(0x264b7b4f968), ARRAY(0x264b7b4f1e8)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b6fc0ab8), ARRAY(0x264b67d2638)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b79aad40), ARRAY(0x264b79a9000)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 366
        File::Path::rmtree("C:/msys64/tmp/MB-dTyc8XDe", 0, 0) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        eval {...} called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        File::Temp::cleanup("at_exit", 1) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 875
        File::Temp::END() called at t/compat.t line 0
        eval {...} called at t/compat.t line 0
cannot restore permissions to 020000 for C:\msys64\tmp\MB-dTyc8XDe\Simple\nul: Invalid argument at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921.
 at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 65.
        File::Path::_error(HASH(0x264b7b4f968), "cannot restore permissions to 020000", "C:\\msys64\\tmp\\MB-dTyc8XDe\\Simple\\nul") called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 603
        File::Path::_rmtree(HASH(0x264b7b4f968), ARRAY(0x264b7b4f1e8)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b6fc0ab8), ARRAY(0x264b67d2638)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b79aad40), ARRAY(0x264b79a9000)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 366
        File::Path::rmtree("C:/msys64/tmp/MB-dTyc8XDe", 0, 0) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        eval {...} called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        File::Temp::cleanup("at_exit", 1) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 875
        File::Temp::END() called at t/compat.t line 0
        eval {...} called at t/compat.t line 0
cannot remove directory for C:\msys64\tmp\MB-dTyc8XDe\Simple: Directory not empty at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921.
 at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 65.
        File::Path::_error(HASH(0x264b6fc0ab8), "cannot remove directory", "C:\\msys64\\tmp\\MB-dTyc8XDe\\Simple") called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 549
        File::Path::_rmtree(HASH(0x264b6fc0ab8), ARRAY(0x264b67d2638)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 500
        File::Path::_rmtree(HASH(0x264b79aad40), ARRAY(0x264b79a9000)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 366
        File::Path::rmtree("C:/msys64/tmp/MB-dTyc8XDe", 0, 0) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        eval {...} called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        File::Temp::cleanup("at_exit", 1) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 875
        File::Temp::END() called at t/compat.t line 0
        eval {...} called at t/compat.t line 0
cannot remove directory for C:/msys64/tmp/MB-dTyc8XDe: Directory not empty at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921.
 at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 65.
        File::Path::_error(HASH(0x264b79aad40), "cannot remove directory", "C:/msys64/tmp/MB-dTyc8XDe") called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 549
        File::Path::_rmtree(HASH(0x264b79aad40), ARRAY(0x264b79a9000)) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Path.pm line 366
        File::Path::rmtree("C:/msys64/tmp/MB-dTyc8XDe", 0, 0) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        eval {...} called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 921
        File::Temp::cleanup("at_exit", 1) called at C:/msys64/mingw64/lib/perl5/core_perl/File/Temp.pm line 875
        File::Temp::END() called at t/compat.t line 0
        eval {...} called at t/compat.t line 0

Perl -V

$ perl -V
Summary of my perl5 (revision 5 version 38 subversion 2) configuration:

  Platform:
    osname=MSWin32
    osvers=10.0.20348.2227
    archname=MSWin32-x64-multi-thread
    uname=''
    config_args='undef'
    hint=recommended
    useposix=true
    d_sigaction=undef
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=undef
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='gcc'
    ccflags =' -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields'
    optimize='-Os'
    cppflags='-DWIN32'
    ccversion=''
    gccversion='13.2.0'
    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++'
    ldflags ='-s -L"C:\msys64\mingw64\lib\perl5\core_perl\CORE" -L"C:\msys64\mingw64\lib"'
    libpth=C:\msys64\mingw64\lib
    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=libperl538.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs
    dlext=dll
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags=' '
    lddlflags='-shared -s -L"C:\msys64\mingw64\lib\perl5\core_perl\CORE" -L"C:\msys64\mingw64\lib"'


Characteristics of this binary (from libperl):
  Compile-time options:
    HAS_LONG_DOUBLE
    HAS_TIMES
    HAVE_INTERP_INTERN
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_IMPLICIT_SYS
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under MSWin32
  Compiled at Feb 18 2024 05:37:07
  @INC:
    C:/msys64/mingw64/lib/perl5/site_perl/5.38.2/MSWin32-x64-multi-thread
    C:/msys64/mingw64/lib/perl5/site_perl/5.38.2
    C:/msys64/mingw64/lib/perl5/site_perl/5.38.2/MSWin32-x64-multi-thread
    C:/msys64/mingw64/lib/perl5/site_perl/5.38.2
    C:/msys64/mingw64/lib/perl5/site_perl
    C:/msys64/mingw64/lib/perl5/vendor_perl
    C:/msys64/mingw64/lib/perl5/core_perl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions