D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/mingw-libgpg-error-1.54-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e8LiSF
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8szoGt
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build
+ rm -rf libgpg-error-1.54
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libgpg-error-1.54.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libgpg-error-1.54
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.d6iXjA
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-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 libgpg-error-1.54
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -i --force
Copying file ABOUT-NLS
Copying file build-aux/config.rpath
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/longlong.m4
Copying file m4/printf-posix.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/remove-potcdate.sin
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:80: installing 'build-aux/compile'
configure.ac:67: installing 'build-aux/missing'
doc/Makefile.am: installing 'build-aux/depcomp'
+ run_mingw_configure --enable-shared --enable-static --enable-install-gpg-error-config
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find . -name config.guess -o -name config.sub)
++ basename ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ for i in $(find . -name config.guess -o -name config.sub)
++ basename ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ mkdir -p build_win32
+ pushd build_win32
~/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32 ~/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54
++ /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/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-14.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/bin/ar /usr/i686-w64-mingw32/bin/as /usr/i686-w64-mingw32/bin/dlltool /usr/i686-w64-mingw32/bin/ld /usr/i686-w64-mingw32/bin/ld.bfd /usr/i686-w64-mingw32/bin/nm /usr/i686-w64-mingw32/bin/objcopy /usr/i686-w64-mingw32/bin/objdump /usr/i686-w64-mingw32/bin/ranlib /usr/i686-w64-mingw32/bin/readelf /usr/i686-w64-mingw32/bin/strip
++ grep -- '-config$'
+ 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-static --enable-install-gpg-error-config --enable-shared --enable-static --enable-install-gpg-error-config
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... /usr/bin/i686-w64-mingw32-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-mageia-linux-gnu
checking host system type... i686-w64-mingw32
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.54-unknown
configure: autobuild hostname... mageia
configure: autobuild timestamp... 20250424T100604Z
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... ../configure: fork: retry: Resource temporarily unavailable
yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to enable C11 features... none needed
checking whether i686-w64-mingw32-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... /usr/bin/i686-w64-mingw32-cpp
checking for gawk... (cached) gawk
checking for i686-w64-mingw32-ar... /usr/bin/i686-w64-mingw32-ar
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for threads.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for nl_langinfo and CODESET... no
checking for i686-w64-mingw32-gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by i686-w64-mingw32-gcc... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm
checking the name lister (/usr/bin/i686-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-mageia-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/i686-w64-mingw32-ld option to reload object files... -r
checking for file... file
checking for i686-w64-mingw32-objdump... /usr/bin/i686-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i686-w64-mingw32-dlltool... /usr/bin/i686-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for i686-w64-mingw32-ranlib... /usr/bin/i686-w64-mingw32-ranlib
checking for i686-w64-mingw32-ar... (cached) /usr/bin/i686-w64-mingw32-ar
checking for archiver @FILE support... @
checking for i686-w64-mingw32-strip... (cached) /usr/bin/i686-w64-mingw32-strip
checking command to parse /usr/bin/i686-w64-mingw32-nm output from i686-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for i686-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for i686-w64-mingw32-as... /usr/bin/i686-w64-mingw32-as
checking for i686-w64-mingw32-dlltool... (cached) /usr/bin/i686-w64-mingw32-dlltool
checking for i686-w64-mingw32-objdump... (cached) /usr/bin/i686-w64-mingw32-objdump
checking for objdir... .libs
checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc static flag -static works... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for build system executable suffix... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... no
checking for ld... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... yes
checking for egrep -e... (cached) /usr/bin/grep -E
checking for ELF binary format... no
checking for the common suffixes of directories in the library search path... lib,lib,lib
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... guessing yes
checking how to link with libiconv... /usr/i686-w64-mingw32/sys-root/mingw/lib/libiconv.dll.a -L/usr/i686-w64-mingw32/sys-root/mingw/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/i686-w64-mingw32/sys-root/mingw/lib/libintl.dll.a -L/usr/i686-w64-mingw32/sys-root/mingw/lib
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for sys/select.h... no
checking for sys/time.h... yes
checking for signal.h... yes
checking for poll.h... no
checking for pwd.h... no
checking for i686-w64-mingw32-gcc options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... no
checking whether strerror_r returns char *... no
checking for strerror_s... yes
checking for flockfile... no
checking for vasprintf... yes
checking for mmap... no
checking for rand... yes
checking for strlwr... yes
checking for stpcpy... no
checking for setenv... no
checking for stat... yes
checking for getrlimit... no
checking for getpwnam... no
checking for getpwuid... no
checking for getpwnam_r... no
checking for getpwuid_r... no
checking for inet_pton... no
checking for closefrom... no
checking for an ANSI C-conforming const... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking for direct.h... yes
checking if mkdir takes one argument... yes
configure: checking for cc features
checking if gcc ignores unknown -Wno-* options... yes
checking if gcc supports -Wpointer-arith... yes
checking whether the GCC style aligned attribute is supported... yes
checking whether the visibility attribute is supported... no
checking for library containing sched_yield... none required
checking for library containing inet_addr... no
checking for library containing socket... no
checking whether readline via "-lreadline" is present and sane... no
checking whether readline via "-lreadline -ltermcap" is present and sane... no
checking whether readline via "-lreadline -lcurses" is present and sane... no
checking whether readline via "-lreadline -lncurses" is present and sane... no
checking for unsigned long long int... yes
configure: checking system features for estream-printf
checking for stdint.h... (cached) yes
checking for long long int... yes
checking for long double... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for ptrdiff_t... yes
checking size of unsigned long... 4
checking size of void *... 4
checking for nl_langinfo and THOUSEP... no
configure: checking system features for estream
checking for memrchr... no
checking whether to enable log_clock... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating lang/Makefile
config.status: creating lang/cl/Makefile
config.status: creating lang/cl/gpg-error.asd
config.status: creating src/versioninfo.rc
config.status: creating src/gpg-error.w32-manifest
config.status: creating src/gpg-error.pc
config.status: creating src/gpg-error-config-old
config.status: creating src/gpgrt-config
config.status: creating src/gpg-error-config-test.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

        libgpg-error v1.54-unknown has been configured as follows:

        Revision: 0000000  (0)
        Platform: i686-w64-mingw32

+ popd
~/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54
+ mkdir -p build_win64
+ pushd build_win64
~/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win64 ~/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54
++ /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/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-14.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/bin/ar /usr/x86_64-w64-mingw32/bin/as /usr/x86_64-w64-mingw32/bin/dlltool /usr/x86_64-w64-mingw32/bin/ld /usr/x86_64-w64-mingw32/bin/ld.bfd /usr/x86_64-w64-mingw32/bin/nm /usr/x86_64-w64-mingw32/bin/objcopy /usr/x86_64-w64-mingw32/bin/objdump /usr/x86_64-w64-mingw32/bin/ranlib /usr/x86_64-w64-mingw32/bin/readelf /usr/x86_64-w64-mingw32/bin/strip
++ grep -- '-config$'
+ 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-static --enable-install-gpg-error-config --enable-shared --enable-static --enable-install-gpg-error-config
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... /usr/bin/x86_64-w64-mingw32-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-w64-mingw32
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.54-unknown
configure: autobuild hostname... mageia
configure: autobuild timestamp... 20250424T100613Z
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 whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... /usr/bin/x86_64-w64-mingw32-cpp
checking for gawk... (cached) gawk
checking for x86_64-w64-mingw32-ar... /usr/bin/x86_64-w64-mingw32-ar
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for threads.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for nl_langinfo and CODESET... no
checking for x86_64-w64-mingw32-gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm
checking the name lister (/usr/bin/x86_64-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-mageia-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
checking for file... file
checking for x86_64-w64-mingw32-objdump... /usr/bin/x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... /usr/bin/x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ranlib... /usr/bin/x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-ar... (cached) /usr/bin/x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) /usr/bin/x86_64-w64-mingw32-strip
checking command to parse /usr/bin/x86_64-w64-mingw32-nm output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for x86_64-w64-mingw32-as... /usr/bin/x86_64-w64-mingw32-as
checking for x86_64-w64-mingw32-dlltool... (cached) /usr/bin/x86_64-w64-mingw32-dlltool
checking for x86_64-w64-mingw32-objdump... (cached) /usr/bin/x86_64-w64-mingw32-objdump
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres
checking for build system executable suffix... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for egrep -e... (cached) /usr/bin/grep -E
checking for ELF binary format... no
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... guessing yes
checking how to link with libiconv... /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libiconv.dll.a -L/usr/x86_64-w64-mingw32/sys-root/mingw/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libintl.dll.a -L/usr/x86_64-w64-mingw32/sys-root/mingw/lib
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for sys/select.h... no
checking for sys/time.h... yes
checking for signal.h... yes
checking for poll.h... no
checking for pwd.h... no
checking for x86_64-w64-mingw32-gcc options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... no
checking whether strerror_r returns char *... no
checking for strerror_s... yes
checking for flockfile... no
checking for vasprintf... yes
checking for mmap... no
checking for rand... yes
checking for strlwr... yes
checking for stpcpy... no
checking for setenv... no
checking for stat... yes
checking for getrlimit... no
checking for getpwnam... no
checking for getpwuid... no
checking for getpwnam_r... no
checking for getpwuid_r... no
checking for inet_pton... no
checking for closefrom... no
checking for an ANSI C-conforming const... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking for direct.h... yes
checking if mkdir takes one argument... yes
configure: checking for cc features
checking if gcc ignores unknown -Wno-* options... yes
checking if gcc supports -Wpointer-arith... yes
checking whether the GCC style aligned attribute is supported... yes
checking whether the visibility attribute is supported... no
checking for library containing sched_yield... none required
checking for library containing inet_addr... no
checking for library containing socket... no
checking whether readline via "-lreadline" is present and sane... no
checking whether readline via "-lreadline -ltermcap" is present and sane... no
checking whether readline via "-lreadline -lcurses" is present and sane... no
checking whether readline via "-lreadline -lncurses" is present and sane... no
checking for unsigned long long int... yes
configure: checking system features for estream-printf
checking for stdint.h... (cached) yes
checking for long long int... yes
checking for long double... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for ptrdiff_t... yes
checking size of unsigned long... 4
checking size of void *... 8
checking for nl_langinfo and THOUSEP... no
configure: checking system features for estream
checking for memrchr... no
checking whether to enable log_clock... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating lang/Makefile
config.status: creating lang/cl/Makefile
config.status: creating lang/cl/gpg-error.asd
config.status: creating src/versioninfo.rc
config.status: creating src/gpg-error.w32-manifest
config.status: creating src/gpg-error.pc
config.status: creating src/gpg-error-config-old
config.status: creating src/gpgrt-config
config.status: creating src/gpg-error-config-test.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing libtool-patch commands
patch not applied
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

        libgpg-error v1.54-unknown has been configured as follows:

        Revision: 0000000  (0)
        Platform: x86_64-w64-mingw32

+ popd
~/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54
+ run_mingw_make -O -j48 V=1 VERBOSE=1
++ /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/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-14.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/bin/ar /usr/i686-w64-mingw32/bin/as /usr/i686-w64-mingw32/bin/dlltool /usr/i686-w64-mingw32/bin/ld /usr/i686-w64-mingw32/bin/ld.bfd /usr/i686-w64-mingw32/bin/nm /usr/i686-w64-mingw32/bin/objcopy /usr/i686-w64-mingw32/bin/objdump /usr/i686-w64-mingw32/bin/ranlib /usr/i686-w64-mingw32/bin/readelf /usr/i686-w64-mingw32/bin/strip
++ grep -- '-config$'
+ unset x i
+ /usr/bin/make -C build_win32 -O -j48 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in m4
make[2]: Nothing to be done for 'all'.
Making all in src
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
gawk -f ../../src/mkerrnos.awk ../../src/errnos.in >code-to-errno.h
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
gawk -f ../../src/mkstrtable.awk -v textidx=2 -v nogettext=1 \
	../../src/err-sources.h.in >err-sources-sym.h
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
gawk -f ../../src/mkstrtable.awk -v textidx=2 -v nogettext=1 \
	-v prefix=GPG_ERR_ -v pkg_namespace=errnos_ \
	../../src/errnos.in >errnos-sym.h
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
gawk -f ../../src/mkstrtable.awk -v textidx=2 -v nogettext=1 \
	../../src/err-codes.h.in >err-codes-sym.h
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
cat ../../src/gpg-error.def.in >_gpg-error.def.h
/usr/bin/i686-w64-mingw32-cpp -I. -I../../src -I..  _gpg-error.def.h | \
  grep -v '^#' >gpg-error.def
rm _gpg-error.def.h
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
gcc   \
 -g -I. -I../../src -o mkheader ../../src/mkheader.c
Assembler messages:
Fatal error: no compiled in support for x86_64
make[2]: *** [Makefile:1709: mkheader] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
gawk -f ../../src/mkerrcodes1.awk ../../src/errnos.in >_mkerrcodes.h
/usr/bin/i686-w64-mingw32-cpp -I/usr/i686-w64-mingw32/sys-root/mingw/include -P _mkerrcodes.h | grep GPG_ERR_ | \
               gawk -f ../../src/mkerrcodes.awk >mkerrcodes.h
rm _mkerrcodes.h
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mingw-libgpg-error-1.54-build/libgpg-error-1.54/build_win32/src'
make[1]: *** [Makefile:527: all-recursive] Error 1
make: *** [Makefile:459: all] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.d6iXjA (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.d6iXjA (%build)
I: [iurt_root_command] ERROR: chroot