Opened 7 years ago

Closed 7 years ago

#50548 closed defect (fixed)

py27-ffc @1.6.0 :error:build dolfin cannot be installed

Reported by: mimeiners (Mirco Meiners) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port:

Description (last modified by seanfarley (Sean Farley))

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.

Change History (4)

comment:1 Changed 7 years ago by seanfarley (Sean Farley)

Description: modified (diff)
Owner: changed from macports-tickets@… to sean@…
Status: newassigned

comment:2 Changed 7 years ago by seanfarley (Sean Farley)

This smells like a boost or a /usr/local problem.

comment:3 in reply to:  2 Changed 7 years ago by mimeiners (Mirco Meiners)

Replying to sean@…:

This smells like a boost or a /usr/local problem.

Dear Sean,

please have a look at https://github.com/Juanlu001/fenics-recipes/issues/16; this issue should have been fixed in version 1.6.0. I tried the git sources of fcc, version 1.7.0 (https://bitbucket.org/fenics-project/ffc). They compiled without any build errors on my machine.

comment:4 Changed 7 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Ok, wow, sorry for the long delay but this should be fixed now!

Note: See TracTickets for help on using tickets.