Error while running make fixdeps on plack

Hi all,

I am trying to build a new server with RT and am having some problems
getting make fixdeps to run completely.

It seems like it’s failing on PLACK:

arning: Prerequisite ‘Plack => 0.992’ for ‘KAZUHO/Starlet-0.21.tar.gz’
failed when processing ‘MIYAGAWA/Plack-1.0030.tar.gz’ with ‘writemakefile
=> NO ‘/usr/bin/perl Makefile.PL INSTALLDIRS=site’ returned status 512’.
Continuing, but chances to succeed are limited.
make[1]: Entering directory /root/.cpan/build/Starlet-0.21-q_ryrV' cp lib/Starlet/Server.pm blib/lib/Starlet/Server.pm cp lib/Starlet.pm blib/lib/Starlet.pm cp lib/Plack/Handler/Starlet.pm blib/lib/Plack/Handler/Starlet.pm Manifying blib/man3/Starlet.3pm make[1]: Leaving directory /root/.cpan/build/Starlet-0.21-q_ryrV’
KAZUHO/Starlet-0.21.tar.gz
/usr/bin/make – OK
Warning (usually harmless): ‘YAML’ not installed, will not store persistent
state
Running make test
make[1]: Entering directory `/root/.cpan/build/Starlet-0.21-q_ryrV’
PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-MTest::Harness”
“-e” "undef Test::Harness::Switches; test_harness(0, ‘inc’, ‘blib/lib’,
‘blib/arch’)" t/
.t
t/00base.t … 1/? Use of uninitialized value $plackup in
exec at t/00base.t line 34.
start_server (pid:2164) starting now…
starting new worker 2165
Can’t exec “”: No such file or directory at
/usr/local/share/perl5/Server/Starter.pm line 358.
failed to exec No such file or directory
new worker 2165 seems to have failed to start, exit status:65280
starting new worker 2166

Can anyone help out with this?

Thanks.

It seems like it’s failing on PLACK:

arning: Prerequisite ‘Plack => 0.992’ for ‘KAZUHO/Starlet-0.21.tar.gz’
failed

You’ve shown the error for Starlet, which depends on Plack. Please show
the output of ‘cpan install Plack’

  • Alex

You’ve shown the error for Starlet, which depends on Plack. Please show
the output of ‘cpan install Plack’

  • Alex

Here’s the output from that command.

Plack-1.0030/benchmarks/fcgi.pl
CPAN: File::Temp loaded ok (v0.2304)

CPAN.pm: Going to build M/MI/MIYAGAWA/Plack-1.0030.tar.gz

Can’t locate File/ShareDir/Install.pm in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
Makefile.PL line 9.
BEGIN failed–compilation aborted at Makefile.PL line 9.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
Warning (usually harmless): ‘YAML’ not installed, will not store persistent
state
MIYAGAWA/Plack-1.0030.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site – NOT OK
Running make test
Make had some problems, won’t test
Running make install
Make had some problems, won’t install
Could not read ‘/root/.cpan/build/Plack-1.0030-RDn9Lg/META.yml’. Falling
back to other methods to determine prerequisites
Failed during this command:
MIYAGAWA/Plack-1.0030.tar.gz : writemakefile NO
‘/usr/bin/perl Makefile.PL INSTALLDIRS=site’ returned status 512

CPAN.pm: Going to build M/MI/MIYAGAWA/Plack-1.0030.tar.gz

Can’t locate File/ShareDir/Install.pm in @INC

Apparently your version of CPAN.pm is too old to understand
configure_requires. What does cpan -v report?

You can work around this by running ‘cpan install
File::ShareDir::Install’ before running ‘make fixdeps’

  • Alex

CPAN.pm: Going to build M/MI/MIYAGAWA/Plack-1.0030.tar.gz

Can’t locate File/ShareDir/Install.pm in @INC

Apparently your version of CPAN.pm is too old to understand
configure_requires. What does cpan -v report?

You can work around this by running ‘cpan install
File::ShareDir::Install’ before running ‘make fixdeps’

  • Alex

Hi thanks!

[root@localhost rt-4.2.1]# cpan -v
/usr/bin/cpan script version 1.9, CPAN.pm version 1.9402

Running that install manually helped, but now I am having problems with the
GPG missing dependencies:
GnuPG::Interface …MISSING

Running that manually is giving me this:
Failed 20/20 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
ALEXMV/GnuPG-Interface-0.46.tar.gz
/usr/bin/make test – NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ALEXMV/GnuPG-Interface-0.46.tar.gz
Warning (usually harmless): ‘YAML’ not installed, will not store persistent
state
Running make install
make test had returned bad status, won’t install without force
Could not read ‘/root/.cpan/build/Mouse-2.1.0-m4Tq8q/META.yml’. Falling
back to other methods to determine prerequisites
Failed during this command:
GFUJI/Mouse-2.1.0.tar.gz : writemakefile NO
‘/usr/bin/perl Build.PL --installdirs site’ returned status 65280
SARTAK/Any-Moose-0.21.tar.gz : make_test NO
ALEXMV/GnuPG-Interface-0.46.tar.gz : make_test NO

[root@localhost rt-4.2.1]# cpan -v
/usr/bin/cpan script version 1.9, CPAN.pm version 1.9402

You may wish to update CPAN: ‘cpan install CPAN’
Or install and use cpanm:
cpan install App::cpanminus
RT_FIX_DEPS_CMD=cpanm make fixdeps

Failed during this command:
GFUJI/Mouse-2.1.0.tar.gz : writemakefile NO
‘/usr/bin/perl Build.PL --installdirs site’ returned status 65280
SARTAK/Any-Moose-0.21.tar.gz : make_test NO
ALEXMV/GnuPG-Interface-0.46.tar.gz : make_test NO

Mouse is the dependency that failed to install. Show the logs from
attempting to install that.

  • Alex

[root@localhost rt-4.2.1]# cpan -v
/usr/bin/cpan script version 1.9, CPAN.pm version 1.9402

You may wish to update CPAN: ‘cpan install CPAN’
Or install and use cpanm:
cpan install App::cpanminus
RT_FIX_DEPS_CMD=cpanm make fixdeps

Failed during this command:
GFUJI/Mouse-2.1.0.tar.gz : writemakefile NO
‘/usr/bin/perl Build.PL --installdirs site’ returned status 65280
SARTAK/Any-Moose-0.21.tar.gz : make_test NO
ALEXMV/GnuPG-Interface-0.46.tar.gz : make_test NO

Mouse is the dependency that failed to install. Show the logs from
attempting to install that.

  • Alex

Doing the CPAN upgrade fixed it! Thanks! :slight_smile: