-
Bug
-
Resolution: Duplicate
-
P4
-
6
-
generic
-
solaris
Building the 'images' target in the j2se workspace on Solaris fails - the following fragment demonstrates the failure:
cd $WS/make
gnumake clobber; gnumake all; gnumake images
:
:
rm -f -r /export/Users/alanb/ws/service_sdk_baseline/build/solaris-sparc/j2re-image
/usr/bin/mkdir -p /export/Users/alanb/ws/service_sdk_baseline/build/solaris-sparc/j2re-image
cd ./../build/solaris-sparc; /usr/bin/find bin -depth | /usr/bin/cpio -pdum /export/Users/alanb/ws/service_sdk_baseline/build/solaris-sparc/j2re-image
cpio: cannot open tmpfile ./../build/solaris-sparc/tmp/cpiowFayjQ, errno 2, No such file or directory
1 errors
gnumake: *** [image-jre] Error 1
Discussed with Kelly:
-------- Original Message --------
Subject: Re: images build on solaris 8?
Date: Fri, 25 Mar 2005 08:47:17 -0800
It's the TMPDIR issue, please file a bug.
The basic problem is this:
cd ./../build/solaris-sparc; /usr/bin/find bin -depth | /usr/bin/cpio ...
But TMPDIR was set relative to the old directory. I suspect something
has changed to cause cpio to use TMPDIR if it is set.
Try doing the gnumake TOPDIR=`workspace name`
trick, I bet it goes away. The control builds set TOPDIR, which triggers
TMPDIR to be a fullpath.
Yet another nail in 'the use of TMPDIR in makefiles' coffin. :^)
-kto
###@###.### 2005-03-25 20:31:05 GMT
- duplicates
-
JDK-6217959 Use of the spelling TMPDIR for an internal make macro name causes problems with MKS 8.7
-
- Resolved
-