bugGNU Octave - Bugs: bug #48334, fl-core package fails to compile...

 
 

bug #48334: fl-core package fails to compile in dev octave

Submitted by:  John Donoghue <lostbard>
Submitted on:  Tue 28 Jun 2016 08:18:25 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  John Donoghue <lostbard>
Originator Name:  JohnD Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Fri 01 Jul 2016 08:07:43 PM UTC, comment #7: 

Marking as closed as code in dev octave forge will work ok now.

New fl-core package will have to be created with the release 4.2

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 29 Jun 2016 04:19:41 PM UTC, comment #6: 
John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 29 Jun 2016 12:12:45 PM UTC, comment #5: 

Patch attached

(file #37621)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 29 Jun 2016 12:48:05 AM UTC, comment #4: 

There are a number of other bugs for fl-core as well, with patches.

It doesnt look to be actively maintained, so if ok, I will volunteer to maintain it, unless someone else wants to ...

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 29 Jun 2016 12:14:38 AM UTC, comment #3: 

yeah - already fixed on my test copy, so I can post a patch

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 28 Jun 2016 11:51:16 PM UTC, comment #2: 

It looks like fl_compose.cc is expecting one of Octave's header files to include either <windows.h> or <unistd.h> but they no longer do, and won't in the future.  The fl_compose.cc file should be fixed to directly include the system headers it needs.

John W. Eaton <jwe>
Project Administrator
Tue 28 Jun 2016 09:06:04 PM UTC, comment #1: 

In Linux:

l_compose.cc: In function ?int get_available_cpus()?:
fl_compose.cc:762:19: error: ?_SC_NPROCESSORS_ONLN? was not declared in this scope
   return sysconf( _SC_NPROCESSORS_ONLN);
                   ^
fl_compose.cc:762:39: error: ?sysconf? was not declared in this scope
   return sysconf( _SC_NPROCESSORS_ONLN);

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 28 Jun 2016 08:18:25 PM UTC, original submission:  

When attempting to compile in mxe-octave, using the current 4.1.0+ dev octave.

i686-w64-mingw32-g++ -std=gnu++11 -c -I/home/johnd/mxe-octave/w32-410/usr/i686-w64-mingw32/include  -I/home/johnd/mxe-octave/w32-410/usr/i686-w64-mingw32/include/octave-4.1.0+/octave/.. -I/home/johnd/mxe-octave/w32-410/usr/i686-w64-mingw32/include/octave-4.1.0+/octave -I/home/johnd/mxe-octave/w32-410/usr/i686-w64-mingw32/include  -pthread -mieee-fp -g -O2    fl_compose.cc -o fl_compose.o
fl_compose.cc: In function 'int get_available_cpus()':
fl_compose.cc:754:3: error: 'SYSTEM_INFO' was not declared in this scope
   SYSTEM_INFO sysinfo;
   ^
fl_compose.cc:755:19: error: 'sysinfo' was not declared in this scope
   GetSystemInfo( &sysinfo );
                   ^
fl_compose.cc:755:27: error: 'GetSystemInfo' was not declared in this scope
   GetSystemInfo( &sysinfo );
                           ^
Makefile:20: recipe for target 'fl_compose.oct' failed

John Donoghue <lostbard>
Project MemberIn charge of this item.

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #37621:  bug48334.patch added by lostbard (713B - 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 lostbard (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-01 lostbard StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2016-06-29 lostbard StatusPatch Submitted => Ready For Test
    2016-06-29 lostbard Attached File- => Added bug48334.patch, #37621
        StatusNone => Patch Submitted
        Assigned toNone => lostbard
    2016-06-28 lostbard Operating SystemMicrosoft Windows => Any

    Back to the top


    Powered by Savane 3.7