Asm-C v20210330 Perl 5 v5.32.1 i386-openbsd

Status
Unknown
From
Alceu Rodrigues de Freitas Junior
Dist
Asm-C v20210330
Platform
Perl 5 v5.32.1 i386-openbsd
Date
2022-06-26 04:12:39
ID
37890640-f506-11ec-b737-db65ffa5fe2c
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.32.1, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, attempting to
test your distribution gave an inconclusive result.

This could be because your distribution had an error during the make/build
stage, did not define tests, tests could not be found, because your tests were
interrupted before they finished, or because the results of the tests could not
be parsed.  You may wish to consult the CPAN Testers Wiki:

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:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

If you would like to try to reproduce this report results or even to work with
the same environment for a bug fix, please refer to
https://github.com/glasswalk3r/cpan-openbsd-smoker to see how to use the
prebuilt virtual machines available.

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

Output from './Build test':

which: gcc: Command not found.
Unable to confirm presence of command: gcc
 at /mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/lib/Data/Table/Text.pm line 4908, <DATA> line 80.
	Data::Table::Text::confirmHasCommandLineCommand("gcc") called at (eval 16) line 9
	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 /mnt/cpan_build_dir/goku/Asm-C-20210330-0/blib/lib/Asm/C.pm line 497
	Asm::C::test() called at test.pl line 11
test.pl .. skipped: gcc or readelf missing on: openbsd
Files=1, Tests=0,  0 wallclock secs ( 0.03 usr  0.02 sys +  0.26 cusr  0.17 csys =  0.48 CPU)
Result: NOTESTS

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

Prerequisite modules loaded:

requires:

    Module            Need   Have    
    ----------------- ------ --------
    Carp              0      1.50    
    Data::Dump        0      1.25    
    Data::Table::Text 0      20211207
    feature           0      1.58    
    Test2::API        0      1.302190
    Test::More        0      1.302190

configure_requires:

    Module            Need   Have    
    ----------------- ------ --------
    Module::Build     0.4224 0.4231  


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

Environment variables:

    AUTOMATED_TESTING = 1
    PATH = /home/goku/perl5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
    PERL5LIB = /mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/arch:/mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/lib:/home/goku/perl5/lib/perl5
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 87108
    PERL5_CPAN_IS_RUNNING = 87108
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1201,87108
    PERL_CR_SMOKER_CURRENT = Asm-C-20210330
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/goku/perl5
    PERL_MB_OPT = --install_base "/home/goku/perl5"
    PERL_MM_OPT = INSTALL_BASE=/home/goku/perl5
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/ksh
    TERM = xterm-256color

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

    $^X = /usr/bin/perl
    $UID/$EUID = 1001 / 1001
    $GID = 1002 1002 1001
    $EGID = 1002 1002 1001

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.34    
    CPAN::Meta          2.150010
    Cwd                 3.78    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.65_01 
    ExtUtils::Install   2.20    
    ExtUtils::MakeMaker 7.65_01 
    ExtUtils::Manifest  1.73    
    ExtUtils::ParseXS   3.44    
    File::Spec          3.78    
    JSON                4.06    
    JSON::PP            4.09    
    Module::Build       0.4231  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.44    
    Test::More          1.302190
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 32 subversion 1) configuration:
   
  Platform:
    osname=openbsd
    osvers=7.1
    archname=i386-openbsd
    uname='openbsd'
    config_args='-dse -Dopenbsd_distribution=defined -Dmksymlinks'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=undef
    use64bitall=undef
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include'
    optimize='-O2'
    cppflags='-DBIG_TIME -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='OpenBSD Clang 13.0.0'
    gccosandvers=''
    intsize=4
    longsize=4
    ptrsize=4
    doublesize=8
    byteorder=1234
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=12
    longdblkind=3
    ivtype='long'
    ivsize=4
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=4
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags ='-Wl,-E  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/lib /usr/lib/clang/13.0.0/lib /usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=/usr/lib/libc.so.96.1
    so=so
    useshrplib=true
    libperl=libperl.so.22.0
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-R/usr/libdata/perl5/i386-openbsd/CORE'
    cccdlflags='-DPIC -fpic '
    lddlflags='-shared -fpic  -fstack-protector-strong -L/usr/local/lib'


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_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_CTYPE
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under openbsd
  %ENV:
    PERL5LIB="/mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/arch:/mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/lib:/home/goku/perl5/lib/perl5"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="87108"
    PERL5_CPAN_IS_RUNNING="87108"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1201,87108"
    PERL_CR_SMOKER_CURRENT="Asm-C-20210330"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/goku/perl5"
    PERL_MB_OPT="--install_base "/home/goku/perl5""
    PERL_MM_OPT="INSTALL_BASE=/home/goku/perl5"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/arch
    /mnt/cpan_build_dir/goku/Data-Table-Text-20211207-1/blib/lib
    /home/goku/perl5/lib/perl5/i386-openbsd
    /home/goku/perl5/lib/perl5
    /usr/local/libdata/perl5/site_perl/i386-openbsd
    /usr/local/libdata/perl5/site_perl
    /usr/libdata/perl5/i386-openbsd
    /usr/libdata/perl5
    .