Opened 7 years ago

Last modified 4 years ago

#30829 new defect

munin installation fails on Lion with no JRE installed

Reported by: netllama@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: munin

Description (last modified by mf2k (Frank Schima))

Attempts to install munin with "port install munin" consistently fails with ports-2.0.1. See the attached install log

##########
:info:destroot Installing build/plugins/node.d.darwin/load
:info:destroot mv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_re
lease_tarballs_ports_net_munin/munin/work/destroot/opt/local/lib/munin/plugins/*.adv /opt/local/var/m
acports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_munin/mun
in/work/destroot/opt/local/lib/munin
:info:destroot mv: rename /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macport
s.org_release_tarballs_ports_net_munin/munin/work/destroot/opt/local/lib/munin/plugins/*.adv to /opt/
local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_ne
t_munin/munin/work/destroot/opt/local/lib/munin/*.adv: No such file or directory
:info:destroot make: [install-plugins-prime] Error 1 (ignored)
:info:destroot ./install-sh -m 0644 build/plugins/plugins.history /opt/local/var/macports/build/_opt_
local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_munin/munin/work/destroot/op
t/local/lib/munin/plugins/
:info:destroot ./install-sh -m 0644 build/plugins/plugin.sh /opt/local/var/macports/build/_opt_local_
var_macports_sources_rsync.macports.org_release_tarballs_ports_net_munin/munin/work/destroot/opt/loca
l/lib/munin/plugins/
:info:destroot cd plugins/javalib && javac -g -source 1.5 -target 1.5 ./org/munin/plugin/jmx/BasicMBe
anConnection.java
:info:destroot No Java runtime present, requesting install.
:info:destroot make: *** [plugins/javalib//org/munin/plugin/jmx/BasicMBeanConnection.class] Error 1
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources
_rsync.macports.org_release_tarballs_ports_net_munin/munin/work/munin-1.4.4'
##########

Attachments (1)

main.log (129.1 KB) - added by netllama@… 7 years ago.
munin install log (with failure)

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by netllama@…

Attachment: main.log added

munin install log (with failure)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: netllama@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to alpha@…
Port: munin added

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Summary: munin installation failsmunin installation fails on Lion with no JRE installed

Looks like you're on Lion and don't have the JRE installed. (It's theoretically installed on demand via a pop-up window.)

comment:3 Changed 7 years ago by netllama@…

I was running the installation over ssh, so if there was a popup, I definitely never saw it. It looks like I've got the JRE installed though:

$ which javac
/usr/bin/javac
$ which java
/usr/bin/java
$ ls -l /usr/bin/java*
lrwxr-xr-x  1 root  wheel     74 Jul 30 16:08 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
lrwxr-xr-x  1 root  wheel     75 Jul 30 16:08 /usr/bin/javac -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac
-rwxr-xr-x  1 root  wheel  47456 May 16 01:23 /usr/bin/javaconfig
lrwxr-xr-x  1 root  wheel     77 Jul 30 16:08 /usr/bin/javadoc -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javadoc
lrwxr-xr-x  1 root  wheel     75 Jul 30 16:08 /usr/bin/javah -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javah
lrwxr-xr-x  1 root  wheel     75 Jul 30 16:08 /usr/bin/javap -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javap
-rwxr-xr-x  1 root  wheel  69488 May 16 01:23 /usr/bin/javatool
lrwxr-xr-x  1 root  wheel     76 Jul 30 16:08 /usr/bin/javaws -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws
$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac
-rwxr-xr-x  1 root  wheel  54176 Jul 30 16:08 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac

Is that not what I need?

comment:4 Changed 7 years ago by jmroot (Joshua Root)

The commands exist before the JRE is installed; running them just triggers the installer pop-up. Check if they actually work.

comment:5 Changed 7 years ago by netllama@…

Sorry, I'm not understanding what you're asking me to check.

comment:6 Changed 7 years ago by netllama@…

I'm still in need of assistance here. If you need me to run something specific or check something, please detail what that is, and I'll be happy to try.

thanks

comment:7 Changed 4 years ago by mf2k (Frank Schima)

Owner: changed from alpha@… to macports-tickets@…

This port is no longer maintained.

Note: See TracTickets for help on using tickets.