bugGNU Octave - Bugs: bug #48352, dev octave build failure in...

 
 

bug #48352: dev octave build failure in mxe-octave

Submitter:  John Donoghue <lostbard>
Submitted:  Thu 30 Jun 2016 04:32:24 PM UTC
   
 
Category:  Configuration and Build System Severity:  4 - Important
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  JohnD 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

Sat 02 Jul 2016 04:59:01 PM UTC, comment #11: 

Yes, it downloads the packages and copies them to the $(HOST_PREFIX)/src directory for distribution.

John W. Eaton <jwe>
Group administrator
Sat 02 Jul 2016 04:28:05 PM UTC, comment #10: 

@jwe: Okay.  Even without --enable-binary-packages the log shows that it is doing something with the of-packages beyond just downloading them.

Given that this report was about a problem with gid_t, uid_t, nlink_t that has been resolved, I will still leave this closed.

I'll re-configure with --enable-binary-packages and open up a new bug report if I can't build.

Rik <rik5>
Group administrator
Sat 02 Jul 2016 04:22:31 PM UTC, comment #9: 

Rik, did you use --enable-binary-packages?  If not, then you weren't actually compiling any of the OF packages.

John W. Eaton <jwe>
Group administrator
Sat 02 Jul 2016 04:20:43 PM UTC, comment #8: 

I just built MXE-Octave completely from scratch for a 32-bit Windows system and didn't encounter any problems with any of the OF packages.

I'm going to close this report.  If there are any specific packages that fail to build later they can get a new bug report.

Rik <rik5>
Group administrator
Fri 01 Jul 2016 07:51:15 PM UTC, comment #7: 

On my win32 build I didn't have any issues with control.

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


John Donoghue <lostbard>
Group Member
Fri 01 Jul 2016 01:04:40 PM UTC, comment #6: 

No more issues after first cleaning up mxe-octave before building a new dev Octave.

I noted that of-control didn't get built in 32-bit mxe-octave

In file included from __control_slicot_functions__.cc:1:0:
sl_ab08nd.cc:30:24: fatal error: octave/oct.h: No such file or directory
 #include <octave/oct.h>


Could be a hick-up - in 64-bit mxe-octave octave it built fine.

Philip Nienhuis <philipnienhuis>
Group Member
Fri 01 Jul 2016 11:49:36 AM UTC, comment #5: 
John Donoghue <lostbard>
Group Member
Fri 01 Jul 2016 07:53:38 AM UTC, comment #4: 

64.
I didn't try 32-bit build (could do that as well later today, see below)

I've re-cloned and deleted the entire build dir (in Linux). Should be OK.

But ... maybe I'd better also clean up mxe-octave from all Octave remnants the way I described it some days ago for Rik in the maintainers ML.
So, hang on .... (later today, after work, I'll have a go)

(New bug report needed, or hijack this one and just change title?)

Philip Nienhuis <philipnienhuis>
Group Member
Thu 30 Jun 2016 10:44:57 PM UTC, comment #3: 

Is that 64 bit or 32 bit?

John Donoghue <lostbard>
Group Member
Thu 30 Jun 2016 09:56:59 PM UTC, comment #2: 

Issue confirmed, and confirmed that the patch works.

However I now get other issues on the Windows side:

- colormap errors and deprecated PKG_ADD messages during postprocessing the installation on Windows. That phase takes a looong time now (the cmd32 window is empty for a minute or so, then prints these messages and a few seconds after that closes).

- The GUI won't start; I have to kill the octave-gui process through Task manager

The CLI does start but with errors:

warning: no graphical display found
error: __makeinfo__: could not create temporary file
error: execution exception in C:\Programs\Octave\Octave-4.1.0+w64_20160630\share\octave\4.1.0+\m\deprecated\PKG_ADD
error: __makeinfo__: could not create temporary file
error: execution exception in C:\Programs\Octave\Octave-4.1.0+w64_20160630\share\octave\4.1.0+\m\image\PKG_ADD
GNU Octave, version 4.1.0+
Copyright (C) 2015 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.
:


and the help system doesn't work:

>> help fwrite
error: __makeinfo__: could not create temporary file
error: called from
    __makeinfo__ at line 122 column 7


... although maybe ,aybe that could be related to the trick Lachlan showed in bug #48172 (see comment #44 there) to build dev Octave on Linux.
An earlier build using that trick did have a functional help system (and its GUI started up fine).

Philip Nienhuis <philipnienhuis>
Group Member
Thu 30 Jun 2016 04:56:44 PM UTC, comment #1: 

Patch attached

(file #37635)

John Donoghue <lostbard>
Group Member
Thu 30 Jun 2016 04:32:24 PM UTC, original submission:  

Using f471f513ffd0 also define gid_t, uid_t, and nlink_t in octave-config.h (bug #48332)

octave fails to compile:


/home/johnd/mxe-octave/w32-410/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/sysdep.cc: In function 'void MINGW_init()':
/home/johnd/mxe-octave/w32-410/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/sysdep.cc:219:13: error: 'w32_init' was not declared in this scope
   w32_init ();
             ^
/home/johnd/mxe-octave/w32-410/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/sysdep.cc: At global scope:
/home/johnd/mxe-octave/w32-410/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/sysdep.cc:337:25: warning: unused parameter 'wait' [-Wunused-parameter]
 raw_mode (bool on, bool wait)
                         ^
Makefile:17952: recipe for target 'libinterp/corefcn/libinterp_corefcn_libcorefcn_la-sysdep.lo' failed




Due to changes from 6bce4d23af6b eliminate OCTAVE_USE_WINDOWS_API and OCTAVE_USE_OS_X_API from header files

John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #37635:  bug48352.patch added by lostbard (782B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-02 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2016-07-01 rik5 Severity3 - Normal 4 - Important
    2016-06-30 lostbard Attached File- Added bug48352.patch, #37635

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code