* Package: dev-db/mysql++-3.0.9  * Repository: gentoo  * Maintainer: mysql-bugs@gentoo.org  * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU  * FEATURES: ccache sandbox splitdebug >>> Unpacking source... >>> Unpacking mysql++-3.0.9.tar.gz to /var/tmp/portage/dev-db/mysql++-3.0.9/work >>> Source unpacked in /var/tmp/portage/dev-db/mysql++-3.0.9/work >>> Compiling source in /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9 ... * econf: updating mysql++-3.0.9/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mysql++-3.0.9/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-thread-check --with-mysql=/usr checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking whether we are using the Intel C compiler... no checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm checking for command to install directories... /usr/bin/install -c -d checking if make is GNU make... yes checking for dependency tracking method... gcc checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking synch.h usability... no checking synch.h presence... no checking for synch.h... no checking for unistd.h... (cached) yes checking whether -lm is needed to use C math functions... no checking whether -lsocket is needed... no checking whether -lnsl is needed... no checking for MySQL library directory... /usr/lib/mysql checking for MySQL include directory... /usr/include/mysql checking if we can link to MySQL C API library directly... yes checking for mysql_ssl_set in -lmysqlclient_r... yes checking for localtime_r()... yes checking for main in -lintl... no checking for x86_64-pc-linux-gnu-g++... (cached) x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes checking for STL slist extension... , namespace __gnu_cxx configure: creating ./config.status config.status: creating doc/userman/userman.dbx config.status: creating install.hta config.status: creating lib/Doxyfile config.status: creating lib/mysql++.h config.status: creating mysql++.spec config.status: creating Makefile config.status: creating config.h make /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_beemutex.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/beemutex.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_connection.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/connection.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_cpool.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/cpool.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_datetime.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/datetime.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_dbdriver.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/dbdriver.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_field_names.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/field_names.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_field_types.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/field_types.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_manip.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/manip.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_myset.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/myset.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_mysql++.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/mysql++.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_mystring.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/mystring.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_null.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/null.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_options.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/options.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_qparms.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/qparms.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_query.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/query.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_result.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/result.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_row.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/row.cpp /var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9/bk-deps x86_64-pc-linux-gnu-g++ -c -o mysqlpp_sql_buffer.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -march=corei7 -O2 -pipe -ggdb ./lib/sql_buffer.cpp In file included from ./lib/sql_buffer.h:31:0, from ./lib/sql_buffer.cpp:26: ./lib/refcounted.h:258:2: error: 'size_t' does not name a type In file included from ./lib/sql_buffer.h:31:0, from ./lib/sql_buffer.cpp:26: ./lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer::RefCountedPointer()': ./lib/refcounted.h:89:2: error: class 'mysqlpp::RefCountedPointer' does not have any field named 'refs_' ./lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer::RefCountedPointer(T*)': ./lib/refcounted.h:100:2: error: class 'mysqlpp::RefCountedPointer' does not have any field named 'refs_' ./lib/refcounted.h:104:4: error: 'refs_' was not declared in this scope ./lib/refcounted.h:104:16: error: expected type-specifier before 'size_t' ./lib/refcounted.h:104:16: error: expected ';' before 'size_t' ./lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer::RefCountedPointer(const ThisType&)': ./lib/refcounted.h:112:2: error: class 'mysqlpp::RefCountedPointer' does not have any field named 'refs_' ./lib/refcounted.h:115:8: error: 'refs_' was not declared in this scope ./lib/refcounted.h: In destructor 'mysqlpp::RefCountedPointer::~RefCountedPointer()': ./lib/refcounted.h:125:7: error: 'refs_' was not declared in this scope In file included from ./lib/sql_buffer.h:31:0, from ./lib/sql_buffer.cpp:26: ./lib/refcounted.h: In member function 'void mysqlpp::RefCountedPointer::swap(mysqlpp::RefCountedPointer::ThisType&)': ./lib/refcounted.h:246:13: error: 'refs_' was not declared in this scope make: *** [mysqlpp_sql_buffer.o] Error 1 emake failed * ERROR: dev-db/mysql++-3.0.9 failed (compile phase): * unable to make * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2003: Called die * The specific snippet of code: * emake || die "unable to make" * * If you need support, post the output of `emerge --info '=dev-db/mysql++-3.0.9'`, * the complete build log and the output of `emerge -pqv '=dev-db/mysql++-3.0.9'`. * The complete build log is located at '/var/tmp/portage/dev-db/mysql++-3.0.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql++-3.0.9/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9' * S: '/var/tmp/portage/dev-db/mysql++-3.0.9/work/mysql++-3.0.9'