Re: HTML::Form not being indexed?

[email protected] (Alceu Rodrigues de Freitas Junior via cpan-testers-discuss)
Newsgroups perl.cpan.testers.discuss
Message-ID <[email protected]>
Hello Andreas,

> You can turn off and on the use of CPAN::SQLite with
>
>    o conf use_sqlite 0
>
>    o conf use_sqlite 1
>
> And in both modes you can use the cpan shell and thus compare whether it
> is a problem with CPAN::SQLite or something else. You can also call
>
>    reload index
>
> This operation may take a while with CPAN::SQLite on, be patient.
Did that, and I can confirm that disabling CPAN::SQLite and reloading 
the index made things back to work properly:

cpan shell -- CPAN exploration and modules installation (v2.29)
Enter 'h' for help.

cpan[1]> install HTML::Form
Database was generated on Tue, 11 Jan 2022 02:07:10 GMT
Warning: Cannot install HTML::Form, don't know what it is.
Try the command

     i /HTML::Form/

to find objects with matching identifiers.

cpan[2]> o conf use
use_prompt_default  username            use_sqlite
cpan[2]> o conf use_sqlite 0
     use_sqlite         [0]
Please use 'o conf commit' to make the config permanent!


cpan[3]> o conf commit
commit: wrote '/home/alceu/.cpan/CPAN/MyConfig.pm'

cpan[4]> install HTML::Form
Warning: Cannot install HTML::Form, don't know what it is.
Try the command

     i /HTML::Form/

to find objects with matching identifiers.

cpan[5]> o conf urllist
     urllist
     0 [http://localhost:8090]
     1 [https://cpan.org]
     2 [http://www.cpan.org/]
Type 'o conf' to view all configuration items

cpan[6]> reload index

cpan[7]> install HTML::Form

DEL(915/916): /home/alceu/.cpan/build/List-Compare-0.55-0
DEL(916/916): /home/alceu/.cpan/build/List-Compare-0.55-0.yml
Configuring O/OA/OALDERS/HTML-Form-6.07.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTML::Form
Writing MYMETA.yml and MYMETA.json
(/home/alceu/perl5/perlbrew/perls/perl-5.24.4/bin/perl Makefile.PL 
exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
   OALDERS/HTML-Form-6.07.tar.gz
   /home/alceu/perl5/perlbrew/perls/perl-5.24.4/bin/perl Makefile.PL -- OK
Running make for O/OA/OALDERS/HTML-Form-6.07.tar.gz
cp lib/HTML/Form.pm blib/lib/HTML/Form.pm
(/usr/bin/make -j5 -j5 exited with 0)
CPAN::Reporter: make result is 'pass', No errors.
   OALDERS/HTML-Form-6.07.tar.gz
   /usr/bin/make -j5 -j5 -- OK
Running make test for OALDERS/HTML-Form-6.07.tar.gz
PERL_DL_NONLAZY=1 
"/home/alceu/perl5/perlbrew/perls/perl-5.24.4/bin/perl" 
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.64
#
# === Build Requires ===
#
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.64
#
# === Test Requires ===
#
#     Module              Want     Have
#     ------------------- ---- --------
#     ExtUtils::MakeMaker  any     7.64
#     File::Spec           any     3.75
#     HTTP::Response       any     6.36
#     Test                 any  1.28_01
#     Test::More           any 1.302188
#     lib                  any     0.63
#     warnings             any     1.36
#
# === Test Recommends ===
#
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.150010
#
# === Runtime Requires ===
#
#     Module                Want Have
#     --------------------- ---- ----
#     Carp                   any 1.50
#     Encode                   2 3.16
#     HTML::TokeParser       any 3.76
#     HTTP::Request            6 6.36
#     HTTP::Request::Common 6.03 6.36
#     URI                   1.10 5.10
#     strict                 any 1.11
#     vars                   any 1.03
#
t/00-report-prereqs.t .. ok
t/autocomplete.t ....... ok
t/find_input.t ......... ok
t/form-label.t ......... ok
t/form-maxlength.t ..... ok
t/form-multi-select.t .. ok
t/form-param.t ......... ok
t/form-selector.t ...... ok
t/form-unicode.t ....... ok
t/form.t ............... ok
All tests successful.
Files=10, Tests=203,  0 wallclock secs ( 0.04 usr  0.01 sys + 0.60 cusr  
0.04 csys =  0.69 CPU)
Result: PASS
(/usr/bin/make test exited with 0)
CPAN::Reporter: Test result is 'pass', All tests successful.
CPAN::Reporter: preparing a CPAN Testers report for HTML-Form-6.07
CPAN::Reporter: sending test report with 'pass' via Socket
Lockfile removed.
   OALDERS/HTML-Form-6.07.tar.gz
   /usr/bin/make test -- OK
Running make install for OALDERS/HTML-Form-6.07.tar.gz
Appending installation info to 
/home/alceu/perl5/perlbrew/perls/perl-5.24.4/lib/5.24.4/x86_64-linux/perllocal.pod
Installing 
/home/alceu/perl5/perlbrew/perls/perl-5.24.4/lib/site_perl/5.24.4/HTML/Form.pm
   OALDERS/HTML-Form-6.07.tar.gz
   /usr/bin/make install -j5 -- OK

cpan[8]>

> I have no problem with HTML::Form in the cpan shell with or without
> use_sqlite on or off.

Clearly is something with my local setup, but I still don't know if it 
is a combination with using perlbrew, minicpan and CPAN::SQLite.

Another information, recently I started trying to upgrade everything in 
the different versions installed with perlbrew, and version 0.219 of 
CPAN::SQLite is failing it's tests.

Just tried again with CPAN::SQLite disable and the result is the same:

   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 2768 tests but ran 31403.
Files=26, Tests=37187, 45 wallclock secs ( 2.47 usr  0.46 sys + 25.76 
cusr  2.39 csys = 31.08 CPU)
Result: FAIL
Failed 2/26 test programs. 30016/37187 subtests failed.
Makefile:895: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
(/usr/bin/make test exited with 512)
CPAN::Reporter: Test result is 'fail', One or more tests failed.
CPAN::Reporter: preparing a CPAN Testers report for CPAN-SQLite-0.219

CPAN::Reporter: this appears to be a duplicate report for the test phase:
FAIL CPAN-SQLite-0.219 x86_64-linux 4.4.0-127-generic

Test report will not be sent.

Lockfile removed.
   STRO/CPAN-SQLite-0.219.tar.gz
   /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
   reports STRO/CPAN-SQLite-0.219.tar.gz
Failed during this command:
  STRO/CPAN-SQLite-0.219.tar.gz                : make_test NO

cpan[2]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.