CPAN hanging on ExtUtils::MakeMaker even if installed

Matthew Seaman matthew at FreeBSD.org
Wed Feb 22 09:26:55 UTC 2012


On 22/02/2012 00:34, Jaime Kikpole wrote:
> I'm attempting to upgrade Request Tracker manually.  (I know that
> there is a port, but I'd like to preserve my data, thus I'm doing this
> "the old fashioned way."  :) )

Speaking as the rt40 port maintainer, I feel you may be making your life
unnecessarily difficult here.  The port won't touch your data: it does
precisely nothing to the database.  It does let you set default values
for DB connection parameters at install time, but that's  not required
and you can just use the normal configuration files to the same effect.

Unless you've made lots of local tweaks to the code, and not by using
the recognised extension method, using the port should not be damaging
to your setup.  If you find otherwise, I'd like very much to hear about
it so I can fix the problem.

> When I run the "make fixdeps" step described in the directions, it
> attempts to load ExtUtil::MakeMaker from CPAN -- even though its
> already installed.  This wouldn't be so bad, but it actually hangs and
> uses 100% of CPU time (according to "top") like its in an infinite
> loop.  This is the output just before it hangs:
> 
> [...cut...]
> Manifying blib/man3/File::Temp.3
> Manifying blib/man3/ExtUtils::MM_Any.3
>   MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
>   /usr/bin/make -- OK
> CPAN: YAML loaded ok (v0.68)
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/arch" "-Iblib/lib"
> "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
> 'blib/arch')" t/*.t
> t/00compile.t ............. ok
> t/arch_check.t ............ ok
> t/backwards.t ............. ok
> t/basic.t ................. ok
> t/build_man.t ............. ok
> t/cd.t .................... ok
> t/config.t ................ ok
> t/dir_target.t ............ ok
> t/FIRST_MAKEFILE.t ........ ok
> t/fix_libs.t .............. ok
> t/fixin.t ................. ok
> t/hints.t ................. ok
> t/INST.t .................. ok
> t/INST_PREFIX.t ........... ok
> t/INSTALL_BASE.t .......... 3/20
> 
> 
> I've found references to this on the web.  They seem to indicate that
> its something with the FreeBSD port and that its fixed in version
> 6.63.  Unfortunately, only version 6.62 is in the ports collection.
> 
> Anyone know what to do to get past this?

Hmmm... well, the port doesn't use 'make fixdeps' because it's the ports
job to ensure that all the required dependencies are fulfilled.
However, if I try it manually, everything works just fine.  This is on a
system with only the version of E::MM that comes bundled with perl-5.12
(which is version 6.56).  The make fixdeps output looks completely
different though -- what version of RT are you trying to use?

lucid-nonsense:/tmp/rt-4.0.5:# make fixdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --install --with-SQLite
perl:
	>=5.8.3(5.12.4) ...found
users:
	rt group (www) ...found
	bin owner (root) ...found
	libs owner (root) ...found
	libs group (bin) ...found
	web owner (www) ...found
	web group (www) ...found
CLI dependencies:
	Term::ReadKey ...found
	Getopt::Long >= 2.24 ...found
	HTTP::Request::Common ...found
	Term::ReadLine ...found
	Text::ParseWords ...found
	LWP ...found
CORE dependencies:
	DateTime >= 0.44 ...found
	Class::ReturnValue >= 0.40 ...found
	Text::Quoted >= 2.02 ...found
	Regexp::IPv6 ...found
	CSS::Squish >= 0.06 ...found
	Encode >= 2.39 ...found
	DateTime::Locale >= 0.40 ...found
	Module::Versions::Report >= 1.05 ...found
	MIME::Entity >= 5.425 ...found
	Digest::SHA ...found
	List::MoreUtils ...found
	DBI >= 1.37 ...found
	Locale::Maketext::Lexicon >= 0.32 ...found
	Devel::StackTrace >= 1.19 ...found
	Digest::base ...found
	Text::Password::Pronounceable ...found
	Devel::GlobalDestruction ...found
	Time::ParseDate ...found
	File::Temp >= 0.19 ...found
	Locale::Maketext >= 1.06 ...found
	Tree::Simple >= 1.04 ...found
	Text::Template >= 1.44 ...found
	Scalar::Util ...found
	HTML::Quoted ...found
	HTML::Scrubber >= 0.08 ...found
	File::Spec >= 0.8 ...found
	DBIx::SearchBuilder >= 1.59 ...found
	Sys::Syslog >= 0.16 ...found
	Mail::Mailer >= 1.57 ...found
	File::ShareDir ...found
	Regexp::Common ...found
	Digest::MD5 >= 2.27 ...found
	Cache::Simple::TimedExpiry ...found
	File::Glob ...found
	Class::Accessor >= 0.34 ...found
	Locale::Maketext::Fuzzy ...found
	Time::HiRes ...found
	Text::Wrapper ...found
	Regexp::Common::net::CIDR ...found
	Net::CIDR ...found
	Log::Dispatch >= 2.23 ...found
	UNIVERSAL::require ...found
	Email::Address ...found
DASHBOARDS dependencies:
	HTML::RewriteAttributes >= 0.04 ...found
	MIME::Types ...found
GD dependencies:
	GD::Text ...found
	GD ...found
	GD::Graph ...found
GPG dependencies:
	PerlIO::eol ...found
	GnuPG::Interface ...found
ICAL dependencies:
	Data::ICal ...found
MAILGATE dependencies:
	Pod::Usage ...found
	HTML::TreeBuilder ...found
	Getopt::Long ...found
	HTML::FormatText ...found
	LWP::UserAgent ...found
MASON dependencies:
	Storable >= 2.08 ...found
	CSS::Squish >= 0.06 ...found
	Apache::Session >= 1.53 ...found
	Errno ...found
	Devel::StackTrace >= 1.19 ...found
	IPC::Run3 ...found
	CGI::Cookie >= 1.20 ...found
	Text::WikiFormat >= 0.76 ...found
	XML::RSS >= 1.05 ...found
	HTML::Mason >= 1.43 ...found
	Digest::MD5 >= 2.27 ...found
	JSON ...found
PSGI dependencies:
	CGI::Emulate::PSGI ...found
	CGI >= 3.38 ...found
	CGI::PSGI >= 0.12 ...found
	HTML::Mason::PSGIHandler >= 0.52 ...found
	Plack >= 0.9971 ...found
	Plack::Handler::Starlet ...found
SMTP dependencies:
	Net::SMTP ...found
SQLITE dependencies:
	DBD::SQLite >= 1.00 ...found
USERLOGO dependencies:
	Convert::Color ...found

All dependencies have been found.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120222/9604167d/signature.pgp


More information about the freebsd-questions mailing list