octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55900] Build failure: no 'sort' for 'intNDArr


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55900] Build failure: no 'sort' for 'intNDArray<octave_int<unsigned short> >' (OCTAVE_VALUE_INT_MATRIX_T)
Date: Tue, 12 Mar 2019 23:47:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55900>

                 Summary: Build failure: no 'sort' for
'intNDArray<octave_int<unsigned short> >' (OCTAVE_VALUE_INT_MATRIX_T)
                 Project: GNU Octave
            Submitted by: apjanke
            Submitted on: Wed 13 Mar 2019 03:47:57 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

I'm getting a build failure with the current head of default (changeset:  
26922:a1acd11bad19). Something about `sort(...)` not being defined for
intNDArray<octave_int<unsigned short> >, related to the definition of
OCTAVE_VALUE_INT_MATRIX_T as octave_uint16_matrix.


/bin/sh ./libtool  --tag=CXX   --mode=compile clang++ -std=gnu++11
-DHAVE_CONFIG_H -I.  -Iliboctave -I./liboctave -I./liboctave/array
-Iliboctave/numeric -I./liboctave/numeric -Iliboctave/operators
-I./liboctave/operators -I./liboctave/system -I./liboctave/util
-I./libinterp/octave-value -Ilibinterp -I./libinterp -I./libinterp/operators
-Ilibinterp/parse-tree -I./libinterp/parse-tree -Ilibinterp/corefcn
-I./libinterp/corefcn -I./liboctave/wrappers -I/usr/local/opt/hdf5/include
-I/usr/local/Cellar/graphicsmagick/1.3.31/include/GraphicsMagick
-I/usr/local/opt/qt/include -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include/darwin
-I/usr/local/opt/sundials/include -I/usr/local/opt/qscintilla2/include -c -o
libinterp/operators/liboctinterp_la-op-m-pm.lo `test -f
'libinterp/operators/op-m-pm.cc' || echo './'`libinterp/operators/op-m-pm.cc
In file included from libinterp/operators/op-i32-i32.cc:72:
In file included from ./libinterp/octave-value/ov-int16.h:42:
In file included from ./libinterp/octave-value/ov-intx.h:43:
In file included from ./libinterp/octave-value/ov-base-int.h:38:
./libinterp/octave-value/ov-base-mat.h:134:33: error: no member named 'sort'
in 'intNDArray<octave_int<unsigned short> >'
  { return octave_value (matrix.sort (dim, mode)); }
                         ~~~~~~ ^
./libinterp/octave-value/ov-intx.h:57:3: note: in instantiation of member
function 'octave_base_matrix<intNDArray<octave_int<unsigned short> > >::sort'
requested here
  OCTAVE_VALUE_INT_MATRIX_T (void)
  ^
./libinterp/octave-value/ov-uint16.h:30:35: note: expanded from macro
'OCTAVE_VALUE_INT_MATRIX_T'
#define OCTAVE_VALUE_INT_MATRIX_T octave_uint16_matrix
                                  ^
In file included from libinterp/operators/op-i32-i32.cc:72:
In file included from ./libinterp/octave-value/ov-int16.h:42:
In file included from ./libinterp/octave-value/ov-intx.h:43:
In file included from ./libinterp/octave-value/ov-base-int.h:38:
./libinterp/octave-value/ov-base-mat.h:137:33: error: no member named 'sort'
in 'intNDArray<octave_int<unsigned short> >'
  { return octave_value (matrix.sort (sidx, dim, mode)); }
                         ~~~~~~ ^
./libinterp/octave-value/ov-intx.h:57:3: note: in instantiation of member
function 'octave_base_matrix<intNDArray<octave_int<unsigned short> > >::sort'
requested here
  OCTAVE_VALUE_INT_MATRIX_T (void)
  ^
./libinterp/octave-value/ov-uint16.h:30:35: note: expanded from macro
'OCTAVE_VALUE_INT_MATRIX_T'
#define OCTAVE_VALUE_INT_MATRIX_T octave_uint16_matrix
                                  ^
2 errors generated.
make[2]: *** [libinterp/operators/liboctinterp_la-op-i32-i32.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -Iliboctave
-I./liboctave -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric
-Iliboctave/operators -I./liboctave/operators -I./liboctave/system
-I./liboctave/util -I./libinterp/octave-value -Ilibinterp -I./libinterp
-I./libinterp/operators -Ilibinterp/parse-tree -I./libinterp/parse-tree
-Ilibinterp/corefcn -I./libinterp/corefcn -I./liboctave/wrappers
-I/usr/local/opt/hdf5/include
-I/usr/local/Cellar/graphicsmagick/1.3.31/include/GraphicsMagick
-I/usr/local/opt/qt/include -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include/darwin
-I/usr/local/opt/sundials/include -I/usr/local/opt/qscintilla2/include -c
libinterp/operators/op-m-dm.cc  -fno-common -DPIC -o
libinterp/operators/.libs/liboctinterp_la-op-m-dm.o
libtool: compile:  clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -Iliboctave
-I./liboctave -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric
-Iliboctave/operators -I./liboctave/operators -I./liboctave/system
-I./liboctave/util -I./libinterp/octave-value -Ilibinterp -I./libinterp
-I./libinterp/operators -Ilibinterp/parse-tree -I./libinterp/parse-tree
-Ilibinterp/corefcn -I./libinterp/corefcn -I./liboctave/wrappers
-I/usr/local/opt/hdf5/include
-I/usr/local/Cellar/graphicsmagick/1.3.31/include/GraphicsMagick
-I/usr/local/opt/qt/include -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include/darwin
-I/usr/local/opt/sundials/include -I/usr/local/opt/qscintilla2/include -c
libinterp/operators/op-m-m.cc  -fno-common -DPIC -o
libinterp/operators/.libs/liboctinterp_la-op-m-m.o
libtool: compile:  clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -Iliboctave
-I./liboctave -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric
-Iliboctave/operators -I./liboctave/operators -I./liboctave/system
-I./liboctave/util -I./libinterp/octave-value -Ilibinterp -I./libinterp
-I./libinterp/operators -Ilibinterp/parse-tree -I./libinterp/parse-tree
-Ilibinterp/corefcn -I./libinterp/corefcn -I./liboctave/wrappers
-I/usr/local/opt/hdf5/include
-I/usr/local/Cellar/graphicsmagick/1.3.31/include/GraphicsMagick
-I/usr/local/opt/qt/include -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/include/darwin
-I/usr/local/opt/sundials/include -I/usr/local/opt/qscintilla2/include -c
libinterp/operators/op-m-pm.cc  -fno-common -DPIC -o
libinterp/operators/.libs/liboctinterp_la-op-m-pm.o
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


This is recent; I was building OK as recently as this morning.

Full build logs: https://gist.github.com/f07affc8716177042f490fede8a11b33.

This is on macOS 10.14.3 with Xcode 10.1.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55900>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]