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

 
 

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

Submitted by:  None
Submitted on:  Sun 10 Apr 2016 01:23:47 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: DuplicateAssigned to: None
Originator Name: Eugeny LoganOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 Apr 2016 08:41:09 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #41214

    Back to the top


    Powered by Savane 3.1-cleanup1