octave-maintainers
[Top][All Lists]
Advanced

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

Re: Mac OS X champion


From: Ben Abbott
Subject: Re: Mac OS X champion
Date: Wed, 11 Feb 2015 19:29:44 -0500

> On Feb 11, 2015, at 10:37 AM, Alexander Hansen <address@hidden> wrote:
> 
>> On Feb 11, 2015, at 3:37 AM, Ben Abbott <address@hidden> wrote:
>> 
>>> On Feb 11, 2015, at 04:15, Carlo De Falco <address@hidden> wrote:
>>> 
>>>> On 10 Feb 2015, at 23:58, Ben Abbott <address@hidden> wrote:
>>>> 
>>>> (2) Octave does not build on Yosemite (latest release of Mac OSX)
>>> 
>>> IMHO This is the main issue to focus on. 
>>> 
>>> I had in mind to work on this, but I do not have a system with Yosemite at 
>>> the moment
>>> as I had to revert to Mavericks when I found out that other code I use for 
>>> my research 
>>> required more work to be ported than I can currently afford.
>>> 
>>> I think I will be able to try this again by end of March.
>>> 
>>> c.
>> 
>> I haven't tried, but I recall that some of Fink's developers use virtual box 
>> to run different versions of Mac OSX.
>> 
>> That would allow you to avoid upgrading.
>> 
>> Ben
> 
> Hi, I’ve got 10.7-10.9 working on VMware Fusion right now on my 10.10 primary 
> system.  I can lend you a hand.

Alex,

In case you have seen this problem when building other packages on Yosemite, an 
example of the errors we're seeing with Octave is below.

/bin/sh ../libtool --tag=CXX --mode=compile 
/sw/var/lib/fink/path-prefix-libcxx/c++ -DHAVE_CONFIG_H -I. -I..  
-I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu  
-I/usr/X11/include -I/sw/include  -Wall -W -Wshadow -Wold-style-cast -Wformat 
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -MD -D_THREAD_SAFE 
-pthread -D_THREAD_SAFE -pthread -MT 
parse-tree/parse_tree_libparse_tree_la-pt-classdef.lo -MD -MP -MF 
parse-tree/.deps/parse_tree_libparse_tree_la-pt-classdef.Tpo -c -o 
parse-tree/parse_tree_libparse_tree_la-pt-classdef.lo `test -f 
'parse-tree/pt-classdef.cc' || echo './'`parse-tree/pt-classdef.cc
test -f 'parse-tree/pt-classdef.cc' || echo './'
libtool: compile:  /sw/var/lib/fink/path-prefix-libcxx/c++ -DHAVE_CONFIG_H -I. 
-I.. -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu 
-I/usr/X11/include -I/sw/include -Wall -W -Wshadow -Wold-style-cast -Wformat 
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -MD -D_THREAD_SAFE 
-pthread -D_THREAD_SAFE -pthread -MT 
parse-tree/parse_tree_libparse_tree_la-pt-classdef.lo -MD -MP -MF 
parse-tree/.deps/parse_tree_libparse_tree_la-pt-classdef.Tpo -c 
parse-tree/pt-classdef.cc  -fno-common -DPIC -o 
parse-tree/.libs/parse_tree_libparse_tree_la-pt-classdef.o
In file included from parse-tree/pt-classdef.cc:27:
In file included from ./octave-value/ov-classdef.h:26:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:423:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:16:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:598:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:253:9:
 error: field has incomplete type 'const cdef_class'
    _T1 first;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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;
               ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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_;
               ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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;
                     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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 parse-tree/pt-classdef.cc:28:
In file included from parse-tree/pt-classdef.h:32:
parse-tree/pt-id.h:159:20: warning: 'tree_black_hole::dup' hides overloaded 
virtual function [-Woverloaded-virtual]
  tree_black_hole *dup (void) const
                   ^
parse-tree/pt-id.h:125:20: note: hidden overloaded virtual function 
'tree_identifier::dup' declared here: different number of parameters (2 vs 0)
  tree_identifier *dup (symbol_table::scope_id scope,
                   ^
In file included from parse-tree/pt-classdef.cc:27:
In file included from ./octave-value/ov-classdef.h:26:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:423:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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 parse-tree/pt-classdef.cc:27:
In file included from ./octave-value/ov-classdef.h:26:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:423:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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_)));
                                                          
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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;
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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 parse-tree/pt-classdef.cc:27:
In file included from ./octave-value/ov-classdef.h:26:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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();}
                                                 ^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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) { }
                                             ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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
                            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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(
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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();}
                                                  ^~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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)
                                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/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) { }
                                             ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:965:20:
 note: 'end' declared here
          iterator end() _NOEXCEPT {return __tree_.end();}

TiA,
Ben




reply via email to

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