bugGNU Octave - Bugs: bug #47656, [pkg fl-core] Build failure....

 
 

bug #47656: [pkg fl-core] Build failure. Missing header

Submitter:  None
Submitted:  Sun 10 Apr 2016 01:23:47 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Eugeny Logan Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 17 Apr 2016 08:27:41 PM UTC, comment #1: 

This would be a repeat of https://savannah.gnu.org/bugs/?41214

John Donoghue <lostbard>
Group Member
Sun 10 Apr 2016 01:23:47 PM UTC, original submission:  

I downloaded package from http://octave.sourceforge.net/fl-core/index.html and have got build failure:

>> pkg install fl-core-1.0.0.tar.gz

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

I saw man for sysconf and found that header for it is unistd.h. Then I add include directive for this header and rebuild package was successfull.

$ uname -r
4.4.1-2
$ gcc --version
gcc (GCC) 5.3.0

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by None (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-04-17 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #41214

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code