tsee / extutils-cppguess

Guess the C++ compiler for Perl modules
6 stars 9 forks source link

0.13 test are not passed #19

Closed zdm closed 5 years ago

zdm commented 5 years ago
Building and testing ExtUtils-CppGuess-0.13 ... cp lib/ExtUtils/CppGuess.pm blib/lib/ExtUtils/CppGuess.pm
PERL_DL_NONLAZY=1 "/usr/perlbrew/perls/perl-5.28.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_load.t .......... 1/? # EUMM:{
#   'CCFLAGS' => ' -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++',
#   'dynamic_lib' => {
#     'OTHERLDFLAGS' => ' -lstdc++'
#   }
# }
# ---
# MB:{
#   'extra_compiler_flags' => ' -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++',
#   'extra_linker_flags' => ' -lstdc++'
# }
# ---
# Config:{
#   'byacc' => 'byacc',
#   'cc' => 'cc',
#   'cccdlflags' => '-fPIC',
#   'ccdlflags' => '-Wl,-E',
#   'ccflags' => '-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
#   'ccflags_nolargefiles' => '-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include ',
#   'ccflags_uselargefiles' => '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
#   'ccname' => 'gcc',
#   'ccstdflags' => ' -std=c89',
#   'ccsymbols' => '',
#   'ccversion' => '',
#   'ccwarnflags' => ' -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings',
#   'cppccsymbols' => '',
#   'd_PRIEUldbl' => 'define',
#   'd_PRIFUldbl' => 'define',
#   'd_PRIGUldbl' => 'define',
#   'd_PRIeldbl' => 'define',
#   'd_PRIfldbl' => 'define',
#   'd_PRIgldbl' => 'define',
#   'd_SCNfldbl' => 'define',
#   'd_accept4' => 'define',
#   'd_access' => 'define',
#   'd_accessx' => undef,
#   'd_eaccess' => 'define',
#   'd_ldbl_dig' => 'define',
#   'd_ldexpl' => 'define',
#   'd_locconv' => 'define',
#   'd_old_pthread_create_joinable' => undef,
#   'd_oldpthreads' => undef,
#   'd_oldsock' => undef,
#   'd_pthread_yield' => 'define',
#   'd_sched_yield' => 'define',
#   'd_strtold' => 'define',
#   'd_strtold_l' => 'define',
#   'd_telldir' => 'define',
#   'd_telldirproto' => 'define',
#   'gccansipedantic' => '',
#   'gccosandvers' => '',
#   'gccversion' => '8.3.1 20190223 (Red Hat 8.3.1-2)',
#   'i_sysaccess' => undef,
#   'ld' => 'cc',
#   'ld_can_script' => 'define',
#   'lddlflags' => '-shared -O2 -L/usr/local/lib -fstack-protector-strong',
#   'ldflags' => ' -fstack-protector-strong -L/usr/local/lib',
#   'ldflags_nolargefiles' => ' -fstack-protector-strong -L/usr/local/lib',
#   'ldflags_uselargefiles' => '',
#   'ldlibpthname' => 'LD_LIBRARY_PATH',
#   'old_pthread_create_joinable' => '',
#   'sPRIEUldbl' => '"LE"',
#   'sPRIFUldbl' => '"LF"',
#   'sPRIGUldbl' => '"LG"',
#   'sPRIeldbl' => '"Le"',
#   'sPRIfldbl' => '"Lf"',
#   'sPRIgldbl' => '"Lg"',
#   'sSCNfldbl' => '"Lf"',
#   'sched_yield' => 'sched_yield()',
#   'yacc' => 'yacc',
#   'yaccflags' => ''
# }
# Method: is_msvc = undef
# Method: is_gcc = 1
# Method: compiler_command = 'g++ -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++'
# Method: linker_flags = '-lstdc++'
t/001_load.t .......... ok
t/002_icpp.t .......... 1/? Unable to determine a C++ compiler for 'clang' at /tmp/.cpanm/work/1553502717.11289/ExtUtils-CppGuess-0.13/blib/lib/ExtUtils/CppGuess.pm line 260.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with -1 just after 5.
t/002_icpp.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
All 5 subtests passed
t/010_module_build.t .. ok
t/011_makemaker.t ..... ok

Test Summary Report
-------------------
t/002_icpp.t        (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=4, Tests=9,  5 wallclock secs ( 0.06 usr  0.04 sys +  2.26 cusr  1.31 csys =  3.67 CPU)
Result: FAIL
Failed 1/4 test programs. 0/9 subtests failed.
make: *** [Makefile:872: test_dynamic] Error 255
FAIL
! Installing E/ET/ETJ/ExtUtils-CppGuess-0.13.tar.gz failed. See /tmp/.cpanm/work/1553502717.11289/build.log for details. Retry with --force to force install it.
mohawk2 commented 5 years ago

Thanks for the report!