bugGNU Octave - Bugs: bug #44782, Make rule to copy HTML images...

 
 

bug #44782: Make rule to copy HTML images exhibits race condition

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Wed 08 Apr 2015 08:31:51 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: AvinoamOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 14 Aug 2015 09:35:17 PM UTC, comment #8:

I'm pretty sure this has been fixed now. I'm going to close the report and it can be re-opened if the bug resurfaces.

Rik <rik5>
Project Administrator
Fri 24 Jul 2015 03:19:08 PM UTC, comment #7:

Probably it has been fixed, but it's hard to tell because the doc build is still in flux. I had highlighted a rule that I thought was the problem, but there was not actual definitive proof. I would say that we need to wait until after the doc build calms down and then see if one has to run make repeatedly.

Rik <rik5>
Project Administrator
Fri 24 Jul 2015 04:28:53 AM UTC, comment #6:

Has this been fixed with the reworked doc/module.mk rule:

?

Mike Miller <mtmiller>
Project Administrator
Thu 16 Apr 2015 09:38:49 PM UTC, comment #5:

I re-titled the bug to reflect the true problem which still remains. Glad that you can at least workaround it.

Rik <rik5>
Project Administrator
Thu 16 Apr 2015 09:32:45 PM UTC, comment #4:

I have added a second make, and since then I did not see such problems in compiling MXE-Octave, so thie report can be closed.

Thanks again.

Avinoam Kalma <avinoam>
Project Member
Thu 09 Apr 2015 06:53:53 PM UTC, comment #3:

Thanks for your help, I will try this.

Avinoam Kalma <avinoam>
Project Member
Wed 08 Apr 2015 09:49:36 PM UTC, comment #2:

I'm pretty sure this is a timestamp issue as well. The rule in Makefile.am that is the source of the problem is:

It could be re-worked, or for the time being what I do is run 'make' twice in case there are any timestamps that were not adjusted correctly in the first run. This doesn't happen frequently, but it can happen.

Rik <rik5>
Project Administrator
Wed 08 Apr 2015 09:09:44 PM UTC, comment #1:

I think the problem is caused by timestamps on figure files being out of order somehow in the doc directory. Since those figures are created by running Octave it fails because you are cross compiling and there is no provision in the build system for running a version of Octave other than the one that was just built (which doesn't work, because you are cross compiling).

A workaround is to clean out the doc directory, including the generated figures, before running "make dist" to create the octave-VERSION.tar.gz file.

If someone wants to work on a fix, maybe it would be possible to either play with timestamps so that the generated files all have timestamps that are newer than the source files or force the figures to be rebuilt from scratch when running the dist target for Octave.

John W. Eaton <jwe>
Project Administrator
Wed 08 Apr 2015 08:31:51 PM UTC, original submission:

When I build MXE-Octave in Linux (Ubuntu) using the
following script

I get sometimes the following error:

If I run this script again, it succeeds.
What's the reason of the failure?
Thanks.

Avinoam Kalma <avinoam>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Aug 2015 09:35:17 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Fri 24 Jul 2015 04:28:53 AM UTCmtmillerStatusNone=>Need Info
    Thu 16 Apr 2015 09:38:49 PM UTCrik5SummaryProblem in building MXE-Octave=>Make rule to copy HTML images exhibits race condition

    Back to the top


    Powered by Savane 3.1-cleanup1