From: Rob Byrnes on
I have seen this issue on two different machines now, but this particular
instance is on a newly built one.

I'm running 8.0-STABLE

I run munin to collect and graph stats on my network and machines.
net-mgmt/munin-master depends on perl and rrdtool. I installed perl
5.10 from ports (no previous version of perl was installed) and
then installed munin-master. rrdtool was built as a dependency
with the default port knobs:

root(a)aylee /usr/ports/databases/rrdtool # make showconfig
===> The following configuration options are available for rrdtool-1.4.3:
DEJAVU=off "Use DejaVu fonts (requires X11)"
MMAP=on "Use mmap in rrd_update"
PERL_MODULE=on "Build PERL module"
PYTHON_MODULE=off "Build PYTHON bindings"
RUBY_MODULE=off "Build RUBY bindings"

I'm seeing this error from munin:

Can't locate RRDs.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.10.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.10.1/mach/usr/local/lib/perl5/site_perl/5.10.1
/usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
line 18.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
line 18.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
Compilation failed in require at /usr/local/share/munin/munin-update line 13.
BEGIN failed--compilation aborted at
/usr/local/share/munin/munin-update line 13.

RRDs.pm does exist, but I don't think it's the correct one:

root(a)aylee /root # find /usr/local/lib/perl5 -name RRDs.pm
/usr/local/lib/perl5/site_perl/5.10.1/Log/Log4perl/Appender/RRDs.pm

Using portmaster -f rrdtool to forcibly reinstall rrdtool, I get
these messages:

pkg_delete: package 'rrdtool-1.4.3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
munin-master-1.4.4
pkg_delete: file '/usr/local/lib/perl5/5.10.1/man/man3/RRDs.3.gz' doesn't exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/RRDs.so' doesn't
exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/RRDs.bs' doesn't
exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/.packlist'
doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.10.1/mach/RRDs.pm'
doesn't exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs' doesn't exist
pkg_delete: unable to completely remove directory
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

... so it appears that these files are not actually being installed -
could this be a bug in the rrdtool tarball or the port infrastructure?

Any pointers appreciated.

cheers,
Rob
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"