Mojolicious-Command-Author-generate-resources v0.22 Perl 5 v5.37.5 x86_64-linux
- Status
- Fail
- From
- Andreas J. König (ANDK)
- Dist
-
Mojolicious-Command-Author-generate-resources v0.22
- Platform
- Perl 5 v5.37.5 x86_64-linux
- Date
- 2022-10-22 12:22:21
- ID
- 2d9f3626-5204-11ed-b4c8-fa518b75ab79
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.37.5, 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 '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/tmp/basesmoker-reloperl-nZqP/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 /home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.4-160-g0649414847/b254/lib/site_perl/5.37.5/Mojolicious/Commands.pm line 57.
# 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 (exited 255) Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=6, Tests=97, 2 wallclock secs ( 0.04 usr 0.02 sys + 1.93 cusr 0.25 csys = 2.24 CPU)
Result: FAIL
Failed 1/6 test programs. 0/97 subtests failed.
make: *** [Makefile:887: test_dynamic] Error 255
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
---------------------------- -------- --------
Mojolicious 8.0 9.28
perl 5.020001 5.037005
build_requires:
Module Need Have
---------------------------- -------- --------
ExtUtils::MakeMaker 0 7.64
Mojo::SQLite 3.000 3.009
Mojolicious::Plugin::OpenAPI 2.00 5.07
configure_requires:
Module Need Have
---------------------------- -------- --------
ExtUtils::MakeMaker 0 7.64
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/perl/bin:/usr/X11/bin
PERL5LIB = /tmp/loop_over_bdir-1009117-5DRN3W/Net-Async-WebService-lxd-0.03-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Net-Async-WebService-lxd-0.03-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/Dpkg-1.21.9-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Dpkg-1.21.9-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/Net-ISP-Balance-1.31-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Net-ISP-Balance-1.31-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/App-rmcd-0.280-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/App-rmcd-0.280-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/Business-Shipping-DataFiles-1.02-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Business-Shipping-DataFiles-1.02-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/MP3-PodcastFetch-1.05-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/MP3-PodcastFetch-1.05-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/triceps-2.1.0-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/triceps-2.1.0-0/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 1009125
PERL5_CPAN_IS_RUNNING = 1009125
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 = /tmp/basesmoker-reloperl-nZqP/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.34
CPAN::Meta 2.150010
Cwd 3.86
ExtUtils::CBuilder 0.280237
ExtUtils::Command 7.64
ExtUtils::Install 2.20
ExtUtils::MakeMaker 7.64
ExtUtils::Manifest 1.73
ExtUtils::ParseXS 3.46
File::Spec 3.87
JSON 4.10
JSON::PP 4.12
Module::Build 0.4231
Module::Signature 0.88
Parse::CPAN::Meta 2.150010
Test::Harness 3.44
Test::More 1.302191
YAML 1.30
YAML::Syck 1.34
version 0.9929
--
Summary of my perl5 (revision 5 version 37 subversion 5) configuration:
Commit id: 064941484781d9099db0bbe7d6ea22a826df1e15
Platform:
osname=linux
osvers=5.4.0-125-generic
archname=x86_64-linux
uname='linux k93focal 5.4.0-125-generic #141-ubuntu smp wed aug 10 13:42:03 utc 2022 x86_64 x86_64 x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.4-160-g0649414847/b254 -Dmyhostname=k93focal -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 -Uuselongdouble -DEBUGGING=both'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2 -g'
cppflags='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='9.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/x86_64-linux-gnu /usr/lib /usr/lib64
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.31.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.31'
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:
DEBUGGING
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_SIPHASH13
PERL_HASH_USE_SBOX32
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
PERL_USE_SAFE_PUTENV
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 Oct 20 2022 19:29:29
%ENV:
PERL5LIB="/tmp/loop_over_bdir-1009117-5DRN3W/Net-Async-WebService-lxd-0.03-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Net-Async-WebService-lxd-0.03-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/Dpkg-1.21.9-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Dpkg-1.21.9-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/Net-ISP-Balance-1.31-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Net-ISP-Balance-1.31-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/App-rmcd-0.280-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/App-rmcd-0.280-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/Business-Shipping-DataFiles-1.02-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/Business-Shipping-DataFiles-1.02-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/MP3-PodcastFetch-1.05-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/MP3-PodcastFetch-1.05-0/blib/lib:/tmp/loop_over_bdir-1009117-5DRN3W/triceps-2.1.0-0/blib/arch:/tmp/loop_over_bdir-1009117-5DRN3W/triceps-2.1.0-0/blib/lib"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="1009125"
PERL5_CPAN_IS_RUNNING="1009125"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/tmp/loop_over_bdir-1009117-5DRN3W/Net-Async-WebService-lxd-0.03-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/Net-Async-WebService-lxd-0.03-0/blib/lib
/tmp/loop_over_bdir-1009117-5DRN3W/Dpkg-1.21.9-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/Dpkg-1.21.9-0/blib/lib
/tmp/loop_over_bdir-1009117-5DRN3W/Net-ISP-Balance-1.31-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/Net-ISP-Balance-1.31-0/blib/lib
/tmp/loop_over_bdir-1009117-5DRN3W/App-rmcd-0.280-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/App-rmcd-0.280-0/blib/lib
/tmp/loop_over_bdir-1009117-5DRN3W/Business-Shipping-DataFiles-1.02-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/Business-Shipping-DataFiles-1.02-0/blib/lib
/tmp/loop_over_bdir-1009117-5DRN3W/MP3-PodcastFetch-1.05-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/MP3-PodcastFetch-1.05-0/blib/lib
/tmp/loop_over_bdir-1009117-5DRN3W/triceps-2.1.0-0/blib/arch
/tmp/loop_over_bdir-1009117-5DRN3W/triceps-2.1.0-0/blib/lib
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.4-160-g0649414847/b254/lib/site_perl/5.37.5/x86_64-linux
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.4-160-g0649414847/b254/lib/site_perl/5.37.5
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.4-160-g0649414847/b254/lib/5.37.5/x86_64-linux
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.4-160-g0649414847/b254/lib/5.37.5
.