On 05/11/10 09:42 PM, Dr. David Kirkby wrote:
On 05/11/10 07:56 AM, Juan Jose Garcia-Ripoll wrote:
On Tue, May 11, 2010 at 6:17 AM, Dr. David Kirkby
<david.kir...@onetel.net <mailto:david.kir...@onetel.net>> wrote:

Has the version of ECL been updated recently?


I insist that this is not a regression, it is just a misinterpretation
on our side of how mkstemp() should work (adding characters other than
letters seems stupid but it is specified as a possibility), so reverting
wouldn't help

3) A long term solution is to fix the bug in ECL.


I can produce a patch but it will take me some time.

Could you please confirm that you received these emails, because some of
my answers do not seem to permeate into your responses.

Juanjo

I got one other email from you - with a link to the bug report on
sourceforge. If there was another, then I did not see it.

I understand ECL assumes there is something special about the dot in a
filename. You have assume it is an extension, when in fact it need not
be, as POSIX does not prohibit the use of a . in a temp file.

I think a short term solution is the ecl install script is sage is
modified to remove the /tmp/ECL files once the build has finished. Of
course, that will fail if two people building ECL at the same time, but
it *may* be ok if there is only one person building it, though I'm not
sure from your description. If the issue is the name of the file, not
just that it is there, then it seems we can't even assume that. But I
think deleting /tmp/ECL* is worthwhile. Doing it via cron has allowed
Minh to build ECL, so hopefully it will work in most cases. I think you
are implying we can't guarantee this, but working

I've created

http://trac.sagemath.org/sage_trac/ticket/8951

I'll create a patch for that.

It should be quite easy.

Dave


Here's an updated package, which removes /tmp/ECL* after 'ecl' is made.

http://boxen.math.washington.edu/home/kirkby/Solaris-fixes/ecl-10.2.1.p0.spkg

Hence

http://trac.sagemath.org/sage_trac/ticket/8951

is ready for review.

I've removed the cron entry which deletes these files every two hours.

What I find a bit odd is that I don't see these files generated at all on my own SPARC (Sun Blade 2000). It is running a very similar OS to 't2' - just one release later.

Anyway, hopefully this fix will work in the short term until a more long-term solution is found.

Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to