help re: stale dependies? some ports not finding cpan-installed
perl-modules
snowcrash+freebsd
schneecrash+freebsd at gmail.com
Thu Aug 9 18:25:44 PDT 2007
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!
More information about the freebsd-ports
mailing list