[MacPorts] #50548: py27-ffc @1.6.0 :error:build dolfin cannot be installed

MacPorts noreply at macports.org
Thu Feb 4 10:56:37 PST 2016


#50548: py27-ffc @1.6.0 :error:build dolfin cannot be installed
------------------------------+----------------------
  Reporter:  mirco.meiners@…  |      Owner:  sean@…
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
      Port:                   |
------------------------------+----------------------
Changes (by sean@…):

 * status:  new => assigned
 * owner:  macports-tickets@… => sean@…


Old description:

> Error log of ffc build:
>
> :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
> prototypes -Iufc
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/numpy/core/include
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c ufc/ufc_wrap.cpp -o build/temp.macosx-10.8-x86_64-2.7/ufc/ufc_wrap.o
> -Os -std=c++11 -std=c++11
> :info:build ufc/ufc_wrap.cpp:3962:8: error: no member named 'shared_ptr'
> in namespace 'std'
> :info:build   std::shared_ptr< ufc::function > tempshared1 ;
> :info:build   ~~~~~^
> :info:build ufc/ufc_wrap.cpp:3962:34: error: expected '(' for function-
> style cast or type construction
> :info:build   std::shared_ptr< ufc::function > tempshared1 ;
> :info:build                    ~~~~~~~~~~~~~ ^
> :info:build ufc/ufc_wrap.cpp:3962:36: error: use of undeclared identifier
> 'tempshared1'
> :info:build   std::shared_ptr< ufc::function > tempshared1 ;
> :info:build                                    ^
> :info:build ufc/ufc_wrap.cpp:3963:8: error: no member named 'shared_ptr'
> in namespace 'std'
> :info:build   std::shared_ptr< ufc::function > *smartarg1 = 0 ;
> :info:build   ~~~~~^
> :info:build ufc/ufc_wrap.cpp:3963:34: error: expected '(' for function-
> style cast or type construction
> :info:build   std::shared_ptr< ufc::function > *smartarg1 = 0 ;
> :info:build                    ~~~~~~~~~~~~~ ^
> :info:build ufc/ufc_wrap.cpp:3963:37: error: use of undeclared identifier
> 'smartarg1'
> :info:build   std::shared_ptr< ufc::function > *smartarg1 = 0 ;
> :info:build                                     ^
> :info:build ufc/ufc_wrap.cpp:3975:7: error: use of undeclared identifier
> 'tempshared1'
> :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build       ^
> :info:build ufc/ufc_wrap.cpp:3975:45: error: no type named 'shared_ptr'
> in namespace 'std'
> :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                        ~~~~~^
> :info:build ufc/ufc_wrap.cpp:3975:55: error: expected '>'
> :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                                       ^
> :info:build                                                       >
> :info:build ufc/ufc_wrap.cpp:3975:38: note: to match this '<'
> :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                      ^
> :info:build ufc/ufc_wrap.cpp:3975:72: error: expected '(' for function-
> style cast or type construction
> :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build
> ~~~~~~~~~~~~~ ^
> :info:build ufc/ufc_wrap.cpp:3975:76: error: expected expression
> :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build
> ^
> :info:build ufc/ufc_wrap.cpp:3976:37: error: no type named 'shared_ptr'
> in namespace 'std'
> :info:build       delete reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                ~~~~~^
> :info:build ufc/ufc_wrap.cpp:3976:47: error: expected '>'
> :info:build       delete reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                               ^
> :info:build                                               >
> :info:build ufc/ufc_wrap.cpp:3976:30: note: to match this '<'
> :info:build       delete reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                              ^
> :info:build ufc/ufc_wrap.cpp:3976:64: error: expected '(' for function-
> style cast or type construction
> :info:build       delete reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build
> ~~~~~~~~~~~~~ ^
> :info:build ufc/ufc_wrap.cpp:3976:68: error: expected expression
> :info:build       delete reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build
> ^
> :info:build ufc/ufc_wrap.cpp:3977:44: error: use of undeclared identifier
> 'tempshared1'
> :info:build       arg1 = const_cast< ufc::function *
> >(tempshared1.get());
> :info:build                                            ^
> :info:build ufc/ufc_wrap.cpp:3979:7: error: use of undeclared identifier
> 'smartarg1'
> :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build       ^
> :info:build ufc/ufc_wrap.cpp:3979:42: error: no type named 'shared_ptr'
> in namespace 'std'
> :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                     ~~~~~^
> :info:build ufc/ufc_wrap.cpp:3979:52: error: expected '>'
> :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                                    ^
> :info:build                                                    >
> :info:build ufc/ufc_wrap.cpp:3979:35: note: to match this '<'
> :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
> ufc::function > * >(argp1);
> :info:build                                   ^
> :info:build fatal error: too many errors emitted, stopping now [-ferror-
> limit=]
> :info:build 20 errors generated.

New description:

 Error log of ffc build:

 {{{
 :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -Iufc
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c ufc/ufc_wrap.cpp -o build/temp.macosx-10.8-x86_64-2.7/ufc/ufc_wrap.o
 -Os -std=c++11 -std=c++11
 :info:build ufc/ufc_wrap.cpp:3962:8: error: no member named 'shared_ptr'
 in namespace 'std'
 :info:build   std::shared_ptr< ufc::function > tempshared1 ;
 :info:build   ~~~~~^
 :info:build ufc/ufc_wrap.cpp:3962:34: error: expected '(' for function-
 style cast or type construction
 :info:build   std::shared_ptr< ufc::function > tempshared1 ;
 :info:build                    ~~~~~~~~~~~~~ ^
 :info:build ufc/ufc_wrap.cpp:3962:36: error: use of undeclared identifier
 'tempshared1'
 :info:build   std::shared_ptr< ufc::function > tempshared1 ;
 :info:build                                    ^
 :info:build ufc/ufc_wrap.cpp:3963:8: error: no member named 'shared_ptr'
 in namespace 'std'
 :info:build   std::shared_ptr< ufc::function > *smartarg1 = 0 ;
 :info:build   ~~~~~^
 :info:build ufc/ufc_wrap.cpp:3963:34: error: expected '(' for function-
 style cast or type construction
 :info:build   std::shared_ptr< ufc::function > *smartarg1 = 0 ;
 :info:build                    ~~~~~~~~~~~~~ ^
 :info:build ufc/ufc_wrap.cpp:3963:37: error: use of undeclared identifier
 'smartarg1'
 :info:build   std::shared_ptr< ufc::function > *smartarg1 = 0 ;
 :info:build                                     ^
 :info:build ufc/ufc_wrap.cpp:3975:7: error: use of undeclared identifier
 'tempshared1'
 :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build       ^
 :info:build ufc/ufc_wrap.cpp:3975:45: error: no type named 'shared_ptr' in
 namespace 'std'
 :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build                                        ~~~~~^
 :info:build ufc/ufc_wrap.cpp:3975:55: error: expected '>'
 :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build                                                       ^
 :info:build                                                       >
 :info:build ufc/ufc_wrap.cpp:3975:38: note: to match this '<'
 :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build                                      ^
 :info:build ufc/ufc_wrap.cpp:3975:72: error: expected '(' for function-
 style cast or type construction
 :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build
 ~~~~~~~~~~~~~ ^
 :info:build ufc/ufc_wrap.cpp:3975:76: error: expected expression
 :info:build       tempshared1 = *reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build
 ^
 :info:build ufc/ufc_wrap.cpp:3976:37: error: no type named 'shared_ptr' in
 namespace 'std'
 :info:build       delete reinterpret_cast< std::shared_ptr<  ufc::function
 > * >(argp1);
 :info:build                                ~~~~~^
 :info:build ufc/ufc_wrap.cpp:3976:47: error: expected '>'
 :info:build       delete reinterpret_cast< std::shared_ptr<  ufc::function
 > * >(argp1);
 :info:build                                               ^
 :info:build                                               >
 :info:build ufc/ufc_wrap.cpp:3976:30: note: to match this '<'
 :info:build       delete reinterpret_cast< std::shared_ptr<  ufc::function
 > * >(argp1);
 :info:build                              ^
 :info:build ufc/ufc_wrap.cpp:3976:64: error: expected '(' for function-
 style cast or type construction
 :info:build       delete reinterpret_cast< std::shared_ptr<  ufc::function
 > * >(argp1);
 :info:build                                                  ~~~~~~~~~~~~~
 ^
 :info:build ufc/ufc_wrap.cpp:3976:68: error: expected expression
 :info:build       delete reinterpret_cast< std::shared_ptr<  ufc::function
 > * >(argp1);
 :info:build
 ^
 :info:build ufc/ufc_wrap.cpp:3977:44: error: use of undeclared identifier
 'tempshared1'
 :info:build       arg1 = const_cast< ufc::function * >(tempshared1.get());
 :info:build                                            ^
 :info:build ufc/ufc_wrap.cpp:3979:7: error: use of undeclared identifier
 'smartarg1'
 :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build       ^
 :info:build ufc/ufc_wrap.cpp:3979:42: error: no type named 'shared_ptr' in
 namespace 'std'
 :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build                                     ~~~~~^
 :info:build ufc/ufc_wrap.cpp:3979:52: error: expected '>'
 :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build                                                    ^
 :info:build                                                    >
 :info:build ufc/ufc_wrap.cpp:3979:35: note: to match this '<'
 :info:build       smartarg1 = reinterpret_cast< std::shared_ptr<
 ufc::function > * >(argp1);
 :info:build                                   ^
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build 20 errors generated.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/50548#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list