* Package: sys-libs/readline-8.2_p7:0/8 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux split-usr unicode utils * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking readline-8.2.tar.gz to /var/tmp/portage/sys-libs/readline-8.2_p7/work >>> Unpacking readline82-001 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-001: file format not recognized. Ignoring. >>> Unpacking readline82-002 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-002: file format not recognized. Ignoring. >>> Unpacking readline82-003 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-003: file format not recognized. Ignoring. >>> Unpacking readline82-004 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-004: file format not recognized. Ignoring. >>> Unpacking readline82-005 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-005: file format not recognized. Ignoring. >>> Unpacking readline82-006 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-006: file format not recognized. Ignoring. >>> Unpacking readline82-007 to /var/tmp/portage/sys-libs/readline-8.2_p7/work unpack readline82-007: file format not recognized. Ignoring. >>> Unpacking readline-8.2.tar.gz to /var/tmp/portage/sys-libs/readline-8.2_p7/work >>> Source unpacked in /var/tmp/portage/sys-libs/readline-8.2_p7/work >>> Preparing source in /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2 ... * Applying readline82-001 ... [ ok ] * Applying readline82-002 ... [ ok ] * Applying readline82-003 ... [ ok ] * Applying readline82-004 ... [ ok ] * Applying readline82-005 ... [ ok ] * Applying readline82-006 ... [ ok ] * Applying readline82-007 ... [ ok ] * Applying readline-5.0-no_rpath.patch ... [ ok ] * Applying readline-6.2-rlfe-tgoto.patch ... patching file examples/rlfe/configure Hunk #1 succeeded at 3298 with fuzz 1 (offset -764 lines). [ ok ] * Applying readline-7.0-headers.patch ... [ ok ] * Applying readline-8.0-headers.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating readline-8.2/support/config.sub with /usr/share/gnuconfig/config.sub * econf: updating readline-8.2/support/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2/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/readline-8.2_p7 --htmldir=/usr/share/doc/readline-8.2_p7/html --libdir=/usr/lib64 --cache-file=/var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/config.cache --with-curses --disable-static configure: creating cache /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu Beginning configuration for readline-8.2 for x86_64-pc-linux-gnu checking whether make sets $(MAKE)... yes 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 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 whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether clang needs -traditional... no checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ar... (cached) llvm-ar checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for an ANSI C-conforming const... yes checking for inline... inline checking whether char is unsigned... no checking for working volatile... yes checking for size_t... yes checking for ssize_t... yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for gettimeofday... yes checking for kill... yes checking for lstat... yes checking for pselect... yes checking for readlink... yes checking for select... yes checking for setitimer... yes checking for fnmatch... yes checking for memmove... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for sysconf... yes checking for tcgetattr... yes checking for vsnprintf... yes checking for isascii... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for uid_t in sys/types.h... yes checking for working chown... yes checking for working strcoll... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for varargs.h... no checking for stdarg.h... yes checking for stdbool.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for limits.h... yes checking for locale.h... yes checking for pwd.h... yes checking for memory.h... yes checking for termcap.h... yes checking for termios.h... yes checking for termio.h... yes checking for sys/ioctl.h... yes checking for sys/pte.h... no checking for sys/stream.h... no checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/file.h... yes checking for sys/ptem.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... no checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking for lstat... yes checking whether or not strcoll and strcmp differ... no checking whether getpw functions are declared in pwd.h... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for inttypes.h... (cached) yes checking for sig_atomic_t in signal.h... yes checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... yes checking for speed_t in sys/types.h... no checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct dirent.d_ino... checking for struct dirent.d_ino... yes yes checking for struct dirent.d_fileno... checking for struct dirent.d_fileno... yes yes checking for struct timeval in sys/time.h and time.h... yes checking for libaudit.h... no checking for clang options needed to detect all undeclared functions... (cached) none needed checking whether AUDIT_USER_TTY is declared... yes checking which library has the termcap functions... (cached) using ncurses checking for ncurses/termcap.h... no checking for nl_langinfo and CODESET... yes checking for wctype.h... yes checking for wchar.h... (cached) yes checking for langinfo.h... yes checking for mbstr.h... no checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking for wcswidth... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for wcwidth broken with unicode combining characters... yes checking size of wchar_t... 4 checking configuration for building shared libraries... supported configure: updating cache /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating shlib/Makefile config.status: creating readline.pc config.status: creating history.pc config.status: creating config.h config.status: executing stamp-h commands * econf: updating readline-8.2/support/config.sub with /usr/share/gnuconfig/config.sub * econf: updating readline-8.2/support/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2/examples/rlfe/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/readline-8.2_p7 --htmldir=/usr/share/doc/readline-8.2_p7/html --libdir=/usr/lib64 --cache-file=/var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/config.cache configure: loading cache /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/config.cache checking for x86_64-pc-linux-gnu-gcc... (cached) 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking whether clang needs -traditional... (cached) no checking for library containing strerror... none required Your clang failed - restarting with CC=cc checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether cc needs -traditional... no checking for library containing strerror... none required conftest.c:9:1: error: return type defaults to 'int' [-Werror=implicit-int] 9 | main(){exit(0);} | ^~~~ conftest.c: In function 'main': conftest.c:9:8: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration] 9 | main(){exit(0);} | ^~~~ conftest.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | /* confdefs.h */ conftest.c:9:8: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 9 | main(){exit(0);} | ^~~~ conftest.c:9:8: note: include '' or provide a declaration of 'exit' cc1: some warnings being treated as errors CC=cc; CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int; LIBS=; $CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5 configure:3285: error: Can't run the compiler - sorry configure: error: Can't run the compiler - sorry ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_c_undeclared_builtin_options='none needed' ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=' -D_GNU_SOURCE -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=clang-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L.' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_have_decl_strerror_r=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_prog_AR=llvm-ar ac_cv_prog_CPP=clang-cpp ac_cv_prog_ac_ct_CC=cc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_gcc_traditional=no ac_cv_search_strerror='none required' bash_cv_termcap_lib=ncurses gl_cv_compiler_check_decl_option=-Werror=implicit-function-declaration ## ----------------- ## ## Output variables. ## ## ----------------- ## AWK='' CC='cc' CFLAGS='-O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int' CPP='clang-cpp' CPPFLAGS=' -D_GNU_SOURCE -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L.' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/sh' VERSION='0.4' WRITEPATH='' XTERMPATH='' ac_ct_CC='cc' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 1 !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/examples/rlfe/config.log * ERROR: sys-libs/readline-8.2_p7::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2457: Called multilib-minimal_src_configure * environment, line 1538: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 1788: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 1493: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 1491: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 548: Called multilib-minimal_abi_src_configure * environment, line 1532: Called multilib_src_configure * environment, line 2027: Called econf '--cache-file=/var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/config.cache' * phase-helpers.sh, line 732: 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 '=sys-libs/readline-8.2_p7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/readline-8.2_p7::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:readline-8.2_p7:20231205-084603.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/readline-8.2_p7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/readline-8.2_p7/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2-abi_x86_64.amd64/examples/rlfe' * S: '/var/tmp/portage/sys-libs/readline-8.2_p7/work/readline-8.2'