Mojolicious-Command-Author-generate-resources v0.22 Perl 5 v5.41.6 x86_64-linux-thread-multi
- Status
- Fail
- From
- Andreas J. König (ANDK)
- Dist
-
Mojolicious-Command-Author-generate-resources v0.22
- Platform
- Perl 5 v5.41.6 x86_64-linux-thread-multi
- Date
- 2024-12-13 05:11:23
- ID
- b2a073f6-b910-11ef-8f98-b2d48529ea16
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.41.6, created by CPAN-Reporter-1.2020.
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-f3aY/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.41.6/d119/lib/site_perl/5.41.6/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
Mojo::File::spurt is deprecated in favor of Mojo::File::spew at /tmp/loop_over_bdir-1131294-7GS7Ud/Mojolicious-Command-Author-generate-resources-0.22-0/blib/lib/Mojolicious/Command/Author/generate/resources.pm line 338.
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, 3 wallclock secs ( 0.04 usr 0.01 sys + 2.65 cusr 0.26 csys = 2.96 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.39
perl 5.020001 5.041006
build_requires:
Module Need Have
---------------------------- -------- --------
ExtUtils::MakeMaker 0 7.70
Mojo::SQLite 3.000 3.009
Mojolicious::Plugin::OpenAPI 2.00 5.09
configure_requires:
Module Need Have
---------------------------- -------- --------
ExtUtils::MakeMaker 0 7.70
------------------------------
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
PERL = /tmp/basesmoker-reloperl-f3aY/bin/perl
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 1131302
PERL5_CPAN_IS_RUNNING = 1131302
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-f3aY/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.38
CPAN::Meta 2.150010
Cwd 3.92
ExtUtils::CBuilder 0.280240
ExtUtils::Command 7.70
ExtUtils::Install 2.22
ExtUtils::MakeMaker 7.70
ExtUtils::Manifest 1.75
ExtUtils::ParseXS 3.56
File::Spec 3.93
JSON 4.10
JSON::PP 4.16
Module::Build 0.4234
Module::Signature 0.89
Parse::CPAN::Meta 2.150010
Test2 1.302204
Test::Harness 3.50
Test::More 1.302204
YAML 1.31
YAML::Syck 1.34
version 0.9933
--
Summary of my perl5 (revision 5 version 41 subversion 6) configuration:
Commit id: 5ae25c7756bbd08831a5a3900da1d60b7ba2c19a
Platform:
osname=linux
osvers=5.4.0-200-generic
archname=x86_64-linux-thread-multi
uname='linux k93focal 5.4.0-200-generic #220-ubuntu smp fri sep 27 13:19:16 utc 2024 x86_64 x86_64 x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.6/d119 -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 -Duseithreads -Uuselongdouble -DEBUGGING=both'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -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='-D_REENTRANT -D_GNU_SOURCE -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_LONG_DOUBLE
HAS_STRTOLD
HAS_TIMES
MULTIPLICITY
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_TRACK_MEMPOOL
PERL_USE_DEVEL
PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under linux
Compiled at Nov 21 2024 14:33:17
%ENV:
PERL="/tmp/basesmoker-reloperl-f3aY/bin/perl"
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="1131302"
PERL5_CPAN_IS_RUNNING="1131302"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.6/d119/lib/site_perl/5.41.6/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.6/d119/lib/site_perl/5.41.6
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.6/d119/lib/5.41.6/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.6/d119/lib/5.41.6
.