dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24870
Re: red buildbot because of some boost errors
On Thu, 2011-10-27 at 11:30 +0200, Johannes Ring wrote:
> On Thu, Oct 27, 2011 at 10:43 AM, Andre Massing <massing@xxxxxxxxx> wrote:
> > Buildbot is trying to build my branch but complains about some boost
> > errors (more precisely warning treated as errors)
> > I remember that Johan had some problems a couple of days ago with
> > getting compiled his code where he needed to add some pragmas. But in
> > my case I did not touch any iocode so that part it pure trunk code on
> > my machine:
> > Here is the error:
> >
> > Building CXX object dolfin/CMakeFiles/dolfin.dir/la/PETScBaseMatrix.cpp.o
> > [ 52%] Building CXX object
> > dolfin/CMakeFiles/dolfin.dir/la/PETScKrylovMatrix.cpp.o
> > [ 53%] cc1plus: warnings being treated as errors
> > In file included from
> > /work/fenics/buildbots/massing/fenics-src/dolfin/dolfin/io/XMLFile.cpp:33:
> > /work/fenics/local/include/boost/iostreams/filter/gzip.hpp: In
> > constructor
> > 'boost::iostreams::basic_gzip_compressor<Alloc>::basic_gzip_compressor(const
> > boost::iostreams::gzip_params&, int) [with Alloc = std::allocator<char>]':
> > /work/fenics/buildbots/massing/fenics-src/dolfin/dolfin/io/XMLFile.cpp:305:
> > instantiated from here
> > /work/fenics/local/include/boost/iostreams/filter/gzip.hpp:674: error:
> > overflow in implicit constant conversion
> > /work/fenics/local/include/boost/system/error_code.hpp: At global scope:
> > /work/fenics/local/include/boost/system/error_code.hpp:214: error:
> > 'boost::system::posix_category' defined but not used
> > /work/fenics/local/include/boost/system/error_code.hpp:215: error:
> > 'boost::system::errno_ecat' defined but not used
> > /work/fenics/local/include/boost/system/error_code.hpp:216: error:
> > 'boost::system::native_ecat' defined but not used
> > Building CXX object
> > dolfin/CMakeFiles/dolfin.dir/la/PETScKrylovSolver.cpp.o
> > make[2]: *** [dolfin/CMakeFiles/dolfin.dir/io/XMLFile.cpp.o] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > [ 53%] Building CXX object
> > dolfin/CMakeFiles/dolfin.dir/la/PETScLUSolver.cpp.o
> > make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
> > make: *** [all] Error 2
> > *** error during stage build_plain of dolfin: ########## Error running
> > make -j3 install *** [1/1]
> > *** the following modules were not built *** [1/1]
> > dolfin
> >
> >
> > As I said on my local machine it compiles just fine (boost 1.46 oneiric)
> > Any idea how to resolve that?
>
> Your branch was for some reason on revision 6120 and this was fixed in
> revision 6298. I have deleted your branch and forced a new build to
> checkout a clean branch. Let's see if that helps.
Ok, that explains it... somehow :) At least why it got not compiled
despite the fact that I pushed all the recent updates from trunk
to my branch. Let's keep fingers crossed then..
> > @Johannes: Do I have the exact boost
> > version as on the main (ubuntu based) buildbots?
>
> Boost is version 1.47 on the linux64-exp slave and it is the same
> Boost for the main buildbot and the personal buildbots running on this
> slave.
God to know, thanks for the info and help!
Hilsen fra Umeaa
Andre
>
> Johannes
References