Bug#652787: gringo: FTBFS: clone_allocator.hpp:34:27: error: invalid use of incomplete type 'struct Domain'

Thomas Krennwallner tkren at kr.tuwien.ac.at
Thu Dec 22 07:35:14 UTC 2011


Dear Lucas,

On Tue Dec 20, 2011 03:49:14PM +0100, Lucas Nussbaum wrote:
> Source: gringo
> Version: 3.0.3-6
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20111220 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
[...]
> > [ 54%] Building CXX object libgringo/CMakeFiles/gringo-lib.dir/src/parser.cpp.o
> > In file included from /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:24:0,
[...]
> >                  from /build/gringo-heRHOn/gringo-3.0.3/build/release/libgringo/gringo.h:26:
> > /usr/include/boost/ptr_container/clone_allocator.hpp: In function 'T* boost::new_clone(const T&) [with T = Domain]':
[...]
> > /usr/include/boost/foreach.hpp:648:95:   instantiated from 'boost::foreach_detail_::auto_any<boost::foreach_detail_::simple_variant<T> > boost::foreach_detail_::contain(const T&, bool*) [with T = boost::ptr_unordered_map<std::pair<unsigned int, unsigned int>, Domain>]'
> > /home/kaminski/svn/potassco/trunk/gringo/libgringo/src/parser.r2c:350:2:   instantiated from here
> > /usr/include/boost/ptr_container/clone_allocator.hpp:34:27: error: invalid use of incomplete type 'struct Domain'
> > /build/gringo-heRHOn/gringo-3.0.3/build/release/libgringo/gringo.h:70:7: error: forward declaration of 'struct Domain'
[...]
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2011/12/20/gringo_3.0.3-6_lsid64.buildlog

thanks for the report, it could be that this is related to the change
from boost 1.46 to 1.48. I will investigate.
 
> A list of current common problems and possible solutions is available at 
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot.  Internet was not
> accessible from the build systems.

Sounds interesting ;-)

Best,
TK

-- 
Thomas Krennwallner
University assistant
.
TU Wien - Vienna University of Technology
Institute of Information Systems
Favoritenstrasse 9-11, 1040 Wien, Austria
.
T: +43 1 58801 18469   F: +43 1 58801 918469
tkren AT kr DOT tuwien DOT ac DOT at
http://www.kr.tuwien.ac.at/staff/tkren/
.
DVR: 0005886





More information about the debian-science-maintainers mailing list