bugGNU Octave - Bugs: bug #48380, Binary versions of several...

 
 

bug #48380: Binary versions of several Octave-Forge packages fail to build with MXE

Submitter:  Rik <rik5>
Submitted:  Sat 02 Jul 2016 10:21:22 PM UTC
   
 
Category:  Configuration and Build System Severity:  4 - Important
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 05 Sep 2017 04:18:50 AM UTC, comment #13: 

I checked and all OF packages are now compiling for me with MXE Octave.  Closing report.

Rik <rik5>
Group administrator
Wed 31 Aug 2016 08:40:49 PM UTC, comment #12: 

I checked in this temporary fix for the ode package for mxe-octave:

http://hg.octave.org/mxe-octave/rev/5cee475eceb0

I'm not claiming this patch is complete or the best fix, but it does allow me to build the ode package with mxe-octave now.

John W. Eaton <jwe>
Group administrator
Wed 06 Jul 2016 08:47:40 PM UTC, comment #11: 

communication: bug #47267

Nan: bug #48426

John Donoghue <lostbard>
Group Member
Wed 06 Jul 2016 08:31:33 PM UTC, comment #10: 

odepkg dev sources compile ok for me, so should be ok if a new release is made.

John Donoghue <lostbard>
Group Member
Wed 06 Jul 2016 08:30:21 PM UTC, comment #9: 

Most of these are not mxe specific, but due to changes in dev octave.

Some packages with their own separate bug #:

fl-core: bug #48334

sparsersb: bug #48335


lssa: bug #48425

John Donoghue <lostbard>
Group Member
Sun 03 Jul 2016 04:05:27 PM UTC, comment #8: 

As of 7/3/16, the list of packages that fail for me is:

of-communications
of-fl-core
of-lssa
of-nan
of-odepkg
of-sparsersb

of-sockets, of-video, and of-zeromq now compile.

Rik <rik5>
Group administrator
Sun 03 Jul 2016 03:34:54 PM UTC, comment #7: 

I think the way forward in debugging this is to have a working MXE installation and then try


make V=1 JOBS=1 of-PKG_NAME


When that fails, look in the resulting logfile mentioned in the shell output and try and figure out what went wrong.

For of-communications, it is renamed header files.

For of-nan, it seems that the Makefile is confusingly using a CXX compiler to compile C files and that the '-std=c++11' switch is not being used, despite the fact that some of the code depends on it.

Rik <rik5>
Group administrator
Sun 03 Jul 2016 12:23:54 PM UTC, comment #6: 

@Andreas / JohnD
With latest Octave (91611c9e1d81 - "uigetfile, uiputfile: handle all recognized C++ source file extensions") sockets, video and zeromq get cross-built again.  Until some days ago this wasn't the case.
Whether they work properly in Windows is a different thing.  I'll try later next week as I've spent quite some time on Octave this weekend and need to do other things + real work.

I d/led fl-core from repo and after moving the fixes out of the way it also builds - of course as it is a mere .m file package.
Hopefully it'll work w/o the fixes....

Philip Nienhuis <philipnienhuis>
Group Member
Sun 03 Jul 2016 10:37:24 AM UTC, comment #5: 

Video did have some issues which were fixed on Bug #48332 for me.

John Donoghue <lostbard>
Group Member
Sun 03 Jul 2016 09:38:02 AM UTC, comment #4: 

@Philip: Can you attach a log why video is failing on your system?

Do you use a mxe-octave which ships with ffmpeg or are you using the binaries from https://ffmpeg.zeranoe.com/builds/ ?

Andreas Weber <andy1978>
Group Member
Sun 03 Jul 2016 07:47:15 AM UTC, comment #3: 

In my mxe builds the following packages fail to build:

communications
fl-core
lssa
nan
odepkg
sockets
sparsersb
video
zeromq

Philip Nienhuis <philipnienhuis>
Group Member
Sat 02 Jul 2016 10:46:07 PM UTC, comment #2: 

For the 4.2 release it might be better to reinstate some of the old classes and header files but with warnings about them being deprecated.  It may not be possible in all cases, but I should have tried to be a bit more friendly with this transition.

John W. Eaton <jwe>
Group administrator
Sat 02 Jul 2016 10:23:09 PM UTC, comment #1: 

I can confirm that the communications package fails to build.  Looking in the log


In file included from galois-def.cc:21:0:
galois.h:25:28: fatal error: octave/base-lu.h: No such file or directory
 #include <octave/base-lu.h>
                            ^
compilation terminated.


This is quite right.  There is no longer any base-lu.h header file.  I suspect that the other packages also need to be updated to reflect the renaming, movement of various header files.

Rik <rik5>
Group administrator
Sat 02 Jul 2016 10:21:22 PM UTC, original submission:  

Note from JohnD:

I do get failures on:

sparserb - bug #48335

Nan

odepkg (although forge dev sources work)

zeromq (forge dev sources work)

fl-core (forge dev sources work)

lssa

communications

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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 lostbard (Posted a comment)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by rik5
  • -email is unavailable- added by rik5
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-05 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2016-07-02 rik5 Carbon-Copy- Added jwe
        Carbon-Copy- Added lostbard
        Carbon-Copy- Added philipnienhuis

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code