OpenJDK 7: mysterious build problem with binary plugs
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Tue Mar 31 12:43:59 UTC 2009
Andrew,
See this response sent by Tim on March 26.
-- Jon
> Hi Neale:
>> I’m trying to build the JDK for the first time. I grabbed the
>> sources from the mercurial repository and followed the FAQ to
>> perform the build. It builds a heap of stuff before it dies with
>> the following:
>> error: com.sun.jmx.snmp.SnmpValue: class file for
>> com.sun.jmx.snmp.SnmpValue not found
>> error: class file for com.sun.jmx.snmp.SnmpValue not found
>> The source code for the above class is there but it doesn’t appear
>> to be being compiled. Is this a known problem or a newbie mistake
>> easily fixed?
>
> This is bug-id 6819847 "build is broken for OpenJDK with plugs"
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6819847
>
> the work around is to define
> IMPORT_BINARY_PLUGS=true
>
> This was an unintended consequence of the fix for
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6661448
>
> Hope this helps-
>
> Tim Bell
On Mar 31, 2009, at 2:50 AM, Andrew Haley wrote:
> This is with jdk-7-ea-plug-b52-linux-x64-26_mar_2009.jar:
>
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java -Xmx896m -
> Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m "-Xbootclasspath/p:/
> local/openjdk7/jdk7/build/linux-amd64/langtools/dist/bootstrap/lib/
> javac.jar" -jar /local/openjdk7/jdk7/build/linux-amd64/langtools/
> dist/bootstrap/lib/javac.jar -source 1.5 -target 5 -encoding ascii
> "-Xbootclasspath:/local/openjdk7/jdk7/build/linux-amd64/classes" -
> XDprocess.packages -proc:only \
> -processor com.sun.tools.javac.sym.CreateSymbols \
> -Acom.sun.tools.javac.sym.Jar=/local/openjdk7/jdk7/build/
> linux-amd64/tmp/rt-orig.jar \
> -Acom.sun.tools.javac.sym.Dest=/local/openjdk7/jdk7/build/
> linux-amd64/symbols/META-INF/sym/rt.jar \
> java.applet java.awt java.awt.color java.awt.datatransfer
> java.awt.dnd java.awt.event java.awt.font java.awt.geom java.awt.im
> java.awt.im.spi java.awt.image java.awt.image.renderable
> java.awt.print ...
> warning: package com.sun.java.swing.plaf does not exist
> Using boot class path = [/local/openjdk7/jdk7/build/linux-amd64/tmp/
> rt-orig.jar, ...
> error: com.sun.jmx.snmp.SnmpValue: class file for
> com.sun.jmx.snmp.SnmpValue not found
> error: class file for com.sun.jmx.snmp.SnmpValue not found
> 1 error
> make[2]: *** [initial-image-jdk] Error 1
> make[2]: Leaving directory `/local/openjdk7/jdk7/jdk/make'
> make[1]: *** [jdk-build] Error 2
> make[1]: Leaving directory `/local/openjdk7/jdk7'
>
> And indeed, com.sun.jmx.snmp.SnmpValue is not present in
> openjdk-binary-plugs/jre/lib/rt-closed.jar.
>
> Am I the only one to have seen this?
>
> Andrew.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20090331/87b3bf59/attachment.htm>
More information about the build-dev
mailing list