quality@glassfish.java.net

Re: b26, unix .sh installer: mktemp error?

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 02 Oct 2008 18:20:32 -0700

Thanks Nolan. Yes, it is clarified that V3 Prelude support Unbuntu
8.x, not 6.x.

Judy

Nolan Luu wrote:

> I filed the following bug awhile back and it has to do with Ubuntu
> 6.x. It is supposed to be fixed thus I am puzzled to see that you
> ran into it. I did not see the maketmp issue in my last try although
> I encountered with another problem and the developer told me that
> Ubuntu 6.x is not supported for the Prelude release, i.e. 8.x only.
> Judy, could you confirm this with Carla? There is another mktmp
> issue with Solaris 9. Anyway, here are the bug id's:
>
> [Issue 5465
> <https://glassfish.dev.java.net/issues/show_bug.cgi?id=5465>]
> [installation] GFv3Prelude: Unable to install on Ubuntu: mktemp:
> cannot make temp dir
> [Issue 6365
> <https://glassfish.dev.java.net/issues/show_bug.cgi?id=6365>]
> [installation] V3: Solaris 9 only: Unable to install on Solaris 9:
> Installer.sh: mktemp: not found
> [Issue 5470
> <https://glassfish.dev.java.net/issues/show_bug.cgi?id=5470>]
> [installation] GFv3Prelude: Unable to install:
> java.lang.UnsatisfiedLinkError
>
> Regards,
>
> -Nolan
>
>
>
>
> Judy Tang wrote:
>
>>Thanks Kristian for the extensive testing on different platforms. This is one
>>area community can help us a lot :-)
>>
>>Nolan our installer testing lead mentioned to me about we support certain Ubuntu
>>version, he will reply.
>>
>>Thanks Wouter too to give help here :-)
>>
>>Judy
>>
>>
>>
>>
>> Kristian Rink wrote:
>>
>>>Wouter van Reeven schrieb:
>>>
>>>
>>>>>remote_at_pvtest2:/tmp> sh ./glassfish-v3-prelude-b26-unix.sh
>>>>>
>>>>>mktemp: cannot make temp dir /tmp/install.XXXX: Invalid argument
>>>>>Unable to create temporary directory, exiting...
>>>>>
>>>>>
>>>>$ mktemp -d -t install.XXXX
>>>>/tmp/install.hMxN
>>>>
>>>>
>>>[...]
>>>
>>>
>>>>drwx------ 2 wouter wouter 4096 2008-10-02 12:11 install.hMxN/
>>>>
>>>>
>>>
>>>Hmmm, strange: On Ubuntu 6.06.1 it doesn't work:
>>>
>>>[bflow_at_pvdocsrv 13:03:57] ~> mktemp -d -t install.XXXX
>>>mktemp: cannot make temp dir /tmp/install.XXXX: Invalid argument
>>>[bflow_at_pvdocsrv 13:04:05] ~> mktemp -V
>>>mktemp version debianutils-2.15.2
>>>
>>>
>>>On 8.04.1 it does work as supposed:
>>>
>>>kr_at_n428:~$ mktemp -d -t install.XXXX
>>>/tmp/install.9255
>>>kr_at_n428:~$ mktemp -V
>>>mktemp version 1.5
>>>
>>>
>>>Seems an issue with the mktemp version in dapper; at the very least in hardy
>>>the debianutils mktemp seems to have been replaced by a "mktemp" package
>>>providing a different version. Not really a Glassfish related issue I guess,
>>>but still rendering the installer unusable on an Ubuntu distribution still
>>>in long-term support. Should something be done about this?
>>>
>>>Cheers & thanks all,
>>>Kristian
>>>
>>>
>>>
>>
>