[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"

MacPorts noreply at macports.org
Tue Nov 2 11:13:16 PDT 2010


#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
 Reporter:  dmz@…                   |       Owner:  landonf@…           
     Type:  defect                  |      Status:  assigned            
 Priority:  Normal                  |   Milestone:                      
Component:  ports                   |     Version:  1.8.0               
 Keywords:                          |        Port:  openjdk6            
------------------------------------+---------------------------------------

Comment(by johnsonlaucn@…):

 Replying to [comment:29 henri.gomez@…]:
 > Got this error while trying to build with a local Ports repo
 >
 >
 > {{{
 > -jaxp_src-url-bundle:
 >      [echo] Downloading from
 https://jaxp.dev.java.net/files/documents/913/150648/jdk6-jaxp-b20.zip
 >       [get] Getting:
 https://jaxp.dev.java.net/files/documents/913/150648/jdk6-jaxp-b20.zip
 >       [get] To:
 /opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/build
 /bsd-x86_64/jaxp/drop/bundles/jdk6-jaxp-b20.zip.temp
 >       [get] Error getting
 https://jaxp.dev.java.net/files/documents/913/150648/jdk6-jaxp-b20.zip to
 /opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/build
 /bsd-x86_64/jaxp/drop/bundles/jdk6-jaxp-b20.zip.temp
 > }}}
 >
 >

 The bootstrap JDK in macports didn't come with a cacerts file containing
 java.net.[[BR]]
 Lack of the right cacerts file may lead to a fail build because OpenJDK's
 makefile uses Apache Ant to do the secured https download jobs.[[BR]]
 Unfortunetely, ALT_CACERTS_FILE didn't seem to help. I can't find another
 alternative way to solve this.[[BR]]
 That's why I ended up to change the openjdk6_bootstrap's Portfile to copy
 the system's cacerts
 (/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts)
 after destroot files are extracted.[[BR]]
 Simply add a symbol link, making sure that the bootstrap JDK's cacerts
 (usually /opt/local/share/java/openjdk_bootstrap/jre/lib/security/cacerts)
 linked to the system's cacerts may solve this, or you can do a complete
 upgrade of openjdk6_bootstrap.

-- 
Ticket URL: <https://trac.macports.org/ticket/20956#comment:32>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list