bugGNU Octave - Bugs: bug #47817, mxe-octave: error while building...

 
 

bug #47817: mxe-octave: error while building documentation of dev Octave

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sun 01 May 2016 05:53:33 PM UTC  
 
Category: Configuration and Build SystemSeverity: 4 - Important
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: philipnienhuisOpen/Closed: Closed
Release: devOperating System: Microsoft Windows

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)

Sat 02 Jul 2016 04:15:13 PM UTC, comment #7:

I tried yesterday as well with JOBS=4 and it worked. Closing report.

Rik <rik5>
Project Administrator
Sat 02 Jul 2016 03:44:27 PM UTC, comment #6:

As of yesterday I've tried building without --disable-docs and with JOBS= ( > 1) and it works fine now. Thanks for fixing.

So I think this bug report can be closed. Or do we want confirmation from others?

Philip Nienhuis <philipnienhuis>
Project Member
Sat 02 Jul 2016 01:58:44 PM UTC, comment #5:

Is this still a problem? I modified the rule in scripts/module.mk file to use the .in file instead of the generated .m file.

John W. Eaton <jwe>
Project Administrator
Sat 14 May 2016 12:32:08 AM UTC, comment #4:

I was able to successfully build by reducing the number of JOBS to 1 in settings.mk for MXE. There may be a race condition during the build.

Rik <rik5>
Project Administrator
Fri 13 May 2016 07:51:13 PM UTC, comment #3:

Since the reason for generating the file doesn't have anything to do with the docstring, it should be fine to extract the docstring from the .in file instead of the generated .m file. I thought I made that change.

We already do the same kind of thing for some other generated files like the lexer and parser sources.

John W. Eaton <jwe>
Project Administrator
Fri 13 May 2016 04:12:51 PM UTC, comment #2:

The problem is that DOCSTRINGS contains documentation for the file gnuplot_binary.m while DOCSTRINGS-t does not. This, in turn, is caused by the fact that the source directory only contains gnuplot_binary.in. A makefile action turns the .in file into a .m file but the location of the file is now in the build directory.

It would seem that this rule in scripts/module.mk needs to be modified.

The variable GEN_FCN_FILES currently expands to the single file "scripts/plot/util/gnuplot_binary.m". It needs to expand to "$(builddir)/scripts/plot/util/gnuplot_binary.m". Or the mkdoc.pl script needs to be modified to take srcdir and builddir arguments.

At any rate, these three changesets look like they might be the proximate cause of this problem.

I'm adding Mike and jwe to the CC list for this report.

Rik <rik5>
Project Administrator
Fri 13 May 2016 03:13:54 AM UTC, comment #1:

Confirmed. Before I get the warning about scripts/DOCSTRINGS-t I have this message:

Rik <rik5>
Project Administrator
Sun 01 May 2016 05:53:33 PM UTC, original submission:

At the moment cross-building dev-Octave in mxe-octave fails during building documentation:

Building with --disable-docs works fine.

Philip Nienhuis <philipnienhuis>
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 jwe (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by rik5
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by philipnienhuis (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Jul 2016 04:15:13 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 01 Jul 2016 05:23:55 PM UTCrik5Severity3 - Normal=>4 - Important
    Fri 13 May 2016 04:12:51 PM UTCrik5Carbon-Copy-=>Added mtmiller
      Carbon-Copy-=>Added jwe
    Fri 13 May 2016 03:14:09 AM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1