bugGNU Octave - Bugs: bug #55900, Build failure: no 'sort' for...

 
 

bug #55900: Build failure: no 'sort' for 'intNDArray<octave_int<unsigned short> >' (OCTAVE_VALUE_INT_MATRIX_T)

Submitter:  Andrew Janke <apjanke>
Submitted:  Wed 13 Mar 2019 03:47:57 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 13 Mar 2019 03:09:53 PM UTC, comment #1: 

As of changeset:   26898:d94876e7a0aa, I can no longer reproduce this build failure. Maybe it was a fluke, or something that's already been fixed. This can probably be closed.

Andrew Janke <apjanke>
Wed 13 Mar 2019 03:47:57 AM UTC, original submission:  

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.

Andrew Janke <apjanke>

 

(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 apjanke (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-13 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code