D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/mingw-ftplib-4.0-4.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rEmJNM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ftplib-4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ftplib-4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ftplib-4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ftplib-3.1-1-modernize.patch):' Patch #0 (ftplib-3.1-1-modernize.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Makefile + echo 'Patch #1 (ftplib-4.0-mingw.patch):' Patch #1 (ftplib-4.0-mingw.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Makefile Hunk #2 succeeded at 61 (offset 1 line). patching file src/ftplib.c + cp -p /home/pterjan/rpmbuild/SOURCES/ftplib-rc.rc src/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E4UN2N + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ftplib-4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd src/ + mkdir build_win32 build_win64 + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/ftplib.c /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/qftp.c ./build_win32/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/ftplib.h ./build_win32/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/ftplib.c /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/qftp.c ./build_win64/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/ftplib.h ./build_win64/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/ftplib-rc.rc ./build_win32/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/ftplib-rc.rc ./build_win64/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/Makefile ./build_win32/ + ln -s /home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/Makefile ./build_win64/ ++ grep -Evw 'PWD|USER|LANG' ++ /usr/bin/env ++ grep -E '^(w+)=(.*)$' ++ /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-12.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-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-w64-mingw32-addr2line + x=ADDR2LINE + declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line + export ADDR2LINE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-ar + x=AR + declare -x AR=/usr/bin/i686-w64-mingw32-ar + export AR + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-as ++ 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-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-c++filt + x=CXXFILT + declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt + export CXXFILT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-cpp ++ 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-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-dlltool ++ 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=DLLWRAP + declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap + export DLLWRAP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-elfedit ++ 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-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-w64-mingw32-gcov + 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-'` ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-w64-mingw32-gprof ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=GPROF + declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof + export GPROF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-ld ++ 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + 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-'` ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-w64-mingw32-lto-dump ++ sed s,/usr/bin/i686-w64-mingw32-,, + 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-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-nm + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + 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-'` ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-w64-mingw32-strip ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=STRIP + declare -x STRIP=/usr/bin/i686-w64-mingw32-strip + export STRIP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-windmc ++ 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 ++ 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/libwinpthread-1.dll + unset x i + make -C build_win32 libftp.dll make: Entering directory '/home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/build_win32' i686-w64-mingw32-gcc -c -Wall -I. -Wno-unused-variable -D_FILE_OFFSET_BITS=64 -D_WIN32 -fPIC -D_REENTRANT ftplib.c -o ftplib.o ftplib.c: In function 'FtpOpenPort': ftplib.c:732:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 732 | if (getsockname(nControl->handle, &sin.sa, &l) < 0) | ^~ | | | unsigned int * In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/windows.h:92, from ftplib.c:24: /usr/i686-w64-mingw32/sys-root/mingw/include/winsock.h:283:82: note: expected 'int *' but argument is of type 'unsigned int *' 283 | WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen); | ~~~~~^~~~~~~ ftplib.c:789:41: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 789 | if (getsockname(sData, &sin.sa, &l) < 0) | ^~ | | | unsigned int * /usr/i686-w64-mingw32/sys-root/mingw/include/winsock.h:283:82: note: expected 'int *' but argument is of type 'unsigned int *' 283 | WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen); | ~~~~~^~~~~~~ ftplib.c: In function 'FtpAcceptConnection': ftplib.c:879:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 879 | sData = accept(nData->handle, &addr, &l); | ^~ | | | unsigned int * /usr/i686-w64-mingw32/sys-root/mingw/include/winsock.h:277:80: note: expected 'int *' but argument is of type 'unsigned int *' 277 | WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen); | ~~~~~^~~~~~~ /usr/bin/i686-w64-mingw32-windres -i ftplib-rc.rc -o ftplib-rc.o i686-w64-mingw32-gcc -shared -o libftp.dll ftplib.o ftplib-rc.o \ -Wl,--export-all-symbol \ -Wl,--enable-auto-import \ -Wl,--add-stdcall-alias \ -Wl,--kill-at \ -Wl,--output-def,libftp.dll.def \ -Wl,--out-implib,libftp.dll.a -lws2_32 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/build_win32' ++ grep -E '^(w+)=(.*)$' ++ /usr/bin/env ++ /usr/bin/cut -d= -f1 ++ grep -Evw 'PWD|USER|LANG' + 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-12.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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ echo /usr/bin/x86_64-w64-mingw32-dllwrap + x=DLLWRAP + declare -x DLLWRAP=/usr/bin/x86_64-w64-mingw32-dllwrap + export DLLWRAP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-w64-mingw32-elfedit + x=ELFEDIT + declare -x ELFEDIT=/usr/bin/x86_64-w64-mingw32-elfedit + export ELFEDIT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ echo /usr/bin/x86_64-w64-mingw32-gcc + x=GCC + declare -x GCC=/usr/bin/x86_64-w64-mingw32-gcc + export GCC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-w64-mingw32-gcov + x=GCOV + declare -x GCOV=/usr/bin/x86_64-w64-mingw32-gcov + export GCOV + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-w64-mingw32-gcov-dump ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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-'` ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-w64-mingw32-gprof + 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-'` ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-w64-mingw32-ld.bfd ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + x=SIZE + declare -x SIZE=/usr/bin/x86_64-w64-mingw32-size + export SIZE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ echo /usr/bin/x86_64-w64-mingw32-strings ++ 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-'` ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ echo /usr/bin/x86_64-w64-mingw32-strip ++ 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-'` ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-w64-mingw32-windmc + x=WINDMC + declare -x WINDMC=/usr/bin/x86_64-w64-mingw32-windmc + export WINDMC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, ++ echo /usr/bin/x86_64-w64-mingw32-windres + 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 ++ 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/libwinpthread-1.dll ++ grep -- '-config$' + unset x i + make -C build_win64 libftp.dll make: Entering directory '/home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/build_win64' x86_64-w64-mingw32-gcc -c -Wall -I. -Wno-unused-variable -D_FILE_OFFSET_BITS=64 -D_WIN32 -fPIC -D_REENTRANT ftplib.c -o ftplib.o ftplib.c: In function 'FtpOptions': ftplib.c:611:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 611 | nControl->idlecb = (FtpCallback) val; | ^ ftplib.c:622:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 622 | nControl->idlearg = (void *) val; | ^ ftplib.c: In function 'FtpOpenPort': ftplib.c:732:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 732 | if (getsockname(nControl->handle, &sin.sa, &l) < 0) | ^~ | | | unsigned int * In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:92, from ftplib.c:24: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock.h:283:82: note: expected 'int *' but argument is of type 'unsigned int *' 283 | WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen); | ~~~~~^~~~~~~ ftplib.c:789:41: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 789 | if (getsockname(sData, &sin.sa, &l) < 0) | ^~ | | | unsigned int * /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock.h:283:82: note: expected 'int *' but argument is of type 'unsigned int *' 283 | WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen); | ~~~~~^~~~~~~ ftplib.c: In function 'FtpAcceptConnection': ftplib.c:879:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 879 | sData = accept(nData->handle, &addr, &l); | ^~ | | | unsigned int * /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock.h:277:80: note: expected 'int *' but argument is of type 'unsigned int *' 277 | WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen); | ~~~~~^~~~~~~ /usr/bin/x86_64-w64-mingw32-windres -i ftplib-rc.rc -o ftplib-rc.o x86_64-w64-mingw32-gcc -shared -o libftp.dll ftplib.o ftplib-rc.o \ -Wl,--export-all-symbol \ -Wl,--enable-auto-import \ -Wl,--add-stdcall-alias \ -Wl,--kill-at \ -Wl,--output-def,libftp.dll.def \ -Wl,--out-implib,libftp.dll.a -lws2_32 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/ftplib-4.0/src/build_win64' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.72Gdo6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch + cd ftplib-4.0 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/i686-w64-mingw32/sys-root/mingw/bin + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/i686-w64-mingw32/sys-root/mingw/lib + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/i686-w64-mingw32/sys-root/mingw/include + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/x86_64-w64-mingw32/sys-root/mingw/bin + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/x86_64-w64-mingw32/sys-root/mingw/lib + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/x86_64-w64-mingw32/sys-root/mingw/include + cd src/ + cp -p build_win32/libftp.dll /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/i686-w64-mingw32/sys-root/mingw/bin + cp -p build_win32/libftp.dll.a /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/i686-w64-mingw32/sys-root/mingw/lib + cp -p build_win32/ftplib.h /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/i686-w64-mingw32/sys-root/mingw/include + cp -p build_win64/libftp.dll /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/x86_64-w64-mingw32/sys-root/mingw/bin + cp -p build_win64/libftp.dll.a /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/x86_64-w64-mingw32/sys-root/mingw/lib + cp -p build_win64/ftplib.h /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch//usr/x86_64-w64-mingw32/sys-root/mingw/include + /usr/lib/rpm/mingw-find-debuginfo.sh /home/pterjan/rpmbuild/BUILD/ftplib-4.0 mingw32 mingw64 ucrt64 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/i686-w64-mingw32/sys-root/mingw/bin/libftp.dll ~/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/lib/debug/usr/i686-w64-mingw32/sys-root/mingw/bin ~/rpmbuild/BUILD/ftplib-4.0/src ~/rpmbuild/BUILD/ftplib-4.0/src extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libftp.dll ~/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/lib/debug/usr/x86_64-w64-mingw32/sys-root/mingw/bin ~/rpmbuild/BUILD/ftplib-4.0/src ~/rpmbuild/BUILD/ftplib-4.0/src + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mingw32-ftplib-4.0-4.mga9.noarch Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C5JP94 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ftplib-4.0 + LICENSEDIR=/home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/share/licenses/mingw32-ftplib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/share/licenses/mingw32-ftplib + cp -pr LICENSE /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/share/licenses/mingw32-ftplib + RPM_EC=0 ++ jobs -p + exit 0 Provides: mingw32(libftp.dll) mingw32-ftplib = 4.0-4.mga9 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(msvcrt.dll) mingw32(ws2_32.dll) mingw32-crt mingw32-filesystem >= 95 Processing files: mingw64-ftplib-4.0-4.mga9.noarch Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0gsJg0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ftplib-4.0 + LICENSEDIR=/home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/share/licenses/mingw64-ftplib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/share/licenses/mingw64-ftplib + cp -pr LICENSE /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch/usr/share/licenses/mingw64-ftplib + RPM_EC=0 ++ jobs -p + exit 0 Provides: mingw64(libftp.dll) mingw64-ftplib = 4.0-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: mingw64(kernel32.dll) mingw64(msvcrt.dll) mingw64(ws2_32.dll) mingw64-crt mingw64-filesystem >= 95 Processing files: mingw32-ftplib-debuginfo-4.0-4.mga9.noarch Provides: mingw32-ftplib-debuginfo = 4.0-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mingw64-ftplib-debuginfo-4.0-4.mga9.noarch Provides: mingw64-ftplib-debuginfo = 4.0-4.mga9 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/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw64-ftplib-4.0-4.mga9.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw32-ftplib-4.0-4.mga9.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw32-ftplib-debuginfo-4.0-4.mga9.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/mingw64-ftplib-debuginfo-4.0-4.mga9.noarch.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CgiiPu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ftplib-4.0 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/mingw-ftplib-4.0-4.mga9.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZFF0FC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf ftplib-4.0 ftplib-4.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!