[MacPorts] #25583: munin-1.4.4 munin-update should use macports perl instead of system perl.
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. ------------------------------+--------------------------------------------- Reporter: wlynch@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ------------------------------+--------------------------------------------- Hello. When I last updated macports, it began to require Log4Perl. This is not installed in the system perl, but is installed in the macports dependencies. However, munin-update uses the system perl, so it doesn't find it properly. /opt/local/lib/munin/munin-update begins with the line "#! /usr/bin/perl" It should begin with the line: "#! /opt/local/bin/perl" This seemingly breaks the package. (Atleast it did for me). -- Ticket URL: <http://trac.macports.org/ticket/25583> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. ------------------------------+--------------------------------------------- Reporter: wlynch@… | Owner: alpha@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: munin ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => alpha@… * cc: wlynch@… (removed) * port: => munin -- Ticket URL: <http://trac.macports.org/ticket/25583#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. ------------------------------+--------------------------------------------- Reporter: wlynch@… | Owner: alpha@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: munin ------------------------------+--------------------------------------------- Comment(by wlynch@…): I'm really not sure why my cc is getting removed... This bug also applies to /Island/macports/sbin/munin-node-configure -- Ticket URL: <http://trac.macports.org/ticket/25583#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. ------------------------------+--------------------------------------------- Reporter: wlynch@… | Owner: alpha@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: munin ------------------------------+--------------------------------------------- Comment(by macsforever2000@…): The reporter is automatically Cc'ed. -- Ticket URL: <http://trac.macports.org/ticket/25583#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. ------------------------------+--------------------------------------------- Reporter: wlynch@… | Owner: alpha@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: munin ------------------------------+--------------------------------------------- Comment(by btihen@…): munin-run also seems to have this problem - I was getting complaints that perl modules were not installed. # #!/usr/bin/perl -wT so I changed to (taking the lead from the note in this posting) #!/opt/local/bin/perl -wT However, even after I change the perl path to the ports path I still get the error: $ munin-run load Could not open plugin configuration directory: No such file or directory at /opt/local/lib/perl5/site_perl/5.8.9/Munin/Node/Service.pm line 81 if ($config->{sconffile}) { # only used by munin-run $config->parse_plugin_config_file($config->{sconffile}); } else { $config->process_plugin_configuration_files(); # line 81 } $config->apply_wildcards(@plugins); Can you advise me what to try next? -- Ticket URL: <http://trac.macports.org/ticket/25583#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. ------------------------------+--------------------------------------------- Reporter: wlynch@… | Owner: alpha@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: munin ------------------------------+--------------------------------------------- Comment(by billmoritz@…): Replying to [comment:7 btihen@…]:
munin-run also seems to have this problem - I was getting complaints that perl modules were not installed.
# #!/usr/bin/perl -wT
so I changed to (taking the lead from the note in this posting)
#!/opt/local/bin/perl -wT
However, even after I change the perl path to the ports path I still get the error:
$ munin-run load Could not open plugin configuration directory: No such file or directory at /opt/local/lib/perl5/site_perl/5.8.9/Munin/Node/Service.pm line 81
if ($config->{sconffile}) { # only used by munin-run $config->parse_plugin_config_file($config->{sconffile}); } else { $config->process_plugin_configuration_files(); # line 81 } $config->apply_wildcards(@plugins);
Can you advise me what to try next?
mkdir /opt/local/etc/munin/plugin-conf.d sudo -s munin-node-configure --suggest --shell | sh -- Ticket URL: <https://trac.macports.org/ticket/25583#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25583: munin-1.4.4 munin-update should use macports perl instead of system perl. -------------------------------+-------------------------------------------- Reporter: wlynch@… | Owner: alpha@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: munin | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r80019 -- Ticket URL: <https://trac.macports.org/ticket/25583#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts