Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2007 18:25:43 -0700
From:      snowcrash+freebsd <schneecrash+freebsd@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   help re: stale dependies? some ports not finding cpan-installed perl-modules
Message-ID:  <70f41ba20708091825w42ce2b19hcafc8bfa47140bbc@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hi,

i started to use portupgrade to manage ports on a freebsd 62-RELEASE,
p7 install.

i've installed perl58 from ports, and manage perl module installs with
an up-to-date (v1.9102) CPAN.

i'm building www/mod_perl2 port on freebsd 62rp7.  perl 588 is
installed from ports, as well.

my port upgrade process,

  portsnap fetch update
  pkgdb --autofix --fix-lost
  pkgdb -F
  portupgrade --verbose --recursive --upward-recursive --all

is straightforward and mostly problem-free.

but, for some (not all) ports that depend on perl-modules, during the
update process i get "Stale Depndency" warnings.

for example, in the case of mod_perl2, i see,

	...
	Stale dependency: mod_perl2-2.0.3_2,3 -> p5-BSD-Resource-1.28
(devel/p5-BSD-Resource):
	Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no
	New dependency? (? to help):
	Delete this? ([y]es/[n]o/[a]ll) [yes]
	Deleted.
	...

now, looking in the mod_perl2 port's Makefile, i find,

	BUILD_DEPENDS=
${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource

which looks to me like it should be checking for & finding
BSD::Resource if it's installed via CPAN.

checking on my system,

	module_info BSD::Resource
		Name:        BSD::Resource
		Version:     1.28
		Directory:   /usr/local/lib/perl5/site_perl/5.8.8/mach
		File:        /usr/local/lib/perl5/site_perl/5.8.8/mach/BSD/Resource.pm
		Core module: no

and,

	pkg_info | grep "^p5"
	(empty)

given the src above (similar to other modules that are having issues
...), should not -- in this case -- mod_perl2 be 'happy' with the
installed BSD::Resource?

thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70f41ba20708091825w42ce2b19hcafc8bfa47140bbc>