[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52708] Failure on build-flex on Ubuntu 17.10
From: |
Marshall |
Subject: |
[Octave-bug-tracker] [bug #52708] Failure on build-flex on Ubuntu 17.10 VM for flex 2.6.4 |
Date: |
Wed, 20 Dec 2017 15:45:41 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 |
URL:
<http://savannah.gnu.org/bugs/?52708>
Summary: Failure on build-flex on Ubuntu 17.10 VM for flex
2.6.4
Project: GNU Octave
Submitted by: 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: None
Assigned to: None
Originator Name: Marsian
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
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:
touch src/build-flex.mk
make nsis-installer JOBS=4
I geet the following error:
[download] build-flex
[build] build-flex
Failed to build package build-flex!
------------------------------------------------------------
Makefile:533: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4.build'
/home/marshall/mxe-octave/Makefile:852: recipe for target
'build-only-build-flex' failed
make[1]: *** [build-only-build-flex] Error 2
make[1]: Leaving directory '/home/marshall/mxe-octave'
real 0m8.342s
user 0m11.603s
sys 0m1.584s
------------------------------------------------------------
[log] /home/marshall/mxe-octave/log/build-flex
from /home/marshall/mxe-octave/log/build-flex, I get the following details:
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c:147:8: warning:
implicit declaration of function ‘reallocarray’; did you mean
‘reallocate_array’? [-Wimplicit-function-declaration]
mem = reallocarray(NULL, (size_t) size, element_size);
^~~~~~~~~~~~
reallocate_array
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c:147:6: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
mem = reallocarray(NULL, (size_t) size, element_size);
^
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c: In function
‘reallocate_array’:
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c:664:12:
warning: assignment makes pointer from integer without a cast
[-Wint-conversion]
new_array = reallocarray(array, (size_t) size, element_size);
^
...
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c:147:8: warning:
implicit declaration of function ‘reallocarray’; did you mean
‘reallocate_array’? [-Wimplicit-function-declaration]
mem = reallocarray(NULL, (size_t) size, element_size);
^~~~~~~~~~~~
reallocate_array
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c:147:6: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
mem = reallocarray(NULL, (size_t) size, element_size);
^
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c: In function
‘reallocate_array’:
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/misc.c:664:12:
warning: assignment makes pointer from integer without a cast
[-Wint-conversion]
new_array = reallocarray(array, (size_t) size, element_size);
^
...
./stage1flex -o stage1scan.c
/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4/src/scan.l
Makefile:1696: recipe for target 'stage1scan.c' failed
make[4]: *** [stage1scan.c] Segmentation fault (core dumped)
make[4]: Leaving directory
'/home/marshall/mxe-octave/tmp-build-flex/flex-2.6.4.build/src'
...
There seems to be several possibly related bugs reported to flex,
https://github.com/westes/flex/issues/219
https://github.com/westes/flex/issues/265
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52708>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52708] Failure on build-flex on Ubuntu 17.10 VM for flex 2.6.4,
Marshall <=