bugGNU Octave - Bugs: bug #59159, [octave forge] (gsl) Installation...

 
 

bug #59159: [octave forge] (gsl) Installation error using clang

Submitted by:  None
Submitted on:  Tue 22 Sep 2020 06:17:48 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  None Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
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.

 

Tue 22 Sep 2020 07:51:16 PM UTC, comment #1: 

Using an idea from Bug #59160, this problem only happens on building with Clang and not with GCC. Changed compiler to GCC and this package builds properly! Thank you to Markus M├╝tzel.

Anonymous
Tue 22 Sep 2020 06:17:48 PM UTC, original submission:  

octave:7> pkg install -forge gsl
gsl_sf.cc:53:3: error: use of undeclared identifier 'feval'; did you mean 'octave::feval'?
  feval ("help", octave_value ("gsl_sf"));
  ^~~~~
  octave::feval
/usr/local/include/octave-7.0.0/octave/../octave/parse.h:700:3: note: 'octave::feval' declared here
  feval (const char *name,
  ^
gsl_sf.cc:124:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:222:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:317:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:412:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:510:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:608:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:706:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:804:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:902:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1000:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1098:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1196:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1294:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1392:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1497:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1592:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1687:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:1782:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Makefile:29: gsl_sf.oct] Error 1
make: Entering directory '/tmp/oct-ZYKJWT/gsl-2.1.1/src'
/usr/local/bin/mkoctfile-7.0.0  gsl_sf.cc -lgsl
make: Leaving directory '/tmp/oct-ZYKJWT/gsl-2.1.1/src'

error: pkg: error running 'make' for the gsl package.
error: called from
    configure_make at line 110 column 9
    install at line 196 column 7
    pkg at line 568 column 9

Anonymous

 

(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 siko1056 (Updated 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-23 siko1056 Item GroupUnexpected Error or Warning => Installation Failure
    2020-09-23 siko1056 CategoryNone => Octave Forge Package
    2020-09-23 siko1056 Summary[Forge] Error installing gsl package, namespace collisions => [octave forge] (gsl) Installation error using clang

    Back to the top


    Powered by Savane 3.5