bugGNU Octave - Bugs: bug #63642, Bug while installing packages with...

 
 

bug #63642: Bug while installing packages with pkg

Submitter:  Elouan <louvandtech>
Submitted:  Wed 11 Jan 2023 08:38:19 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * stable Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 04 Mar 2024 04:13:43 AM UTC, comment #8: 

This seems to have been resolved, and Octave 9.1 will have much better Mac support.  Closing report.

Rik <rik5>
Group administrator
Thu 12 Jan 2023 07:03:12 AM UTC, comment #7: 

Here the two command asked just in case :

 ~ mkoctfile-7.3.0 -p CC
clang
 ~ mkoctfile-7.3.0 -p CXX
clang++


But it seems like the answer :

comment #6:

> ...  -std=c++14 -g  -std=gnu++11 ...


>
> does not look right.
>
> Can you try:


> octave:1> setenv("CXX", "clang++ -std=gnu++14")
> octave:2> pkg install -verbose -forge image


>


from Dimitri worked just fine and solve my issue,
I've tried with some of the script I had and it's working like a charm.
I would be happy if someone is willing to explain me where the problem was.

Thanks again the two of you for your help !

Elouan <louvandtech>
Wed 11 Jan 2023 05:35:14 PM UTC, comment #6: 


...  -std=c++14 -g  -std=gnu++11 ...


does not look right.

Can you try:

octave:1> setenv("CXX", "clang++ -std=gnu++14")
octave:2> pkg install -verbose -forge image


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 11 Jan 2023 03:22:48 PM UTC, comment #5: 

and

mkoctfile-7.3.0 -p CXX

John Donoghue <lostbard>
Group Member
Wed 11 Jan 2023 03:21:31 PM UTC, comment #4: 

what does running

    mkoctfile-7.3.0 -p CC


output ?

John Donoghue <lostbard>
Group Member
Wed 11 Jan 2023 01:50:55 PM UTC, comment #3: 

Thanks for your response !

I have to admit that, at this point I don't understand everything on my own.

Here's the result :


~ pkg install -forge -verbose image
mkdir (/var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T/oct-05CRE6)
untar (/var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T/image-2.14.0-Khum0u.tar.gz, /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T/oct-05CRE6)
checking for a sed that does not truncate output... /opt/homebrew/bin/gsed
checking for octave... /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0
checking for mkoctfile... /opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... -std=gnu++11
checking whether feval is in the octave namespace... no
checking whether octave value has Octave style is* methods... no
checking whether octave::execution_exception has message member... no
checking whether dim_vector has xelem method... no
checking whether range is in the octave namespace... no
checking whether templated lambda functions accept '&const int'... no
configure: WARNING:
    Your C++ compiler (are you using GCC 5.0 or 5.1?) has a bug that
    prevents it from building the Octave Forge image package.  But you
    can fix it very easily.  See https://savannah.gnu.org/bugs/?45096
    for details on working around it.

checking Octave core for function im2double...
yes
checking Octave core for function ntsc2rgb...
no
checking Octave core for function rgb2gray...
yes
checking Octave core for function rgb2ntsc...
no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 __spatial_filtering__.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 __bilateral__.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 __eps__.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 __custom_gaussian_smoothing__.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 __boundary__.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 bwfill.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 rotate_scale.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 hough_line.cc
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   __spatial_filtering__.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-0rxpg5.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   __bilateral__.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-vI4Dgm.o
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 graycomatrix.cc
/opt/homebrew/Cellar/octave/7.3.0_2/bin/mkoctfile-7.3.0 --verbose  -std=gnu++11 -Wall -g -O2 bwdist.cc
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   __custom_gaussian_smoothing__.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-F00eB3.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   __boundary__.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-vQDhty.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   __eps__.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-9CWakZ.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   bwfill.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-Rzig8l.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   rotate_scale.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-gXCz3E.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   hough_line.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-oN5cFp.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   bwdist.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-5HnOqa.o
clang++ -c -I/opt/homebrew/opt/qt@5/include -fPIC -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2   graycomatrix.cc -o /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-PCI5Wn.o
In file included from __spatial_filtering__.cc:24:
./octave-wrappers.h:68:14: error: use of undeclared identifier
      'is_bool_type'
    { return is_bool_type (); }
             ^
./octave-wrappers.h:71:14: error: use of undeclared identifier
      'is_complex_type'; did you mean 'is_double_type'?
    { return is_complex_type (); }
             ^~~~~~~~~~~~~~~
             is_double_type
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/ov.h:740:8: note:
      'is_double_type' declared here
  bool is_double_type (void) const
       ^
In file included from __spatial_filtering__.cc:24:
./octave-wrappers.h:74:14: error: use of undeclared identifier 'is_empty';
      did you mean 'isempty'?
    { return is_empty (); }
             ^~~~~~~~
             isempty
./octave-wrappers.h:73:10: note: 'isempty' declared here
    bool isempty (void) const
         ^
./octave-wrappers.h:77:14: error: use of undeclared identifier
      'is_float_type'
    { return is_float_type (); }
             ^
./octave-wrappers.h:80:14: error: use of undeclared identifier
      'is_numeric_type'; did you mean 'is_matrix_type'?
    { return is_numeric_type (); }
             ^~~~~~~~~~~~~~~
             is_matrix_type
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/ov.h:792:8: note:
      'is_matrix_type' declared here
  bool is_matrix_type (void) const
       ^
In file included from __spatial_filtering__.cc:24:
./octave-wrappers.h:83:14: error: use of undeclared identifier
      'is_real_type'
    { return is_real_type (); }
             ^
hough_line.cc:55:59: warning: 'Range' is deprecated
      [-Wdeprecated-declarations]
  const ColumnVector thetas = (DEF_THETA) ? ColumnVector (Range (-M_PI/2.0, M_PI/2.0, M_...
                                                          ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/Range.h:433:3: note:
      'Range' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (7, "use the 'octave::range<double>' class instead")
  ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/octave-config.h:76:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
hough_line.cc:55:59: warning: 'Range' is deprecated
      [-Wdeprecated-declarations]
  const ColumnVector thetas = (DEF_THETA) ? ColumnVector (Range (-M_PI/2.0, M_PI/2.0, M_...
                                                          ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/Range.h:433:3: note:
      'Range' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (7, "use the 'octave::range<double>' class instead")
  ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/octave-config.h:76:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
hough_line.cc:68:31: warning: 'Range' is deprecated
      [-Wdeprecated-declarations]
  RowVector bins = RowVector (Range(1, nr_bins).matrix_value ()) - ceil (nr_bins/2.0);
                              ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/Range.h:425:3: note:
      'Range' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (7, "use the 'octave::range<double>' class instead")
  ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/octave-config.h:76:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
hough_line.cc:68:31: warning: 'Range' is deprecated
      [-Wdeprecated-declarations]
  RowVector bins = RowVector (Range(1, nr_bins).matrix_value ()) - ceil (nr_bins/2.0);
                              ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/Range.h:425:3: note:
      'Range' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (7, "use the 'octave::range<double>' class instead")
  ^
/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/octave-config.h:76:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
6 errors generated.
make: *** [__spatial_filtering__.oct] Error 1
make: *** Waiting for unfinished jobs....
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o __eps__.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-9CWakZ.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
4 warnings generated.
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o graycomatrix.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-PCI5Wn.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o hough_line.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-oN5cFp.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o __boundary__.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-vQDhty.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o rotate_scale.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-gXCz3E.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o bwfill.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-Rzig8l.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o bwdist.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-5HnOqa.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o __custom_gaussian_smoothing__.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-F00eB3.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups
clang++ -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave/.. -I/opt/homebrew/Cellar/octave/7.3.0_2/include/octave-7.3.0/octave -I/opt/homebrew/Cellar/octave/7.3.0_2/include  -pthread -std=c++14 -g  -std=gnu++11 -Wall -O2 -o __bilateral__.oct  /var/folders/rk/_8lbcrrs2ln284gsp10f9pp00000gn/T//oct-vI4Dgm.o   -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib/octave/7.3.0 -L/opt/homebrew/Cellar/octave/7.3.0_2/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/homebrew/Cellar/octave/7.3.0_2/bin/octave-7.3.0   -loctinterp -loctave
ld: warning: -undefined dynamic_lookup may not work with chained fixups

error: pkg: error running 'make' for the image package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 612 column 9


Elouan <louvandtech>
Wed 11 Jan 2023 01:27:15 PM UTC, comment #2: 

You can run install with the verbose command to get more verbose output.

   pkg install -verbose -forge image



Which will provider more information on where the error is.

For image, it looks like the check for "whether octave value has Octave style is* methods" is failing, but maybe happens earlier than that

John Donoghue <lostbard>
Group Member
Wed 11 Jan 2023 09:09:22 AM UTC, comment #1: 

Forgot probably the most important, the octave version,
I've install it through Brew, classic first then built from sources.
Here's octave version :

~ octave --version
GNU Octave, version 7.3.0
Copyright (C) 1993-2022 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

Octave was configured for "aarch64-apple-darwin21.6.0".


Elouan <louvandtech>
Wed 11 Jan 2023 08:38:19 AM UTC, original submission:  

Hello,
I'm running MacOs Ventura 13.1

I'm trying to install multiple package on my Octave installation: image, control, signal,
but none of them installed correctly with the command :

pkg install -forge <package_name>


Each time I get the same error (I will only give the last few line that are common to every package I tried here):

error: pkg: error running 'make' for the control package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 612 column 9


I also get multiple errors (before the one I give above), but they are different for each packages, here's an snippet from the image package :

In file included from __spatial_filtering__.cc:24:
./octave-wrappers.h:68:14: error: use of undeclared identifier 'is_bool_type'
    { return is_bool_type (); }
             ^
./octave-wrappers.h:71:14: error: use of undeclared identifier 'is_complex_type'; did you mean 'is_double_type'?
    { return is_complex_type (); }

[...]


I seem people talking about a problem with Gcc and G++ so here's my versions :

~ gcc --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
~ g++ --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin


I hope someone can help find the problem.
Thanks in advance.

Elouan <louvandtech>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by louvandtech (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-03-04 rik5 Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code