* Package: sys-devel/bison-3.1  * Repository: gentoo  * Maintainer: base-system@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU  * FEATURES: distcc distcc-pump preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bison-3.1.tar.xz to /var/tmp/portage/sys-devel/bison-3.1/work >>> Unpacking bison-3.1-patches-1.0.tar.xz to /var/tmp/portage/sys-devel/bison-3.1/work >>> Source unpacked in /var/tmp/portage/sys-devel/bison-3.1/work >>> Preparing source in /var/tmp/portage/sys-devel/bison-3.1/work/bison-3.1 ... * Applying bison-3.1-optional-perl.patch ...  [ ok ] * Applying bison-3.1-avoid_autoreconf.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-devel/bison-3.1/work/bison-3.1 ... * econf: updating bison-3.1/build-aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bison-3.1/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/bison-3.1 --htmldir=/usr/share/doc/bison-3.1/html --libdir=/usr/lib64 --docdir=$(datarootdir)/doc/bison-3.1 --disable-examples --enable-nls checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) 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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO Standard C... (cached) none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none 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 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 whether _XOPEN_SOURCE should be defined... no checking for Minix Amsterdam 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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether pragma GCC diagnostic push works... yes checking whether x86_64-pc-linux-gnu-gcc supports POSIXLY_CORRECT=1... yes checking whether x86_64-pc-linux-gnu-g++ builds executables that work... yes checking whether x86_64-pc-linux-gnu-g++ supports POSIXLY_CORRECT=1... yes checking for flex... flex checking whether lex is flex... yes checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for GNU M4 that supports accurate traces... /usr/bin/m4 checking whether /usr/bin/m4 accepts --gnu... yes checking how m4 supports trace files... --debugfile checking for perl... /usr/bin/perl checking for xsltproc... /usr/bin/xsltproc checking for locale.h... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for stdio_ext.h... yes checking for features.h... yes checking for sys/stat.h... (cached) yes checking for getopt.h... yes checking for sys/cdefs.h... yes checking for limits.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for math.h... yes checking for sys/mman.h... yes checking for sys/param.h... yes checking for spawn.h... yes checking for sys/time.h... yes checking for sys/wait.h... yes checking for crtdefs.h... no checking for wctype.h... yes checking for inline... inline checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for _set_invalid_parameter_handler... no checking for fcntl... yes checking for symlink... yes checking for vasnprintf... no checking for snprintf... yes checking for __fseterr... no checking for getdtablesize... yes checking for getprogname... no checking for getexecname... no checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for isascii... yes checking for mprotect... yes checking for obstack_printf... yes checking for strerror_r... yes checking for __xpg_strerror_r... yes checking for pipe2... yes checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for strdup... yes checking for catgets... yes checking for strndup... yes checking for pipe... yes checking for iswcntrl... yes checking for wcwidth... yes checking for setlocale... yes checking whether // is distinct from /... no checking if environ is properly declared... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... (cached) yes checking whether strerror_r returns char *... yes checking for sig_atomic_t... yes checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking for stdint.h... yes checking for inttypes.h... yes checking whether printf supports size specifiers as in C99... yes checking whether printf supports 'long double' arguments... yes checking whether printf supports infinite 'double' arguments... yes checking whether byte ordering is bigendian... no checking whether long double and double are the same... no checking whether printf supports infinite 'long double' arguments... yes checking whether printf supports the 'a' and 'A' directives... yes checking whether printf supports the 'F' directive... yes checking whether printf supports the 'n' directive... no checking whether printf supports the 'ls' directive... yes checking whether printf supports POSIX/XSI format strings with positions... yes checking whether printf supports the grouping flag... yes checking whether printf supports the left-adjust flag correctly... yes checking whether printf supports the zero flag correctly... yes checking whether printf supports large precisions... yes checking whether printf survives out-of-memory conditions... yes checking for unsigned long long int... yes checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking whether wint_t is too small... no checking for intmax_t... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking whether snprintf returns a byte count as in C99... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether frexp() can be used without linking with libm... yes checking whether alarm is declared... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether getdtablesize is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking for working GNU getopt_long function... yes checking host CPU and C ABI... x86_64 checking whether limits.h has ULLONG_WIDTH etc.... yes checking whether stdint.h conforms to C99... yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking where to find the exponent in a 'float'... word 0 bit 23 checking whether isnan(float) can be used without linking with libm... yes checking whether isnan(float) works... yes checking whether isnan(double) can be used without linking with libm... yes checking whether isnan(long double) can be used without linking with libm... yes checking whether isnanl works... yes checking whether ldexp() can be used without linking with libm... yes checking for nl_langinfo and CODESET... yes checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for the common suffixes of directories in the library search path... lib64,lib64 checking whether imported symbols can be declared weak... yes checking whether the linker supports --as-needed... yes checking whether the linker supports --push-state... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for multithread API to use... posix checking whether lstat correctly handles trailing slash... yes checking for a sed that does not truncate output... /bin/sed checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for mbstate_t... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether defines MIN and MAX... no checking whether defines MIN and MAX... yes checking whether obstack_printf is declared... yes checking for O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking whether strerror(0) succeeds... yes checking for strerror_r with POSIX signature... no checking whether __xpg_strerror_r works... yes checking whether strerror_r is declared... (cached) yes checking for library containing posix_spawn... none required checking for posix_spawn... yes checking whether posix_spawn works... yes checking whether posix_spawnattr_setschedpolicy is supported... yes checking whether posix_spawnattr_setschedparam is supported... yes checking for ptrdiff_t... yes checking whether C symbols are prefixed with underscore at the linker level... no checking for sigset_t... yes checking for C/C++ restrict keyword... __restrict checking for uid_t in sys/types.h... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether strdup is declared... yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking for struct timespec in ... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether unsetenv is declared... yes checking whether vsnprintf is declared... yes checking whether uses 'inline' correctly... no configure: error: cannot be used with this compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=sandybridge -mtune=sandybridge ). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-devel/bison-3.1/work/bison-3.1/config.log * ERROR: sys-devel/bison-3.1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 2261: Called econf '--docdir=$(datarootdir)/doc/bison-3.1' '--disable-examples' '--enable-nls' * phase-helpers.sh, line 718: Called __helpers_die 'econf failed' * isolated-functions.sh, line 121: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sys-devel/bison-3.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/bison-3.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-devel/bison-3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bison-3.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/bison-3.1/work/bison-3.1' * S: '/var/tmp/portage/sys-devel/bison-3.1/work/bison-3.1'