Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6644659
Votes 0
Synopsis Error in default target of make/javax/crypto in OpenJDK build
Category jce:build
Reported Against
Release Fixed 7(b26), 6-open(b10) (Bug ID:2161620)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 21-DEC-2007
Description
When building with OPENJDK=true, running 'gnumake' in make/javax/crypto causes an error:

===
>gnumake
>>>Making images @ Thu Dec 20 18:32:47 PST 2007 ...
gnumake: *** No rule to make target `sanity-images', needed by `images'.  Stop.
===

That seems to be because in some of the #ifdef branches the default target is not defined correctly.

This problem does not affect the ability to do a full build of the JDK in OpenJDK mode because when the make/javax Makefile enters the crypto subdirectory it executes the 'all' and 'build' targets and does not rely on the default target.
Posted Date : 2007-12-21 02:38:13.0
Work Around
Run 'gnumake all' instead.
Evaluation
Shouldn't be including Release.gmk until after the first rule.  This is pulled in from Defs-jce.gmk, so move the "include Defs-jce.gmk" to after the "all" target, and things work fine.
Posted Date : 2008-01-05 02:44:35.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang