bugGNU Octave - Bugs: bug #48253, Can't build MXE-Octave

 
 

bug #48253: Can't build MXE-Octave

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Fri 17 Jun 2016 06:43:42 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 21 Jun 2016 07:23:10 PM UTC, comment #5: 

Checking again, MXE compilation succeed.
The problems in comment #2, are probably leftovers from previous builds.

Avinoam Kalma <avinoam>
Group Member
Sun 19 Jun 2016 10:33:05 PM UTC, comment #4: 

John:  I have noticed problems with parallel builds
fairly recently, so I doubt if this is a new problem.

Also, the latest update compiles and runs on Fedora 24
(gcc 6.1) as has already been reported. Thanks!!

Michael Godfrey <godfrey>
Group Member
Sun 19 Jun 2016 10:23:05 PM UTC, comment #3: 

I don't know what's causing trouble for you. It works for me at least as far as building Octave. I'm having some problems with parallel "make install" that seem to be due to targets being made multiple times in parallel because of move-if-change rules. But that's a separate issue and I don't think related to my recent changes.

John W. Eaton <jwe>
Group administrator
Sun 19 Jun 2016 07:33:10 PM UTC, comment #2: 

MXE compilation still fails:


libtool: compile:  i686-w64-mingw32-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+ -Ilibgnu -I/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/libgnu -I/home/avinoam/mxe-octave/usr/i686-w64-mingw32/include -pthread -fopenmp -mieee-fp -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT liboctave/wrappers/liboctave_wrappers_libwrappers_la-time-wrappers.lo -MD -MP -MF liboctave/wrappers/.deps/liboctave_wrappers_libwrappers_la-time-wrappers.Tpo -c /home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/liboctave/wrappers/time-wrappers.c  -DDLL_EXPORT -DPIC -o liboctave/wrappers/.libs/liboctave_wrappers_libwrappers_la-time-wrappers.o
/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/liboctave/wrappers/time-wrappers.c:32:26: fatal error: sys/resource.h: No such file or directory


Avinoam Kalma <avinoam>
Group Member
Fri 17 Jun 2016 04:13:25 PM UTC, comment #1: 

Thanks for the report. There is a work in progress to hide a bunch of system dependencies, please continue testing and reporting any problems like this.

I fixed this one oversight on the default branch, should work for you now:

http://hg.savannah.gnu.org/hgweb/octave/rev/45c5f4426289

Mike Miller <mtmiller>
Group Member
Fri 17 Jun 2016 06:43:42 AM UTC, original submission:  


Using changeset http://hg.savannah.gnu.org/hgweb/octave/rev/b0e5173521b9


/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/sighandlers.cc:1008:51: error: 'WNOHANG' was not declared in this scope
           if (octave::sys::waitpid (pid, &status, WNOHANG) > 0)
                                                   ^


Avinoam Kalma <avinoam>
Group Member

 

(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 godfrey (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by avinoam (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-19 mtmiller StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-06-17 mtmiller StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code