dolfin-trunk build error

Bug #1160531 reported by Andrew McRae
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DOLFIN
New
Undecided
Unassigned

Bug Description

Building via Dorsal on Ubuntu 12.04.2
PROCS=7 (so this might be several things exploding at once)
STABLE_BUILD=false
USE_SNAPSHOTS=false

[ 54%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/DofMapBuilder.cpp.o
[ 54%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/SystemAssembler.cpp.o
[ 54%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/DomainAssigner.cpp.o
[ 55%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/DofMap.cpp.o
[ 55%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/assemble.cpp.o
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMapBuilder.cpp: In static member function ‘static void dolfin::DofMapBuilder::build_ufc_dofmap(dolfin::DofMap&, dolfin::DofMapBuilder::map&, const dolfin::Mesh&, boost::shared_ptr<const std::map<unsigned int, std::map<unsigned int, std::pair<unsigned int, unsigned int> > > >, boost::shared_ptr<const dolfin::Restriction>)’:
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMapBuilder.cpp:513:69: error: no matching function for call to ‘ufc::dofmap::local_dimension() const’
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMapBuilder.cpp:513:69: note: candidate is:
/home/atm112/local/fenics/include/ufc.h:247:25: note: virtual std::size_t ufc::dofmap::local_dimension(const ufc::cell&) const
/home/atm112/local/fenics/include/ufc.h:247:25: note: candidate expects 1 argument, 0 provided
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMap.cpp: In member function ‘virtual std::size_t dolfin::DofMap::max_cell_dimension() const’:
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMap.cpp:202:39: error: no matching function for call to ‘ufc::dofmap::local_dimension() const’
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMap.cpp:202:39: note: candidate is:
/home/atm112/local/fenics/include/ufc.h:247:25: note: virtual std::size_t ufc::dofmap::local_dimension(const ufc::cell&) const
/home/atm112/local/fenics/include/ufc.h:247:25: note: candidate expects 1 argument, 0 provided
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMap.cpp: In member function ‘virtual std::vector<int> dolfin::DofMap::dof_to_vertex_map(dolfin::Mesh&) const’:
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMap.cpp:362:69: error: no matching function for call to ‘ufc::dofmap::local_dimension() const’
/home/atm112/local/fenics-trunk/src/dolfin/dolfin/fem/DofMap.cpp:362:69: note: candidate is:
/home/atm112/local/fenics/include/ufc.h:247:25: note: virtual std::size_t ufc::dofmap::local_dimension(const ufc::cell&) const
/home/atm112/local/fenics/include/ufc.h:247:25: note: candidate expects 1 argument, 0 provided
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/fem/DofMapBuilder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/fem/DofMap.cpp.o] Error 1
make[2]: Leaving directory `/home/atm112/local/fenics-trunk/src/dolfin/dorsal_build_dir'
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make[1]: Leaving directory `/home/atm112/local/fenics-trunk/src/dolfin/dorsal_build_dir'
make: *** [all] Error 2
make: Leaving directory `/home/atm112/local/fenics-trunk/src/dolfin/dorsal_build_dir'
Failure with exit status: 2
Exit message: There was a problem building dolfin.

Revision history for this message
Johannes Ring (johannr) wrote :

I could not reproduce this error. It builds fine for me on Ubuntu 12.04 with STABLE_BUILD=false.

Could you try the latest development version of Dorsal? Also try to remove the DOLFIN source directory completely, that is /home/atm112/local/fenics-trunk/src/dolfin in your case.

Revision history for this message
Andrew McRae (andymc) wrote :

At the moment it's building fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.