Problems with building jmx for OpenJDK.

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Thu Mar 19 18:43:20 UTC 2009


I'm trying to build the repositories in the open "tl" forest. (i.e. no 
closed repositories.)

The build runs almost all the way to the end, but fails to build ct.sym 
because some class files are missing.
> 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
It's true, a lot of files in jdk/src/share/classes/com/sun/jmx/snmp did 
not get compiled.

Looking further back in the make log, the only references to "jmx/snmp" 
are when importing some
binary plugs.  In addition, it looks like SUBDIRS is not set when 
processing the jmx directory, so it
never gets into the snmp directory as it should.

Looking at the jmk Makefile, there's this little bit of logic:
> # When building the openjdk, build snmp only if importing binary plugs,
> ifdef OPENJDK
>   ifeq ($(IMPORT_BINARY_PLUGS),true)
>     SUBDIRS = snmp
>   endif
> else
>   SUBDIRS = snmp
> endif
When I invoke make, I'm not setting OPENJDK or IMPORT_BINARY_PLUGS,
but I don't have closed directories (which should implicitly set 
OPENJDK, right?)
and I have specified ALT_BINARY_PLUGS_PATH which I assume causes
IMPORT_BINARY_PLUGS to be set. I am certainly seeing binary plugs for
some snmp files being imported. So, I would think that together this 
would be
enough to ensure SUBDIRS is set to snmp, right?

Is anyone aware of recent changes that would cause this problematic 
behavior?

-- Jon




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20090319/d6beeacb/attachment.html>


More information about the build-dev mailing list