>>> Unpacking source... >>> Unpacking dvmysql-1.0.2.tar.gz to /var/tmp/portage/dev-libs/dvmysql-1.0.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/dvmysql-1.0.2/work/dvmysql-1.0.2 ... * econf: updating dvmysql-1.0.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating dvmysql-1.0.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... yes checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for strdup... yes checking for perl... /usr/bin/perl checking whether required libdvutil.la is available... yes (/usr/lib/libdvutil.la, /usr/include/dvutil/props.h) checking whether /usr/lib/libdvutil.la is working... yes checking std::iterator exists... iterator checking whether required libmysqlclient.a is available... yes (/usr/lib/mysql/libmysqlclient.a, /usr/include/mysql/mysql.h) checking whether /usr/lib/mysql/libmysqlclient.a is working... yes configure: creating ./config.status config.status: creating Makefile config.status: creating dvmysql/Makefile config.status: creating doc/Makefile config.status: creating dvmysql/vector_string_input_iterator.h config.status: creating dvmysql/doxygen.conf config.status: creating dvmysql/header.html config.status: creating dvmysql/footer.html config.status: creating dvmysql/test-mysql.config config.status: creating dvmysql/ddl2cpp.opt config.status: creating dvmysql/db2cpp.opt config.status: creating dvmysql/test-setup-database.sh config.status: creating m4/Makefile config.status: creating m4/dvmysql.m4 config.status: creating config.h config.status: executing depfiles commands make -j14 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-libs/dvmysql-1.0.2/work/dvmysql-1.0.2' Making all in dvmysql make[2]: Entering directory `/var/tmp/portage/dev-libs/dvmysql-1.0.2/work/dvmysql-1.0.2/dvmysql' if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT mysqldb.lo -MD -MP -MF ".deps/mysqldb.Tpo" \ -c -o mysqldb.lo `test -f 'mysqldb.C' || echo './'`mysqldb.C; \ then mv -f ".deps/mysqldb.Tpo" ".deps/mysqldb.Plo"; \ else rm -f ".deps/mysqldb.Tpo"; exit 1; \ fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT sqldb.lo -MD -MP -MF ".deps/sqldb.Tpo" \ -c -o sqldb.lo `test -f 'sqldb.C' || echo './'`sqldb.C; \ then mv -f ".deps/sqldb.Tpo" ".deps/sqldb.Plo"; \ else rm -f ".deps/sqldb.Tpo"; exit 1; \ fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT select_exp.lo -MD -MP -MF ".deps/select_exp.Tpo" \ -c -o select_exp.lo `test -f 'select_exp.C' || echo './'`select_exp.C; \ then mv -f ".deps/select_exp.Tpo" ".deps/select_exp.Plo"; \ else rm -f ".deps/select_exp.Tpo"; exit 1; \ fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT object.lo -MD -MP -MF ".deps/object.Tpo" \ -c -o object.lo `test -f 'object.C' || echo './'`object.C; \ then mv -f ".deps/object.Tpo" ".deps/object.Plo"; \ else rm -f ".deps/object.Tpo"; exit 1; \ fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT table.lo -MD -MP -MF ".deps/table.Tpo" \ -c -o table.lo `test -f 'table.C' || echo './'`table.C; \ then mv -f ".deps/table.Tpo" ".deps/table.Plo"; \ else rm -f ".deps/table.Tpo"; exit 1; \ fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT reference.lo -MD -MP -MF ".deps/reference.Tpo" \ -c -o reference.lo `test -f 'reference.C' || echo './'`reference.C; \ then mv -f ".deps/reference.Tpo" ".deps/reference.Plo"; \ else rm -f ".deps/reference.Tpo"; exit 1; \ fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT db2cpp.o -MD -MP -MF ".deps/db2cpp.Tpo" \ -c -o db2cpp.o `test -f 'db2cpp.C' || echo './'`db2cpp.C; \ then mv -f ".deps/db2cpp.Tpo" ".deps/db2cpp.Po"; \ else rm -f ".deps/db2cpp.Tpo"; exit 1; \ fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -pipe -MT db2cpp_cmdline.o -MD -MP -MF ".deps/db2cpp_cmdline.Tpo" \ -c -o db2cpp_cmdline.o `test -f 'db2cpp_cmdline.c' || echo './'`db2cpp_cmdline.c; \ then mv -f ".deps/db2cpp_cmdline.Tpo" ".deps/db2cpp_cmdline.Po"; \ else rm -f ".deps/db2cpp_cmdline.Tpo"; exit 1; \ fi cat test-setup-database.sh >test-setup-database chmod +x test-setup-database mkdir .libs mkdir .libs mkdir .libs mkdir .libs mkdir: cannot create directory `.libs'mkdir: cannot create directory `.libs': File exists mkdir: cannot create directory `.libs': File exists : File exists i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT table.lo -MD -MP -MF .deps/table.Tpo -c table.C -fPIC -DPIC -o .libs/table.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT mysqldb.lo -MD -MP -MF .deps/mysqldb.Tpo -c mysqldb.C -fPIC -DPIC -o .libs/mysqldb.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.C -fPIC -DPIC -o .libs/object.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT reference.lo -MD -MP -MF .deps/reference.Tpo -c reference.C -fPIC -DPIC -o .libs/reference.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT sqldb.lo -MD -MP -MF .deps/sqldb.Tpo -c sqldb.C -fPIC -DPIC -o .libs/sqldb.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT select_exp.lo -MD -MP -MF .deps/select_exp.Tpo -c select_exp.C -fPIC -DPIC -o .libs/select_exp.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT select_exp.lo -MD -MP -MF .deps/select_exp.Tpo -c select_exp.C -o select_exp.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT table.lo -MD -MP -MF .deps/table.Tpo -c table.C -o table.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT sqldb.lo -MD -MP -MF .deps/sqldb.Tpo -c sqldb.C -o sqldb.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT reference.lo -MD -MP -MF .deps/reference.Tpo -c reference.C -o reference.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT mysqldb.lo -MD -MP -MF .deps/mysqldb.Tpo -c mysqldb.C -o mysqldb.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/mysql -I/usr/include -O2 -g -Wall -O2 -pipe -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.C -o object.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -g -Wall -O2 -pipe -Wl,-O1 -o libdvmysql.la -rpath /usr/lib -release 1.0.2 mysqldb.lo sqldb.lo select_exp.lo object.lo table.lo reference.lo i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o .libs/mysqldb.o .libs/sqldb.o .libs/select_exp.o .libs/object.o .libs/table.o .libs/reference.o -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crtn.o -Wl,-O1 -Wl,-soname -Wl,libdvmysql-1.0.2.so -o .libs/libdvmysql-1.0.2.so (cd .libs && rm -f libdvmysql.so && ln -s libdvmysql-1.0.2.so libdvmysql.so) i686-pc-linux-gnu-ar cru .libs/libdvmysql.a mysqldb.o sqldb.o select_exp.o object.o table.o reference.o i686-pc-linux-gnu-ranlib .libs/libdvmysql.a creating libdvmysql.la (cd .libs && rm -f libdvmysql.la && ln -s ../libdvmysql.la libdvmysql.la) /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -g -Wall -O2 -pipe -Wl,-O1 -o db2cpp db2cpp.o db2cpp_cmdline.o libdvmysql.la -L/usr/lib/mysql -lmysqlclient /usr/lib/libdvutil.la i686-pc-linux-gnu-g++ -O2 -g -Wall -O2 -pipe -Wl,-O1 -o .libs/db2cpp db2cpp.o db2cpp_cmdline.o ./.libs/libdvmysql.so -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.so -lnsl -lm -L/usr/lib -lssl -lcrypto -lz /usr/lib/libdvutil.so -lcrypt -Wl,--rpath -Wl,/usr/lib/mysql ./.libs/libdvmysql.so: undefined reference to `mysql_fetch_field' ./.libs/libdvmysql.so: undefined reference to `mysql_select_db' ./.libs/libdvmysql.so: undefined reference to `mysql_insert_id' ./.libs/libdvmysql.so: undefined reference to `mysql_num_fields' ./.libs/libdvmysql.so: undefined reference to `mysql_field_count' ./.libs/libdvmysql.so: undefined reference to `mysql_init' ./.libs/libdvmysql.so: undefined reference to `mysql_real_query' ./.libs/libdvmysql.so: undefined reference to `mysql_data_seek' ./.libs/libdvmysql.so: undefined reference to `mysql_fetch_row' ./.libs/libdvmysql.so: undefined reference to `mysql_close' ./.libs/libdvmysql.so: undefined reference to `mysql_list_tables' ./.libs/libdvmysql.so: undefined reference to `mysql_real_connect' ./.libs/libdvmysql.so: undefined reference to `mysql_fetch_lengths' ./.libs/libdvmysql.so: undefined reference to `mysql_error' ./.libs/libdvmysql.so: undefined reference to `mysql_num_rows' ./.libs/libdvmysql.so: undefined reference to `Dv::Util::Date::str(char const*) const' ./.libs/libdvmysql.so: undefined reference to `mysql_store_result' ./.libs/libdvmysql.so: undefined reference to `mysql_escape_string' ./.libs/libdvmysql.so: undefined reference to `Dv::Util::Props::find(std::basic_string, std::allocator > const&) const' ./.libs/libdvmysql.so: undefined reference to `mysql_list_fields' ./.libs/libdvmysql.so: undefined reference to `Dv::Util::Props::add(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&)' ./.libs/libdvmysql.so: undefined reference to `mysql_free_result' ./.libs/libdvmysql.so: undefined reference to `mysql_list_dbs' collect2: ld returned 1 exit status make[2]: *** [db2cpp] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/dvmysql-1.0.2/work/dvmysql-1.0.2/dvmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/dvmysql-1.0.2/work/dvmysql-1.0.2' make: *** [all] Error 2 * * ERROR: dev-libs/dvmysql-1.0.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2394: Called _eapi0_src_compile * ebuild.sh, line 591: Called _eapi2_src_compile * ebuild.sh, line 625: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-libs:dvmysql-1.0.2:20081116-131518.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/dvmysql-1.0.2/temp/environment'. *