Asm-C v20210330 Perl 5 v5.26.2 x86_64-linux-ld
- Status
- Fail
- From
- Andreas J. König (ANDK)
- Dist
-
Asm-C v20210330
- Platform
- Perl 5 v5.26.2 x86_64-linux-ld
- Date
- 2021-09-09 15:10:28
- ID
- 110f33a0-1180-11ec-a8a3-d4726c77d7c7
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.2, 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:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from './Build test':
Bareword "writeTempFile" not allowed while "strict subs" in use at (eval 15) line 24, <DATA> line 80.
syntax error at (eval 15) line 27, near ";
int"
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 33, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 43, <DATA> line 80.
Bareword found where operator expected at (eval 15) line 46, near "is_deeply"
(Missing operator before is_deeply?)
syntax error at (eval 15) line 46, near "is_deeply "
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 46, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 49, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 52, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 54, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 56, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 57, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 58, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 60, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 61, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 62, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 64, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 65, <DATA> line 80.
Global symbol "$input" requires explicit package name (did you forget to declare "my $input"?) at (eval 15) line 66, <DATA> line 80.
syntax error at (eval 15) line 67, near ";
}"
(eval 15) has too many errors.
at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/lib/site_perl/5.26.2/Data/Table/Text.pm line 3897, <DATA> line 80.
Data::Table::Text::__ANON__("Bareword \"writeTempFile\" not allowed while \"strict subs\" in u"...) called at (eval 15) 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 /tmp/loop_over_bdir-2171285-JDdyef/Asm-C-20210330-0/blib/lib/Asm/C.pm line 497
Asm::C::test() called at test.pl line 11
at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/lib/site_perl/5.26.2/Data/Table/Text.pm line 3897, <DATA> line 80.
Data::Table::Text::__ANON__("Bareword \"writeTempFile\" not allowed while \"strict subs\" in u"...) called at /tmp/loop_over_bdir-2171285-JDdyef/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 255 (wstat 65280, 0xff00)
No subtests run
Test Summary Report
-------------------
test.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=1, Tests=0, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.09 cusr 0.03 csys = 0.13 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 20200101
feature 0 1.47
Test2::API 0 1.302186
Test::More 0 1.302186
configure_requires:
Module Need Have
----------------- ------ --------
Module::Build 0.4224 0.4229
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 3240410
PERL5_CPAN_IS_RUNNING = 3240410
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.27
CPAN::Meta 2.150010
Cwd 3.75
ExtUtils::CBuilder 0.280231
ExtUtils::Command 7.42
ExtUtils::Install 2.06
ExtUtils::MakeMaker 7.42
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.35
File::Spec 3.75
JSON 4.02
JSON::PP 4.04
Module::Build 0.4229
Module::Signature 0.83
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302186
YAML 1.29
YAML::Syck 1.31
version 0.9924
--
Summary of my perl5 (revision 5 version 26 subversion 2) configuration:
Derived from: c5b1997939178730653db9e80f90cd53d722fe8d
Platform:
osname=linux
osvers=5.3.0-2-amd64
archname=x86_64-linux-ld
uname='linux k93msid 5.3.0-2-amd64 #1 smp debian 5.3.9-3 (2019-11-19) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11 -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Duselongdouble -DEBUGGING=-g'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=define
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2 -g'
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='9.2.1 20191109'
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='long double'
nvsize=16
Off_t='off_t'
lseeksize=8
alignbytes=16
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.29.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.29'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
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
PERL_USE_DEVEL
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_LONG_DOUBLE
USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
uncommitted-changes
Built under linux
Compiled at Nov 25 2019 14:51:11
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="3240410"
PERL5_CPAN_IS_RUNNING="3240410"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/lib/site_perl/5.26.2/x86_64-linux-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/lib/site_perl/5.26.2
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/lib/5.26.2/x86_64-linux-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.26.2/af11/lib/5.26.2
.