[Aptitude-devel] Bug#701243: still... aptitude: ftbfs with GCC-4.8

Dmitrijs Ledkovs xnox at debian.org
Thu May 2 20:56:08 UTC 2013


I have now tried building aptitude using ubuntu saucy chroot which has
gcc-4.8 and boost1.53. This resulted in the following build failure:

http://paste.ubuntu.com/5627193/

> g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../.. -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src  -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/lib/cwidget       -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o util.o ../../../../src/generic/util/util.cc
> /usr/include/boost/smart_ptr/make_shared_object.hpp: In instantiation of 'typename boost::detail::sp_if_not_array<T>::type boost::make_shared(const A1&, const A2&) [with T = aptitude::sqlite::statement; A1 = boost::reference_wrapper<aptitude::sqlite::db>; A2 = sqlite3_stmt*; typename boost::detail::sp_if_not_array<T>::type = boost::shared_ptr<aptitude::sqlite::statement>]':
> ../../../../src/generic/util/sqlite.cc:255:65:   required from here
> ../../../../src/generic/util/sqlite.cc:214:5: error: 'aptitude::sqlite::statement::statement(aptitude::sqlite::db&, sqlite3_stmt*)' is private
>      statement::statement(db &_parent, sqlite3_stmt *_handle)
>      ^
> In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0,
>                  from /usr/include/boost/make_shared.hpp:15,
>                  from ../../../../src/generic/util/sqlite.h:28,
>                  from ../../../../src/generic/util/sqlite.cc:21:
> /usr/include/boost/smart_ptr/make_shared_object.hpp:743:5: error: within this context
>      ::new( pv ) T( a1, a2 );
>      ^
> /usr/include/boost/smart_ptr/make_shared_object.hpp: In instantiation of 'typename boost::detail::sp_if_not_array<T>::type boost::make_shared(const A1&, const A2&) [with T = aptitude::sqlite::blob; A1 = boost::reference_wrapper<aptitude::sqlite::db>; A2 = sqlite3_blob*; typename boost::detail::sp_if_not_array<T>::type = boost::shared_ptr<aptitude::sqlite::blob>]':
> ../../../../src/generic/util/sqlite.cc:460:60:   required from here
> ../../../../src/generic/util/sqlite.cc:424:5: error: 'aptitude::sqlite::blob::blob(aptitude::sqlite::db&, sqlite3_blob*)' is private
>      blob::blob(db &_parent, sqlite3_blob *_handle)
>      ^
> In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0,
>                  from /usr/include/boost/make_shared.hpp:15,
>                  from ../../../../src/generic/util/sqlite.h:28,
>                  from ../../../../src/generic/util/sqlite.cc:21:
> /usr/include/boost/smart_ptr/make_shared_object.hpp:743:5: error: within this context
>      ::new( pv ) T( a1, a2 );
>      ^
> make[6]: *** [sqlite.o] Error 1


Not quite sure what's going on.


-- 
Regards,
Dmitrijs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20130502/96a5f591/attachment.pgp>


More information about the Aptitude-devel mailing list