* Package: dev-lang/xsb-4.0.0:0 * Repository: gentoo * Maintainer: prolog@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pcre userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking XSB-4-0-0.tar.gz to /var/tmp/portage/dev-lang/xsb-4.0.0/work >>> Unpacking xsb-4.0.0-gentoo-patchset-3.tar.gz to /var/tmp/portage/dev-lang/xsb-4.0.0/work >>> Source unpacked in /var/tmp/portage/dev-lang/xsb-4.0.0/work >>> Preparing source in /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB ... * Applying patches from /var/tmp/portage/dev-lang/xsb-4.0.0/work/4.0.0 ... * xsb-configure.patch ... [ ok ] * xsb-dbdriver-lib.patch ... [ ok ] * xsb-musl-struct-io-file.patch ... [ ok ] * xsb-mysql-bool.patch ... [ ok ] * xsb-nostrip.patch ... [ ok ] * xsb-packages.patch ... [ ok ] * xsb-portage.patch ... [ ok ] * xsb-script.patch ... [ ok ] * xsb-threads.patch ... [ ok ] * xsb-version.patch ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf' ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB ... * econf: updating XSB/packages/pita/cudd-3.0.0/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating XSB/packages/pita/cudd-3.0.0/build-aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating XSB/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating XSB/build/config.guess with /usr/share/gnuconfig/config.guess ./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 --docdir=/usr/share/doc/xsb-4.0.0 --htmldir=/usr/share/doc/xsb-4.0.0/html --libdir=/usr/lib64/lib64 --prefix=/usr/lib64 --disable-optimization --disable-ccmpl --without-smodels --without-odbc --without-iodbc --disable-mt --disable-debug Building XSB Version 4.0.0 (TaB) of 2021-04-01 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu configure: checking host system type... x86_64-pc-linux-gnu creating cache /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/config.cache checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking how to run the C preprocessor... clang -E checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for gcc... yes checking whether we are using SunPro C... no checking whether make sets $(MAKE)... yes checking size of long int... 8 Configuring XSB for a 64 bit machine 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 for sched_get_priority_max... yes checking for stdarg.h... yes checking for sys/time.h... (cached) 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 itkwish... no XMC GUI not supported due to failure to find Incr Tcl/Tk checking whether loader understands -Wl,-export-dynamic... no checking for sys/resource.h... yes checking for inline... inline checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed configure: updating cache /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/config.cache configure: creating ./config.status config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/build/Makefile config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/emuMakefile config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/modMakefile config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/gppMakefile config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/smoMakefile config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/makedef.sh config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/lib/xsb_configuration.P config.status: creating windows/xsb_configuration.P config.status: creating windows64/xsb_configuration.P config.status: creating makexsb config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/bin/chr_pp config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/bin/xsb config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/banner.msg config.status: creating windows/banner.msg config.status: creating windows64/banner.msg config.status: creating windows/MSVC_mkfile.mak config.status: creating windows64/MSVC_mkfile.mak config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/xmc/xmc-gui config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/xsb_config.h config.status: creating windows/xsb_config.h config.status: windows/xsb_config.h is unchanged config.status: creating windows/xsb_debug.h config.status: windows/xsb_debug.h is unchanged config.status: creating windows64/xsb_config.h config.status: windows64/xsb_config.h is unchanged config.status: creating windows64/xsb_debug.h config.status: windows64/xsb_debug.h is unchanged config.status: creating /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/xsb_debug.h INSTALLATION SUMMARY -------------------- XSB Version: 4.0.0 Code name: TaB Release date: 2021-04-01 Configuration: x86_64-pc-linux-gnu Installation date: Sat Sep 17 19:25:48 CEST 2022 Build process is looking for XSB sources in: /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB XSB should be installed in: /usr/lib64/xsb-4.0.0 Configuration-specific executables go in: /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/bin Configuration-specific libraries go in: /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/lib Object code goes in: /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/saved.o Site-specific code goes in: /usr/lib64/site Site configuration-specific code goes in: /usr/lib64/site/config/x86_64-pc-linux-gnu XSB will be built with: clang -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int builtin.c will be built with: clang -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int loader_xsb.c will be built with: clang -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int emuloop.c will be built with: clang -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int tr_utils.c will be built with: clang -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int Loader flags: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread Compilation mode: debug XSB abstract machine: slg-wam XSB scheduling strategy: local Garbage Collection Stress-Test: no Jumptable-based emulator loop: no Demand support: no Support for modular database drivers: no -- These drivers can also be configured later. Native support for Oracle: no Support for the old ODBC driver: no Support for InterProlog's native engine: no -- JDK may not have been installed or -- JAVA_HOME not set. You will still be able -- to use InterProlog's subprocess engine. POSIX regexp matching libraries: yes POSIX wildcard matching libraries: yes XSB is configured for installation in /usr/lib64/xsb-4.0.0 Site libraries are to be found in /usr/lib64/site Configuration report is saved in ./Installation_summary ***Now compile XSB with: `./makexsb' * econf: updating XSB/packages/pita/cudd-3.0.0/build-aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating XSB/packages/pita/cudd-3.0.0/build-aux/config.sub with /usr/share/gnuconfig/config.sub * 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 --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 --docdir=/usr/share/doc/xsb-4.0.0 --htmldir=/usr/share/doc/xsb-4.0.0/html --libdir=/usr/lib64 - You did not tell me what kind of host system you want to configure. - I will attempt to guess the kind of system this is. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for main in -lpcre... yes checking how to run the C preprocessor... clang -E 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 pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes configure: creating ./config.status config.status: creating pcre_info.P PCRE support (Perl pattern matching): yes PCRE C flags: -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int PCRE loader flags: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 >>> Source configured. '/var/tmp/portage/dev-lang/xsb-4.0.0/temp/clang14.log' -> '/var/tmp/clang/dev-lang/xsb-4.0.0/clang14.log' '/var/tmp/portage/dev-lang/xsb-4.0.0/temp/clang15.log' -> '/var/tmp/clang/dev-lang/xsb-4.0.0/clang15.log' >>> Compiling source in /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB ... make -j4 Preparing... Making emulator... Making gpp make[1]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' make[1]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/gpp' [clang] gpp.c using -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' gpp.c:1308:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(C->out->f,endseq); ^~~~~~ gpp.c:1308:25: note: treat the string as an argument to avoid this fprintf(C->out->f,endseq); ^ "%s", make[1]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' Compiling XSB with clang using -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int [clang] main_xsb.c [clang] auxlry.c [clang] biassert.c [clang] builtin.c using -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int [clang] call_xsb.c [clang] cinterf.c In file included from builtin.c:1449: ./io_builtins_xsb_i.h:1031:9: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ch_ptr = (char *) codepoint_to_str(read_codepoint, charset, (byte *)ss); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./io_builtins_xsb_i.h:1037:27: warning: passing 'byte[5]' (aka 'unsigned char[5]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctop_string(CTXTc 3,s); ^ builtin.c:642:72: note: passing argument to parameter 'value' here DllExport void call_conv ctop_string(CTXTdeclc int argnum, const char *value) ^ [clang] conc_compl.c [clang] debug_xsb.c [clang] dis.c 1 warning generated. [clang] -o gpp [clang] dynload.c make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/gpp' [clang] dynamic_stack.c [clang] deadlock.c [clang] emuloop.c using -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int [clang] error_xsb.c [clang] findall.c [clang] function.c In file included from emuloop.c:1752: ./tc_insts_xsb_i.h:703:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] cell(--tbreg) = makeint(HASH_IS_FREE); ^~~~~~~~~~~~~~~~~~~~~ ./cell_xsb.h:162:30: note: expanded from macro 'makeint' #define makeint(val) (Cell)((enc_int(val)) | XSB_INT) ^~~~~~~~~~~~ ./cell_xsb.h:124:38: note: expanded from macro 'enc_int' #define enc_int(val) ((Integer)(val) << 3) ~~~~~~~~~~~~~~ ^ In file included from emuloop.c:1752: ./tc_insts_xsb_i.h:705:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] cell(--tbreg) = makeint(HASH_IS_NOT_FREE); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./cell_xsb.h:162:30: note: expanded from macro 'makeint' #define makeint(val) (Cell)((enc_int(val)) | XSB_INT) ^~~~~~~~~~~~ ./cell_xsb.h:124:38: note: expanded from macro 'enc_int' #define enc_int(val) ((Integer)(val) << 3) ~~~~~~~~~~~~~~ ^ In file included from emuloop.c:1752: ./tc_insts_xsb_i.h:714:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] cell(--tbreg) = makeint(FIRST_HASH_NODE); ^~~~~~~~~~~~~~~~~~~~~~~~ ./cell_xsb.h:162:30: note: expanded from macro 'makeint' #define makeint(val) (Cell)((enc_int(val)) | XSB_INT) ^~~~~~~~~~~~ ./cell_xsb.h:124:38: note: expanded from macro 'enc_int' #define enc_int(val) ((Integer)(val) << 3) ~~~~~~~~~~~~~~ ^ function.c:315:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] bld_int(regaddr,-1); ^~~~~~~~~~~~~~~~~~~ ./cell_xsb.h:200:41: note: expanded from macro 'bld_int' #define bld_int(addr, val) cell(addr) = makeint(val) ^~~~~~~~~~~~ ./cell_xsb.h:162:30: note: expanded from macro 'makeint' #define makeint(val) (Cell)((enc_int(val)) | XSB_INT) ^~~~~~~~~~~~ ./cell_xsb.h:124:38: note: expanded from macro 'enc_int' #define enc_int(val) ((Integer)(val) << 3) ~~~~~~~~~~~~~~ ^ [clang] hash_xsb.c 1 warning generated. [clang] hashtable_xsb.c [clang] heap_xsb.c [clang] init_xsb.c 2 warnings generated. [clang] inst_xsb.c [clang] io_builtins_xsb.c [clang] loader_xsb.c using -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int [clang] memory_xsb.c [clang] orient_xsb.c [clang] pathname_xsb.c [clang] psc_xsb.c pathname_xsb.c:593:90: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (! stat(filename, &fileinfo) && not_a_dir(fileinfo)) return XSB_SRC_EXTENSION_STRING+1; ~~~~~~~~~~~~~~~~~~~~~~~~^~ pathname_xsb.c:593:90: note: use array indexing to silence this warning if (! stat(filename, &fileinfo) && not_a_dir(fileinfo)) return XSB_SRC_EXTENSION_STRING+1; ^ & [ ] pathname_xsb.c:612:90: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (! stat(filename, &fileinfo) && not_a_dir(fileinfo)) return XSB_OBJ_EXTENSION_STRING+1; ~~~~~~~~~~~~~~~~~~~~~~~~^~ pathname_xsb.c:612:90: note: use array indexing to silence this warning if (! stat(filename, &fileinfo) && not_a_dir(fileinfo)) return XSB_OBJ_EXTENSION_STRING+1; ^ & [ ] [clang] random_xsb.c 2 warnings generated. [clang] remove_unf.c [clang] residual.c [clang] rw_lock.c [clang] scc_xsb.c [clang] slgdelay.c [clang] socket_xsb.c [clang] string_xsb.c [clang] storage_xsb.c [clang] struct_manager.c [clang] struct_intern.c [clang] sub_delete.c [clang] subp.c [clang] system_xsb.c system_xsb.c:277:5: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] ftime(&time_epoch); ^ /usr/include/sys/timeb.h:31:3: note: 'ftime' has been explicitly marked deprecated here __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); ^ /usr/include/sys/cdefs.h:350:19: note: expanded from macro '__attribute_deprecated_msg__' __attribute__ ((__deprecated__ (msg))) ^ [clang] table_stats.c [clang] tables.c tables.c:156:5: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((get_incr(TIF_PSC(TableInfo)))){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./psc_xsb.h:141:54: note: expanded from macro 'get_incr' #define get_incr(psc) ((psc)->incremental == INCREMENTAL) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ tables.c:156:5: note: remove extraneous parentheses around the comparison to silence this warning if((get_incr(TIF_PSC(TableInfo)))){ ~^ ~ ./psc_xsb.h:141:54: note: expanded from macro 'get_incr' #define get_incr(psc) ((psc)->incremental == INCREMENTAL) ^ tables.c:156:5: note: use '=' to turn this equality comparison into an assignment ./psc_xsb.h:141:54: note: expanded from macro 'get_incr' #define get_incr(psc) ((psc)->incremental == INCREMENTAL) ^ [clang] thread_xsb.c 1 warning generated. [clang] timer_xsb.c [clang] token_xsb.c [clang] tr_utils.c using -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int 1 warning generated. [clang] trace_xsb.c [clang] trie_lookup.c [clang] trie_search.c [clang] tries.c [clang] tst_insert.c [clang] tst_retrv.c [clang] tst_unify.c [clang] tst_utils.c [clang] varstring.c [clang] ubi_BinTree.c [clang] ubi_SplayTree.c [clang] hashtable.c [clang] hashtable_itr.c [clang] sha1.c [clang] md5.c [clang] base64_enc.c [clang] url_encode.c [clang] getMemorySize.c [clang] incr_xsb.c [clang] call_graph_xsb.c 3 warnings generated. Making XSB executable /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/bin/xsb [clang] -o /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/bin/xsb -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' Making XSB module... make[1]: warning: -j1 forced in submake: resetting jobserver mode. make[1]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB' cd cmplib; make make[2]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/cmplib' rm -f 'cmd...' make[1]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' rm -f '../build/.xsb_cmplib_warn.tmp' Making a C-callable XSB module clang -o xsb.o -r auxlry.o biassert.o builtin.o call_xsb.o cinterf.o conc_compl.o debug_xsb.o dis.o dynload.o dynamic_stack.o deadlock.o emuloop.o error_xsb.o findall.o function.o hash_xsb.o hashtable_xsb.o heap_xsb.o init_xsb.o inst_xsb.o io_builtins_xsb.o loader_xsb.o memory_xsb.o orient_xsb.o pathname_xsb.o psc_xsb.o random_xsb.o remove_unf.o residual.o rw_lock.o scc_xsb.o slgdelay.o socket_xsb.o string_xsb.o storage_xsb.o struct_manager.o struct_intern.o sub_delete.o subp.o system_xsb.o table_stats.o tables.o thread_xsb.o timer_xsb.o token_xsb.o tr_utils.o trace_xsb.o trie_lookup.o trie_search.o tries.o tst_insert.o tst_retrv.o tst_unify.o tst_utils.o varstring.o ubi_BinTree.o ubi_SplayTree.o hashtable.o hashtable_itr.o sha1.o md5.o base64_enc.o url_encode.o getMemorySize.o incr_xsb.o call_graph_xsb.o make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/bin/xsb -e "segfault_handler(warn)." < 'cmd...' [Compiling /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/lib/xsb_configuration] % Specialising partially instantiated calls to xsb_configuration/2 [Module xsb_configuration compiled, cpu time used: 0.022 seconds] [xsb_configuration loaded] [sysinitrc loaded] [Compiling /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/xsbbrat] [Module xsbbrat compiled, cpu time used: 0.004 seconds] [xsbbrat loaded] XSB Version 4.0.0 (TaB) of April 1, 2021 [x86_64-pc-linux-gnu 64 bits; mode: debug; engine: slg-wam; scheduling: local] [Build date: 2022-09-17] Evaluating command line goal: | ?- segfault_handler(warn). | ?- yes | ?- | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- End XSB (cputime 0.04 secs, elapsetime 0.07 secs) /bin/rm 'cmd...' ----------------- Warnings ------------------------ While compiling XSB/cmplib: -------------------- End -------------------------- make[2]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/cmplib' cd syslib; make make[2]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib' rm -f '../build/.xsb_syslib_warn.tmp' ./CompileChangedFiles.sh /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/bin/xsb -e "segfault_handler(warn)." [xsb_configuration loaded] [sysinitrc loaded] [xsbbrat loaded] XSB Version 4.0.0 (TaB) of April 1, 2021 [x86_64-pc-linux-gnu 64 bits; mode: debug; engine: slg-wam; scheduling: local] [Build date: 2022-09-17] | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- End XSB (cputime 0.01 secs, elapsetime 0.03 secs) ----------------- Warnings ------------------------ While compiling XSB/syslib: -------------------- End -------------------------- make[2]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib' cd lib; make make[2]: Entering directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/lib' /bin/rm -f '../build/.xsb_lib_warn.tmp' echo "mc('foreign', [sysmod,optimize,quit_on_error])." >> cmd... /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/bin/xsb -e "segfault_handler(warn)." < cmd... [xsb_configuration loaded, cpu time used: 0.001 seconds] [sysinitrc loaded] [xsbbrat loaded] XSB Version 4.0.0 (TaB) of April 1, 2021 [x86_64-pc-linux-gnu 64 bits; mode: debug; engine: slg-wam; scheduling: local] [Build date: 2022-09-17] Evaluating command line goal: | ?- segfault_handler(warn). | ?- yes | ?- | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- [Compiling foreign] [gpp: Preprocessing foreign.P] [Module foreign compiled, cpu time used: 0.083 seconds] yes | ?- yes | ?- End XSB (cputime 0.10 secs, elapsetime 0.16 secs) /bin/rm -f cmd... ----------------- Warnings ------------------------ While compiling XSB/lib: -------------------- End -------------------------- make[2]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/lib' make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB' make -j4 -j1 /bin/rm -f '../build/.apkgs.tmp' echo 'mc(chr, [optimize,quit_on_error]). [chr].' >> cmd... echo 'mc(clpr, [optimize,quit_on_error]). [clpr].' >> cmd... echo 'mc(gap, [optimize,quit_on_error]). [gap].' >> cmd... echo 'mc(justify, [optimize,quit_on_error]). [justify].' >> cmd... echo 'mc(regmatch, [optimize,quit_on_error]). [regmatch].' >> cmd... echo 'mc(slx, [optimize,quit_on_error]). [slx].' >> cmd... echo 'mc(wildmatch, [optimize,quit_on_error]). [wildmatch].' >> cmd... LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/lib LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/lib ../bin/xsb -i -m 2000 -c 2000 < cmd... [xsb_configuration loaded] [sysinitrc loaded] [xsbbrat loaded] XSB Version 4.0.0 (TaB) of April 1, 2021 [x86_64-pc-linux-gnu 64 bits; mode: debug; engine: slg-wam; scheduling: local] [Build date: 2022-09-17] | ?- yes | ?- yes | ?- yes | ?- yes | ?- yes | ?- [Compiling chr] [chr compiled, cpu time used: 0.026 seconds] yes | ?- [chr loaded] [chr_interp loaded] [chr_pp loaded] yes | ?- [Compiling clpr] [Module clpr compiled, cpu time used: 0.008 seconds] yes | ?- [clpr loaded] [dump loaded, cpu time used: 0.001 seconds] [itf loaded] [geler loaded] [class loaded] yes | ?- [Compiling gap] [Module gap compiled, cpu time used: 0.001 seconds] yes | ?- [gap loaded] [Compiling /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/gap/gapmeta] [Module gapmeta compiled, cpu time used: 0.008 seconds] [gapmeta loaded] yes | ?- [Compiling justify] [justify compiled, cpu time used: 0.003 seconds] yes | ?- [justify loaded] [jxm loaded] yes | ?- [Compiling regmatch] [Module regmatch compiled, cpu time used: 0.005 seconds] yes | ?- [regmatch loaded] [regmtchconfig loaded] [Compiling Foreign Module /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/regmatch/cc/xsb_re_match (Prolog compiler options are ignored)] [xsb_re_match compiled, cpu time used: 0.001 seconds] [Compiling C file /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/regmatch/cc/xsb_re_match.c using clang] clang -o /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/regmatch/cc/xsb_re_match.so -shared /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/regmatch/cc/xsb_re_match.c -I/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu -I/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread | ?- [Compiling slx] [slx compiled, cpu time used: 0.003 seconds] yes | ?- [slx loaded] [Compiling /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/slx/slxshell] [slxshell compiled, cpu time used: 0.030 seconds] [slxshell loaded] yes | ?- [Compiling wildmatch] [Module wildmatch compiled, cpu time used: 0.004 seconds] yes | ?- [wildmatch loaded] [wldmtchconfig loaded] [Compiling Foreign Module /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/wildmatch/cc/xsb_wildmatch (Prolog compiler options are ignored)] [xsb_wildmatch compiled, cpu time used: 0.000 seconds] [Compiling C file /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/wildmatch/cc/xsb_wildmatch.c using clang] clang -o /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/wildmatch/cc/xsb_wildmatch.so -shared /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/wildmatch/cc/xsb_wildmatch.c -I/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu -I/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -ldl -lpthread | ?- yes | ?- End XSB (cputime 0.12 secs, elapsetime 0.57 secs) -------------- Warnings/Errors -------------------- While compiling XSB/packages: ++Error[XSB]: [Runtime/C] /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/regmatch/cc/xsb_re_match.so: undefined symbol: VarStrOps ++Error[XSB/Runtime/P]: [Miscellaneous] Error in loading file /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/regmatch/cc/xsb_re_match.xwam.localhost-506 Forward Continuation... ... machine:xsb_backtrace/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/machine.xwam ... consult:load_exec/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult0/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult/2 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:consult/2 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... consult:load_exec/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult0/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:./2 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... consult:load_exec/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult0/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... x_interp:_$call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/x_interp.xwam ... x_interp:call_query/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/x_interp.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... x_interp:interpreter/0 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/x_interp.xwam ... loader:ll_code_call/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/loader.xwam ... loader:find_ofile_and_load/5 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/loader.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ++Error[XSB]: [Runtime/C] /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/wildmatch/cc/xsb_wildmatch.so: undefined symbol: VarStrOps ++Error[XSB/Runtime/P]: [Miscellaneous] Error in loading file /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages/wildmatch/cc/xsb_wildmatch.xwam.localhost-506 Forward Continuation... ... machine:xsb_backtrace/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/machine.xwam ... consult:load_exec/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult0/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult/2 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:consult/2 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... consult:load_exec/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult0/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:./2 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... consult:load_exec/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... consult:reconsult0/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/consult.xwam ... x_interp:_$call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/x_interp.xwam ... x_interp:call_query/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/x_interp.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... x_interp:interpreter/0 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/x_interp.xwam ... loader:ll_code_call/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/loader.xwam ... loader:find_ofile_and_load/5 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/loader.xwam ... standard:call/1 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam ... standard:catch/3 From /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/syslib/standard.xwam -------------------- End -------------------------- /var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/config/x86_64-pc-linux-gnu/lib/xsb_re_match.xwam not build make: *** [Makefile:129: all] Error 1 * ERROR: dev-lang/xsb-4.0.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/xsb-4.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/xsb-4.0.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:xsb-4.0.0:20220917-172527.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/xsb-4.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/xsb-4.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/packages' * S: '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =xsb-4.0.0