D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/mingw-readline-8.3-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.whVbP0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JFESLu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ rm -rf readline-8.3
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/readline-8.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd readline-8.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/readline-8.0-shlib.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/readline_mingw.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FnJjYF
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd readline-8.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'MINGW32_CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ MINGW32_CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ export 'MINGW64_CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ MINGW64_CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ run_mingw_configure --enable-shared
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find . -name config.guess -o -name config.sub)
++ basename ./support/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ for i in $(find . -name config.guess -o -name config.sub)
++ basename ./support/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ mkdir -p build_win32
+ pushd build_win32
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32 ~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z ''
+ PATH_ORIG=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH_ORIG
+ PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/i686-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/i686-w64-mingw32-addr2line /usr/bin/i686-w64-mingw32-ar /usr/bin/i686-w64-mingw32-as /usr/bin/i686-w64-mingw32-c++filt /usr/bin/i686-w64-mingw32-cpp /usr/bin/i686-w64-mingw32-dlltool /usr/bin/i686-w64-mingw32-dllwrap /usr/bin/i686-w64-mingw32-elfedit /usr/bin/i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-15.2.1 /usr/bin/i686-w64-mingw32-gcc-ar /usr/bin/i686-w64-mingw32-gcc-nm /usr/bin/i686-w64-mingw32-gcc-ranlib /usr/bin/i686-w64-mingw32-gcov /usr/bin/i686-w64-mingw32-gcov-dump /usr/bin/i686-w64-mingw32-gcov-tool /usr/bin/i686-w64-mingw32-gprof /usr/bin/i686-w64-mingw32-ld /usr/bin/i686-w64-mingw32-ld.bfd /usr/bin/i686-w64-mingw32-lto-dump /usr/bin/i686-w64-mingw32-nm /usr/bin/i686-w64-mingw32-objcopy /usr/bin/i686-w64-mingw32-objdump /usr/bin/i686-w64-mingw32-pkg-config /usr/bin/i686-w64-mingw32-ranlib /usr/bin/i686-w64-mingw32-readelf /usr/bin/i686-w64-mingw32-size /usr/bin/i686-w64-mingw32-strings /usr/bin/i686-w64-mingw32-strip /usr/bin/i686-w64-mingw32-windmc /usr/bin/i686-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-addr2line
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ar
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/i686-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-as
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/i686-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-c++filt
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-cpp
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/i686-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dlltool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/i686-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dllwrap
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-elfedit
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/i686-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/i686-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/i686-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/i686-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-tool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/i686-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gprof
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/i686-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld.bfd
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/i686-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-lto-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/i686-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-nm
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/i686-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objcopy
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/i686-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objdump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/i686-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-pkg-config
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ranlib
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/i686-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-readelf
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/i686-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-size
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/i686-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strings
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/i686-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strip
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/i686-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windmc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/i686-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windres
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/i686-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=i686-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/i686-w64-mingw32-g++ ']'
+ CXX=
+ export CXX
+ ac_cv_prog_CXX=no
+ export ac_cv_prog_CXX
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
++ grep -- '-config$'
++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
+ unset x i
+ __mingw32_topdir=.
+ test -x configure
+ __mingw32_topdir=..
+ ../configure --host=i686-w64-mingw32 --build=x86_64-mageia-linux-gnu --target=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32/sys-root/mingw --exec-prefix=/usr/i686-w64-mingw32/sys-root/mingw --bindir=/usr/i686-w64-mingw32/sys-root/mingw/bin --sbindir=/usr/i686-w64-mingw32/sys-root/mingw/sbin --sysconfdir=/usr/i686-w64-mingw32/sys-root/mingw/etc --datadir=/usr/i686-w64-mingw32/sys-root/mingw/share --includedir=/usr/i686-w64-mingw32/sys-root/mingw/include --libdir=/usr/i686-w64-mingw32/sys-root/mingw/lib --libexecdir=/usr/i686-w64-mingw32/sys-root/mingw/libexec --localstatedir=/usr/i686-w64-mingw32/sys-root/mingw/var --sharedstatedir=/usr/i686-w64-mingw32/sys-root/mingw/com --mandir=/usr/i686-w64-mingw32/sys-root/mingw/share/man --infodir=/usr/i686-w64-mingw32/sys-root/mingw/share/info --enable-shared --enable-shared
checking build system type... x86_64-mageia-linux-gnu
checking host system type... i686-w64-mingw32

Beginning configuration for readline-8.3 for i686-w64-mingw32

checking whether make sets $(MAKE)... yes
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc 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 for a BSD-compatible install... /usr/bin/install -c
checking for i686-w64-mingw32-ar... /usr/bin/i686-w64-mingw32-ar
checking for i686-w64-mingw32-ranlib... /usr/bin/i686-w64-mingw32-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 for mode_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... no
checking for gettimeofday... yes
checking for kill... no
checking for lstat... no
checking for pselect... no
checking for readlink... no
checking for select... no
checking for setitimer... no
checking for fnmatch... no
checking for memmove... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for sysconf... no
checking for tcgetattr... no
checking for tcgetwinsize... no
checking for tcsetwinsize... no
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... no
checking for getpwnam... no
checking for getpwuid... no
checking for uid_t... no
checking for gid_t... no
checking for working chown... no
checking for working strcoll... no
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... no
checking for memory.h... yes
checking for termcap.h... yes
checking for termios.h... no
checking for termio.h... no
checking for sys/ioctl.h... no
checking for sys/pte.h... no
checking for sys/stream.h... no
checking for sys/select.h... no
checking for sys/time.h... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for i686-w64-mingw32-gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
checking for type of signal functions... v7
checking if signal handlers must be reinstalled when invoked... configure: WARNING: cannot check signal handling if cross compiling -- defaulting to no
no
checking for presence of POSIX-style sigsetjmp/siglongjmp... configure: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to no
missing
checking for lstat... no
checking whether or not strcoll and strcmp differ... configure: WARNING: cannot check strcoll if cross compiling -- defaulting to no
no
checking how to run the C preprocessor... /usr/bin/i686-w64-mingw32-cpp
checking for egrep -e... /usr/bin/grep -E
checking whether getpw functions are declared in pwd.h... no
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... no
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... no
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... not found
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... no
checking for struct timeval in sys/time.h and time.h... yes
checking for libaudit.h... no
checking for i686-w64-mingw32-gcc options needed to detect all undeclared functions... none needed
checking whether AUDIT_USER_TTY is declared... no
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking for nl_langinfo and CODESET... no
checking for wctype.h... yes
checking for wchar.h... (cached) yes
checking for langinfo.h... no
checking for mbstr.h... no
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsncmp... no
checking for mbsnrtowcs... no
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... no
checking for wctype... yes
checking for wcsnrtombs... no
checking for wcswidth... no
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... no
checking size of wchar_t... 2
checking configuration for building shared libraries... supported
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
+ popd
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
+ mkdir -p build_win64
+ pushd build_win64
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64 ~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/x86_64-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/x86_64-w64-mingw32-addr2line /usr/bin/x86_64-w64-mingw32-ar /usr/bin/x86_64-w64-mingw32-as /usr/bin/x86_64-w64-mingw32-c++filt /usr/bin/x86_64-w64-mingw32-cpp /usr/bin/x86_64-w64-mingw32-dlltool /usr/bin/x86_64-w64-mingw32-dllwrap /usr/bin/x86_64-w64-mingw32-elfedit /usr/bin/x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-15.2.1 /usr/bin/x86_64-w64-mingw32-gcc-ar /usr/bin/x86_64-w64-mingw32-gcc-nm /usr/bin/x86_64-w64-mingw32-gcc-ranlib /usr/bin/x86_64-w64-mingw32-gcov /usr/bin/x86_64-w64-mingw32-gcov-dump /usr/bin/x86_64-w64-mingw32-gcov-tool /usr/bin/x86_64-w64-mingw32-gprof /usr/bin/x86_64-w64-mingw32-ld /usr/bin/x86_64-w64-mingw32-ld.bfd /usr/bin/x86_64-w64-mingw32-lto-dump /usr/bin/x86_64-w64-mingw32-nm /usr/bin/x86_64-w64-mingw32-objcopy /usr/bin/x86_64-w64-mingw32-objdump /usr/bin/x86_64-w64-mingw32-pkg-config /usr/bin/x86_64-w64-mingw32-ranlib /usr/bin/x86_64-w64-mingw32-readelf /usr/bin/x86_64-w64-mingw32-size /usr/bin/x86_64-w64-mingw32-strings /usr/bin/x86_64-w64-mingw32-strip /usr/bin/x86_64-w64-mingw32-windmc /usr/bin/x86_64-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-addr2line
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/x86_64-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ar
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/x86_64-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-as
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/x86_64-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++filt
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/x86_64-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-cpp
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/x86_64-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dlltool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/x86_64-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dllwrap
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/x86_64-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-elfedit
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/x86_64-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/x86_64-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/x86_64-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/x86_64-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-tool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/x86_64-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gprof
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/x86_64-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/x86_64-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld.bfd
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/x86_64-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-lto-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/x86_64-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-nm
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/x86_64-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objcopy
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/x86_64-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objdump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/x86_64-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-pkg-config
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/x86_64-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ranlib
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/x86_64-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-readelf
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/x86_64-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-size
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/x86_64-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strings
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/x86_64-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strip
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/x86_64-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windmc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/x86_64-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windres
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/x86_64-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=x86_64-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/x86_64-w64-mingw32-g++ ']'
+ CXX=
+ export CXX
+ ac_cv_prog_CXX=no
+ export ac_cv_prog_CXX
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
++ grep -- '-config$'
++ ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
+ unset x i
+ __mingw64_topdir=.
+ test -x configure
+ __mingw64_topdir=..
+ ../configure --host=x86_64-w64-mingw32 --build=x86_64-mageia-linux-gnu --target=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32/sys-root/mingw --exec-prefix=/usr/x86_64-w64-mingw32/sys-root/mingw --bindir=/usr/x86_64-w64-mingw32/sys-root/mingw/bin --sbindir=/usr/x86_64-w64-mingw32/sys-root/mingw/sbin --sysconfdir=/usr/x86_64-w64-mingw32/sys-root/mingw/etc --datadir=/usr/x86_64-w64-mingw32/sys-root/mingw/share --includedir=/usr/x86_64-w64-mingw32/sys-root/mingw/include --libdir=/usr/x86_64-w64-mingw32/sys-root/mingw/lib --libexecdir=/usr/x86_64-w64-mingw32/sys-root/mingw/libexec --localstatedir=/usr/x86_64-w64-mingw32/sys-root/mingw/var --sharedstatedir=/usr/x86_64-w64-mingw32/sys-root/mingw/com --mandir=/usr/x86_64-w64-mingw32/sys-root/mingw/share/man --infodir=/usr/x86_64-w64-mingw32/sys-root/mingw/share/info --enable-shared --enable-shared
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-w64-mingw32

Beginning configuration for readline-8.3 for x86_64-w64-mingw32

checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc 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 for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-w64-mingw32-ar... /usr/bin/x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-ranlib... /usr/bin/x86_64-w64-mingw32-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 for mode_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... no
checking for gettimeofday... yes
checking for kill... no
checking for lstat... no
checking for pselect... no
checking for readlink... no
checking for select... no
checking for setitimer... no
checking for fnmatch... no
checking for memmove... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for sysconf... no
checking for tcgetattr... no
checking for tcgetwinsize... no
checking for tcsetwinsize... no
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... no
checking for getpwnam... no
checking for getpwuid... no
checking for uid_t... no
checking for gid_t... no
checking for working chown... no
checking for working strcoll... no
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... no
checking for memory.h... yes
checking for termcap.h... yes
checking for termios.h... no
checking for termio.h... no
checking for sys/ioctl.h... no
checking for sys/pte.h... no
checking for sys/stream.h... no
checking for sys/select.h... no
checking for sys/time.h... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for x86_64-w64-mingw32-gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
checking for type of signal functions... v7
checking if signal handlers must be reinstalled when invoked... configure: WARNING: cannot check signal handling if cross compiling -- defaulting to no
no
checking for presence of POSIX-style sigsetjmp/siglongjmp... configure: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to no
missing
checking for lstat... no
checking whether or not strcoll and strcmp differ... configure: WARNING: cannot check strcoll if cross compiling -- defaulting to no
no
checking how to run the C preprocessor... /usr/bin/x86_64-w64-mingw32-cpp
checking for egrep -e... /usr/bin/grep -E
checking whether getpw functions are declared in pwd.h... no
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... no
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... no
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... not found
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... no
checking for struct timeval in sys/time.h and time.h... yes
checking for libaudit.h... no
checking for x86_64-w64-mingw32-gcc options needed to detect all undeclared functions... none needed
checking whether AUDIT_USER_TTY is declared... no
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking for nl_langinfo and CODESET... no
checking for wctype.h... yes
checking for wchar.h... (cached) yes
checking for langinfo.h... no
checking for mbstr.h... no
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsncmp... no
checking for mbsnrtowcs... no
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... no
checking for wctype... yes
checking for wcsnrtombs... no
checking for wcswidth... no
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... no
checking size of wchar_t... 2
checking configuration for building shared libraries... supported
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
+ popd
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
+ run_mingw_make SHLIB_LIBS=-ltermcap
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/i686-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/i686-w64-mingw32-addr2line /usr/bin/i686-w64-mingw32-ar /usr/bin/i686-w64-mingw32-as /usr/bin/i686-w64-mingw32-c++filt /usr/bin/i686-w64-mingw32-cpp /usr/bin/i686-w64-mingw32-dlltool /usr/bin/i686-w64-mingw32-dllwrap /usr/bin/i686-w64-mingw32-elfedit /usr/bin/i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-15.2.1 /usr/bin/i686-w64-mingw32-gcc-ar /usr/bin/i686-w64-mingw32-gcc-nm /usr/bin/i686-w64-mingw32-gcc-ranlib /usr/bin/i686-w64-mingw32-gcov /usr/bin/i686-w64-mingw32-gcov-dump /usr/bin/i686-w64-mingw32-gcov-tool /usr/bin/i686-w64-mingw32-gprof /usr/bin/i686-w64-mingw32-ld /usr/bin/i686-w64-mingw32-ld.bfd /usr/bin/i686-w64-mingw32-lto-dump /usr/bin/i686-w64-mingw32-nm /usr/bin/i686-w64-mingw32-objcopy /usr/bin/i686-w64-mingw32-objdump /usr/bin/i686-w64-mingw32-pkg-config /usr/bin/i686-w64-mingw32-ranlib /usr/bin/i686-w64-mingw32-readelf /usr/bin/i686-w64-mingw32-size /usr/bin/i686-w64-mingw32-strings /usr/bin/i686-w64-mingw32-strip /usr/bin/i686-w64-mingw32-windmc /usr/bin/i686-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-addr2line
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ar
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/i686-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-as
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/i686-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-c++filt
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-cpp
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/i686-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dlltool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/i686-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dllwrap
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-elfedit
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/i686-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/i686-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/i686-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/i686-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-tool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/i686-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gprof
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/i686-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld.bfd
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/i686-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-lto-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/i686-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-nm
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/i686-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objcopy
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/i686-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objdump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/i686-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-pkg-config
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ranlib
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/i686-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-readelf
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/i686-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-size
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/i686-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strings
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/i686-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strip
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/i686-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windmc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/i686-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windres
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/i686-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=i686-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/i686-w64-mingw32-g++ ']'
+ CXX=
+ export CXX
+ ac_cv_prog_CXX=no
+ export ac_cv_prog_CXX
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
++ grep -- '-config$'
+ unset x i
+ /usr/bin/make -C build_win32 SHLIB_LIBS=-ltermcap
make: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32'
rm -f readline.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../readline.c
../readline.c: In function 'readline_internal_char':
../readline.c:578:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  578 |   int c, code, lk, r;
      |                    ^
../readline.c:577:21: warning: unused variable 'eof_found' [-Wunused-variable]
  577 |   static int lastc, eof_found;
      |                     ^~~~~~~~~
../readline.c: At top level:
../readline.c:99:13: warning: 'reset_default_bindings' declared 'static' but never defined [-Wunused-function]
   99 | static void reset_default_bindings (void);
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../readline.c:76:
../parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable]
   44 | static char *color_buf;
      |              ^~~~~~~~~
rm -f vi_mode.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../vi_mode.c
../vi_mode.c: In function 'rl_vi_fword':
../vi_mode.c:625:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable]
  625 |   int opoint;
      |       ^~~~~~
../vi_mode.c: In function 'rl_vi_change_char':
../vi_mode.c:2125:7: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 1 [-Wstringop-truncation]
 2125 |       strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX);
      |       ^
rm -f funmap.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../funmap.c
rm -f keymaps.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../keymaps.c
rm -f parens.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../parens.c
../parens.c:149:1: warning: 'find_matching_open' defined but not used [-Wunused-function]
  149 | find_matching_open (char *string, int from, int closer)
      | ^~~~~~~~~~~~~~~~~~
rm -f search.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../search.c
rm -f rltty.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../rltty.c
../rltty.c:87:1: warning: 'set_winsize' defined but not used [-Wunused-function]
   87 | set_winsize (int tty)
      | ^~~~~~~~~~~
../rltty.c:74:37: warning: '_rl_last_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                                     ^~~~~~~~~~~~~~~~~~
../rltty.c:74:22: warning: '_rl_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                      ^~~~~~~~~~~~~
../rltty.c:72:12: warning: 'terminal_prepped' defined but not used [-Wunused-variable]
   72 | static int terminal_prepped;
      |            ^~~~~~~~~~~~~~~~
rm -f complete.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../complete.c
../complete.c: In function '_rl_find_completion_word':
../complete.c:1209:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1209 |       while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
      |              ^~~~~~~~
../complete.c: In function 'compute_lcd_of_matches':
../complete.c:1380:16: warning: variable 'len2' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |                ^~~~
../complete.c:1380:10: warning: variable 'len1' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |          ^~~~
../complete.c: In function 'rl_completion_matches':
../complete.c:2330:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2330 |   while (string = (*entry_function) (text, matches))
      |          ^~~~~~
../complete.c: In function 'print_filename':
../complete.c:1101:22: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized]
 1101 |           printed_len++;
      |           ~~~~~~~~~~~^~
../complete.c:994:7: note: 'printed_len' was declared here
  994 |   int printed_len, extension_char, slen, tlen;
      |       ^~~~~~~~~~~
../complete.c: In function 'rl_complete_internal':
../complete.c:2178:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized]
 2178 |           if (mlen >= tlen)
      |              ^
../complete.c:2077:7: note: 'tlen' was declared here
 2077 |   int tlen, mlen, saved_last_completion_failed;
      |       ^~~~
rm -f bind.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../bind.c
../bind.c: In function '_rl_skip_to_delim':
../bind.c:1566:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1566 |   for (i = start,passc = 0; c = string[i]; i++)
      |                             ^
../bind.c: In function 'rl_function_dumper':
../bind.c:2810:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2810 |   for (i = 0; name = names[i]; i++)
      |               ^~~~
rm -f isearch.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../isearch.c
../isearch.c: In function 'rl_search_history':
../isearch.c:910:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  910 |   int c, r;
      |       ^
rm -f display.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../display.c
../display.c: In function 'expand_prompt':
../display.c:359:60: warning: unused variable 'pind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                            ^~~~
../display.c:359:55: warning: unused variable 'ind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                       ^~~
../display.c: In function 'rl_redisplay':
../display.c:812:29: warning: unused variable 'num' [-Wunused-variable]
  812 |   int newlines, lpos, temp, num;
      |                             ^~~
../display.c: In function 'update_line':
../display.c:2409:31: warning: unused variable 'oldind' [-Wunused-variable]
 2409 |       int oldchars, oldwidth, oldind;
      |                               ^~~~~~
../display.c:2408:31: warning: unused variable 'newind' [-Wunused-variable]
 2408 |       int newchars, newwidth, newind;
      |                               ^~~~~~
../display.c:1776:39: warning: variable 'o_cpos' set but not used [-Wunused-but-set-variable]
 1776 |   int temp, lendiff, wsatend, od, nd, o_cpos;
      |                                       ^~~~~~
../display.c: In function '_rl_move_cursor_relative':
../display.c:2880:7: warning: unused variable 'in_invisline' [-Wunused-variable]
 2880 |   int in_invisline;
      |       ^~~~~~~~~~~~
../display.c:2879:7: warning: unused variable 'adjust' [-Wunused-variable]
 2879 |   int adjust;
      |       ^~~~~~
../display.c: At top level:
../display.c:3363:1: warning: 'insert_some_chars' defined but not used [-Wunused-function]
 3363 | insert_some_chars (char *string, int count, int col)
      | ^~~~~~~~~~~~~~~~~
rm -f signals.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../signals.c
../signals.c: In function '_rl_handle_signal':
../signals.c:170:7: warning: unused variable 'block_sig' [-Wunused-variable]
  170 |   int block_sig;
      |       ^~~~~~~~~
../signals.c: In function 'rl_clear_signals':
../signals.c:524:18: warning: unused variable 'dummy' [-Wunused-variable]
  524 |   sighandler_cxt dummy;
      |                  ^~~~~
../signals.c: At top level:
../signals.c:102:12: warning: 'sigwinch_set_flag' defined but not used [-Wunused-variable]
  102 | static int sigwinch_set_flag;
      |            ^~~~~~~~~~~~~~~~~
rm -f util.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../util.c
rm -f kill.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../kill.c
rm -f undo.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../undo.c
rm -f macro.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../macro.c
rm -f input.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../input.c
../input.c:33:11: warning: '__USE_MINGW_ALARM' redefined
   33 | #  define __USE_MINGW_ALARM
      |           ^~~~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
../input.c:34:11: warning: '_POSIX' redefined
   34 | #  define _POSIX
      |           ^~~~~~
<command-line>: note: this is the location of the previous definition
../input.c: In function '_rl_nchars_available':
../input.c:437:24: warning: unused variable 'result' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                        ^~~~~~
../input.c:437:20: warning: unused variable 'fd' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                    ^~
../input.c: In function 'rl_read_key':
../input.c:794:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  794 |       if (c = _rl_next_macro_key ())
      |           ^
rm -f callback.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../callback.c
rm -f terminal.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../terminal.c
../terminal.c:265:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  265 | _rl_tcgetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
../terminal.c:277:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  277 | _rl_tcsetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
rm -f text.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../text.c
../text.c: In function 'rl_change_case':
../text.c:1506:1: warning: label 'change_singlebyte' defined but not used [-Wunused-label]
 1506 | change_singlebyte:
      | ^~~~~~~~~~~~~~~~~
../text.c: In function 'rl_transpose_chars':
../text.c:1664:20: warning: variable 'prev_point' set but not used [-Wunused-but-set-variable]
 1664 |   int char_length, prev_point;
      |                    ^~~~~~~~~~
../text.c: In function 'rl_insert_text':
../text.c:101:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  101 |   strncpy (rl_line_buffer + rl_point, string, l);
      |   ^
../text.c:91:29: note: length computed here
   91 |   l = (string && *string) ? strlen (string) : 0;
      |                             ^~~~~~~~~~~~~~~
rm -f nls.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../nls.c
rm -f misc.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../misc.c
../misc.c: In function '_rl_revert_previous_lines':
../misc.c:491:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  491 |       if (ul = (UNDO_LIST *)entry->data)
      |           ^~
../misc.c: In function 'rl_clear_history':
../misc.c:551:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  551 |       if (ul = (UNDO_LIST *)hent->data)
      |           ^~
rm -f history.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../history.c
rm -f histexpand.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../histexpand.c
../histexpand.c: In function 'get_history_event':
../histexpand.c:212:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  212 |   for (local_index = i; c = string[i]; i++)
      |                         ^
rm -f histfile.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../histfile.c
../histfile.c: In function 'history_tempfile':
../histfile.c:220:11: warning: unused variable 'n' [-Wunused-variable]
  220 |   ssize_t n;
      |           ^
../histfile.c:218:14: warning: unused variable 'linkbuf' [-Wunused-variable]
  218 |   char *ret, linkbuf[PATH_MAX+1];
      |              ^~~~~~~
../histfile.c: In function 'history_truncate_file':
../histfile.c:543:49: warning: unused variable 'r' [-Wunused-variable]
  543 |   int file, chars_read, rv, orig_lines, exists, r;
      |                                                 ^
../histfile.c: At top level:
../histfile.c:142:14: warning: 'history_backupfile' declared 'static' but never defined [-Wunused-function]
  142 | static char *history_backupfile (const char *);
      |              ^~~~~~~~~~~~~~~~~~
../histfile.c:144:12: warning: 'histfile_backup' declared 'static' but never defined [-Wunused-function]
  144 | static int histfile_backup (const char *, const char *);
      |            ^~~~~~~~~~~~~~~
rm -f histsearch.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../histsearch.c
../histsearch.c: In function 'history_search_internal':
../histsearch.c:81:14: warning: variable 'mb_cur_max' set but not used [-Wunused-but-set-variable]
   81 |   int found, mb_cur_max;
      |              ^~~~~~~~~~
../histsearch.c: In function '_hs_history_patsearch':
../histsearch.c:291:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  291 |   pat = string;
      |       ^
../histsearch.c:249:12: warning: unused variable 'unescaped_backslash' [-Wunused-variable]
  249 |   int ret, unescaped_backslash;
      |            ^~~~~~~~~~~~~~~~~~~
../histsearch.c:248:15: warning: unused variable 'start' [-Wunused-variable]
  248 |   size_t len, start;
      |               ^~~~~
../histsearch.c:248:10: warning: unused variable 'len' [-Wunused-variable]
  248 |   size_t len, start;
      |          ^~~
rm -f shell.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../shell.c
../shell.c: In function 'sh_get_home_dir':
../shell.c:156:18: warning: unused variable 'entry' [-Wunused-variable]
  156 |   struct passwd *entry;
      |                  ^~~~~
../shell.c: At top level:
../shell.c:120:13: warning: 'setenv_buf' defined but not used [-Wunused-variable]
  120 | static char setenv_buf[INT_STRLEN_BOUND (int) + 1];
      |             ^~~~~~~~~~
rm -f mbutil.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../mbutil.c
rm -f tilde.o
i686-w64-mingw32-gcc  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -DREADLINE_LIBRARY -c ../tilde.c
../tilde.c: In function 'tilde_expand':
../tilde.c:188:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  188 |   if (result = strchr (string, '~'))
      |       ^~~~~~
rm -f colors.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../colors.c
../colors.c: In function '_rl_print_color_indicator':
../colors.c:160:22: warning: unused variable 'linkstat' [-Wunused-variable]
  160 |   struct stat astat, linkstat;
      |                      ^~~~~~~~
rm -f parse-colors.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../parse-colors.c
rm -f xmalloc.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../xmalloc.c
rm -f xfree.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../xfree.c
rm -f compat.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../compat.c
rm -f gettimeofday.o
i686-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../gettimeofday.c
rm -f libreadline.a
/usr/bin/i686-w64-mingw32-ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o gettimeofday.o
test -n "/usr/bin/i686-w64-mingw32-ranlib" && /usr/bin/i686-w64-mingw32-ranlib libreadline.a
rm -f libhistory.a
/usr/bin/i686-w64-mingw32-ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o
test -n "/usr/bin/i686-w64-mingw32-ranlib" && /usr/bin/i686-w64-mingw32-ranlib libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; /usr/bin/make all )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/shlib'
rm -f readline.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o readline.o ../../readline.c 
../../readline.c: In function 'readline_internal_char':
../../readline.c:578:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  578 |   int c, code, lk, r;
      |                    ^
../../readline.c:577:21: warning: unused variable 'eof_found' [-Wunused-variable]
  577 |   static int lastc, eof_found;
      |                     ^~~~~~~~~
../../readline.c: At top level:
../../readline.c:99:13: warning: 'reset_default_bindings' declared 'static' but never defined [-Wunused-function]
   99 | static void reset_default_bindings (void);
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../readline.c:76:
../../parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable]
   44 | static char *color_buf;
      |              ^~~~~~~~~
mv readline.o readline.so
rm -f vi_mode.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o vi_mode.o ../../vi_mode.c 
../../vi_mode.c: In function 'rl_vi_fword':
../../vi_mode.c:625:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable]
  625 |   int opoint;
      |       ^~~~~~
../../vi_mode.c: In function 'rl_vi_change_char':
../../vi_mode.c:2125:7: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 1 [-Wstringop-truncation]
 2125 |       strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX);
      |       ^
mv vi_mode.o vi_mode.so
rm -f funmap.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o funmap.o ../../funmap.c 
mv funmap.o funmap.so
rm -f keymaps.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o keymaps.o ../../keymaps.c 
mv keymaps.o keymaps.so
rm -f parens.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o parens.o ../../parens.c 
../../parens.c:149:1: warning: 'find_matching_open' defined but not used [-Wunused-function]
  149 | find_matching_open (char *string, int from, int closer)
      | ^~~~~~~~~~~~~~~~~~
mv parens.o parens.so
rm -f search.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o search.o ../../search.c 
mv search.o search.so
rm -f rltty.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o rltty.o ../../rltty.c 
../../rltty.c:87:1: warning: 'set_winsize' defined but not used [-Wunused-function]
   87 | set_winsize (int tty)
      | ^~~~~~~~~~~
../../rltty.c:74:37: warning: '_rl_last_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                                     ^~~~~~~~~~~~~~~~~~
../../rltty.c:74:22: warning: '_rl_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                      ^~~~~~~~~~~~~
../../rltty.c:72:12: warning: 'terminal_prepped' defined but not used [-Wunused-variable]
   72 | static int terminal_prepped;
      |            ^~~~~~~~~~~~~~~~
mv rltty.o rltty.so
rm -f complete.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o complete.o ../../complete.c 
../../complete.c: In function '_rl_find_completion_word':
../../complete.c:1209:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1209 |       while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
      |              ^~~~~~~~
../../complete.c: In function 'compute_lcd_of_matches':
../../complete.c:1380:16: warning: variable 'len2' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |                ^~~~
../../complete.c:1380:10: warning: variable 'len1' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |          ^~~~
../../complete.c: In function 'rl_completion_matches':
../../complete.c:2330:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2330 |   while (string = (*entry_function) (text, matches))
      |          ^~~~~~
../../complete.c: In function 'print_filename':
../../complete.c:1101:22: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized]
 1101 |           printed_len++;
      |           ~~~~~~~~~~~^~
../../complete.c:994:7: note: 'printed_len' was declared here
  994 |   int printed_len, extension_char, slen, tlen;
      |       ^~~~~~~~~~~
../../complete.c: In function 'rl_complete_internal':
../../complete.c:2178:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized]
 2178 |           if (mlen >= tlen)
      |              ^
../../complete.c:2077:7: note: 'tlen' was declared here
 2077 |   int tlen, mlen, saved_last_completion_failed;
      |       ^~~~
mv complete.o complete.so
rm -f bind.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o bind.o ../../bind.c 
../../bind.c: In function '_rl_skip_to_delim':
../../bind.c:1566:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1566 |   for (i = start,passc = 0; c = string[i]; i++)
      |                             ^
../../bind.c: In function 'rl_function_dumper':
../../bind.c:2810:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2810 |   for (i = 0; name = names[i]; i++)
      |               ^~~~
mv bind.o bind.so
rm -f isearch.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o isearch.o ../../isearch.c 
../../isearch.c: In function 'rl_search_history':
../../isearch.c:910:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  910 |   int c, r;
      |       ^
mv isearch.o isearch.so
rm -f display.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o display.o ../../display.c 
../../display.c: In function 'expand_prompt':
../../display.c:359:60: warning: unused variable 'pind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                            ^~~~
../../display.c:359:55: warning: unused variable 'ind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                       ^~~
../../display.c: In function 'rl_redisplay':
../../display.c:812:29: warning: unused variable 'num' [-Wunused-variable]
  812 |   int newlines, lpos, temp, num;
      |                             ^~~
../../display.c: In function 'update_line':
../../display.c:2409:31: warning: unused variable 'oldind' [-Wunused-variable]
 2409 |       int oldchars, oldwidth, oldind;
      |                               ^~~~~~
../../display.c:2408:31: warning: unused variable 'newind' [-Wunused-variable]
 2408 |       int newchars, newwidth, newind;
      |                               ^~~~~~
../../display.c:1776:39: warning: variable 'o_cpos' set but not used [-Wunused-but-set-variable]
 1776 |   int temp, lendiff, wsatend, od, nd, o_cpos;
      |                                       ^~~~~~
../../display.c: In function '_rl_move_cursor_relative':
../../display.c:2880:7: warning: unused variable 'in_invisline' [-Wunused-variable]
 2880 |   int in_invisline;
      |       ^~~~~~~~~~~~
../../display.c:2879:7: warning: unused variable 'adjust' [-Wunused-variable]
 2879 |   int adjust;
      |       ^~~~~~
../../display.c: At top level:
../../display.c:3363:1: warning: 'insert_some_chars' defined but not used [-Wunused-function]
 3363 | insert_some_chars (char *string, int count, int col)
      | ^~~~~~~~~~~~~~~~~
mv display.o display.so
rm -f signals.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o signals.o ../../signals.c 
../../signals.c: In function '_rl_handle_signal':
../../signals.c:170:7: warning: unused variable 'block_sig' [-Wunused-variable]
  170 |   int block_sig;
      |       ^~~~~~~~~
../../signals.c: In function 'rl_clear_signals':
../../signals.c:524:18: warning: unused variable 'dummy' [-Wunused-variable]
  524 |   sighandler_cxt dummy;
      |                  ^~~~~
../../signals.c: At top level:
../../signals.c:102:12: warning: 'sigwinch_set_flag' defined but not used [-Wunused-variable]
  102 | static int sigwinch_set_flag;
      |            ^~~~~~~~~~~~~~~~~
mv signals.o signals.so
rm -f util.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o util.o ../../util.c 
mv util.o util.so
rm -f kill.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o kill.o ../../kill.c 
mv kill.o kill.so
rm -f undo.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o undo.o ../../undo.c 
mv undo.o undo.so
rm -f macro.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o macro.o ../../macro.c 
mv macro.o macro.so
rm -f input.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o input.o ../../input.c 
../../input.c:33:11: warning: '__USE_MINGW_ALARM' redefined
   33 | #  define __USE_MINGW_ALARM
      |           ^~~~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
../../input.c:34:11: warning: '_POSIX' redefined
   34 | #  define _POSIX
      |           ^~~~~~
<command-line>: note: this is the location of the previous definition
../../input.c: In function '_rl_nchars_available':
../../input.c:437:24: warning: unused variable 'result' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                        ^~~~~~
../../input.c:437:20: warning: unused variable 'fd' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                    ^~
../../input.c: In function 'rl_read_key':
../../input.c:794:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  794 |       if (c = _rl_next_macro_key ())
      |           ^
mv input.o input.so
rm -f callback.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o callback.o ../../callback.c 
mv callback.o callback.so
rm -f terminal.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o terminal.o ../../terminal.c 
../../terminal.c:265:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  265 | _rl_tcgetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
../../terminal.c:277:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  277 | _rl_tcsetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
mv terminal.o terminal.so
rm -f text.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o text.o ../../text.c 
../../text.c: In function 'rl_change_case':
../../text.c:1506:1: warning: label 'change_singlebyte' defined but not used [-Wunused-label]
 1506 | change_singlebyte:
      | ^~~~~~~~~~~~~~~~~
../../text.c: In function 'rl_transpose_chars':
../../text.c:1664:20: warning: variable 'prev_point' set but not used [-Wunused-but-set-variable]
 1664 |   int char_length, prev_point;
      |                    ^~~~~~~~~~
../../text.c: In function 'rl_insert_text':
../../text.c:101:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  101 |   strncpy (rl_line_buffer + rl_point, string, l);
      |   ^
../../text.c:91:29: note: length computed here
   91 |   l = (string && *string) ? strlen (string) : 0;
      |                             ^~~~~~~~~~~~~~~
mv text.o text.so
rm -f nls.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o nls.o ../../nls.c 
mv nls.o nls.so
rm -f misc.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o misc.o ../../misc.c 
../../misc.c: In function '_rl_revert_previous_lines':
../../misc.c:491:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  491 |       if (ul = (UNDO_LIST *)entry->data)
      |           ^~
../../misc.c: In function 'rl_clear_history':
../../misc.c:551:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  551 |       if (ul = (UNDO_LIST *)hent->data)
      |           ^~
mv misc.o misc.so
rm -f history.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o history.o ../../history.c 
mv history.o history.so
rm -f histexpand.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o histexpand.o ../../histexpand.c 
../../histexpand.c: In function 'get_history_event':
../../histexpand.c:212:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  212 |   for (local_index = i; c = string[i]; i++)
      |                         ^
mv histexpand.o histexpand.so
rm -f histfile.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o histfile.o ../../histfile.c 
../../histfile.c: In function 'history_tempfile':
../../histfile.c:220:11: warning: unused variable 'n' [-Wunused-variable]
  220 |   ssize_t n;
      |           ^
../../histfile.c:218:14: warning: unused variable 'linkbuf' [-Wunused-variable]
  218 |   char *ret, linkbuf[PATH_MAX+1];
      |              ^~~~~~~
../../histfile.c: In function 'history_truncate_file':
../../histfile.c:543:49: warning: unused variable 'r' [-Wunused-variable]
  543 |   int file, chars_read, rv, orig_lines, exists, r;
      |                                                 ^
../../histfile.c: At top level:
../../histfile.c:142:14: warning: 'history_backupfile' declared 'static' but never defined [-Wunused-function]
  142 | static char *history_backupfile (const char *);
      |              ^~~~~~~~~~~~~~~~~~
../../histfile.c:144:12: warning: 'histfile_backup' declared 'static' but never defined [-Wunused-function]
  144 | static int histfile_backup (const char *, const char *);
      |            ^~~~~~~~~~~~~~~
mv histfile.o histfile.so
rm -f histsearch.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o histsearch.o ../../histsearch.c 
../../histsearch.c: In function 'history_search_internal':
../../histsearch.c:81:14: warning: variable 'mb_cur_max' set but not used [-Wunused-but-set-variable]
   81 |   int found, mb_cur_max;
      |              ^~~~~~~~~~
../../histsearch.c: In function '_hs_history_patsearch':
../../histsearch.c:291:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  291 |   pat = string;
      |       ^
../../histsearch.c:249:12: warning: unused variable 'unescaped_backslash' [-Wunused-variable]
  249 |   int ret, unescaped_backslash;
      |            ^~~~~~~~~~~~~~~~~~~
../../histsearch.c:248:15: warning: unused variable 'start' [-Wunused-variable]
  248 |   size_t len, start;
      |               ^~~~~
../../histsearch.c:248:10: warning: unused variable 'len' [-Wunused-variable]
  248 |   size_t len, start;
      |          ^~~
mv histsearch.o histsearch.so
rm -f shell.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o shell.o ../../shell.c 
../../shell.c: In function 'sh_get_home_dir':
../../shell.c:156:18: warning: unused variable 'entry' [-Wunused-variable]
  156 |   struct passwd *entry;
      |                  ^~~~~
../../shell.c: At top level:
../../shell.c:120:13: warning: 'setenv_buf' defined but not used [-Wunused-variable]
  120 | static char setenv_buf[INT_STRLEN_BOUND (int) + 1];
      |             ^~~~~~~~~~
mv shell.o shell.so
rm -f mbutil.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o mbutil.o ../../mbutil.c 
mv mbutil.o mbutil.so
rm -f tilde.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -DREADLINE_LIBRARY -c -o tilde.o ../../tilde.c
../../tilde.c: In function 'tilde_expand':
../../tilde.c:188:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  188 |   if (result = strchr (string, '~'))
      |       ^~~~~~
mv tilde.o tilde.so
rm -f colors.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o colors.o ../../colors.c 
../../colors.c: In function '_rl_print_color_indicator':
../../colors.c:160:22: warning: unused variable 'linkstat' [-Wunused-variable]
  160 |   struct stat astat, linkstat;
      |                      ^~~~~~~~
mv colors.o colors.so
rm -f parse-colors.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o parse-colors.o ../../parse-colors.c 
mv parse-colors.o parse-colors.so
rm -f xmalloc.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o xmalloc.o ../../xmalloc.c 
mv xmalloc.o xmalloc.so
rm -f xfree.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o xfree.o ../../xfree.c 
mv xfree.o xfree.so
rm -f compat.so
i686-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o compat.o ../../compat.c 
mv compat.o compat.so
rm -f libreadline8.dll
i686-w64-mingw32-gcc -shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=libreadline8.dll.a -fstack-protector -lssp  -o libreadline8.dll readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so colors.so parse-colors.so xmalloc.so xfree.so compat.so -ltermcap
rm -f libhistory8.dll
i686-w64-mingw32-gcc -shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=libhistory8.dll.a -fstack-protector -lssp  -o libhistory8.dll history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so xfree.so
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/shlib'
make: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32'
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/x86_64-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/x86_64-w64-mingw32-addr2line /usr/bin/x86_64-w64-mingw32-ar /usr/bin/x86_64-w64-mingw32-as /usr/bin/x86_64-w64-mingw32-c++filt /usr/bin/x86_64-w64-mingw32-cpp /usr/bin/x86_64-w64-mingw32-dlltool /usr/bin/x86_64-w64-mingw32-dllwrap /usr/bin/x86_64-w64-mingw32-elfedit /usr/bin/x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-15.2.1 /usr/bin/x86_64-w64-mingw32-gcc-ar /usr/bin/x86_64-w64-mingw32-gcc-nm /usr/bin/x86_64-w64-mingw32-gcc-ranlib /usr/bin/x86_64-w64-mingw32-gcov /usr/bin/x86_64-w64-mingw32-gcov-dump /usr/bin/x86_64-w64-mingw32-gcov-tool /usr/bin/x86_64-w64-mingw32-gprof /usr/bin/x86_64-w64-mingw32-ld /usr/bin/x86_64-w64-mingw32-ld.bfd /usr/bin/x86_64-w64-mingw32-lto-dump /usr/bin/x86_64-w64-mingw32-nm /usr/bin/x86_64-w64-mingw32-objcopy /usr/bin/x86_64-w64-mingw32-objdump /usr/bin/x86_64-w64-mingw32-pkg-config /usr/bin/x86_64-w64-mingw32-ranlib /usr/bin/x86_64-w64-mingw32-readelf /usr/bin/x86_64-w64-mingw32-size /usr/bin/x86_64-w64-mingw32-strings /usr/bin/x86_64-w64-mingw32-strip /usr/bin/x86_64-w64-mingw32-windmc /usr/bin/x86_64-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-addr2line
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/x86_64-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ar
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/x86_64-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-as
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/x86_64-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++filt
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/x86_64-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-cpp
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/x86_64-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dlltool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/x86_64-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dllwrap
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/x86_64-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-elfedit
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/x86_64-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/x86_64-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/x86_64-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/x86_64-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-tool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/x86_64-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gprof
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/x86_64-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/x86_64-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld.bfd
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/x86_64-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-lto-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/x86_64-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-nm
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/x86_64-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objcopy
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/x86_64-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objdump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/x86_64-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-pkg-config
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/x86_64-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ranlib
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/x86_64-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-readelf
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/x86_64-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-size
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/x86_64-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strings
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/x86_64-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strip
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/x86_64-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windmc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/x86_64-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windres
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/x86_64-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=x86_64-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/x86_64-w64-mingw32-g++ ']'
+ CXX=
+ export CXX
+ ac_cv_prog_CXX=no
+ export ac_cv_prog_CXX
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
++ ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
++ grep -- '-config$'
+ unset x i
+ /usr/bin/make -C build_win64 SHLIB_LIBS=-ltermcap
make: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64'
rm -f readline.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../readline.c
../readline.c: In function 'readline_internal_char':
../readline.c:578:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  578 |   int c, code, lk, r;
      |                    ^
../readline.c:577:21: warning: unused variable 'eof_found' [-Wunused-variable]
  577 |   static int lastc, eof_found;
      |                     ^~~~~~~~~
../readline.c: At top level:
../readline.c:99:13: warning: 'reset_default_bindings' declared 'static' but never defined [-Wunused-function]
   99 | static void reset_default_bindings (void);
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../readline.c:76:
../parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable]
   44 | static char *color_buf;
      |              ^~~~~~~~~
rm -f vi_mode.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../vi_mode.c
../vi_mode.c: In function 'rl_vi_fword':
../vi_mode.c:625:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable]
  625 |   int opoint;
      |       ^~~~~~
../vi_mode.c: In function 'rl_vi_change_char':
../vi_mode.c:2125:7: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 1 [-Wstringop-truncation]
 2125 |       strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX);
      |       ^
rm -f funmap.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../funmap.c
rm -f keymaps.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../keymaps.c
rm -f parens.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../parens.c
../parens.c:149:1: warning: 'find_matching_open' defined but not used [-Wunused-function]
  149 | find_matching_open (char *string, int from, int closer)
      | ^~~~~~~~~~~~~~~~~~
rm -f search.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../search.c
rm -f rltty.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../rltty.c
../rltty.c:87:1: warning: 'set_winsize' defined but not used [-Wunused-function]
   87 | set_winsize (int tty)
      | ^~~~~~~~~~~
../rltty.c:74:37: warning: '_rl_last_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                                     ^~~~~~~~~~~~~~~~~~
../rltty.c:74:22: warning: '_rl_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                      ^~~~~~~~~~~~~
../rltty.c:72:12: warning: 'terminal_prepped' defined but not used [-Wunused-variable]
   72 | static int terminal_prepped;
      |            ^~~~~~~~~~~~~~~~
rm -f complete.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../complete.c
../complete.c: In function '_rl_find_completion_word':
../complete.c:1209:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1209 |       while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
      |              ^~~~~~~~
../complete.c: In function 'compute_lcd_of_matches':
../complete.c:1380:16: warning: variable 'len2' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |                ^~~~
../complete.c:1380:10: warning: variable 'len1' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |          ^~~~
../complete.c: In function 'rl_completion_matches':
../complete.c:2330:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2330 |   while (string = (*entry_function) (text, matches))
      |          ^~~~~~
../complete.c: In function 'print_filename':
../complete.c:1101:22: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized]
 1101 |           printed_len++;
      |           ~~~~~~~~~~~^~
../complete.c:994:7: note: 'printed_len' was declared here
  994 |   int printed_len, extension_char, slen, tlen;
      |       ^~~~~~~~~~~
../complete.c: In function 'rl_complete_internal':
../complete.c:2178:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized]
 2178 |           if (mlen >= tlen)
      |              ^
../complete.c:2077:7: note: 'tlen' was declared here
 2077 |   int tlen, mlen, saved_last_completion_failed;
      |       ^~~~
rm -f bind.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../bind.c
../bind.c: In function '_rl_skip_to_delim':
../bind.c:1566:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1566 |   for (i = start,passc = 0; c = string[i]; i++)
      |                             ^
../bind.c: In function 'rl_function_dumper':
../bind.c:2810:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2810 |   for (i = 0; name = names[i]; i++)
      |               ^~~~
rm -f isearch.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../isearch.c
../isearch.c: In function 'rl_search_history':
../isearch.c:910:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  910 |   int c, r;
      |       ^
rm -f display.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../display.c
../display.c: In function 'expand_prompt':
../display.c:359:60: warning: unused variable 'pind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                            ^~~~
../display.c:359:55: warning: unused variable 'ind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                       ^~~
../display.c: In function 'rl_redisplay':
../display.c:812:29: warning: unused variable 'num' [-Wunused-variable]
  812 |   int newlines, lpos, temp, num;
      |                             ^~~
../display.c: In function 'update_line':
../display.c:2409:31: warning: unused variable 'oldind' [-Wunused-variable]
 2409 |       int oldchars, oldwidth, oldind;
      |                               ^~~~~~
../display.c:2408:31: warning: unused variable 'newind' [-Wunused-variable]
 2408 |       int newchars, newwidth, newind;
      |                               ^~~~~~
../display.c:1776:39: warning: variable 'o_cpos' set but not used [-Wunused-but-set-variable]
 1776 |   int temp, lendiff, wsatend, od, nd, o_cpos;
      |                                       ^~~~~~
../display.c: In function '_rl_move_cursor_relative':
../display.c:2880:7: warning: unused variable 'in_invisline' [-Wunused-variable]
 2880 |   int in_invisline;
      |       ^~~~~~~~~~~~
../display.c:2879:7: warning: unused variable 'adjust' [-Wunused-variable]
 2879 |   int adjust;
      |       ^~~~~~
../display.c: At top level:
../display.c:3363:1: warning: 'insert_some_chars' defined but not used [-Wunused-function]
 3363 | insert_some_chars (char *string, int count, int col)
      | ^~~~~~~~~~~~~~~~~
rm -f signals.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../signals.c
../signals.c: In function '_rl_handle_signal':
../signals.c:170:7: warning: unused variable 'block_sig' [-Wunused-variable]
  170 |   int block_sig;
      |       ^~~~~~~~~
../signals.c: In function 'rl_clear_signals':
../signals.c:524:18: warning: unused variable 'dummy' [-Wunused-variable]
  524 |   sighandler_cxt dummy;
      |                  ^~~~~
../signals.c: At top level:
../signals.c:102:12: warning: 'sigwinch_set_flag' defined but not used [-Wunused-variable]
  102 | static int sigwinch_set_flag;
      |            ^~~~~~~~~~~~~~~~~
rm -f util.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../util.c
rm -f kill.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../kill.c
rm -f undo.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../undo.c
rm -f macro.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../macro.c
rm -f input.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../input.c
../input.c:33:11: warning: '__USE_MINGW_ALARM' redefined
   33 | #  define __USE_MINGW_ALARM
      |           ^~~~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
../input.c:34:11: warning: '_POSIX' redefined
   34 | #  define _POSIX
      |           ^~~~~~
<command-line>: note: this is the location of the previous definition
../input.c: In function '_rl_nchars_available':
../input.c:437:24: warning: unused variable 'result' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                        ^~~~~~
../input.c:437:20: warning: unused variable 'fd' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                    ^~
../input.c: In function 'rl_read_key':
../input.c:794:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  794 |       if (c = _rl_next_macro_key ())
      |           ^
rm -f callback.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../callback.c
rm -f terminal.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../terminal.c
../terminal.c:265:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  265 | _rl_tcgetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
../terminal.c:277:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  277 | _rl_tcsetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
rm -f text.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../text.c
../text.c: In function 'rl_change_case':
../text.c:1506:1: warning: label 'change_singlebyte' defined but not used [-Wunused-label]
 1506 | change_singlebyte:
      | ^~~~~~~~~~~~~~~~~
../text.c: In function 'rl_transpose_chars':
../text.c:1664:20: warning: variable 'prev_point' set but not used [-Wunused-but-set-variable]
 1664 |   int char_length, prev_point;
      |                    ^~~~~~~~~~
../text.c: In function 'rl_insert_text':
../text.c:101:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  101 |   strncpy (rl_line_buffer + rl_point, string, l);
      |   ^
../text.c:91:29: note: length computed here
   91 |   l = (string && *string) ? strlen (string) : 0;
      |                             ^~~~~~~~~~~~~~~
rm -f nls.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../nls.c
rm -f misc.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../misc.c
../misc.c: In function '_rl_revert_previous_lines':
../misc.c:491:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  491 |       if (ul = (UNDO_LIST *)entry->data)
      |           ^~
../misc.c: In function 'rl_clear_history':
../misc.c:551:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  551 |       if (ul = (UNDO_LIST *)hent->data)
      |           ^~
rm -f history.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../history.c
rm -f histexpand.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../histexpand.c
../histexpand.c: In function 'get_history_event':
../histexpand.c:212:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  212 |   for (local_index = i; c = string[i]; i++)
      |                         ^
rm -f histfile.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../histfile.c
../histfile.c: In function 'history_tempfile':
../histfile.c:220:11: warning: unused variable 'n' [-Wunused-variable]
  220 |   ssize_t n;
      |           ^
../histfile.c:218:14: warning: unused variable 'linkbuf' [-Wunused-variable]
  218 |   char *ret, linkbuf[PATH_MAX+1];
      |              ^~~~~~~
../histfile.c: In function 'history_truncate_file':
../histfile.c:543:49: warning: unused variable 'r' [-Wunused-variable]
  543 |   int file, chars_read, rv, orig_lines, exists, r;
      |                                                 ^
../histfile.c: At top level:
../histfile.c:142:14: warning: 'history_backupfile' declared 'static' but never defined [-Wunused-function]
  142 | static char *history_backupfile (const char *);
      |              ^~~~~~~~~~~~~~~~~~
../histfile.c:144:12: warning: 'histfile_backup' declared 'static' but never defined [-Wunused-function]
  144 | static int histfile_backup (const char *, const char *);
      |            ^~~~~~~~~~~~~~~
rm -f histsearch.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../histsearch.c
../histsearch.c: In function 'history_search_internal':
../histsearch.c:81:14: warning: variable 'mb_cur_max' set but not used [-Wunused-but-set-variable]
   81 |   int found, mb_cur_max;
      |              ^~~~~~~~~~
../histsearch.c: In function '_hs_history_patsearch':
../histsearch.c:291:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  291 |   pat = string;
      |       ^
../histsearch.c:249:12: warning: unused variable 'unescaped_backslash' [-Wunused-variable]
  249 |   int ret, unescaped_backslash;
      |            ^~~~~~~~~~~~~~~~~~~
../histsearch.c:248:15: warning: unused variable 'start' [-Wunused-variable]
  248 |   size_t len, start;
      |               ^~~~~
../histsearch.c:248:10: warning: unused variable 'len' [-Wunused-variable]
  248 |   size_t len, start;
      |          ^~~
rm -f shell.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../shell.c
../shell.c: In function 'sh_get_home_dir':
../shell.c:156:18: warning: unused variable 'entry' [-Wunused-variable]
  156 |   struct passwd *entry;
      |                  ^~~~~
../shell.c: At top level:
../shell.c:120:13: warning: 'setenv_buf' defined but not used [-Wunused-variable]
  120 | static char setenv_buf[INT_STRLEN_BOUND (int) + 1];
      |             ^~~~~~~~~~
rm -f mbutil.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../mbutil.c
rm -f tilde.o
x86_64-w64-mingw32-gcc  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -DREADLINE_LIBRARY -c ../tilde.c
../tilde.c: In function 'tilde_expand':
../tilde.c:188:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  188 |   if (result = strchr (string, '~'))
      |       ^~~~~~
rm -f colors.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../colors.c
../colors.c: In function '_rl_print_color_indicator':
../colors.c:160:22: warning: unused variable 'linkstat' [-Wunused-variable]
  160 |   struct stat astat, linkstat;
      |                      ^~~~~~~~
rm -f parse-colors.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../parse-colors.c
rm -f xmalloc.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../xmalloc.c
rm -f xfree.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../xfree.c
rm -f compat.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../compat.c
rm -f gettimeofday.o
x86_64-w64-mingw32-gcc -c  -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   ../gettimeofday.c
rm -f libreadline.a
/usr/bin/x86_64-w64-mingw32-ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o gettimeofday.o
test -n "/usr/bin/x86_64-w64-mingw32-ranlib" && /usr/bin/x86_64-w64-mingw32-ranlib libreadline.a
rm -f libhistory.a
/usr/bin/x86_64-w64-mingw32-ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o
test -n "/usr/bin/x86_64-w64-mingw32-ranlib" && /usr/bin/x86_64-w64-mingw32-ranlib libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; /usr/bin/make all )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/shlib'
rm -f readline.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o readline.o ../../readline.c 
../../readline.c: In function 'readline_internal_char':
../../readline.c:578:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  578 |   int c, code, lk, r;
      |                    ^
../../readline.c:577:21: warning: unused variable 'eof_found' [-Wunused-variable]
  577 |   static int lastc, eof_found;
      |                     ^~~~~~~~~
../../readline.c: At top level:
../../readline.c:99:13: warning: 'reset_default_bindings' declared 'static' but never defined [-Wunused-function]
   99 | static void reset_default_bindings (void);
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../readline.c:76:
../../parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable]
   44 | static char *color_buf;
      |              ^~~~~~~~~
mv readline.o readline.so
rm -f vi_mode.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o vi_mode.o ../../vi_mode.c 
../../vi_mode.c: In function 'rl_vi_fword':
../../vi_mode.c:625:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable]
  625 |   int opoint;
      |       ^~~~~~
../../vi_mode.c: In function 'rl_vi_change_char':
../../vi_mode.c:2125:7: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 1 [-Wstringop-truncation]
 2125 |       strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX);
      |       ^
mv vi_mode.o vi_mode.so
rm -f funmap.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o funmap.o ../../funmap.c 
mv funmap.o funmap.so
rm -f keymaps.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o keymaps.o ../../keymaps.c 
mv keymaps.o keymaps.so
rm -f parens.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o parens.o ../../parens.c 
../../parens.c:149:1: warning: 'find_matching_open' defined but not used [-Wunused-function]
  149 | find_matching_open (char *string, int from, int closer)
      | ^~~~~~~~~~~~~~~~~~
mv parens.o parens.so
rm -f search.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o search.o ../../search.c 
mv search.o search.so
rm -f rltty.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o rltty.o ../../rltty.c 
../../rltty.c:87:1: warning: 'set_winsize' defined but not used [-Wunused-function]
   87 | set_winsize (int tty)
      | ^~~~~~~~~~~
../../rltty.c:74:37: warning: '_rl_last_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                                     ^~~~~~~~~~~~~~~~~~
../../rltty.c:74:22: warning: '_rl_tty_chars' defined but not used [-Wunused-variable]
   74 | static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars;
      |                      ^~~~~~~~~~~~~
../../rltty.c:72:12: warning: 'terminal_prepped' defined but not used [-Wunused-variable]
   72 | static int terminal_prepped;
      |            ^~~~~~~~~~~~~~~~
mv rltty.o rltty.so
rm -f complete.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o complete.o ../../complete.c 
../../complete.c: In function '_rl_find_completion_word':
../../complete.c:1209:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1209 |       while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
      |              ^~~~~~~~
../../complete.c: In function 'compute_lcd_of_matches':
../../complete.c:1380:16: warning: variable 'len2' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |                ^~~~
../../complete.c:1380:10: warning: variable 'len1' set but not used [-Wunused-but-set-variable]
 1380 |   size_t len1, len2;
      |          ^~~~
../../complete.c: In function 'rl_completion_matches':
../../complete.c:2330:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2330 |   while (string = (*entry_function) (text, matches))
      |          ^~~~~~
../../complete.c: In function 'print_filename':
../../complete.c:1101:22: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized]
 1101 |           printed_len++;
      |           ~~~~~~~~~~~^~
../../complete.c:994:7: note: 'printed_len' was declared here
  994 |   int printed_len, extension_char, slen, tlen;
      |       ^~~~~~~~~~~
../../complete.c: In function 'rl_complete_internal':
../../complete.c:2178:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized]
 2178 |           if (mlen >= tlen)
      |              ^
../../complete.c:2077:7: note: 'tlen' was declared here
 2077 |   int tlen, mlen, saved_last_completion_failed;
      |       ^~~~
mv complete.o complete.so
rm -f bind.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o bind.o ../../bind.c 
../../bind.c: In function '_rl_skip_to_delim':
../../bind.c:1566:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1566 |   for (i = start,passc = 0; c = string[i]; i++)
      |                             ^
../../bind.c: In function 'rl_function_dumper':
../../bind.c:2810:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2810 |   for (i = 0; name = names[i]; i++)
      |               ^~~~
mv bind.o bind.so
rm -f isearch.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o isearch.o ../../isearch.c 
../../isearch.c: In function 'rl_search_history':
../../isearch.c:910:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  910 |   int c, r;
      |       ^
mv isearch.o isearch.so
rm -f display.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o display.o ../../display.c 
../../display.c: In function 'expand_prompt':
../../display.c:359:60: warning: unused variable 'pind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                            ^~~~
../../display.c:359:55: warning: unused variable 'ind' [-Wunused-variable]
  359 |   int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars;
      |                                                       ^~~
../../display.c: In function 'rl_redisplay':
../../display.c:812:29: warning: unused variable 'num' [-Wunused-variable]
  812 |   int newlines, lpos, temp, num;
      |                             ^~~
../../display.c: In function 'update_line':
../../display.c:2409:31: warning: unused variable 'oldind' [-Wunused-variable]
 2409 |       int oldchars, oldwidth, oldind;
      |                               ^~~~~~
../../display.c:2408:31: warning: unused variable 'newind' [-Wunused-variable]
 2408 |       int newchars, newwidth, newind;
      |                               ^~~~~~
../../display.c:1776:39: warning: variable 'o_cpos' set but not used [-Wunused-but-set-variable]
 1776 |   int temp, lendiff, wsatend, od, nd, o_cpos;
      |                                       ^~~~~~
../../display.c: In function '_rl_move_cursor_relative':
../../display.c:2880:7: warning: unused variable 'in_invisline' [-Wunused-variable]
 2880 |   int in_invisline;
      |       ^~~~~~~~~~~~
../../display.c:2879:7: warning: unused variable 'adjust' [-Wunused-variable]
 2879 |   int adjust;
      |       ^~~~~~
../../display.c: At top level:
../../display.c:3363:1: warning: 'insert_some_chars' defined but not used [-Wunused-function]
 3363 | insert_some_chars (char *string, int count, int col)
      | ^~~~~~~~~~~~~~~~~
mv display.o display.so
rm -f signals.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o signals.o ../../signals.c 
../../signals.c: In function '_rl_handle_signal':
../../signals.c:170:7: warning: unused variable 'block_sig' [-Wunused-variable]
  170 |   int block_sig;
      |       ^~~~~~~~~
../../signals.c: In function 'rl_clear_signals':
../../signals.c:524:18: warning: unused variable 'dummy' [-Wunused-variable]
  524 |   sighandler_cxt dummy;
      |                  ^~~~~
../../signals.c: At top level:
../../signals.c:102:12: warning: 'sigwinch_set_flag' defined but not used [-Wunused-variable]
  102 | static int sigwinch_set_flag;
      |            ^~~~~~~~~~~~~~~~~
mv signals.o signals.so
rm -f util.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o util.o ../../util.c 
mv util.o util.so
rm -f kill.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o kill.o ../../kill.c 
mv kill.o kill.so
rm -f undo.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o undo.o ../../undo.c 
mv undo.o undo.so
rm -f macro.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o macro.o ../../macro.c 
mv macro.o macro.so
rm -f input.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o input.o ../../input.c 
../../input.c:33:11: warning: '__USE_MINGW_ALARM' redefined
   33 | #  define __USE_MINGW_ALARM
      |           ^~~~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
../../input.c:34:11: warning: '_POSIX' redefined
   34 | #  define _POSIX
      |           ^~~~~~
<command-line>: note: this is the location of the previous definition
../../input.c: In function '_rl_nchars_available':
../../input.c:437:24: warning: unused variable 'result' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                        ^~~~~~
../../input.c:437:20: warning: unused variable 'fd' [-Wunused-variable]
  437 |   int chars_avail, fd, result;
      |                    ^~
../../input.c: In function 'rl_read_key':
../../input.c:794:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  794 |       if (c = _rl_next_macro_key ())
      |           ^
mv input.o input.so
rm -f callback.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o callback.o ../../callback.c 
mv callback.o callback.so
rm -f terminal.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o terminal.o ../../terminal.c 
../../terminal.c:265:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  265 | _rl_tcgetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
../../terminal.c:277:35: warning: 'struct winsize' declared inside parameter list will not be visible outside of this definition or declaration
  277 | _rl_tcsetwinsize (int tty, struct winsize *wp)
      |                                   ^~~~~~~
mv terminal.o terminal.so
rm -f text.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o text.o ../../text.c 
../../text.c: In function 'rl_change_case':
../../text.c:1506:1: warning: label 'change_singlebyte' defined but not used [-Wunused-label]
 1506 | change_singlebyte:
      | ^~~~~~~~~~~~~~~~~
../../text.c: In function 'rl_transpose_chars':
../../text.c:1664:20: warning: variable 'prev_point' set but not used [-Wunused-but-set-variable]
 1664 |   int char_length, prev_point;
      |                    ^~~~~~~~~~
../../text.c: In function 'rl_insert_text':
../../text.c:101:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  101 |   strncpy (rl_line_buffer + rl_point, string, l);
      |   ^
../../text.c:91:29: note: length computed here
   91 |   l = (string && *string) ? strlen (string) : 0;
      |                             ^~~~~~~~~~~~~~~
mv text.o text.so
rm -f nls.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o nls.o ../../nls.c 
mv nls.o nls.so
rm -f misc.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o misc.o ../../misc.c 
../../misc.c: In function '_rl_revert_previous_lines':
../../misc.c:491:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  491 |       if (ul = (UNDO_LIST *)entry->data)
      |           ^~
../../misc.c: In function 'rl_clear_history':
../../misc.c:551:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  551 |       if (ul = (UNDO_LIST *)hent->data)
      |           ^~
mv misc.o misc.so
rm -f history.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o history.o ../../history.c 
mv history.o history.so
rm -f histexpand.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o histexpand.o ../../histexpand.c 
../../histexpand.c: In function 'get_history_event':
../../histexpand.c:212:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  212 |   for (local_index = i; c = string[i]; i++)
      |                         ^
mv histexpand.o histexpand.so
rm -f histfile.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o histfile.o ../../histfile.c 
../../histfile.c: In function 'history_tempfile':
../../histfile.c:220:11: warning: unused variable 'n' [-Wunused-variable]
  220 |   ssize_t n;
      |           ^
../../histfile.c:218:14: warning: unused variable 'linkbuf' [-Wunused-variable]
  218 |   char *ret, linkbuf[PATH_MAX+1];
      |              ^~~~~~~
../../histfile.c: In function 'history_truncate_file':
../../histfile.c:543:49: warning: unused variable 'r' [-Wunused-variable]
  543 |   int file, chars_read, rv, orig_lines, exists, r;
      |                                                 ^
../../histfile.c: At top level:
../../histfile.c:142:14: warning: 'history_backupfile' declared 'static' but never defined [-Wunused-function]
  142 | static char *history_backupfile (const char *);
      |              ^~~~~~~~~~~~~~~~~~
../../histfile.c:144:12: warning: 'histfile_backup' declared 'static' but never defined [-Wunused-function]
  144 | static int histfile_backup (const char *, const char *);
      |            ^~~~~~~~~~~~~~~
mv histfile.o histfile.so
rm -f histsearch.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o histsearch.o ../../histsearch.c 
../../histsearch.c: In function 'history_search_internal':
../../histsearch.c:81:14: warning: variable 'mb_cur_max' set but not used [-Wunused-but-set-variable]
   81 |   int found, mb_cur_max;
      |              ^~~~~~~~~~
../../histsearch.c: In function '_hs_history_patsearch':
../../histsearch.c:291:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  291 |   pat = string;
      |       ^
../../histsearch.c:249:12: warning: unused variable 'unescaped_backslash' [-Wunused-variable]
  249 |   int ret, unescaped_backslash;
      |            ^~~~~~~~~~~~~~~~~~~
../../histsearch.c:248:15: warning: unused variable 'start' [-Wunused-variable]
  248 |   size_t len, start;
      |               ^~~~~
../../histsearch.c:248:10: warning: unused variable 'len' [-Wunused-variable]
  248 |   size_t len, start;
      |          ^~~
mv histsearch.o histsearch.so
rm -f shell.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o shell.o ../../shell.c 
../../shell.c: In function 'sh_get_home_dir':
../../shell.c:156:18: warning: unused variable 'entry' [-Wunused-variable]
  156 |   struct passwd *entry;
      |                  ^~~~~
../../shell.c: At top level:
../../shell.c:120:13: warning: 'setenv_buf' defined but not used [-Wunused-variable]
  120 | static char setenv_buf[INT_STRLEN_BOUND (int) + 1];
      |             ^~~~~~~~~~
mv shell.o shell.so
rm -f mbutil.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o mbutil.o ../../mbutil.c 
mv mbutil.o mbutil.so
rm -f tilde.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -DREADLINE_LIBRARY -c -o tilde.o ../../tilde.c
../../tilde.c: In function 'tilde_expand':
../../tilde.c:188:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  188 |   if (result = strchr (string, '~'))
      |       ^~~~~~
mv tilde.o tilde.so
rm -f colors.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o colors.o ../../colors.c 
../../colors.c: In function '_rl_print_color_indicator':
../../colors.c:160:22: warning: unused variable 'linkstat' [-Wunused-variable]
  160 |   struct stat astat, linkstat;
      |                      ^~~~~~~~
mv colors.o colors.so
rm -f parse-colors.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o parse-colors.o ../../parse-colors.c 
mv parse-colors.o parse-colors.so
rm -f xmalloc.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o xmalloc.o ../../xmalloc.c 
mv xmalloc.o xmalloc.so
rm -f xfree.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o xfree.o ../../xfree.c 
mv xfree.o xfree.so
rm -f compat.so
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -DCROSS_COMPILING  -I. -I.. -I../..  -DRL_LIBRARY_VERSION='"8.3"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -D_POSIX -D__USE_MINGW_ALARM=1   -o compat.o ../../compat.c 
mv compat.o compat.so
rm -f libreadline8.dll
x86_64-w64-mingw32-gcc -shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=libreadline8.dll.a -fstack-protector -lssp  -o libreadline8.dll readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so colors.so parse-colors.so xmalloc.so xfree.so compat.so -ltermcap
rm -f libhistory8.dll
x86_64-w64-mingw32-gcc -shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=libhistory8.dll.a -fstack-protector -lssp  -o libhistory8.dll history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so xfree.so
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/shlib'
make: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uEjuvg
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ mkdir /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd readline-8.3
+ '[' 1 -eq 1 ']'
+ run_mingw_make install DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z ''
+ PATH_ORIG=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH_ORIG
+ PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/i686-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/i686-w64-mingw32-addr2line /usr/bin/i686-w64-mingw32-ar /usr/bin/i686-w64-mingw32-as /usr/bin/i686-w64-mingw32-c++filt /usr/bin/i686-w64-mingw32-cpp /usr/bin/i686-w64-mingw32-dlltool /usr/bin/i686-w64-mingw32-dllwrap /usr/bin/i686-w64-mingw32-elfedit /usr/bin/i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-15.2.1 /usr/bin/i686-w64-mingw32-gcc-ar /usr/bin/i686-w64-mingw32-gcc-nm /usr/bin/i686-w64-mingw32-gcc-ranlib /usr/bin/i686-w64-mingw32-gcov /usr/bin/i686-w64-mingw32-gcov-dump /usr/bin/i686-w64-mingw32-gcov-tool /usr/bin/i686-w64-mingw32-gprof /usr/bin/i686-w64-mingw32-ld /usr/bin/i686-w64-mingw32-ld.bfd /usr/bin/i686-w64-mingw32-lto-dump /usr/bin/i686-w64-mingw32-nm /usr/bin/i686-w64-mingw32-objcopy /usr/bin/i686-w64-mingw32-objdump /usr/bin/i686-w64-mingw32-pkg-config /usr/bin/i686-w64-mingw32-ranlib /usr/bin/i686-w64-mingw32-readelf /usr/bin/i686-w64-mingw32-size /usr/bin/i686-w64-mingw32-strings /usr/bin/i686-w64-mingw32-strip /usr/bin/i686-w64-mingw32-windmc /usr/bin/i686-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-addr2line
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ar
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/i686-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-as
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/i686-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-c++filt
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-cpp
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/i686-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dlltool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/i686-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dllwrap
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-elfedit
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/i686-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/i686-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/i686-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/i686-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-tool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/i686-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gprof
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/i686-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld.bfd
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/i686-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-lto-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/i686-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-nm
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/i686-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objcopy
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/i686-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objdump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/i686-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-pkg-config
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ranlib
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/i686-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-readelf
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/i686-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-size
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/i686-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strings
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/i686-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strip
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/i686-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windmc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/i686-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windres
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/i686-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=i686-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/i686-w64-mingw32-g++ ']'
+ CXX=
+ export CXX
+ ac_cv_prog_CXX=no
+ export ac_cv_prog_CXX
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
++ grep -- '-config$'
+ unset x i
+ /usr/bin/make -C build_win32 install DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
make: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32'
/bin/sh ../support/mkinstalldirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/include \
	/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/include/readline /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib \
	/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/man/man3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline \
	/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig
mkdir -p -- /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/include /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/include/readline /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/man/man3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig
for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \
	/usr/bin/install -p -m 644 ../$f /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/include/readline ; \
done
/usr/bin/install -p -m 644 ../CHANGES ../INSTALL ../README /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline
( if test -d doc ; then \
	cd doc && \
	/usr/bin/make infodir=/usr/i686-w64-mingw32/sys-root/mingw/share/info DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT install; \
  fi )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/doc'
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/man/man3
if test -n "/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline" ; then \
	/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline ; \
fi
if test -f readline.info; then \
	/usr/bin/install -p -m 644 readline.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/readline.info; \
else \
	/usr/bin/install -p -m 644 ../../doc/readline.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/readline.info; \
fi
if test -f rluserman.info; then \
	/usr/bin/install -p -m 644 rluserman.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/rluserman.info; \
else \
	/usr/bin/install -p -m 644 ../../doc/rluserman.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/rluserman.info; \
fi
if test -f history.info; then \
	/usr/bin/install -p -m 644 history.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/history.info; \
else \
	/usr/bin/install -p -m 644 ../../doc/history.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/history.info; \
fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
	install-info --dir-file=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/dir \
		/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/readline.info ; \
	install-info --dir-file=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/dir \
		/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/history.info ; \
	install-info --dir-file=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/dir \
		/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info/rluserman.info ; \
else true; fi
/usr/bin/install -p -m 644 ../../doc/readline.3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/man/man3/readline.3
/usr/bin/install -p -m 644 ../../doc/history.3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/man/man3/history.3
if test -n "/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline" ; then \
	if test -f readline.html; then \
		/usr/bin/install -p -m 644 readline.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline/readline.html; \
	else \
		/usr/bin/install -p -m 644 ../../doc/readline.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline/readline.html; \
	fi ; \
	if test -f history.html; then \
		/usr/bin/install -p -m 644 history.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline/history.html; \
	else \
		/usr/bin/install -p -m 644 ../../doc/history.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline/history.html; \
	fi ; \
	if test -f rluserman.html; then \
		/usr/bin/install -p -m 644 rluserman.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline/rluserman.html; \
	else \
		/usr/bin/install -p -m 644 ../../doc/rluserman.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc/readline/rluserman.html; \
	fi ; \
fi
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/doc'
( cd examples ; /usr/bin/make DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT install )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/examples'
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline
mkdir /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/examples'
/usr/bin/install -p -m 644 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/readline.pc /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/readline.pc
/usr/bin/install -p -m 644 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/history.pc /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/history.pc
mv /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libreadline.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libreadline.old
mv: cannot stat '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libreadline.a': No such file or directory
make: [Makefile:261: install-static] Error 1 (ignored)
/usr/bin/install -p -m 644 libreadline.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libreadline.a
test -n "/usr/bin/i686-w64-mingw32-ranlib" && /usr/bin/i686-w64-mingw32-ranlib /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libreadline.a
mv /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libhistory.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libhistory.old
mv: cannot stat '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libhistory.a': No such file or directory
make: [Makefile:264: install-static] Error 1 (ignored)
/usr/bin/install -p -m 644 libhistory.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libhistory.a
test -n "/usr/bin/i686-w64-mingw32-ranlib" && /usr/bin/i686-w64-mingw32-ranlib /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib/libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; /usr/bin/make all )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/shlib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/shlib'
( cd shlib ; /usr/bin/make DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT install )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/shlib'
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/bin
mkdir /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/bin
/bin/sh ../../support/shlib-install -O mingw32 -V w64 -d /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib -b /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/bin -i "/usr/bin/install -p -m 644" libhistory8.dll
/bin/sh ../../support/shlib-install -O mingw32 -V w64 -d /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/lib -b /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/bin -i "/usr/bin/install -p -m 644" libreadline8.dll
install: you may need to run ldconfig
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32/shlib'
make: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win32'
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/x86_64-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/x86_64-w64-mingw32-addr2line /usr/bin/x86_64-w64-mingw32-ar /usr/bin/x86_64-w64-mingw32-as /usr/bin/x86_64-w64-mingw32-c++filt /usr/bin/x86_64-w64-mingw32-cpp /usr/bin/x86_64-w64-mingw32-dlltool /usr/bin/x86_64-w64-mingw32-dllwrap /usr/bin/x86_64-w64-mingw32-elfedit /usr/bin/x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-15.2.1 /usr/bin/x86_64-w64-mingw32-gcc-ar /usr/bin/x86_64-w64-mingw32-gcc-nm /usr/bin/x86_64-w64-mingw32-gcc-ranlib /usr/bin/x86_64-w64-mingw32-gcov /usr/bin/x86_64-w64-mingw32-gcov-dump /usr/bin/x86_64-w64-mingw32-gcov-tool /usr/bin/x86_64-w64-mingw32-gprof /usr/bin/x86_64-w64-mingw32-ld /usr/bin/x86_64-w64-mingw32-ld.bfd /usr/bin/x86_64-w64-mingw32-lto-dump /usr/bin/x86_64-w64-mingw32-nm /usr/bin/x86_64-w64-mingw32-objcopy /usr/bin/x86_64-w64-mingw32-objdump /usr/bin/x86_64-w64-mingw32-pkg-config /usr/bin/x86_64-w64-mingw32-ranlib /usr/bin/x86_64-w64-mingw32-readelf /usr/bin/x86_64-w64-mingw32-size /usr/bin/x86_64-w64-mingw32-strings /usr/bin/x86_64-w64-mingw32-strip /usr/bin/x86_64-w64-mingw32-windmc /usr/bin/x86_64-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-addr2line
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/x86_64-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ar
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/x86_64-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-as
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/x86_64-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++filt
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/x86_64-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-cpp
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/x86_64-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dlltool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/x86_64-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dllwrap
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/x86_64-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-elfedit
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/x86_64-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/x86_64-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/x86_64-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/x86_64-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-tool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/x86_64-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gprof
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/x86_64-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/x86_64-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld.bfd
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/x86_64-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-lto-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/x86_64-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-nm
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/x86_64-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objcopy
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/x86_64-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objdump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/x86_64-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-pkg-config
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/x86_64-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ranlib
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/x86_64-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-readelf
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/x86_64-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-size
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/x86_64-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strings
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/x86_64-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strip
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/x86_64-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windmc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/x86_64-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windres
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/x86_64-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=x86_64-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/x86_64-w64-mingw32-g++ ']'
+ CXX=
+ export CXX
+ ac_cv_prog_CXX=no
+ export ac_cv_prog_CXX
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
++ ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
++ grep -- '-config$'
+ unset x i
+ /usr/bin/make -C build_win64 install DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
make: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64'
/bin/sh ../support/mkinstalldirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/include \
	/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/include/readline /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib \
	/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/man/man3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline \
	/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig
mkdir -p -- /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/include /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/include/readline /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/man/man3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig
for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \
	/usr/bin/install -p -m 644 ../$f /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/include/readline ; \
done
/usr/bin/install -p -m 644 ../CHANGES ../INSTALL ../README /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline
( if test -d doc ; then \
	cd doc && \
	/usr/bin/make infodir=/usr/x86_64-w64-mingw32/sys-root/mingw/share/info DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT install; \
  fi )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/doc'
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/man/man3
if test -n "/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline" ; then \
	/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline ; \
fi
if test -f readline.info; then \
	/usr/bin/install -p -m 644 readline.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/readline.info; \
else \
	/usr/bin/install -p -m 644 ../../doc/readline.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/readline.info; \
fi
if test -f rluserman.info; then \
	/usr/bin/install -p -m 644 rluserman.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/rluserman.info; \
else \
	/usr/bin/install -p -m 644 ../../doc/rluserman.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/rluserman.info; \
fi
if test -f history.info; then \
	/usr/bin/install -p -m 644 history.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/history.info; \
else \
	/usr/bin/install -p -m 644 ../../doc/history.info /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/history.info; \
fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
	install-info --dir-file=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/dir \
		/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/readline.info ; \
	install-info --dir-file=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/dir \
		/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/history.info ; \
	install-info --dir-file=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/dir \
		/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info/rluserman.info ; \
else true; fi
/usr/bin/install -p -m 644 ../../doc/readline.3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/man/man3/readline.3
/usr/bin/install -p -m 644 ../../doc/history.3 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/man/man3/history.3
if test -n "/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline" ; then \
	if test -f readline.html; then \
		/usr/bin/install -p -m 644 readline.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline/readline.html; \
	else \
		/usr/bin/install -p -m 644 ../../doc/readline.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline/readline.html; \
	fi ; \
	if test -f history.html; then \
		/usr/bin/install -p -m 644 history.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline/history.html; \
	else \
		/usr/bin/install -p -m 644 ../../doc/history.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline/history.html; \
	fi ; \
	if test -f rluserman.html; then \
		/usr/bin/install -p -m 644 rluserman.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline/rluserman.html; \
	else \
		/usr/bin/install -p -m 644 ../../doc/rluserman.html /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc/readline/rluserman.html; \
	fi ; \
fi
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/doc'
( cd examples ; /usr/bin/make DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT install )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/examples'
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline
mkdir /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/examples'
/usr/bin/install -p -m 644 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/readline.pc /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/readline.pc
/usr/bin/install -p -m 644 /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/history.pc /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/history.pc
mv /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libreadline.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libreadline.old
mv: cannot stat '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libreadline.a': No such file or directory
make: [Makefile:261: install-static] Error 1 (ignored)
/usr/bin/install -p -m 644 libreadline.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libreadline.a
test -n "/usr/bin/x86_64-w64-mingw32-ranlib" && /usr/bin/x86_64-w64-mingw32-ranlib /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libreadline.a
mv /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libhistory.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libhistory.old
mv: cannot stat '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libhistory.a': No such file or directory
make: [Makefile:264: install-static] Error 1 (ignored)
/usr/bin/install -p -m 644 libhistory.a /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libhistory.a
test -n "/usr/bin/x86_64-w64-mingw32-ranlib" && /usr/bin/x86_64-w64-mingw32-ranlib /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; /usr/bin/make all )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/shlib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/shlib'
( cd shlib ; /usr/bin/make DESTDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT install )
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/shlib'
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib
/bin/sh ../../support/mkdirs /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin
mkdir /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin
/bin/sh ../../support/shlib-install -O mingw32 -V w64 -d /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib -b /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin -i "/usr/bin/install -p -m 644" libhistory8.dll
/bin/sh ../../support/shlib-install -O mingw32 -V w64 -d /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/lib -b /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin -i "/usr/bin/install -p -m 644" libreadline8.dll
install: you may need to run ldconfig
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64/shlib'
make: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/build_win64'
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/man
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/info
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/man
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/info
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/doc
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/doc
+ rm -f /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/excallback.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/fileman.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/hist_erasedups.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/hist_purgecmd.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/histexamp.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/manexamp.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rl-callbacktest.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rl-callbacktest2.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rl-callbacktest3.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rl-fgets.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rl-timeout.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rl.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rlbasic.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rlcat.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rlevent.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rlkeymaps.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rlptytest.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rltest.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/share/readline/rlversion.c
+ rm -f /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/excallback.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/fileman.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/hist_erasedups.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/hist_purgecmd.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/histexamp.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/manexamp.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rl-callbacktest.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rl-callbacktest2.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rl-callbacktest3.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rl-fgets.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rl-timeout.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rl.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rlbasic.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rlcat.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rlevent.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rlkeymaps.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rlptytest.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rltest.c /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/share/readline/rlversion.c
+ /usr/lib/rpm/mingw-find-debuginfo.sh /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3 mingw32 mingw64 ucrt64
extracting debug info from /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/bin/libhistory8.dll
~/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/lib/debug/usr/i686-w64-mingw32/sys-root/mingw/bin ~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
extracting debug info from /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/i686-w64-mingw32/sys-root/mingw/bin/libreadline8.dll
~/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/lib/debug/usr/i686-w64-mingw32/sys-root/mingw/bin ~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
extracting debug info from /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libhistory8.dll
~/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/lib/debug/usr/x86_64-w64-mingw32/sys-root/mingw/bin ~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
extracting debug info from /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libreadline8.dll
~/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/lib/debug/usr/x86_64-w64-mingw32/sys-root/mingw/bin ~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
~/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: mingw32-readline-8.3-1.mga10.noarch
Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1QMbYK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ cd readline-8.3
+ LICENSEDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/share/licenses/mingw32-readline
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/share/licenses/mingw32-readline
+ cp -pr /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/COPYING /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/share/licenses/mingw32-readline
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: mingw32(libhistory8.dll) mingw32(libreadline8.dll) mingw32-pkgconfig(history) mingw32-pkgconfig(readline) mingw32-readline = 8.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: mingw32(kernel32.dll) mingw32(libgcc_s_dw2-1.dll) mingw32(libtermcap-0.dll) mingw32(msvcrt.dll) mingw32(user32.dll) mingw32-crt mingw32-filesystem >= 95 mingw32-pkg-config
Processing files: mingw32-readline-static-8.3-1.mga10.noarch
Provides: mingw32-readline-static = 8.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: mingw64-readline-8.3-1.mga10.noarch
Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OJF1oZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ cd readline-8.3
+ LICENSEDIR=/home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/share/licenses/mingw64-readline
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/share/licenses/mingw64-readline
+ cp -pr /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/readline-8.3/COPYING /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT/usr/share/licenses/mingw64-readline
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: mingw64(libhistory8.dll) mingw64(libreadline8.dll) mingw64-pkgconfig(history) mingw64-pkgconfig(readline) mingw64-readline = 8.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: mingw64(kernel32.dll) mingw64(libtermcap-0.dll) mingw64(msvcrt.dll) mingw64(user32.dll) mingw64-crt mingw64-filesystem >= 95 mingw64-pkg-config
Processing files: mingw64-readline-static-8.3-1.mga10.noarch
Provides: mingw64-readline-static = 8.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: mingw32-readline-debuginfo-8.3-1.mga10.noarch
Provides: mingw32-readline-debuginfo = 8.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: mingw64-readline-debuginfo-8.3-1.mga10.noarch
Provides: mingw64-readline-debuginfo = 8.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw32-readline-debuginfo-8.3-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw64-readline-debuginfo-8.3-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw32-readline-static-8.3-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw64-readline-8.3-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw64-readline-static-8.3-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw32-readline-8.3-1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.o3nk42
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ test -d /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/mingw-readline-8.3-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!
