From nobody@FreeBSD.org  Thu Jun 24 03:36:22 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5041F1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jun 2010 03:36:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3F9058FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jun 2010 03:36:22 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5O3aM6G089304
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jun 2010 03:36:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o5O3aLc6089303;
	Thu, 24 Jun 2010 03:36:21 GMT
	(envelope-from nobody)
Message-Id: <201006240336.o5O3aLc6089303@www.freebsd.org>
Date: Thu, 24 Jun 2010 03:36:21 GMT
From: Rob B <rbyrnes@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysutils/munin-master installs databases/rrdtool twice
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         148100
>Category:       ports
>Synopsis:       sysutils/munin-master installs databases/rrdtool twice
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 24 03:40:02 UTC 2010
>Closed-Date:    Sat Jun 26 13:00:51 UTC 2010
>Last-Modified:  Sat Jun 26 13:00:51 UTC 2010
>Originator:     Rob B
>Release:        8.1-PRERELEASE
>Organization:
>Environment:
FreeBSD riff.number6 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Sat Jun 19 20:15:38 EST 2010     root@riff.number6:/usr/obj/usr/src/sys/RIFF  i386
>Description:
I have munin-master installed, but due to some errors reported when running, want to rebuild all munin-* ports and update the ports that munin-* depends on.

All dependencies are current, and the ports tree is up to date as at 11:00+10H 24/6/2010

loop@riff ~ % pkg_info | grep "munin-*"
munin-common-1.4.4  Common components between a munin node and server
munin-master-1.4.4  Collector part of Munin
munin-node-1.4.4    Node-specific part of Munin

loop@riff ~ % pkg_info | grep rrdtool  
rrdtool-1.4.3       Round Robin Database Tools

loop@riff ~ % sudo portmaster -i munin-master

===>>> Currently installed version: munin-master-1.4.4
===>>> Port directory: /usr/ports/sysutils/munin-master

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for sysutils/munin-master in background
===>>> Gathering dependency list for sysutils/munin-master from ports
===>>> Starting recursive 'make config' check
===>>> Dependency check complete for sysutils/munin-master
===>  Cleaning for munin-master-1.4.4

===>  License check disabled, port has not defined LICENSE
===>  Extracting for munin-master-1.4.4
=> MD5 Checksum OK for munin-1.4.4.tar.gz.
=> SHA256 Checksum OK for munin-1.4.4.tar.gz.
===>   munin-master-1.4.4 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Patching for munin-master-1.4.4
===>   munin-master-1.4.4 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Applying FreeBSD patches for munin-master-1.4.4
===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/Module/Build.pm - found
===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/Munin/Common/Defaults.pm - found
===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/mach/Digest/MD5.pm - found
===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/SSLeay.pm - found
===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/mach/RRDs.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.10.1/mach/RRDs.pm in /usr/ports/databases/rrdtool
===>  Installing for rrdtool-1.4.3
===>   rrdtool-1.4.3 depends on file: /usr/local/bin/python2.6 - found
===>   rrdtool-1.4.3 depends on file: /usr/local/bin/perl5.10.1 - found
===>   rrdtool-1.4.3 depends on shared library: freetype.9 - found
===>   rrdtool-1.4.3 depends on shared library: cairo.2 - found
===>   rrdtool-1.4.3 depends on shared library: png.6 - found
===>   rrdtool-1.4.3 depends on shared library: xml2.5 - found
===>   rrdtool-1.4.3 depends on shared library: pangocairo-1.0.0 - found
===>   Generating temporary packing list
===>  Checking if databases/rrdtool already installed
===>   rrdtool-1.4.3 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of databases/rrdtool
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/sysutils/munin-master.

===>>> make failed for sysutils/munin-master
===>>> Aborting update

===>>>  complete
>How-To-Repeat:
Reinstall munin-master using portmaster
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->des 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 24 03:40:12 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148100 

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: freebsd-gnats-submit@freebsd.org 
Cc:  
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool twice
Date: Thu, 24 Jun 2010 10:28:32 +0200

 Have you checked that the file munin-master is looking for is present on
 your system?
 
 Have you recently upgraded from Perl 5.8 to Perl 5.10?  Did you
 reinstall rrdtool afterwards?
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no

From: Lupe Christoph <lupe@lupe-christoph.de>
To: Rob B <rbyrnes@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool
 twice
Date: Thu, 24 Jun 2010 10:39:13 +0200

 A FreeBSD port does not install its prerequisite ports, it just
 specifies dependencies. You can install them with "make depends", which
 is how a "make install" installs them:
 
 Without rrdtool installed:
 
 ===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/RRDs.pm - not found
 ===>    Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/mach/RRDs.pm in /usr/ports/databases/rrdtool
 ===>  Vulnerability check disabled, database not found
 ===>  License check disabled, port has not defined LICENSE
 ===>  Found saved configuration for rrdtool-1.3.9
 ===>  Extracting for rrdtool-1.4.3
 => MD5 Checksum OK for rrdtool-1.4.3.tar.gz.
 => SHA256 Checksum OK for rrdtool-1.4.3.tar.gz.
 ===>   rrdtool-1.4.3 depends on file: /usr/local/bin/perl5.8.9 - found
 ... much output from the rrdtool install ...
 ===>   Returning to build of munin-master-1.4.4
 ===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/Storable.pm - found
 
 With rrdtool installed:
 
 ===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/RRDs.pm - found
 ===>   munin-master-1.4.4 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/Storable.pm - found
 
 If what you have is a bug of the munin-master port, you will have to
 file PRs for all ports with dependencies, I fear...
 
 Lupe Christoph
 -- 
 | It is a well-knon fact in any organisation that, if you want a job     |
 | done, you should give it to someone who is already very busy.          |
 et Terry Pratchett, "Unseen Academicals"                                  |

From: Rob Byrnes <rbyrnes@gmail.com>
To: bug-followup@freebsd.org, des@des.no
Cc:  
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool 
	twice
Date: Fri, 25 Jun 2010 14:20:08 +1000

 For some reason, I did not receive the email from Dag-Erling:
 
 > Have you checked that the file munin-master is looking for is present on
 >  your system?
 >
 >  Have you recently upgraded from Perl 5.8 to Perl 5.10? Did you
 >  reinstall rrdtool afterwards?
 >
 >  DES
 
 Perl was upgraded some time ago, and I'm pretty sure rrdtool was
 rebuilt after that.
 
 cheers,
 Rob

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: Rob Byrnes <rbyrnes@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool  twice
Date: Fri, 25 Jun 2010 08:38:34 +0200

 Rob Byrnes <rbyrnes@gmail.com> writes:
 > "Dag-Erling Sm=C3=B8rgrav" <des@des.no> writes:
 > > Have you checked that the file munin-master is looking for is
 > > present on your system?  Have you recently upgraded from Perl 5.8 to
 > > Perl 5.10? Did you reinstall rrdtool afterwards?
 > Perl was upgraded some time ago, and I'm pretty sure rrdtool was
 > rebuilt after that.
 
 You did not answer my first question.  I assume the answer is no, in
 which case, either rrdtool was not rebuilt, or it was rebuilt with
 PERL_MODULE=3DOFF.  Either way, this is not a Munin issue.
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no

From: Rob Byrnes <rbyrnes@gmail.com>
To: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc: bug-followup@freebsd.org
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool 
	twice
Date: Fri, 25 Jun 2010 16:49:58 +1000

 2010/6/25 Dag-Erling Sm=F8rgrav <des@des.no>:
 > Rob Byrnes <rbyrnes@gmail.com> writes:
 >> "Dag-Erling Sm=F8rgrav" <des@des.no> writes:
 >> > Have you checked that the file munin-master is looking for is
 >> > present on your system? =A0Have you recently upgraded from Perl 5.8 to
 >> > Perl 5.10? Did you reinstall rrdtool afterwards?
 >> Perl was upgraded some time ago, and I'm pretty sure rrdtool was
 >> rebuilt after that.
 >
 > You did not answer my first question. =A0I assume the answer is no, in
 > which case, either rrdtool was not rebuilt, or it was rebuilt with
 > PERL_MODULE=3DOFF. =A0Either way, this is not a Munin issue.
 
 To answer your first question, that file (RRDs.pm) does not exist, and
 I can't see why (RRDtool? perl?).
 
 I also tried installing munin-master on a virtual machine that was
 running perl 5.8.  I followed the instructions in UPDATING to upgrade
 perl to 5.10 and as part of "portmaster -r perl-"  rrdtool was
 installed a second time, but I noted there was no usual deinstall
 first.
 
 I've rolled back the VM snapshot to try again and grab the output in
 script(1) for better info.
 
 cheers,
 Rob

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: Rob Byrnes <rbyrnes@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool  twice
Date: Fri, 25 Jun 2010 11:43:34 +0200

 Rob Byrnes <rbyrnes@gmail.com> writes:
 > To answer your first question, that file (RRDs.pm) does not exist, and
 > I can't see why (RRDtool? perl?).
 
 RRDs.pm is part of rrdtool, and Munin needs it.  If it's not there, you
 installed rrdtool with WITHOUT_PERL_MODULE defined.
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no

From: Rob Byrnes <rbyrnes@gmail.com>
To: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc: bug-followup@freebsd.org
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool 
	twice
Date: Sat, 26 Jun 2010 22:35:26 +1000

 2010/6/25 Dag-Erling Sm=F8rgrav <des@des.no>:
 > Rob Byrnes <rbyrnes@gmail.com> writes:
 >> To answer your first question, that file (RRDs.pm) does not exist, and
 >> I can't see why (RRDtool? perl?).
 >
 > RRDs.pm is part of rrdtool, and Munin needs it. =A0If it's not there, you
 > installed rrdtool with WITHOUT_PERL_MODULE defined.
 >
 > DES
 > --
 > Dag-Erling Sm=F8rgrav - des@des.no
 >
 
 this is certainly not the case:
 
  root@riff /usr/ports/databases/rrdtool # make showconfig
 =3D=3D=3D> The following configuration options are available for rrdtool-1.=
 4.3:
      DEJAVU=3Doff "Use DejaVu fonts (requires X11)"
      MMAP=3Don "Use mmap in rrd_update"
      PERL_MODULE=3Don "Build PERL module"
      PYTHON_MODULE=3Don "Build PYTHON bindings"
      RUBY_MODULE=3Doff "Build RUBY bindings"
 =3D=3D=3D> Use 'make config' to modify these settings
 
 Rob

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: Rob Byrnes <rbyrnes@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/148100: sysutils/munin-master installs databases/rrdtool  twice
Date: Sat, 26 Jun 2010 14:53:50 +0200

 Rob Byrnes <rbyrnes@gmail.com> writes:
 > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
 > > RRDs.pm is part of rrdtool, and Munin needs it. =C2=A0If it's not there,
 > > you installed rrdtool with WITHOUT_PERL_MODULE defined.
 > this is certainly not the case:
 
 Allright.  I'm going to type this again extra slow: Munin needs RRDs.pm,
 which is a part of rrdtool.  If that file is not present on your system,
 there is something wrong with your rrdtool installation.  There is
 nothing Munin (nor I) can do about this.
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Sat Jun 26 13:00:50 UTC 2010 
State-Changed-Why:  
Pilot error 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148100 
>Unformatted:
