Asm-C v20210330 Perl 5 v5.26.0 amd64-freebsd

Status
Fail
From
Slaven Rezić
Dist
Asm-C v20210330
Platform
Perl 5 v5.26.0 amd64-freebsd
Date
2021-04-01 06:35:39
ID
79bd4e00-92b4-11eb-b3a3-ab7b1f24ea8f
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Philip R Brenan,

This is a computer-generated report for Asm-C-20210330
on perl 5.26.0, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

none provided

------------------------------
PROGRAM OUTPUT
------------------------------

Output from './Build test':

Unable to confirm presence of command: nproc
 at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 2987.
	Data::Table::Text::confirmHasCommandLineCommand("nproc") called at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 2992
	Data::Table::Text::__ANON__() called at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 2995
	require Data/Table/Text.pm called at /home/cpansand/.cpan/build/2021033019/Asm-C-20210330-0/blib/lib/Asm/C.pm line 13
	Asm::C::BEGIN() called at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 0
	eval {...} called at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 0
	require Asm/C.pm called at test.pl line 9
	main::BEGIN() called at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 0
	eval {...} called at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 0
Bareword "writeTempFile" not allowed while "strict subs" in use at (eval 16) line 24, <DATA> line 80.
syntax error at (eval 16) line 27, near ";
  int"
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 33, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 43, <DATA> line 80.
Bareword found where operator expected at (eval 16) line 46, near "is_deeply"
	(Missing operator before is_deeply?)
syntax error at (eval 16) line 46, near "is_deeply "
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 46, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 49, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 52, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 54, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 56, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 57, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 58, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 60, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 61, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 62, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 64, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 65, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 16) line 66, <DATA> line 80.
syntax error at (eval 16) line 67, near ";
 }"
(eval 16) has too many errors.
 at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 2932, <DATA> line 80.
	Data::Table::Text::__ANON__("Bareword \"writeTempFile\" not allowed while \"strict subs\" in u"...) called at (eval 16) line 67
	eval 'use Time::HiRes qw(time);
use Test::More;

my $localTest = ((caller(1))[0]//\'Asm::C\') eq "Asm::C";                         # Local testing mode

Test::More->builder->output("/dev/null") if $localTest;                         # Reduce number of confirmation messages during testing

if ($^O =~ m(bsd|linux)i)
  {if (confirmHasCommandLineCommand(q(gcc))
   &&  confirmHasCommandLineCommand(q(readelf)))
    {plan tests => 17
    }
  else
   {plan skip_all =>qq(gcc or readelf missing on: $^O);
   }
 }
else
 {plan skip_all =>qq(Not supported on: $^O);
 }

my $start = time;                                                               # Tests

if (1)                                                                          #TextractCField #TextractCStructureFields #TextractCStructureSize  #TextractCFieldLoc #TextractCFieldSize #TextractCFieldType
 {my $input = writeTempFile <<END;
struct S
 {int a;
  int b;
  int c;
 } s;
void main() {}
END

  is_deeply extractCStructure($input),                                          #TextractCStructure
{ S => bless({
      fields => {
        a => bless({ field => "a", loc => 0, size => 4, type => "int" }, "field"),
        b => bless({ field => "b", loc => 4, size => 4, type => "int" }, "field"),
        c => bless({ field => "c", loc => 8, size => 4, type => "int" }, "field"),
      },
      size => 12,
    }, "structure")};

  is_deeply extractCField($input, q(S), q(a)),
    bless({ field => "a", loc => 0, size => 4, type => "int" }, "field");

  is_deeply extractCField($input, q(S), q(b)),
    bless({ field => "b", loc => 4, size => 4, type => "int" }, "field");

  is_deeply extractCField($input, q(S), q(c)),
    bless({ field => "c", loc => 8, size => 4, type => "int" }, "field");

  is_deeply [extractCStructureFields($input, q(S))], [qw(a b c)];

  is_deeply extractCStructureSize($input, q(S)), 12;

  is_deeply extractCFieldLoc ($input, q(S), q(a)), 0;
  is_deeply extractCFieldLoc ($input, q(S), q(b)), 4;
  is_deeply extractCFieldLoc ($input, q(S), q(c)), 8;

  is_deeply extractCFieldSize($input, q(S), q(a)), 4;
  is_deeply extractCFieldSize($input, q(S), q(b)), 4;
  is_deeply extractCFieldSize($input, q(S), q(c)), 4;

  is_deeply extractCFieldType($input, q(S), q(a)), q(int);
  is_deeply extractCFieldType($input, q(S), q(b)), q(int);
  is_deeply extractCFieldType($input, q(S), q(c)), q(int);
 }

if (0)
 {my $s = extractCStructure q(#include <time.h>);
 }

if (1)                                                                          #TextractMacroDefinitionsFromCHeaderFile #TextractMacroDefinitionFromCHeaderFile
 {my $h = "linux/mman.h";
  my $m = extractMacroDefinitionsFromCHeaderFile("linux/mman.h");
  is_deeply $$m{MAP_ANONYMOUS}, "0x20";
  ok extractMacroDefinitionFromCHeaderFile("linux/mman.h", q(PROT_WRITE)) eq "0x2";
 }

lll "Finished:", time - $start;
' called at /home/cpansand/.cpan/build/2021033019/Asm-C-20210330-0/blib/lib/Asm/C.pm line 497
	Asm::C::test() called at test.pl line 11
 at /usr/perl5.26.0p/lib/site_perl/5.26.0/Data/Table/Text.pm line 2932, <DATA> line 80.
	Data::Table::Text::__ANON__("Bareword \"writeTempFile\" not allowed while \"strict subs\" in u"...) called at /home/cpansand/.cpan/build/2021033019/Asm-C-20210330-0/blib/lib/Asm/C.pm line 498
	Asm::C::test() called at test.pl line 11
test.pl .. 
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 

Test Summary Report
-------------------
test.pl (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.05 cusr  0.06 csys =  0.12 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module            Need   Have    
    ----------------- ------ --------
    Carp              0      1.50    
    Data::Dump        0      1.23    
    Data::Table::Text 0      20190811
    feature           0      1.47    
    Test2::API        0      1.302183
    Test::More        0      1.302183

configure_requires:

    Module            Need   Have    
    ----------------- ------ --------
    Module::Build     0.4224 0.4229  


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LC_ALL = de_DE.ISO8859-1
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd10.3:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 5613
    PERL5_CPAN_IS_RUNNING = 5613
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 45031,5613
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2021033013/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/local/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2021033013

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /usr/perl5.26.0p/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.28    
    CPAN::Meta          2.150010
    Cwd                 3.75    
    ExtUtils::CBuilder  0.280235
    ExtUtils::Command   7.58    
    ExtUtils::Install   2.16    
    ExtUtils::MakeMaker 7.58    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.35    
    File::Spec          3.75    
    JSON                4.03    
    JSON::PP            4.05    
    Module::Build       0.4229  
    Module::Signature   0.87    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302183
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9928  


--

Summary of my perl5 (revision 5 version 26 subversion 0) configuration:
   
  Platform:
    osname=freebsd
    osvers=10.3-release-p11
    archname=amd64-freebsd
    uname='freebsd cvrsnica-freebsd-101.herceg.de 10.3-release-p11 freebsd 10.3-release-p11 #0: mon oct 24 18:49:24 utc 2016 root@amd64-builder.daemonology.net:usrobjusrsrcsysgeneric amd64 '
    config_args='-ds -e -Dprefix=/usr/perl5.26.0p -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2'
    optimize='-O2 -pipe'
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion=''
    gccversion='4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags ='-pthread -Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/include/clang/3.4.1 /usr/lib
    libs=-lpthread -lgdbm -lm -lcrypt -lutil -lc -lelf
    perllibs=-lpthread -lm -lcrypt -lutil -lc -lelf
    libc=
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags='-DPIC -fPIC'
    lddlflags='-shared  -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under freebsd
  Compiled at Jun  3 2017 22:58:33
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="5613"
    PERL5_CPAN_IS_RUNNING="5613"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="45031,5613"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2021033013/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /usr/perl5.26.0p/lib/site_perl/5.26.0/amd64-freebsd
    /usr/perl5.26.0p/lib/site_perl/5.26.0
    /usr/perl5.26.0p/lib/5.26.0/amd64-freebsd
    /usr/perl5.26.0p/lib/5.26.0
    .