octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave 4.0 on Mac 10.10


From: Marius Schamschula
Subject: Re: Octave 4.0 on Mac 10.10
Date: Fri, 27 Feb 2015 13:45:45 -0600

A couple of questions:

1) As there seems not to currently be a 4.0.0-rc tag, am I correct to assume that the OS X builds of octave 4.0 are from tip?

2) If so, tip also currently fails to compile on Mavericks (using MacPorts and Xcode 6.1) with the +atlas +gcc48 +glgui +gui +qtgui variants (default for current MP octave 3.8.2, except for the older gcc):

In file included from corefcn/oct-obj.h:33:
./octave-value/ov.h:1071:37: error: friend declaration specifying a default argument must be a definition
  friend OCTINTERP_API octave_value do_colon_op (const octave_value& base,
                                    ^
  GEN      dldfcn/__init_fltk__.df
In file included from builtins.cc:7:
In file included from corefcn/defun.h:30:
In file included from corefcn/defun-int.h:28:
In file included from ./octave-value/ov-builtin.h:28:
In file included from ./octave-value/ov-fcn.h:31:
In file included from corefcn/oct-obj.h:33:
./octave-value/ov.h:1071:37: error: friend declaration specifying a default argument must be a definition
  friend OCTINTERP_API octave_value do_colon_op (const octave_value& base,
                                    ^
  GEN      dldfcn/__init_gnuplot__.df
  GEN      dldfcn/__magick_read__.df
In file included from corefcn/oct-errno.cc:32:
In file included from corefcn/oct-errno.h:31:
In file included from corefcn/oct-map.h:30:
In file included from corefcn/Cell.h:31:
./octave-value/ov.h:1071:37: error: friend declaration specifying a default argument must be a definition
  friend OCTINTERP_API octave_value do_colon_op (const octave_value& base,
                                    ^
1 error generated.
make[3]: *** [corefcn/liboctinterp_la-oct-errno.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from octave.cc:35:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/iostream:38:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/ios:216:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__locale:15:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/string:439:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/algorithm:626:
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/utility:253:9: error: field has incomplete type 'const cdef_class'
    _T1 first;
        ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:629:16: note: in instantiation of template class 'std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >' requested here
    value_type __cc;
               ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:603:16: note: in instantiation of template class 'std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >' requested here
    value_type __value_;
               ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:694:22: note: in instantiation of template class 'std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *>' requested here
    typedef typename __node::base                                 __node_base;
                     ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:715:19: note: in instantiation of template class 'std::__1::__tree_const_iterator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *, long>' requested here
    _TreeIterator __i_;
                  ^
./octave-value/ov-classdef.h:441:71: note: in instantiation of template class 'std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *, long> >' requested here
  void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); }
                                                                      ^
./octave-value/ov-classdef.h:36:7: note: forward declaration of 'cdef_class'
class cdef_class;
      ^
In file included from octave.cc:72:
In file included from ./octave-value/ov-range.h:41:
In file included from ./octave-value/ov-re-mat.h:38:
./octave-value/ov-base-mat.h:95:8: warning: 'octave_base_matrix<NDArray>::assign' hides overloaded virtual function [-Woverloaded-virtual]
  void assign (const octave_value_list& idx, const MT& rhs);
       ^
./octave-value/ov-re-mat.h:51:24: note: in instantiation of template class 'octave_base_matrix<NDArray>' requested here
octave_matrix : public octave_base_matrix<NDArray>
                       ^
./octave-value/ov-base.h:278:16: note: hidden overloaded virtual function 'octave_base_value::assign' declared here: type mismatch at 1st parameter ('const std::string &' (aka 'const basic_string<char, char_traits<char>, allocator<char> > &') vs 'const octave_value_list &')
  virtual void assign (const std::string&, const octave_value&) { }
               ^
In file included from octave.cc:72:
In file included from ./octave-value/ov-range.h:41:
In file included from ./octave-value/ov-re-mat.h:38:
./octave-value/ov-base-mat.h:97:8: warning: 'octave_base_matrix<NDArray>::assign' hides overloaded virtual function [-Woverloaded-virtual]
  void assign (const octave_value_list& idx, typename MT::element_type rhs);
       ^
./octave-value/ov-base.h:278:16: note: hidden overloaded virtual function 'octave_base_value::assign' declared here: type mismatch at 1st parameter ('const std::string &' (aka 'const basic_string<char, char_traits<char>, allocator<char> > &') vs 'const octave_value_list &')
  virtual void assign (const std::string&, const octave_value&) { }
               ^
1 error generated.
make[3]: *** [liboctinterp_la-builtins.lo] Error 1
In file included from octave.cc:42:
In file included from ../liboctave/util/cmd-edit.h:28:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/set:387:
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:1985:19: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base<void *> *') is not allowed
                  static_cast<__node_base_pointer>(__np));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:2007:5: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__map_value_compare<cdef_class, std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::less<cdef_class>, true>, std::__1::allocator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::erase' requested here
    erase(__i);
    ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:1068:25: note: in instantiation of function template specialization 'std::__1::__tree<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__map_value_compare<cdef_class, std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::less<cdef_class>, true>, std::__1::allocator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::__erase_unique<cdef_class>' requested here
        {return __tree_.__erase_unique(__k);}
                        ^
./octave-value/ov-classdef.h:441:64: note: in instantiation of member function 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::erase' requested here
  void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); }
                                                               ^
In file included from octave.cc:42:
In file included from ../liboctave/util/cmd-edit.h:28:
In file included from /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/set:387:
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:656:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base<void *> *') is not allowed
        {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:1978:5: note: in instantiation of member function 'std::__1::__tree_iterator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *, long>::operator++' requested here
    ++__r;
    ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/__tree:2007:5: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__map_value_compare<cdef_class, std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::less<cdef_class>, true>, std::__1::allocator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::erase' requested here
    erase(__i);
    ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:1068:25: note: in instantiation of function template specialization 'std::__1::__tree<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__map_value_compare<cdef_class, std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::less<cdef_class>, true>, std::__1::allocator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::__erase_unique<cdef_class>' requested here
        {return __tree_.__erase_unique(__k);}
                        ^
./octave-value/ov-classdef.h:441:64: note: in instantiation of member function 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::erase' requested here
  void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); }
                                                               ^
In file included from octave.cc:53:
In file included from corefcn/defun.h:30:
In file included from corefcn/defun-int.h:28:
In file included from ./octave-value/ov-builtin.h:28:
In file included from ./octave-value/ov-fcn.h:34:
In file included from corefcn/symtab.h:29:
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:967:50: error: no viable conversion from 'const_iterator' (aka '__tree_const_iterator<value_type, __node_pointer, difference_type>') to 'const_iterator' (aka '__map_const_iterator<typename __base::const_iterator>')
    const_iterator end() const _NOEXCEPT {return __tree_.end();}
                                                 ^~~~~~~~~~~~~
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:878:37: note: in instantiation of member function 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::end' requested here
            insert(__m.begin(), __m.end());
                                    ^
./octave-value/ov-classdef.h:455:46: note: in instantiation of member function 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::map' requested here
    : cdef_object_base (obj), map (obj.map), ctor_list (obj.ctor_list) { }
                                             ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:713:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const_iterator' (aka '__tree_const_iterator<value_type, __node_pointer, difference_type>') to 'const std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *, long> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_const_iterator
                            ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:739:5: note: candidate constructor not viable: no known conversion from 'const_iterator' (aka '__tree_const_iterator<value_type, __node_pointer, difference_type>') to '__map_iterator<typename __tree_const_iterator<__value_type<cdef_class, list<cdef_class, allocator<cdef_class> > >, __tree_node<__value_type<cdef_class, list<cdef_class, allocator<cdef_class> > >, void *> *, long>::__non_const_iterator>' for 1st argument
    __map_const_iterator(
    ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:984:51: error: member function 'end' not viable: 'this' argument has type 'const std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >', but function is not marked const
    const_iterator cend() const _NOEXCEPT {return end();}
                                                  ^~~
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:1052:39: note: in instantiation of member function 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::cend' requested here
            for (const_iterator __e = cend(); __f != __l; ++__f)
                                      ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:878:13: note: in instantiation of function template specialization 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::insert<std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, std::__1::__tree_node<std::__1::__value_type<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > >, void *> *, long> > >' requested here
            insert(__m.begin(), __m.end());
            ^
./octave-value/ov-classdef.h:455:46: note: in instantiation of member function 'std::__1::map<cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> >, std::__1::less<cdef_class>, std::__1::allocator<std::__1::pair<const cdef_class, std::__1::list<cdef_class, std::__1::allocator<cdef_class> > > > >::map' requested here
    : cdef_object_base (obj), map (obj.map), ctor_list (obj.ctor_list) { }
                                             ^
/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/map:965:20: note: 'end' declared here
          iterator end() _NOEXCEPT {return __tree_.end();}
                   ^
2 warnings and 6 errors generated.


On Feb 27, 2015, at 8:42 AM, Jordi Gutiérrez Hermoso <address@hidden> wrote:

Moving this discussion to the maintainers' list...

On Fri, 2015-02-27 at 00:45 -0800, Sebastian Schöps wrote:
What is the plan for 4.0?

Currently, nothing. We'll ship Octave 4.0 with Windows binaries but no
Mac OS X distribution. Some people have offered to help, but no
concrete results yet:

   http://octave.1599824.n4.nabble.com/Mac-OS-X-champion-td4668534.html    

Mac OS X has a long and awful history with Octave. If you are willing
to put the effort into making reproducible Mac OS X builds for Octave,
it would make a lot of Mac users happy. If you can't ensure
reproducible builds, then an ad-hoc build like the one we had for
3.4.0 could be the next best thing.

- Jordi G. H.




Marius
--
Marius Schamschula





reply via email to

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