[MacPorts] #36787: commons-fileupload losing JAVA_HOME on Mountain Lion
#36787: commons-fileupload losing JAVA_HOME on Mountain Lion ------------------------+-------------------------------- Reporter: vikingjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ------------------------+-------------------------------- Java moved in Mountain Lion; this appears to be the same trouble as in #35786 and #35811 . The interesting part of the log file: {{{ :info:build Error: JAVA_HOME is not defined correctly. :info:build We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/java :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_java_commons-fileupload/commons-fileupload/work /commons-fileupload-1.2.2-src" && ant dist -Dfinal.name=commons-fileupload -Dnoget=true }}} -- Ticket URL: <https://trac.macports.org/ticket/36787> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36787: commons-fileupload losing JAVA_HOME on Mountain Lion -------------------------+-------------------------------- Reporter: vikingjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by vikingjs@…): I apologize for not setting the port in the ticket; hopefully the right people will see it. Changing {{{ build.env CLASSPATH=${prefix}/share/java/servlet23-api.jar:${prefix}/share/java/junit.jar \ HOME=${workpath} }}} to {{{ build.env-append CLASSPATH=${prefix}/share/java/servlet23-api.jar:${prefix}/share/java/junit.jar \ HOME=${workpath} }}} fixed the problem. If I have time this evening I'll go back and read over the instructions for how to create a proper patch file. -- Ticket URL: <https://trac.macports.org/ticket/36787#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36787: commons-fileupload losing JAVA_HOME on Mountain Lion ---------------------------------+-------------------------------- Reporter: vikingjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: commons-fileupload | ---------------------------------+-------------------------------- Changes (by macsforever2000@…): * port: => commons-fileupload -- Ticket URL: <https://trac.macports.org/ticket/36787#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36787: commons-fileupload losing JAVA_HOME on Mountain Lion ---------------------------------+-------------------------------- Reporter: vikingjs@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: commons-fileupload | ---------------------------------+-------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r99621 -- Ticket URL: <https://trac.macports.org/ticket/36787#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts