* Package: dev-lang/mercury-22.01.1:0 * Repository: gentoo * Maintainer: keri@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc examples java kernel_linux readline userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-17 >>> Unpacking source... >>> Unpacking mercury-srcdist-22.01.1.tar.gz to /var/tmp/portage/dev-lang/mercury-22.01.1/work >>> Unpacking mercury-22.01.1-gentoo-patchset-2.tar.gz to /var/tmp/portage/dev-lang/mercury-22.01.1/work >>> Source unpacked in /var/tmp/portage/dev-lang/mercury-22.01.1/work >>> Preparing source in /var/tmp/portage/dev-lang/mercury-22.01.1/work/mercury-srcdist-22.01.1 ... * Applying patches from /var/tmp/portage/dev-lang/mercury-22.01.1/work/22.01.1 ... * mercury-boehmgc-cygpath.patch ... [ ok ] * mercury-boehmgc-params.patch ... [ ok ] * mercury-default-grade.patch ... [ ok ] * mercury-gc-noexecstack.patch ... [ ok ] * mercury-gcc-array-bounds.patch ... [ ok ] * mercury-gcc-vectorizer.patch ... [ ok ] * mercury-multilib.patch ... [ ok ] * mercury-no-reconf.patch ... [ ok ] * mercury-tests-foreign-import-module.patch ... [ ok ] * mercury-tests-options-file.patch ... [ ok ] * mercury-tests-static-link.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-lang/mercury-22.01.1/work/mercury-srcdist-22.01.1' ... * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/dev-lang/mercury-22.01.1/temp/aclocal' ... [ ok ] * Running 'autoconf -I m4 --force' ... [ ok ] * Running 'autoheader -I m4' ... [ !! ] * Running elibtoolize in: mercury-srcdist-22.01.1/ * Running elibtoolize in: mercury-srcdist-22.01.1/boehm_gc/libatomic_ops/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying specs/2.4.6 patch ... * Applying fsanitize/2.4.6 patch ... * Applying fuse-ld/2.4.6 patch ... * Applying static-flags/2.4.6 patch ... * Applying werror/2.4.6 patch ... * Applying ppc64le/2.4.4 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/mercury-22.01.1/work/mercury-srcdist-22.01.1 ... * econf: updating mercury-srcdist-22.01.1/boehm_gc/libatomic_ops/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mercury-srcdist-22.01.1/boehm_gc/libatomic_ops/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mercury-srcdist-22.01.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mercury-srcdist-22.01.1/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/mercury-22.01.1 --htmldir=/usr/share/doc/mercury-22.01.1/html --libdir=/usr/lib64 --disable-csharp-grade --enable-java-grade --disable-debug-grades --disable-prof-grades --disable-par-grades --disable-trail-grades --with-readline 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 what the C compiler type really is... gcc checking what the gcc version is... 13_0_1 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for cygpath... echo checking for cygpath... echo looking for an already installed Mercury compiler to bootstrap with... checking for mmc... no checking whether to enable large heaps when using conservative GC... yes checking whether to enable unmapping of unused pages when using Boehm GC... yes checking whether to use mmap for Boehm GC... yes looking for GNU Make... checking for gmake... gmake found GNU Make: gmake looking for a way to create named pipes... checking for mkfifo... /usr/bin/mkfifo looking for a way to create temporary files... checking for mktemp... /usr/bin/mktemp checking for install-info... /usr/bin/install-info checking for texi2dvi... /usr/bin/texi2dvi checking for pdftex... /usr/bin/pdftex checking for lynx... no checking for dvips... /usr/bin/dvips checking for makeinfo... /usr/bin/makeinfo checking for info... /usr/bin/info checking for perl... /usr/bin/perl checking for hostname... /bin/hostname checking whether C compiler needs -no-cpp-precomp... no checking whether we can make error messages filterable... yes checking whether we can use -fno-move-loop-invariants... yes checking whether we can use -fno-reorder-functions... yes checking whether we can use -fno-tree-dominator-opts... yes checking whether to pass -I/usr/local/include to C compiler... no checking whether to pass -L/usr/local/lib to the linker... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for use of a Microsoft C compiler... no checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm checking for sin in -lm... yes checking for ilasm... no checking for gacutil... no checking for Microsoft.NET Framework SDK... no checking for al... no checking for ilalink... no checking for mono... no checking for a C sharp compiler... checking for csc... no checking for mcs... no checking for javac... /opt/openjdk-bin-17.0.6_p10/bin/javac checking for java... /opt/openjdk-bin-17.0.6_p10/bin/java checking for jar... /opt/openjdk-bin-17.0.6_p10/bin/jar checking if the above Java SDK works and is sufficiently recent... yes checking if the Java compiler accepts the max heap size option... yes checking for sysconf... yes checking for getpagesize... yes checking for gethostname... yes checking for mmap... yes checking for mprotect... yes checking for memalign... yes checking for posix_memalign... yes checking for sbrk... yes checking for memmove... yes checking for sigaction... yes checking for siginterrupt... yes checking for setitimer... yes checking for strerror... yes checking for strerror_r... yes checking for strerror_s... no checking for open... yes checking for close... yes checking for dup... yes checking for dup2... yes checking for fdopen... yes checking for fileno... yes checking for fstat... yes checking for stat... yes checking for lstat... yes checking for isatty... yes checking for getpid... yes checking for setpgid... yes checking for fork... yes checking for execlp... yes checking for wait... yes checking for kill... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking for tcgetattr... yes checking for tcsetattr... yes checking for ioctl... yes checking for access... yes checking for sleep... yes checking for opendir... yes checking for readdir... yes checking for closedir... yes checking for mkdir... yes checking for symlink... yes checking for readlink... yes checking for gettimeofday... yes checking for setenv... yes checking for putenv... yes checking for _putenv... no checking for posix_spawn... yes checking for sched_setaffinity... yes checking for sched_getaffinity... yes checking for sched_getcpu... yes checking for sched_yield... yes checking for mkstemp... yes checking for mkdtemp... yes checking for setrlimit... yes checking for getcontext... yes checking for dl_iterate_phdr... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether snprintf is declared... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether _snprintf is declared... no checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether vsnprintf is declared... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether _vsnprintf is declared... no checking for fma... yes 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 unistd.h... (cached) yes checking for sys/wait.h... yes checking for sys/siginfo.h... no checking for sys/signal.h... yes checking for ucontext.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for fcntl.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for sys/resource.h... yes checking for sys/stropts.h... no checking for windows.h... no checking for dirent.h... yes checking for getopt.h... yes checking for malloc.h... yes checking for semaphore.h... yes checking for pthread.h... yes checking for time.h... yes checking for spawn.h... yes checking for fenv.h... yes checking for sys/mman.h... yes checking for sys/sem.h... yes checking for sched.h... yes checking for utmpx.h... yes checking for dispatch/dispatch.h... no checking for stdint.h... (cached) yes checking for sys/select.h... yes checking for fesetround function... yes checking whether we have __builtin_bswap16... yes checking whether we have __builtin_bswap32... yes checking whether we have __builtin_bswap64... yes checking for getopt... yes checking for SA_SIGINFO and siginfo_t... yes checking for PC access from signal handler context... REG_RIP checking for an integer type with the same size as a pointer... long checking for an integer type of at least 64 bits... long checking for an integer type of at least 32 bits... int checking for pid_t... yes checking for dev_t... yes checking for ino_t... yes checking for an integer type of at least 16 bits... short checking the number of low tag bits available... 3 checking the number of bytes per word... 8 checking the number of bits per word... 64 checking whether int is 32-bit... yes checking whether long is 64-bit... yes checking whether we can use unboxed floats... yes checking whether float is 64-bit... no checking whether double is 64-bit... yes checking whether long double is 64-bit... no checking whether we can use unboxed 64-bit integers... yes checking whether architecture is big-endian... no checking whether architecture is little-endian... yes checking whether we can use files as locks... yes checking return values of system... yes checking to see if we can handle contexts blocking on IO... yes checking for sched.h cpuset macros... yes checking to see if strings.h is needed for bzero... no checking whether C compiler targets x86... no checking whether we can use gcc labels... yes checking whether we can use asm labels... yes checking whether we can use gcc labels and global registers... yes checking whether we can use global registers without gcc labels... yes checking whether we can support time profiling on this system... yes checking whether to enable the deep profiler... yes checking where to install deep profiler CGI script... /usr/lib/cgi-bin configure: WARNING: /usr/lib/cgi-bin does not exist. checking for pthread_mutexattr_setpshared... yes checking whether we can use thread-local storage class extension... yes using grade 'asm_fast.gc' as the default grade for applications configure: WARNING: Mercury compiler not yet installed - **** cannot use grade 'asm_fast.gc'. **** Using grade 'hlc.gc.pregen' to compile the compiler. **** After installation is complete, you may reinstall **** from scratch to have a faster compiler. **** NOTE: before reinstalling from scratch, ensure that the **** source tree is clean by running 'make realclean'. Not doing **** this may result in a broken Mercury installation. checking whether the assembler handles .type... yes checking for as... /usr/bin/as checking whether the assembler does full preprocessing... no checking whether structure assignment conflicts with global registers... yes checking whether Mercury supports shared libraries on this system... yes checking if linker supports --no-undefined... yes checking for ld-linux.so... no checking options for static linking... -static checking for struct tms and times function... yes checking for environ global variable... yes checking for Sleep function... no checking for ieeefp.h... no checking for isnan function... yes checking for isnanf function... yes checking for isinf function... yes checking for isinff function... yes checking for finite function... yes checking for isfinite function... yes checking for socket in -lsocket... no checking for inet_addr in -lnsl... yes checking whether we can use sockets (for Morphine)... yes checking whether to enable the external debugger... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking for dlerror... yes checking whether to enable the new MercuryFile struct... no checking whether to use the MS Visual C Runtime... no checking for readline/readline.h... yes checking for readline/history.h... yes looking for termcap or curses (needed by readline)... checking for tgetent in -ltermcap... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no checking for readline in -lreadline... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking for bison... yacc-reference configure: error: You need bison to build Mercury !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/mercury-22.01.1/work/mercury-srcdist-22.01.1/config.log * ERROR: dev-lang/mercury-22.01.1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 4030: Called econf '--libdir=/usr/lib64' '--disable-csharp-grade' '--enable-java-grade' '--disable-debug-grades' '--disable-prof-grades' '--disable-par-grades' '--disable-trail-grades' '--with-readline' * phase-helpers.sh, line 730: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-lang/mercury-22.01.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/mercury-22.01.1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-17 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.6_p10" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =mercury-22.01.1 * The complete build log is located at '/var/log/portage/dev-lang:mercury-22.01.1:20230331-002829.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/mercury-22.01.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mercury-22.01.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/mercury-22.01.1/work/mercury-srcdist-22.01.1' * S: '/var/tmp/portage/dev-lang/mercury-22.01.1/work/mercury-srcdist-22.01.1'