>>> Unpacking source... >>> Unpacking XSB-unix.tar.gz to /var/tmp/portage/dev-lang/xsb-3.1/work * Applying xsb-3.1-configure.patch ...  [ ok ] * Applying xsb-3.1-portage.patch ...  [ ok ] * Applying xsb-3.1-varstring.patch ...  [ ok ] * Applying xsb-3.1-orient.patch ...  [ ok ] * Applying xsb-3.1-xsb-script.patch ...  [ ok ] * Applying xsb-3.1-nostrip.patch ...  [ ok ] * Applying xsb-3.1-packages.patch ...  [ ok ] * Applying xsb-3.1-chr_d.patch ...  [ ok ] * Applying xsb-3.1-gap.patch ...  [ ok ] * Applying xsb-3.1-justify.patch ...  [ ok ] * Applying xsb-3.1-mysql.patch ...  [ ok ] * Applying xsb-3.1-odbc.patch ...  [ ok ] * Applying xsb-3.1-xpath.patch ...  [ ok ] * Running autoconf ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-lang/xsb-3.1/work/XSB ... * Building xsb compiler * econf: updating XSB/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating XSB/build/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 --disable-optimization --without-smodels --with-config-tag= --without-interprolog --without-odbc --without-iodbc --disable-mt --disable-debug --disable-debug-verbose --disable-profile --build=i686-pc-linux-gnu Building XSB Version 3.1 (Incognito) of 2007-08-10 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu configure: checking host system type... i686-pc-linux-gnu creating cache /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/config.cache 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 ISO C89... none needed checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... yes checking whether we are using SunPro C... no checking whether make sets $(MAKE)... yes checking size of long... 4 checking for main in -lm... yes checking for main in -ldl... yes checking for main in -lnsl... yes checking for main in -lpthread... yes checking for main in -lsocket... no checking for readline in -lreadline... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for malloc... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for strdup... yes checking for mkdir... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for socket... yes checking for snprintf... yes checking for regexec... yes checking for regerror... yes checking for regcomp... yes checking for fnmatch... yes checking for glob... yes checking for globfree... yes checking for execvp... yes checking for perl... yes checking for main in -lgdbm... yes checking for itkwish... no XMC GUI not supported due to failure to find Incr Tcl/Tk checking whether loader understands -Wl,-export-dynamic... yes Guessing the tagging for this version of Linux checking for inline... inline 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 configure: updating cache /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/config.cache configure: creating ./config.status config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/build/Makefile config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/emu/Makefile config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/build/modMakefile config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/gpp/Makefile config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/build/smoMakefile config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/makedef.sh config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/lib/xsb_configuration.P config.status: creating makexsb config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/emu/extensions_xsb.h config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/bin/xsb config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/bin/chr_pp config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/bin/xsb.bat config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/banner.msg config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/MSVC_mkfile.mak config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/packages/xmc/xmc-gui config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/xsb_config.h config.status: creating /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/xsb_debug.h INSTALLATION SUMMARY -------------------- XSB Version: 3.1 Code name: Incognito Release date: 2007-08-10 Configuration: i686-pc-linux-gnu Installation date: Mon Oct 6 02:30:41 Local time zone must be set--see zic manual page 2008 Build process is looking for XSB sources in: /var/tmp/portage/dev-lang/xsb-3.1/work/XSB XSB should be installed in: /var/tmp/portage/dev-lang/xsb-3.1/work/XSB Configuration-specific executables go in: /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/bin Configuration-specific libraries go in: /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/lib Object code goes in: /var/tmp/portage/dev-lang/xsb-3.1/work/XSB/config/i686-pc-linux-gnu/saved.o Site-specific code goes in: /usr/lib/xsb/site Site configuration-specific code goes in: /usr/lib/xsb/site/config/i686-pc-linux-gnu XSB will be built with: i686-pc-linux-gnu-gcc -I -pipe -include /var/tmp/portage/dev-lang/xsb-3.1/temp/flagscheck.h builtin.c will be built with: i686-pc-linux-gnu-gcc -I -pipe -include /var/tmp/portage/dev-lang/xsb-3.1/temp/flagscheck.h loader_xsb.c will be built with: i686-pc-linux-gnu-gcc -I -pipe -include /var/tmp/portage/dev-lang/xsb-3.1/temp/flagscheck.h emuloop.c will be built with: i686-pc-linux-gnu-gcc -I -pipe -include /var/tmp/portage/dev-lang/xsb-3.1/temp/flagscheck.h tr_utils.c will be built with: i686-pc-linux-gnu-gcc -I -pipe -include /var/tmp/portage/dev-lang/xsb-3.1/temp/flagscheck.h Loader flags: -Wl,-O1 -lm -ldl -Wl,-export-dynamic -lpthread Compilation mode: profile XSB abstract machine: slg-wam XSB scheduling strategy: local Garbage Collection Stress-Test: no Jumptable-based emulator loop: no Demand support: no Building with support for ODBC: NO Building with support for InterProlog: yes POSIX regexp matching libraries: yes POSIX wildcard matching libraries: yes Perl support: yes Perl archlib: /usr/lib/perl5/5.8.8/i686-linux/CORE Perl C compiler: i686-pc-linux-gnu-gcc Perl C flags: -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm Perl loader flags: -lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc XSB is configured for installation in /var/tmp/portage/dev-lang/xsb-3.1/work/XSB Site libraries are to be found in /usr/lib/xsb/site Configuration report is saved in ./Installation_summary ***Now compile XSB with: `makexsb' Preparing... Making emulator... make[1]: Entering directory `/var/tmp/portage/dev-lang/xsb-3.1/work/XSB/emu' Compiling XSB with i686-pc-linux-gnu-gcc using -I -pipe -include /var/tmp/portage/dev-lang/xsb-3.1/temp/flagscheck.h [i686-pc-linux-gnu-gcc] main_xsb.c [i686-pc-linux-gnu-gcc] auxlry.c [i686-pc-linux-gnu-gcc] biassert.c [i686-pc-linux-gnu-gcc] builtin.c [i686-pc-linux-gnu-gcc] cinterf.c [i686-pc-linux-gnu-gcc] conc_compl.c [i686-pc-linux-gnu-gcc] debug_xsb.c [i686-pc-linux-gnu-gcc] dis.c [i686-pc-linux-gnu-gcc] dynload.c [i686-pc-linux-gnu-gcc] dynamic_stack.c [i686-pc-linux-gnu-gcc] deadlock.c [i686-pc-linux-gnu-gcc] emuloop.c [i686-pc-linux-gnu-gcc] error_xsb.c [i686-pc-linux-gnu-gcc] findall.c [i686-pc-linux-gnu-gcc] function.c [i686-pc-linux-gnu-gcc] hash_xsb.c [i686-pc-linux-gnu-gcc] hashtable_xsb.c [i686-pc-linux-gnu-gcc] heap_xsb.c [i686-pc-linux-gnu-gcc] init_xsb.c [i686-pc-linux-gnu-gcc] inst_xsb.c [i686-pc-linux-gnu-gcc] io_builtins_xsb.c [i686-pc-linux-gnu-gcc] loader_xsb.c [i686-pc-linux-gnu-gcc] memory_xsb.c [i686-pc-linux-gnu-gcc] orient_xsb.c [i686-pc-linux-gnu-gcc] pathname_xsb.c [i686-pc-linux-gnu-gcc] psc_xsb.c [i686-pc-linux-gnu-gcc] random_xsb.c [i686-pc-linux-gnu-gcc] remove_unf.c [i686-pc-linux-gnu-gcc] residual.c [i686-pc-linux-gnu-gcc] rw_lock.c [i686-pc-linux-gnu-gcc] scc_xsb.c [i686-pc-linux-gnu-gcc] slgdelay.c [i686-pc-linux-gnu-gcc] socket_xsb.c [i686-pc-linux-gnu-gcc] string_xsb.c [i686-pc-linux-gnu-gcc] storage_xsb.c [i686-pc-linux-gnu-gcc] struct_manager.c [i686-pc-linux-gnu-gcc] sub_delete.c [i686-pc-linux-gnu-gcc] subp.c [i686-pc-linux-gnu-gcc] system_xsb.c [i686-pc-linux-gnu-gcc] table_stats.c [i686-pc-linux-gnu-gcc] tables.c [i686-pc-linux-gnu-gcc] thread_xsb.c [i686-pc-linux-gnu-gcc] timer_xsb.c [i686-pc-linux-gnu-gcc] token_xsb.c [i686-pc-linux-gnu-gcc] tr_utils.c [i686-pc-linux-gnu-gcc] trace_xsb.c [i686-pc-linux-gnu-gcc] trie_lookup.c [i686-pc-linux-gnu-gcc] trie_search.c [i686-pc-linux-gnu-gcc] tries.c [i686-pc-linux-gnu-gcc] tst_insert.c [i686-pc-linux-gnu-gcc] tst_retrv.c [i686-pc-linux-gnu-gcc] tst_unify.c [i686-pc-linux-gnu-gcc] tst_utils.c [i686-pc-linux-gnu-gcc] varstring.c [i686-pc-linux-gnu-gcc] ubi_BinTree.c [i686-pc-linux-gnu-gcc] ubi_SplayTree.c [i686-pc-linux-gnu-gcc] hashtable.c [i686-pc-linux-gnu-gcc] hashtable_itr.c [i686-pc-linux-gnu-gcc] incr_xsb.c [i686-pc-linux-gnu-gcc] call_graph_xsb.c [i686-pc-linux-gnu-gcc] interprolog_callback.c interprolog_callback.c:11:17: error: jni.h: No such file or directory In file included from interprolog_callback.c:12: com_xsb_interprolog_NativeEngine.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' com_xsb_interprolog_NativeEngine.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' com_xsb_interprolog_NativeEngine.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' com_xsb_interprolog_NativeEngine.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' com_xsb_interprolog_NativeEngine.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' com_xsb_interprolog_NativeEngine.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' com_xsb_interprolog_NativeEngine.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jbyteArray' com_xsb_interprolog_NativeEngine.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' interprolog_callback.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token interprolog_callback.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'theObj' interprolog_callback.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'debug' interprolog_callback.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jbyteArray' interprolog_callback.c:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' interprolog_callback.c:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' interprolog_callback.c:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' interprolog_callback.c:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' interprolog_callback.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' interprolog_callback.c:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' interprolog_callback.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' interprolog_callback.c: In function 'interprolog_callback': interprolog_callback.c:245: error: 'JNIEnv' undeclared (first use in this function) interprolog_callback.c:245: error: (Each undeclared identifier is reported only once interprolog_callback.c:245: error: for each function it appears in.) interprolog_callback.c:245: error: 'env' undeclared (first use in this function) interprolog_callback.c:245: error: 'theEnv' undeclared (first use in this function) interprolog_callback.c:246: error: 'jobject' undeclared (first use in this function) interprolog_callback.c:246: error: expected ';' before 'obj' interprolog_callback.c:247: error: 'jclass' undeclared (first use in this function) interprolog_callback.c:247: error: expected ';' before 'cls' interprolog_callback.c:248: error: 'jmethodID' undeclared (first use in this function) interprolog_callback.c:248: error: expected ';' before 'mid' interprolog_callback.c:250: error: 'jbyte' undeclared (first use in this function) interprolog_callback.c:250: error: 'b' undeclared (first use in this function) interprolog_callback.c:251: error: 'jbyteArray' undeclared (first use in this function) interprolog_callback.c:251: error: expected ';' before 'newBytes' interprolog_callback.c:253: error: 'cls' undeclared (first use in this function) interprolog_callback.c:253: error: 'obj' undeclared (first use in this function) interprolog_callback.c:259: error: 'mid' undeclared (first use in this function) interprolog_callback.c:268: error: expected expression before ')' token interprolog_callback.c:278: error: 'bytes' undeclared (first use in this function) interprolog_callback.c:282: error: 'newBytes' undeclared (first use in this function) make[1]: *** [interprolog_callback.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/xsb-3.1/work/XSB/emu' make: *** [emulator] Error 1 * * ERROR: dev-lang/xsb-3.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4169: Called die * The specific snippet of code: * emake -j1 || 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-lang:xsb-3.1:20081006-023027.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/xsb-3.1/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info