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 SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: NoneAssigned to: None
Originator Name: MarsianOpen/Closed: Open
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.


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 File(s):

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 lostbard (Posted a comment)
  • -unavailable- added by marsian (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Dec 2017 12:43:02 AM UTCrik5Carbon-CopyRemoved 72865=>-
    Thu 21 Dec 2017 12:42:54 AM UTCrik5SummaryFailure 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.1-cleanup1