[MacPorts] #34978: munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC)
#34978: munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC) ---------------------------------+------------------------------------------ Reporter: matt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: perl5 rrdtool munin | Port: ---------------------------------+------------------------------------------ Hi, after upgrading perl5 from 5.12.3 to 5.12.4 I get the following when I try to run munin-cron: {{{ Can't locate RRDs.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.12.4 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.4 /opt/local/lib/perl5/5.12.4 /darwin-thread-multi-2level /opt/local/lib/perl5/5.12.4 /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.12.4/Munin/Master/Utils.pm line 22. }}} It looks like rrdtool installs RRDs.pm under /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-multi-2level/RRDs.pm. However after installing 5.12.4 it looks like @INC is changed to include the darwin-thread-multi-2level directory rather than darwin-multi-2level -- Ticket URL: <https://trac.macports.org/ticket/34978> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34978: munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC) ---------------------------------+------------------------------------------ Reporter: matt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: perl5 rrdtool munin | Port: ---------------------------------+------------------------------------------ Comment(by ryandesign@…): The same error was reported against nfsen in #34977. -- Ticket URL: <https://trac.macports.org/ticket/34978#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34978: munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC) ---------------------------------+------------------------------------------ Reporter: matt@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: perl5 rrdtool munin Port: | ---------------------------------+------------------------------------------ Changes (by dports@…): * status: new => closed * cc: dports@… (added) * resolution: => fixed Comment: Sounds like rrdtool needs to be rebuilt to install its perl module in the new correct location. Bumped its revision in r94733. (Please reopen if it still fails after a `port selfupdate` and `port upgrade outdated`; I didn't test munin very carefully.) -- Ticket URL: <https://trac.macports.org/ticket/34978#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34978: munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC) ---------------------------------+------------------------------------------ Reporter: matt@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: perl5 rrdtool munin Port: | ---------------------------------+------------------------------------------ Comment(by matt@…): Replying to [comment:2 dports@…]:
Sounds like rrdtool needs to be rebuilt to install its perl module in the new correct location. Bumped its revision in r94733.
(Please reopen if it still fails after a `port selfupdate` and `port upgrade outdated`; I didn't test munin very carefully.)
Thanks, everything looks good to me after upgrading rrdtool to 1.4.7_2. -- Ticket URL: <https://trac.macports.org/ticket/34978#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34978: munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC) ---------------------------------+------------------------------------------ Reporter: matt@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: rrdtool | ---------------------------------+------------------------------------------ Changes (by jmr@…): * keywords: perl5 rrdtool munin => * port: => rrdtool -- Ticket URL: <https://trac.macports.org/ticket/34978#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts