+ cd libedit-20221030-3.1-stage-1
+ env LDFLAGS= ./configure --prefix=/root/prebuilt/llvm-15.0 --with-pic=yes
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... 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 wchar.h... yes
checking for minix/config.h... no
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: unsafe absolute working directory name
+ make -j23
make: *** No targets specified and no makefile found. Stop.
+ make
make: *** No targets specified and no makefile found. Stop.
+ [[ 2 -ne 0 ]]
+ echo -e '\033[31;1mBuild libedit failed.\033[39;49;0m'
Build libedit failed.
+ exit 1
configure:2579: looking for aux files: config.guess config.sub ltmain.sh missing install-sh compile
configure:2592: trying ./
configure:2621: ./config.guess found
configure:2621: ./config.sub found
configure:2621: ./ltmain.sh found
configure:2621: ./missing found
configure:2603: ./install-sh found
configure:2621: ./compile found
configure:2805: checking for gcc
configure:2826: found /opt/rh/devtoolset-7/root/usr/bin/gcc
configure:2837: result: gcc
configure:3190: checking for C compiler version
configure:3199: gcc --version >&5
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3210: $? = 0
configure:3199: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
configure:3210: $? = 0
configure:3199: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3210: $? = 1
configure:3199: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3210: $? = 1
configure:3199: gcc -version >&5
gcc: error: unrecognized command line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3210: $? = 1
configure:3230: checking whether the C compiler works
configure:3252: gcc conftest.c >&5
configure:3256: $? = 0
configure:3306: result: yes
configure:3309: checking for C compiler default output file name
configure:3311: result: a.out
configure:3317: checking for suffix of executables
configure:3324: gcc -o conftest conftest.c >&5
configure:3328: $? = 0
configure:3351: result:
configure:3373: checking whether we are cross compiling
configure:3381: gcc -o conftest conftest.c >&5
configure:3385: $? = 0
configure:3392: ./conftest
configure:3396: $? = 0
configure:3411: result: no
configure:3416: checking for suffix of object files
......
configure:3804: result: yes
configure:3804: checking for minix/config.h
configure:3804: gcc -c -g -O2 conftest.c >&5
conftest.c:47:10: fatal error: minix/config.h: No such file or directory