Preprocess-Ops v20201117 Perl 5 v5.32.1 i386-openbsd
- Status
- Unknown
- From
- Alceu Rodrigues de Freitas Junior
- Dist
-
Preprocess-Ops v20201117
- Platform
- Perl 5 v5.32.1 i386-openbsd
- Date
- 2022-06-26 04:12:39
- ID
- 37771200-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 Preprocess-Ops-20201117
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-0/blib/lib/Data/Table/Text.pm line 4908, <DATA> line 246.
Data::Table::Text::confirmHasCommandLineCommand("gcc") called at (eval 16) line 7
eval 'use warnings FATAL=>qw(all);
use strict;
require v5.26;
use Time::HiRes qw(time);
use Test::More;
my $hasgcc = confirmHasCommandLineCommand(q(gcc));
if ($^O =~ m(bsd|linux)i and $hasgcc) # Only these operating systems are supported
{plan tests => 7
}
else
{plan skip_all => \'Not supported\'
}
my $startTime = time();
my $localTest = ((caller(1))[0]//\'Preprocess::Ops\') eq "Preprocess::Ops"; # Local testing mode
Test::More->builder->output("/dev/null") if $localTest; # Suppress output in local testing mode
sub readCFile($) # Remove #line number statements from a C file
{my ($file) = @_; # C file name
my $c = readFile($file);
$c =~ s(#line (\\d+) ".*/(\\w+).c") (#line $1 "$2.c");
$c =~ s(\\A\\s+) ()s;
$c =~ s(\\s+\\Z) ()s;
"$c\\n"
}
if (88) { #Tc
my $d = q(zzz);
my $ds = fpd($d, qw(source));
my $dd = fpd($d, qw(derived));
my $sc = fpe($ds, qw(node c));
my $dc = fpe($dd, qw(node c));
my $dh = fpe($dd, qw(node h));
owf($sc, <<END);
#include <stdio.h>
typedef struct Node // Node
{const struct ProtoTypes_Node *proto;
int data;
} Node;
#include "node.h"
static Node by // New from node * number
(const Node * n, // Node
const int i) // Multiplier
{return new Node(data: i * n->data);
}
static void dump // Dump a node to stdout
(const Node * n) // Node to dump
{printf("data=%d\\\\n", n->data);
}
int main(void) //TnewNode //Tdump //Tby
{a â new Node(data: 6);
b â a â· by(7);
b â· dump;
return 0;
}
END
my $r = c($sc, $dc, $dh); # Preprocess source c to get derived c
my $c = qq((cd $dd; gcc node.c -o a; ./a));
is_deeply scalar(qx($c)), "data=42\\n";
is_deeply readCFile($dc), <<\'END\'; # Generated base.c
#line 1 "node.c"
#include <stdio.h>
typedef struct Node // Node
{const struct ProtoTypes_Node *proto;
int data;
} Node;
#include "node.h"
static Node by // New from node * number
(const Node * n, // Node
const int i) // Multiplier
{return newNode(({struct Node t = {data: i * n->data, proto: &ProtoTypes_Node}; t;}));
}
static void dump // Dump a node to stdout
(const Node * n) // Node to dump
{printf("data=%d\\n", n->data);
}
int main(void) //TnewNode //Tdump //Tby
{const typeof(newNode(({struct Node t = {data: 6, proto: &ProtoTypes_Node}; t;}))) a = newNode(({struct Node t = {data: 6, proto: &ProtoTypes_Node}; t;}));
const typeof(a.proto->by(&a, 7)) b = a.proto->by(&a, 7);
b.proto->dump(&b);
return 0;
}
END
is_deeply readCFile($dh), <<END; # Generated include file
static Node by
(const Node * n,
const int i);
static void dump
(const Node * n);
int main(void);
struct ProtoTypes_Node {
Node (*by)( // New from node * number
const Node * n, // Node
const int i); // Multiplier
void (*dump)( // Dump a node to stdout
const Node * n); // Node to dump
} const ProtoTypes_Node =
{by, dump};
Node newNode(Node allocator) {return allocator;}
END
clearFolder($d, 10);
}
if (36) { #Tc
my $d = q(zzz);
my $c = owf(fpe($d, qw(source c)), <<\'END\');
#include <assert.h>
#include <stdio.h>
int main(void)
{a â âÂÂ;
a
b
âÂÂ
â a[0] == \'a\';
printf("%s", a);
}
END
my $h = fpe($d, qw(source h));
my $g = fpe($d, qw(derived c));
my $r = c($c, $g, $h);
is_deeply scalar(qx(cd $d; gcc derived.c -o a; ./a)), <<END, \'aaaa\';
a
b
END
is_deeply readCFile($g), <<\'END\', \'bbbb\';
#line 1 "source.c"
#include <assert.h>
#include <stdio.h>
int main(void)
{const typeof("a\\n" " b\\n") a = "a\\n" " b\\n";
//âÂÂa
//â b
//âÂÂ
assert( a[0] == \'a\');
printf("%s", a);
}
END
clearFolder($d, 10);
}
if (26) { #Tc
my $d = q(zzz);
my $c = owf(fpe($d, qw(source c)), <<\'END\');
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{typedef struct
{int a;
int b;
} S;
S s; s.a = 1; s.b = 2;
S t;
t â s; â s âÂÂâ t;
t â 0; â s !â t;
S *ps = &s, *pt = &t;
t â 0; â t.a == 0; â t.b == 0; â pt !â§ s;
pt â§ s; â t.a == s.a; â t.b == s.b; â pt â§â§ s;
s â 0; â s.a == 0; â s.b == 0; â t !⨠ps;
ps â§ t; â s.a == t.a; â s.b == t.b; â t â¨â¨ ps;
printf(âÂÂ);
success
âÂÂ
}
END
my $h = fpe($d, qw(source h));
my $g = fpe($d, qw(derived c));
my $r = c($c, $g, $h);
is_deeply scalar(qx(cd $d; gcc -g -Wall derived.c -o a; ./a)), <<END;
success
END
# clearFolder($d, 10);
}
if (26) { #Tc
my $d = q(zzz);
my $c = owf(fpe($d, qw(source c)), <<\'END\');
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{ a â 12; b â 12; c â 12;
a â "aaaa";
b â "bbbb";
A â c +â a; B â A +â b;
C â c â¼ b;
â a âÂÂâ "aaaa";
â b âÂÂâ "bbbb";
â b !â a;
â c âÂÂâ "aaaabbbb";
â A âÂÂâ b;
â B âÂÂâ "";
â C âÂÂâ b;
printf(âÂÂ);
success
âÂÂ
}
END
my $h = fpe($d, qw(source h));
my $g = fpe($d, qw(derived c));
my $r = c($c, $g, $h);
is_deeply scalar(qx(cd $d; gcc -g -Wall derived.c -o a; ./a)), <<END;
success
END
# clearFolder($d, 10);
}
done_testing;
# owf($logC, readCFile($dc));
# owf($logH, readCFile($dh));
if ($localTest)
{say "TO finished in ", (time() - $startTime), " seconds";
}
1;
' called at /mnt/cpan_build_dir/goku/Preprocess-Ops-20201117-0/blib/lib/Preprocess/Ops.pm line 1316
Preprocess::Ops::test() called at test.pl line 11
test.pl .. skipped: Not supported
Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.27 cusr 0.10 csys = 0.41 CPU)
Result: NOTESTS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
----------------- -------- --------
Carp 0 1.50
Data::Dump 0 1.25
Data::Table::Text 20201029 20211207
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-0/blib/arch:/mnt/cpan_build_dir/goku/Data-Table-Text-20211207-0/blib/lib:/home/goku/perl5/lib/perl5
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 32936
PERL5_CPAN_IS_RUNNING = 32936
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1201,32936
PERL_CR_SMOKER_CURRENT = Preprocess-Ops-20201117
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-0/blib/arch:/mnt/cpan_build_dir/goku/Data-Table-Text-20211207-0/blib/lib:/home/goku/perl5/lib/perl5"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="32936"
PERL5_CPAN_IS_RUNNING="32936"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="1201,32936"
PERL_CR_SMOKER_CURRENT="Preprocess-Ops-20201117"
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-0/blib/arch
/mnt/cpan_build_dir/goku/Data-Table-Text-20211207-0/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
.