bugGNU Octave - Bugs: bug #53484, Build fail of stable branch octave...


bug #53484: Build fail of stable branch octave for windows on mxe

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Tue 27 Mar 2018 01:44:03 AM UTC  
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Tatsuro MASTAUOKA Open/Closed:  Closed
Release:  other Operating 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)

Tue 10 Apr 2018 05:32:11 AM UTC, comment #11:

I apologize that I have mis-handling mxe build.
I cleanly check out for stable branch and build was successful.

Please close this.


Tatsuro MATSUOKA <tmacchant>
Wed 04 Apr 2018 11:24:18 PM UTC, comment #10:

I have re-built stable octave on ubuntu 16.04 (gcc-5.4.0). (435645a627dd+)
and I have pulled new mxe-octave (56a712112482+)
and try to build stable foe windows on mxe-octave.

Different kinds of error happened

Compressed a log file is attached.

Tatsuro MATSUOKA <tmacchant>
Wed 04 Apr 2018 08:44:45 PM UTC, comment #9:

Sorry I have not enough time to try again in these days.
Today I will try mxe build stable octave and report result.

Tatsuro MATSUOKA <tmacchant>
Wed 04 Apr 2018 04:27:35 PM UTC, comment #8:

@Tatsuro: Is this bug report still valid? Or can you now build the stable branch of Octave with MXE?

Rik <rik5>
Project Administrator
Thu 29 Mar 2018 12:08:40 AM UTC, comment #7:

Thank Mike. I have overlooked -I flag.

And I mis-paste for corefcn/error.h.


I cannot understand why

error: 'error' was not declared in this scope

is output in compiling libgui/src/documentation-dock-widget.cc.

Tatsuro MATSUOKA <tmacchant>
Wed 28 Mar 2018 10:28:17 PM UTC, comment #6:

And I did not see any "-I.../libgnu" on the compilation command output that you showed in the original post. So I don't think that it should be finding libgnu/error.h.

Mike Miller <mtmiller>
Project Administrator
Wed 28 Mar 2018 10:26:14 PM UTC, comment #5:


Thanks for hint.

There are two error.h in 4.3.0+ source tree.





Both have definition of 'error'.

Tatsuro MATSUOKA <tmacchant>
Wed 28 Mar 2018 07:23:28 PM UTC, comment #4:

The error is that symtab.h and symrec.h are using the error function, but that function is declared in Octave's error.h. Is it possible that another error.h file is picked up instead in your build?

I'm not testing mxe-octave at the moment, but the include dependency trail from symtab.h to error.h is: symtab.h includes fcn-info.h, which includes ov.h, which includes ov-base.h, which includes error.h.

Mike Miller <mtmiller>
Project Administrator
Wed 28 Mar 2018 05:29:12 AM UTC, comment #3:

error seem to be defined in gnulib.

Does the above give clue?

Tatsuro MATSUOKA <tmacchant>
Wed 28 Mar 2018 05:25:14 AM UTC, comment #2:

I retry today but the same error appears

"error" is not defined anywhere and this gives compile error.

Any suggestions?

Tatsuro MATSUOKA <tmacchant>
Tue 27 Mar 2018 07:21:47 PM UTC, comment #1:

Windows builds of stable and default seem to be working for the buildbots:


John W. Eaton <jwe>
Project Administrator
Tue 27 Mar 2018 01:44:03 AM UTC, original submission:

I have tried stable branch build of octave for windows on mxe.

I used stable branch source 4.3.0+ (HD-ID 231847364696).

mxe octave (changeset 4642:4a54e62e7ea3)

Tatsuro MATSUOKA <tmacchant>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-10 mtmiller StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2018-04-04 rik5 StatusNone => Need Info

    Back to the top

    Powered by Savane 3.4