ibtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/postgresql-9.1 -O2 -pipe -ggdb -march=nati ve -c cursor.cxx -fPIC -DPIC -o .libs/cursor.o In file included from ../include/pqxx/util:18:0, from ../include/pqxx/except.hxx:27, from ../include/pqxx/except:19, from ../include/pqxx/result.hxx:31, from ../include/pqxx/result:19, from ../include/pqxx/binarystring.hxx:26, from ../include/pqxx/binarystring:18, from connection_base.cxx:46: ../include/pqxx/util.hxx: In instantiation of ‘std::string pqxx::separated_list(const string&, ITER, ITER, ACCESS) [with ITER = __gnu_cxx::__n ormal_iterator<pqxx::prepare::internal::prepared_def::param*, std::vector<pqxx::prepare::internal::prepared_def::param> >; ACCESS = pqxx::prep are::internal::get_sqltype; std::string = std::basic_string<char>]’: connection_base.cxx:1018:35: required from here ../include/pqxx/util.hxx:412:5: error: ‘to_string’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from ../include/pqxx/strconv:18:0, from ../include/pqxx/result.hxx:32, from ../include/pqxx/result:19, from ../include/pqxx/binarystring.hxx:26, from ../include/pqxx/binarystring:18, from connection_base.cxx:46: ../include/pqxx/strconv.hxx:239:22: note: ‘std::string pqxx::to_string(const char*)’ declared here, later in the translation unit In file included from ../include/pqxx/util:18:0, from ../include/pqxx/except.hxx:27, from ../include/pqxx/except:19, from ../include/pqxx/result.hxx:31, from ../include/pqxx/result:19, from ../include/pqxx/binarystring.hxx:26, from ../include/pqxx/binarystring:18, from connection_base.cxx:46: ../include/pqxx/util.hxx:416:7: error: ‘to_string’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from ../include/pqxx/strconv:18:0, from ../include/pqxx/result.hxx:32, from ../include/pqxx/result:19, from ../include/pqxx/binarystring.hxx:26, from ../include/pqxx/binarystring:18, from connection_base.cxx:46: ../include/pqxx/strconv.hxx:239:22: note: ‘std::string pqxx::to_string(const char*)’ declared here, later in the translation unit libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/postgresql-9.1 -O2 -pipe -ggdb -march=nati ve -c connection.cxx -o connection.o >/dev/null 2>&1 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/postgresql-9.1 -O2 -pipe -ggdb -march=nati ve -c binarystring.cxx -o binarystring.o >/dev/null 2>&1 make[1]: *** [connection_base.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/postgresql-9.1 -O2 -pipe -ggdb -march=nati ve -c cursor.cxx -o cursor.o >/dev/null 2>&1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libpqxx-3.1-r3/work/libpqxx-3.1/src' make: *** [all-recursive] Error 1
03 May 2012; Aaron W. Swenson <titanofold@gentoo.org> -libpqxx-2.6.9.ebuild, -files/libpqxx-2.6.9-gcc43.patch, -files/libpqxx-2.6.9-gcc44.patch, -libpqxx-3.1-r3.ebuild, -files/libpqxx-3.1-gcc46.patch, -libpqxx-4.0.ebuild: Clean out old versions that do not build with newer versions of GCC. Fixes bug 414131.