[MacPorts] #41077: mod_jk fails with "source and destination buffer overlap" on Maverick

MacPorts noreply at macports.org
Fri Nov 8 12:07:37 PST 2013


#41077: mod_jk fails with "source and destination buffer overlap" on Maverick
-----------------------+--------------------------------
  Reporter:  girgen@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:            |   Keywords:  mavericks haspatch
      Port:  mod_jk    |
-----------------------+--------------------------------

Comment (by larryv@…):

 Replying to [comment:6 raimue@…]:
 > The statement
 > {{{
 > set javahome [exec /usr/libexec/java_home]
 > }}}
 > looks wrong to me. What if there is no Java SDK installed on the
 > system? Won't this lead to an error here? Could it be a shim that pops
 > up the automatic installation dialog?

 In that case,
 [https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/java_home.1.html
 this command] will just print some default path, which is probably not the
 behavior we want. To error out if no JDK is installed, we should use:
 {{{
 /usr/libexec/java_home --failfast
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41077#comment:8>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list