bugGNU Octave - Bugs: bug #52708, MXE failure on build-flex on...


bug #52708: MXE failure on build-flex on Ubuntu 17.10 VM for flex 2.6.4

Submitted by:  Marshall <marsian>
Submitted on:  Wed 20 Dec 2017 08:45:39 PM UTC  
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Marsian Open/Closed:  Closed
Release:  dev Operating 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)

Wed 04 Jul 2018 04:24:37 PM UTC, comment #7:

Closing as fixed (reported by OP).

Markus Mützel <mmuetzel>
Project Member
Thu 19 Apr 2018 04:26:54 PM UTC, comment #6:

I think this can be closed. I haven't run into any problems with this since the fix in comment #4.

Marshall <marsian>
Sat 24 Mar 2018 06:37:44 PM UTC, comment #5:

It succeeds on build-flex 2.6.4 for me now.

Marshall <marsian>
Fri 23 Mar 2018 04:39:18 AM UTC, comment #4:

I upgraded my systems to the latest Debian testing earlier today and started hitting the flex build problem with reallocarray. I checked in the following change and it seems to work for me:


John W. Eaton <jwe>
Project Administrator
Thu 21 Dec 2017 06:39:08 PM UTC, comment #3:

I would imagine the results will be the same with a clean build, so shouldn't be required.

Not sure when the next version of flex is out, but until then it might be easier just to go back to the older version

John Donoghue <lostbard>
Project Member
Thu 21 Dec 2017 06:09:08 PM UTC, comment #2:

I tried the change (I think), and I got the same errors. How I tested:
I changed build-flex.mk back to the 2.6.4 version.
hg -v pull
hg -v update
touch src/build-flex.mk
time make hg-octave-dist

  • fails same way on build-flex

comparing the log with the last log they are almost identical accept for an additional line with
showing the patch seems to have been applied, and a line showing make ... -j '1' instead of make ... -j '4', a lot of re-ordered lines, and the final times were different. I could try building from a completely clean build/new repo, but I don't expect different results and it takes forever to build from that point. I'll do it though if you think that will give useful results.

Marshall <marsian>
Thu 21 Dec 2017 03:02:40 PM UTC, comment #1:

I pushed a change which may fix flex - http://hg.octave.org/mxe-octave/rev/a0e30199373f

John Donoghue <lostbard>
Project Member
Wed 20 Dec 2017 08:45:39 PM UTC, original submission:

When flex is set to use version 2.6.4 in mxe-octave/src/build-flex.mk, then I get a build failure. I'm running Ubuntu 17.10 on virtual box, to compile a windows installer. If I change the version to 2.6.3 (and checksum to 5ca32baa607ed32aa069e18d6d60b9761e1e6538), then It will compile.

I am using the following configure options:
./configure --enable-devel-tools --enable-octave=default --enable-qt5 --enable-64 --enable-windows-64
From a working build changing back to the original build-flex with version 2.6.4, and running the following, it fails again:

I geet the following error:

from /home/marshall/mxe-octave/log/build-flex, I get the following details:
There seems to be several possibly related bugs reported to flex,
I'm not sure if any of those fixes apply, but in any case, building flex fails when run from a clean repo/build of mxe-octave.

Marshall <marsian>


(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 mmuetzel (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by marsian (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-04 mmuetzel StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2018-03-23 jwe StatusNone => Ready For Test
    2017-12-21 rik5 Carbon-CopyRemoved 72865 => -
    2017-12-21 rik5 SummaryFailure on build-flex on Ubuntu 17.10 VM for flex 2.6.4 => MXE failure on build-flex on Ubuntu 17.10 VM for flex 2.6.4

    Back to the top

    Powered by Savane 3.3