From owner-freebsd-ports@FreeBSD.ORG Fri Jul 16 01:15:23 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2EBA1065674 for ; Fri, 16 Jul 2010 01:15:23 +0000 (UTC) (envelope-from rbyrnes@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD208FC1B for ; Fri, 16 Jul 2010 01:15:23 +0000 (UTC) Received: by eyh6 with SMTP id 6so374804eyh.13 for ; Thu, 15 Jul 2010 18:15:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=AFfPONcOdMH06/AVE41VqJqGZQUk5I32hU43HnvMgC8=; b=Q7TbBdqW+zrebM1FzitUqIjwsifkC7WdpRjRnT/NRCUCAXwFSoOA5twOORNGxVVgDh KUzSoVgUPaMLQQd5MYlC9N+i0dX7x9gnBZgt7+eMpb3A5x5nBTceuSL9MPcu2O25Tot+ diaSvukO9lq3Wh6I0y0J+Q8WcSyqnIFG3airE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=K4MJs6KjRtTevbTZpjJ5lbWZDmeV6A6PNixGEVFK8lOrlqeLaDshuS3w5DUASPO3vF klB4rTG3KNNecMLv7HWNO0tvaZ5jj4tPmSTpyjU43wVwKgAGdV1De9HoxirT9yznDqEU 1YH2N/PU1L69ot9G91sdeRiKAW0WiiL1h6I+s= Received: by 10.213.17.7 with SMTP id q7mr440907eba.23.1279241186438; Thu, 15 Jul 2010 17:46:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.37.73 with HTTP; Thu, 15 Jul 2010 17:46:06 -0700 (PDT) From: Rob Byrnes Date: Fri, 16 Jul 2010 10:46:06 +1000 Message-ID: To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: perl 5.10 and rrdtool,1.4.3 not playing nice X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2010 01:15:24 -0000 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@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@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