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: 6638060
Votes 0
Synopsis Build failed with GNU make 3.81 (part of latest Solaris 'gmake')
Category java:build
Reported Against
Release Fixed 6-open(b03), 7(b25) (Bug ID:2156886)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 05-DEC-2007
Description
/usr/bin/mkdir -p ../../../build/solaris-i586/gensrc/java/nio
rm -f ../../../build/solaris-i586/gensrc/java/nio/BufferOverflowException.java
NAWK=/usr/bin/nawk /bin/sh genExceptions.sh ../../../src/share/classes/java/nio/exceptions ../../../build/solaris-i586/gensrc/java/nio
--> ../../../build/solaris-i586/gensrc/java/nio/BufferOverflowException.java
COPYRIGHT_YEARS=2000-2007: Command not found
COPYRIGHT_YEARS: Undefined variable
--> ../../../build/solaris-i586/gensrc/java/nio/BufferUnderflowException.java
COPYRIGHT_YEARS=2000-2007: Command not found
COPYRIGHT_YEARS: Undefined variable
...
/usr/bin/mkdir -p ../../../build/solaris-i586/gensrc/sun/nio/cs
rm -f ../../../build/solaris-i586/gensrc/sun/nio/cs/StandardCharsets.java
NAWK=/usr/bin/nawk TEMPDIR=../../../build/solaris-i586/tmp/java/java.nio/nio \
          HASHER="/java/re/jdk/1.6.0/archive/fcs/binaries/solaris-i586/bin/java  -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -jar ../../../build/solaris-i586/btjars/hasher.jar" \
          /bin/sh -e genCharsetProvider.sh ../../../src/share/classes/sun/nio/cs/standard-charsets ../../../build/solaris-i586/gensrc/sun/nio/cs
--> ../../../build/solaris-i586/gensrc/sun/nio/cs/StandardCharsets.java
COPYRIGHT_YEARS=2000: Command not found
COPYRIGHT_YEARS: Undefined variable
gmake[3]: *** [../../../build/solaris-i586/gensrc/sun/nio/cs/StandardCharsets.java] Error 1
gmake[3]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java/nio'
gmake[2]: *** [niosrc] Error 2
gmake[2]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java'
gmake: *** [all] Error 1
Posted Date : 2007-12-05 21:57:21.0
Work Around
N/A
Evaluation
It appears that GNU make 3.81 has changed the handling of the variable SHELL. The java/nio Makefiles and shell scripts seemed to depend on that old behavior. Fixed by not using the SHELL variable, using SH instead.

See GNU make 3.81 information:
http://www.cygwin.com/ml/cygwin-announce/2006-07/msg00008.html
...
* Changes made for POSIX compatibility:
   - Setting the SHELL make variable does NOT change the value of the
     SHELL environment variable given to programs invoked by make.  As
     an enhancement to POSIX, if you export the make variable SHELL then
     it will be set in the environment, just as before.
Posted Date : 2007-12-05 21:53:30.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang