Mojolicious-Command-Author-generate-resources v0.22 Perl 5 v5.26.3 x86_64-linux
- Status
- Fail
- From
- Slaven Rezić (SREZIC)
- Dist
-
Mojolicious-Command-Author-generate-resources v0.22
- Platform
- Perl 5 v5.26.3 x86_64-linux
- Date
- 2020-02-04 22:04:15
- ID
- 4850855a-479a-11ea-9f33-ae2c1f24ea8f
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 Krasimir Berov,
This is a computer-generated report for Mojolicious-Command-Author-generate-resources-0.22
on perl 5.26.3, 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 '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/opt/perl-5.26.3/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 ...... ok
Usage: APPLICATION generate resources [OPTIONS]
my_app.pl generate help resources # help with all available options
my_app.pl generate resources --tables users,groups
my_app.pl generate resources --tables users,groups -D dbx
Options:
Below are the options this command accepts, described in Getopt::Long
notation. Both short and long variants are shown as well as the types of
values they accept. All of them, beside "--tables", are guessed from
your application and usually do not need to be specified.
H|home_dir=s:
Optional. Defaults to "app->home" (which is MyApp home directory). Used
to set the root directory to which the files will be dumped. If you set
this option, respectively the "lib" and "api" folders will be created
under the new "home_dir". If you want them elsewhere, set these options
explicitly.
L|lib=s:
Optional. Defaults to "app->home/lib" (relative to the "--home_dir"
directory). If you installed MyApp in some custom path and you wish to
generate your controllers into e.g. "site_lib", set this option.
api_dir=s:
Optional. Directory where the OpenAPI
<https://github.com/OAI/OpenAPI-Specification> "json" file will be
generated. Defaults to "app->home/api" (relative to the "--home_dir"
directory). If you installed MyApp in some custom path and you wish to
generate your "OpenApi" files into for example "site_lib/MyApp/etc/api",
set this option explicitly.
C|controller_namespace=s:
Optional. The namespace for the controller classes to be generated.
Defaults to "app->routes->namespaces->[0]", usually MyApp::Controller,
where MyApp is the name of your application. If you decide to use
another namespace for the controllers, do not forget to add it to the
list "app->routes->namespaces" in "myapp.conf" or your plugin
configuration file. Here is an example.
# Setting the Controller class from which all controllers must inherit.
# See /perldoc/Mojolicious/#controller_class
# See /perldoc/Mojolicious/Guides/Growing#Controller-class
app->controller_class('MyApp::C');
# Namespace(s) to load controllers from
# See /perldoc/Mojolicious#routes
app->routes->namespaces(['MyApp::C']);
M|model_namespace=s:
Optional. The namespace for the model classes to be generated. Defaults
to MyApp::Model.
T|templates_root=s:
Optional. Defaults to "app->renderer->paths->[0]". This is usually
"app->home/templates" directory. If you want to use another directory,
do not forget to add it to the "app->renderer->paths" list in your
configuration file. Here is how to add a new directory to
"app->renderer->paths" in "myapp.conf".
# Application/site specific templates
# See /perldoc/Mojolicious/Renderer#paths
unshift @{app->renderer->paths}, $home->rel_file('site_templates');
D|db_helper=s:
Optional. If passed, this method name will be used when generating Model
classes and helpers. The application is still expected to support the
unified API of the supported database adapters. This feature helps to
generate code for an application that wants to support all the three
adaptors or if for example tomorrow suddenly appears a Mojo::Oracle tiny
wrapper around DBD::Oracle.
t|tables=s@:
Mandatory. List of tables separated by commas for which controllers
should be generated.
at /opt/perl-5.26.3/lib/site_perl/5.26.3/Mojolicious/Commands.pm line 58.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/002_crud.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
All 1 subtests passed
t/003_open_api.t .. ok
t/manifest.t ...... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/perl-critic.t ... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/pod.t ........... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
Test Summary Report
-------------------
t/002_crud.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=6, Tests=97, 1 wallclock secs ( 0.03 usr 0.04 sys + 1.10 cusr 0.25 csys = 1.42 CPU)
Result: FAIL
Failed 1/6 test programs. 0/97 subtests failed.
Makefile:888: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
---------------------------- -------- --------
Mojolicious 8.0 8.32
perl 5.020001 5.026003
build_requires:
Module Need Have
---------------------------- -------- --------
ExtUtils::MakeMaker 0 7.44
Mojo::SQLite 3.000 3.003
Mojolicious::Plugin::OpenAPI 2.00 2.21
configure_requires:
Module Need Have
---------------------------- -------- --------
ExtUtils::MakeMaker 0 7.44
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = en_US.UTF-8
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 1813
PERL5_CPAN_IS_RUNNING = 1813
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 25037,1813
PERLDOC = -MPod::Perldoc::ToTextOverstrike
PERL_BATCH = yes
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2020020421/cpanreporter_000_config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
TMPDIR = /var/tmp/cpansmoker-1023/2020020421
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /opt/perl-5.26.3/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023
$EGID = 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.27
CPAN::Meta 2.150010
Cwd 3.75
ExtUtils::CBuilder 0.280234
ExtUtils::Command 7.44
ExtUtils::Install 2.06
ExtUtils::MakeMaker 7.44
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.35
File::Spec 3.75
JSON 4.02
JSON::PP 4.04
Module::Build 0.4231
Module::Signature n/a
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302171
YAML 1.30
YAML::Syck 1.32
version 0.9924
--
Summary of my perl5 (revision 5 version 26 subversion 3) configuration:
Platform:
osname=linux
osvers=4.15.0-55-generic
archname=x86_64-linux
uname='linux ubuntu18 4.15.0-55-generic #60-ubuntu smp tue jul 2 18:22:20 utc 2019 x86_64 x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/opt/perl-5.26.3 -Dcf_email=srezic@cpan.org'
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 ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2'
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='7.4.0'
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 =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/7/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 -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.27.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.27'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -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
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 linux
Compiled at Aug 6 2019 17:25:10
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="1813"
PERL5_CPAN_IS_RUNNING="1813"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="25037,1813"
PERLDOC="-MPod::Perldoc::ToTextOverstrike"
PERL_BATCH="yes"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2020020421/cpanreporter_000_config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_USE_UNSAFE_INC="1"
@INC:
/opt/perl-5.26.3/lib/site_perl/5.26.3/x86_64-linux
/opt/perl-5.26.3/lib/site_perl/5.26.3
/opt/perl-5.26.3/lib/5.26.3/x86_64-linux
/opt/perl-5.26.3/lib/5.26.3
.