* Package: dev-lang/xsb-4.0.0:0 * Repository: gentoo * Maintainer: prolog@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux threads * 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/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating XSB/build/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/packages/pita/cudd-3.0.0/build-aux/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/lib64 --prefix=/usr/lib64 --disable-optimization --disable-ccmpl --without-smodels --without-odbc --without-iodbc --enable-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... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/lib/portage/python3.11/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 for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ 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: creating windows/xsb_debug.h config.status: windows/xsb_debug.h is unchanged config.status: creating windows64/xsb_config.h 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: Sun Apr 21 23:36:58 UTC 2024 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: x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE builtin.c will be built with: x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE loader_xsb.c will be built with: x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE emuloop.c will be built with: x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE tr_utils.c will be built with: x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE Loader flags: -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -lpthread -lm -ldl -lpthread Compilation mode: debug XSB abstract machine: multi-threading XSB scheduling strategy: local Garbage Collection Stress-Test: no Jumptable-based emulator loop: yes 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' >>> Source configured. >>> 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' [x86_64-pc-linux-gnu-gcc] gpp.c using -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE make[1]: Leaving 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/emu' gpp.c: In function ‘findCommentEnd’: gpp.c:1308:7: warning: format not a string literal and no format arguments [-Wformat-security] 1308 | fprintf(C->out->f,endseq); | ^~~~~~~ Compiling XSB with x86_64-pc-linux-gnu-gcc using -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE [x86_64-pc-linux-gnu-gcc] main_xsb.c [x86_64-pc-linux-gnu-gcc] auxlry.c [x86_64-pc-linux-gnu-gcc] biassert.c [x86_64-pc-linux-gnu-gcc] builtin.c using -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE [x86_64-pc-linux-gnu-gcc] call_xsb.c [x86_64-pc-linux-gnu-gcc] cinterf.c [x86_64-pc-linux-gnu-gcc] conc_compl.c [x86_64-pc-linux-gnu-gcc] debug_xsb.c [x86_64-pc-linux-gnu-gcc] -o gpp make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/gpp' [x86_64-pc-linux-gnu-gcc] dis.c [x86_64-pc-linux-gnu-gcc] dynload.c [x86_64-pc-linux-gnu-gcc] dynamic_stack.c [x86_64-pc-linux-gnu-gcc] deadlock.c [x86_64-pc-linux-gnu-gcc] emuloop.c using -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE [x86_64-pc-linux-gnu-gcc] error_xsb.c [x86_64-pc-linux-gnu-gcc] findall.c [x86_64-pc-linux-gnu-gcc] function.c [x86_64-pc-linux-gnu-gcc] hash_xsb.c [x86_64-pc-linux-gnu-gcc] hashtable_xsb.c [x86_64-pc-linux-gnu-gcc] heap_xsb.c [x86_64-pc-linux-gnu-gcc] init_xsb.c [x86_64-pc-linux-gnu-gcc] inst_xsb.c [x86_64-pc-linux-gnu-gcc] io_builtins_xsb.c [x86_64-pc-linux-gnu-gcc] loader_xsb.c using -fPIC -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE [x86_64-pc-linux-gnu-gcc] memory_xsb.c [x86_64-pc-linux-gnu-gcc] orient_xsb.c [x86_64-pc-linux-gnu-gcc] pathname_xsb.c [x86_64-pc-linux-gnu-gcc] psc_xsb.c [x86_64-pc-linux-gnu-gcc] random_xsb.c [x86_64-pc-linux-gnu-gcc] remove_unf.c [x86_64-pc-linux-gnu-gcc] residual.c [x86_64-pc-linux-gnu-gcc] rw_lock.c [x86_64-pc-linux-gnu-gcc] scc_xsb.c [x86_64-pc-linux-gnu-gcc] slgdelay.c [x86_64-pc-linux-gnu-gcc] socket_xsb.c [x86_64-pc-linux-gnu-gcc] string_xsb.c [x86_64-pc-linux-gnu-gcc] storage_xsb.c [x86_64-pc-linux-gnu-gcc] struct_manager.c [x86_64-pc-linux-gnu-gcc] struct_intern.c [x86_64-pc-linux-gnu-gcc] sub_delete.c [x86_64-pc-linux-gnu-gcc] subp.c [x86_64-pc-linux-gnu-gcc] system_xsb.c system_xsb.c: In function ‘sys_syscall’: system_xsb.c:277:5: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 277 | ftime(&time_epoch); | ^~~~~ In file included from system_xsb.c:39: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ [x86_64-pc-linux-gnu-gcc] table_stats.c [x86_64-pc-linux-gnu-gcc] tables.c [x86_64-pc-linux-gnu-gcc] thread_xsb.c [x86_64-pc-linux-gnu-gcc] timer_xsb.c [x86_64-pc-linux-gnu-gcc] token_xsb.c timer_xsb.c: In function ‘make_timed_call’: timer_xsb.c:267:53: error: passing argument 3 of ‘pthread_create’ from incompatible pointer type [-Wincompatible-pointer-types] 267 | if (pthread_create(TIMED_THREAD_CREATE_ARG, NULL, fptr, pptr)) { | ^~~~ | | | void (*)(xsbTimeout *) {aka void (*)(struct xsb_timeout *)} In file included from context.h:118, from timer_xsb.c:46: /usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but argument is of type ‘void (*)(xsbTimeout *)’ {aka ‘void (*)(struct xsb_timeout *)’} 204 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:278: timer_xsb.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/dev-lang/xsb-4.0.0/work/XSB/emu' make: *** [Makefile:193: emulator] 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:20240421-233649.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/build' * 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