>>> Unpacking source... >>> Unpacking sdcv-0.4.2.tar.bz2 to /var/tmp/portage/app-text/sdcv-0.4.2/work * Applying sdcv-0.4.2-missing-headers.patch ...  [ ok ] * Applying sdcv-0.4.2-crash.patch ...  [ ok ] * Applying sdcv-0.4.2-g-handling.patch ...  [ ok ] * Applying sdcv-0.4.2-respect-HOME.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/app-text/sdcv-0.4.2/work >>> Compiling source in /var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2 ... * econf: updating sdcv-0.4.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sdcv-0.4.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking whether to enable maintainer-specific portions of Makefiles... no 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 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 for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E 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 whether make sets $(MAKE)... (cached) yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by 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 shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for egrep... grep -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 for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for zlibVersion in -lz... yes checking whether readline via "-lreadline" is present and sane... yes checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SDCV... yes checking for LIB_STARDICT... yes configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating src/lib/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating doc/uk/Makefile config.status: creating po/Makefile.in config.status: creating tests/Makefile config.status: creating tests/stardict-test_dict-2.4.2/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Type "make" to compile. make -j14 make all-recursive make[1]: Entering directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2' Making all in m4 make[2]: Entering directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/m4' Making all in src make[2]: Entering directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/src' Making all in lib make[3]: Entering directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/src/lib' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -pipe -MT lib.o -MD -MP -MF ".deps/lib.Tpo" -c -o lib.o lib.cpp; \ then mv -f ".deps/lib.Tpo" ".deps/lib.Po"; else rm -f ".deps/lib.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -pipe -MT dictziplib.o -MD -MP -MF ".deps/dictziplib.Tpo" -c -o dictziplib.o dictziplib.cpp; \ then mv -f ".deps/dictziplib.Tpo" ".deps/dictziplib.Po"; else rm -f ".deps/dictziplib.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -pipe -MT distance.o -MD -MP -MF ".deps/distance.Tpo" -c -o distance.o distance.cpp; \ then mv -f ".deps/distance.Tpo" ".deps/distance.Po"; else rm -f ".deps/distance.Tpo"; exit 1; fi lib.cpp: In member function 'gchar* DictBase::GetWordData(guint32, guint32)': lib.cpp:192: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result lib.cpp:302: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result lib.cpp: In member function 'bool DictBase::SearchData(std::vector, std::allocator >, std::allocator, std::allocator > > >&, guint32, guint32, gchar*)': lib.cpp:334: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result lib.cpp: In member function 'const gchar* offset_index::read_first_on_page_key(glong)': lib.cpp:520: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result lib.cpp: In member function 'gulong offset_index::load_page(glong)': lib.cpp:653: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result rm -f libstardict.a ar cru libstardict.a lib.o dictziplib.o distance.o i686-pc-linux-gnu-ranlib libstardict.a make[3]: Leaving directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/src/lib' make[3]: Entering directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/src' if i686-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Ilib -O2 -pipe -MT sdcv.o -MD -MP -MF ".deps/sdcv.Tpo" -c -o sdcv.o sdcv.cpp; \ then mv -f ".deps/sdcv.Tpo" ".deps/sdcv.Po"; else rm -f ".deps/sdcv.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Ilib -O2 -pipe -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Ilib -O2 -pipe -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Ilib -O2 -pipe -MT libwrapper.o -MD -MP -MF ".deps/libwrapper.Tpo" -c -o libwrapper.o libwrapper.cpp; \ then mv -f ".deps/libwrapper.Tpo" ".deps/libwrapper.Po"; else rm -f ".deps/libwrapper.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Ilib -O2 -pipe -MT readline.o -MD -MP -MF ".deps/readline.Tpo" -c -o readline.o readline.cpp; \ then mv -f ".deps/readline.Tpo" ".deps/readline.Po"; else rm -f ".deps/readline.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Ilib -O2 -pipe -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.cpp; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi utils.cpp: In function 'bool stdio_getline(FILE*, std::string&)': utils.cpp:35: error: 'fgetc' was not declared in this scope utils.cpp:35: error: 'EOF' was not declared in this scope utils.cpp:37: error: 'EOF' was not declared in this scope utils.cpp: In function 'std::string utf8_to_locale_ign_err(const std::string&)': utils.cpp:55: error: 'stderr' was not declared in this scope utils.cpp:55: error: 'fprintf' was not declared in this scope utils.cpp: In function 'char* locale_to_utf8(const char*)': utils.cpp:77: error: 'stderr' was not declared in this scope utils.cpp:77: error: 'fprintf' was not declared in this scope make[3]: *** [utils.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/sdcv-0.4.2/work/sdcv-0.4.2' make: *** [all] Error 2 * * ERROR: app-text/sdcv-0.4.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2364: 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/app-text/sdcv-0.4.2:20090702-200203.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/sdcv-0.4.2/temp/environment'. *