[MacPorts] #53595: hadoop fails to install before and after selfupdate to 2.40

MacPorts noreply at macports.org
Sat Feb 18 03:00:57 UTC 2017


#53595: hadoop fails to install before and after selfupdate to 2.40
------------------------------+-------------------
  Reporter:  TheLastLovemark  |      Owner:
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.4.0
Resolution:                   |   Keywords:
      Port:  hadoop           |
------------------------------+-------------------

Comment (by kencu):

 Java 1.6 is hard-coded into the port file
 {{{
 cat `port file hadoop`
 }}}

 and, in fact, seems to be required:

 {{{
 set java_home
 /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

 pre-fetch {
     # This port works on Mac OS X 10.6 or later, because 'sudo option -E'
     # is not available on Mac OS X 10.5 or earlier. See #34665.
     if {${os.platform} eq "darwin" && ${os.major} <= 9} {
         ui_error "This port works on Mac OS X 10.6 (Snow Leopard) or
 later"
         return -code error "Mac OS X 10.6 (Snow Leopard) or later is
 required"
     }
     if {![file exists ${java_home}]} {
         ui_error "Java 1.6 is required, but not located at ${java_home}"
         return -code error "Java 1.6 missing"
     }
 }
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53595#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list