Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgusb.spec'], chrootPath='/var/lib/mock/f40-build-51757105-6197995/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '150a5c46bb1a46f685de21a9d56f7062', '-D', '/var/lib/mock/f40-build-51757105-6197995/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgusb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/mingw-libgusb-0.4.5-5.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgusb.spec'], chrootPath='/var/lib/mock/f40-build-51757105-6197995/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2a122d1b9bc446efa9f3415ce7735c5a', '-D', '/var/lib/mock/f40-build-51757105-6197995/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgusb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6DmalN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgusb-0.4.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgusb-0.4.5.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libgusb-0.4.5 + rm -rf /builddir/build/BUILD/libgusb-0.4.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libgusb-0.4.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Usc3kl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libgusb-0.4.5 + run_mingw_meson --default-library=both -Dvapi=false -Dtests=false -Dintrospection=false -Ddocs=false + mkdir -p build_win32 ~/build/BUILD/libgusb-0.4.5/build_win32 ~/build/BUILD/libgusb-0.4.5 + pushd build_win32 ++ /usr/bin/env ++ grep -E '^(w+)=(.*)$' ++ grep -Evw 'PWD|USER|LANG' ++ /usr/bin/cut -d= -f1 + unset + test -z '' + PATH_ORIG=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH_ORIG + PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + 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.1.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 ++ grep -- '-config$' ++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/autopoint /usr/i686-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gdbus.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/i686-w64-mingw32/sys-root/mingw/bin/gettextize /usr/i686-w64-mingw32/sys-root/mingw/bin/gi-compile-repository.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gi-decompile-typelib.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gi-inspect-typelib.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gio-querymodules.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gio.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-compile-resources.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-compile-schemas.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-genmarshal /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-gettextize /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-mkenums /usr/i686-w64-mingw32/sys-root/mingw/bin/gobject-query.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gresource.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gsettings.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gspawn-win32-helper-console.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gspawn-win32-helper.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gtester-report /usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/json-glib-format.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/json-glib-validate.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-22.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-22.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgio-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgirepository-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgmodule-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgobject-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgthread-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libjson-glib-1.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-16-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-32-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-8-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-posix-3.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libusb-1.0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2grep.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2test.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/xgettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll + for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"` ++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config ++ tr a-z+-. A-ZX_ + x=PCRE2_CONFIG + declare -x PCRE2_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config + export PCRE2_CONFIG + unset x i + unset CC CFLAGS CPPFLAGS CXX CXXFLAGS LD LDFLAGS + CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4' + export CFLAGS + CPPFLAGS= + export CPPFLAGS + 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 + test -f meson.build + test -f ../meson.build + __mingw32_topdir=.. + /usr/bin/meson --cross-file /usr/share/mingw/toolchain-mingw32.meson --default-library shared --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 --default-library=both -Dvapi=false -Dtests=false -Dintrospection=false -Ddocs=false .. DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config" The Meson build system Version: 1.4.1 Source dir: /builddir/build/BUILD/libgusb-0.4.5 Build dir: /builddir/build/BUILD/libgusb-0.4.5/build_win32 Build type: cross build Project name: libgusb Project version: 0.4.5 C compiler for the host machine: i686-w64-mingw32-gcc (gcc 14.1.1 "i686-w64-mingw32-gcc (GCC) 14.1.1 20240607 (Fedora MinGW 14.1.1-3.fc40)") C linker for the host machine: i686-w64-mingw32-gcc ld.bfd 2.41-3 C compiler for the build machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240620 (Red Hat 14.1.1-6)") C linker for the build machine: cc ld.bfd 2.41-37 Build machine cpu family: ppc64 Build machine cpu: ppc64le Host machine cpu family: x86 Host machine cpu: i686 Target machine cpu family: x86 Target machine cpu: i686 Compiler for C supports arguments -Waggregate-return: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wclobbered: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wempty-body: YES Compiler for C supports arguments -Wextra: YES ../meson.build:72: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat-signedness: YES Compiler for C supports arguments -Wignored-qualifiers: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wno-discarded-qualifiers: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-strict-aliasing: YES Compiler for C supports arguments -Wno-suggest-attribute=format: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-gnu-variable-sized-type-not-at-end: NO Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Woverride-init: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports link arguments -Wl,-z,relro: NO Compiler for C supports link arguments -Wl,-z,now: NO Found pkg-config: YES (/usr/bin/i686-w64-mingw32-pkg-config) 2.1.0 Run-time dependency gio-2.0 found: YES 2.80.1 Run-time dependency libusb-1.0 found: YES 1.0.24 Header "libusb.h" has symbol "LIBUSB_CAP_HAS_HOTPLUG" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_has_capability" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_set_option" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_get_parent" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_get_port_number" with dependency libusb-1.0: YES Run-time dependency json-glib-1.0 found: YES 1.6.6 Configuring config.h using configuration Configuring gusb-version.h using configuration Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/libgusb-0.4.5/gusb/libgusb_meson.ver: YES Build targets in project: 3 libgusb 0.4.5 User defined options Cross files : /usr/share/mingw/toolchain-mingw32.meson bindir : /usr/i686-w64-mingw32/sys-root/mingw/bin datadir : /usr/i686-w64-mingw32/sys-root/mingw/share default_library: both includedir : /usr/i686-w64-mingw32/sys-root/mingw/include infodir : /usr/i686-w64-mingw32/sys-root/mingw/share/info 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 mandir : /usr/i686-w64-mingw32/sys-root/mingw/share/man prefix : /usr/i686-w64-mingw32/sys-root/mingw sbindir : /usr/i686-w64-mingw32/sys-root/mingw/sbin sharedstatedir : /usr/i686-w64-mingw32/sys-root/mingw/com sysconfdir : /usr/i686-w64-mingw32/sys-root/mingw/etc docs : false introspection : false tests : false vapi : false Found ninja-1.12.1 at /usr/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. + popd + mkdir -p build_win64 ~/build/BUILD/libgusb-0.4.5 ~/build/BUILD/libgusb-0.4.5/build_win64 ~/build/BUILD/libgusb-0.4.5 + pushd build_win64 ++ /usr/bin/env ++ grep -E '^(w+)=(.*)$' ++ grep -Evw 'PWD|USER|LANG' ++ /usr/bin/cut -d= -f1 + unset + test -z /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + 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.1.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 ++ 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-'` ++ 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 ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-w64-mingw32-,, + 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 ++ grep -- '-config$' ++ ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/autopoint /usr/x86_64-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gdbus.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettextize /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gi-compile-repository.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gi-decompile-typelib.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gi-inspect-typelib.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gio-querymodules.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gio.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/glib-compile-resources.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/glib-compile-schemas.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/glib-genmarshal /usr/x86_64-w64-mingw32/sys-root/mingw/bin/glib-gettextize /usr/x86_64-w64-mingw32/sys-root/mingw/bin/glib-mkenums /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gobject-query.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gresource.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gsettings.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gspawn-win64-helper-console.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gspawn-win64-helper.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gtester-report /usr/x86_64-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/json-glib-format.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/json-glib-validate.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-22.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-22.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgio-2.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgirepository-2.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgmodule-2.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgobject-2.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgthread-2.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libjson-glib-1.0-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpcre2-16-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpcre2-32-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpcre2-8-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpcre2-posix-3.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libusb-1.0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pcre2-config /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pcre2grep.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pcre2test.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/xgettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll + for i in `ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"` ++ basename /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pcre2-config ++ tr a-z+-. A-ZX_ + x=PCRE2_CONFIG + declare -x PCRE2_CONFIG=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/pcre2-config + export PCRE2_CONFIG + unset x i + unset CC CFLAGS CPPFLAGS CXX CXXFLAGS LD LDFLAGS + CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4' + export CFLAGS + CPPFLAGS= + export CPPFLAGS + 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 + test -f meson.build + test -f ../meson.build + __mingw64_topdir=.. + /usr/bin/meson --cross-file /usr/share/mingw/toolchain-mingw64.meson --default-library shared --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 --default-library=both -Dvapi=false -Dtests=false -Dintrospection=false -Ddocs=false .. DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config" The Meson build system Version: 1.4.1 Source dir: /builddir/build/BUILD/libgusb-0.4.5 Build dir: /builddir/build/BUILD/libgusb-0.4.5/build_win64 Build type: cross build Project name: libgusb Project version: 0.4.5 C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 14.1.1 "x86_64-w64-mingw32-gcc (GCC) 14.1.1 20240607 (Fedora MinGW 14.1.1-3.fc40)") C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.41-3 C compiler for the build machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240620 (Red Hat 14.1.1-6)") C linker for the build machine: cc ld.bfd 2.41-37 Build machine cpu family: ppc64 Build machine cpu: ppc64le Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Compiler for C supports arguments -Waggregate-return: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wclobbered: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wempty-body: YES Compiler for C supports arguments -Wextra: YES ../meson.build:72: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat-signedness: YES Compiler for C supports arguments -Wignored-qualifiers: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wno-discarded-qualifiers: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-strict-aliasing: YES Compiler for C supports arguments -Wno-suggest-attribute=format: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-gnu-variable-sized-type-not-at-end: NO Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Woverride-init: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports link arguments -Wl,-z,relro: NO Compiler for C supports link arguments -Wl,-z,now: NO Found pkg-config: YES (/usr/bin/x86_64-w64-mingw32-pkg-config) 2.1.0 Run-time dependency gio-2.0 found: YES 2.80.1 Run-time dependency libusb-1.0 found: YES 1.0.24 Header "libusb.h" has symbol "LIBUSB_CAP_HAS_HOTPLUG" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_has_capability" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_set_option" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_get_parent" with dependency libusb-1.0: YES Header "libusb.h" has symbol "libusb_get_port_number" with dependency libusb-1.0: YES Run-time dependency json-glib-1.0 found: YES 1.6.6 Configuring config.h using configuration Configuring gusb-version.h using configuration Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/libgusb-0.4.5/gusb/libgusb_meson.ver: YES Build targets in project: 3 libgusb 0.4.5 User defined options Cross files : /usr/share/mingw/toolchain-mingw64.meson bindir : /usr/x86_64-w64-mingw32/sys-root/mingw/bin datadir : /usr/x86_64-w64-mingw32/sys-root/mingw/share default_library: both includedir : /usr/x86_64-w64-mingw32/sys-root/mingw/include infodir : /usr/x86_64-w64-mingw32/sys-root/mingw/share/info 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 mandir : /usr/x86_64-w64-mingw32/sys-root/mingw/share/man prefix : /usr/x86_64-w64-mingw32/sys-root/mingw sbindir : /usr/x86_64-w64-mingw32/sys-root/mingw/sbin sharedstatedir : /usr/x86_64-w64-mingw32/sys-root/mingw/com sysconfdir : /usr/x86_64-w64-mingw32/sys-root/mingw/etc docs : false introspection : false tests : false vapi : false Found ninja-1.12.1 at /usr/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. + popd ~/build/BUILD/libgusb-0.4.5 + run_mingw_ninja + ninja -C build_win32 ninja: Entering directory `build_win32' [1/15] Compiling C object gusb/libgusb-2.dll.p/gusb-version.c.obj [2/15] Compiling C object gusb/libgusb-2.dll.p/gusb-source.c.obj [3/15] Compiling C object tools/gusbcmd.exe.p/gusb-main.c.obj [4/15] Compiling C object gusb/libgusb-2.dll.p/gusb-util.c.obj [5/15] Compiling C object gusb/libgusb-2.dll.p/gusb-context.c.obj FAILED: gusb/libgusb-2.dll.p/gusb-context.c.obj i686-w64-mingw32-gcc -Igusb/libgusb-2.dll.p -Igusb -I../gusb -I. -I.. -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0 -I/usr/i686-w64-mingw32/sys-root/mingw/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O0 -g -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wempty-body -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wwrite-strings -DGUSB_COMPILATION -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -mms-bitfields '-DG_LOG_DOMAIN="libgusb"' '-DUSB_IDS="/usr/share/hwdata/usb.ids"' -MD -MQ gusb/libgusb-2.dll.p/gusb-context.c.obj -MF gusb/libgusb-2.dll.p/gusb-context.c.obj.d -o gusb/libgusb-2.dll.p/gusb-context.c.obj -c ../gusb/gusb-context.c ../gusb/gusb-context.c: In function 'g_usb_context_initable_init': ../gusb/gusb-context.c:981:55: error: passing argument 7 of 'libusb_hotplug_register_callback' from incompatible pointer type [-Wincompatible-pointer-types] 981 | g_usb_context_hotplug_cb, | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct libusb_context *, struct libusb_device *, libusb_hotplug_event, void *) In file included from ../gusb/gusb-context.c:18: /usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0/libusb.h:2031:36: note: expected 'libusb_hotplug_callback_fn' {aka 'int (__attribute__((stdcall)) *)(libusb_context *, libusb_device *, libusb_hotplug_event, void *)'} but argument is of type 'int (*)(struct libusb_context *, struct libusb_device *, libusb_hotplug_event, void *)' 2031 | libusb_hotplug_callback_fn cb_fn, void *user_data, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [6/15] Compiling C object gusb/libgusb-2.dll.p/gusb-device-event.c.obj [7/15] Compiling C object gusb/libgusb-2.dll.p/gusb-endpoint.c.obj [8/15] Compiling C object gusb/libgusb-2.dll.p/gusb-device-list.c.obj [9/15] Compiling C object gusb/libgusb-2.dll.p/gusb-bos-descriptor.c.obj [10/15] Compiling C object gusb/libgusb-2.dll.p/gusb-device.c.obj FAILED: gusb/libgusb-2.dll.p/gusb-device.c.obj i686-w64-mingw32-gcc -Igusb/libgusb-2.dll.p -Igusb -I../gusb -I. -I.. -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0 -I/usr/i686-w64-mingw32/sys-root/mingw/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O0 -g -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wempty-body -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wwrite-strings -DGUSB_COMPILATION -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -mms-bitfields '-DG_LOG_DOMAIN="libgusb"' '-DUSB_IDS="/usr/share/hwdata/usb.ids"' -MD -MQ gusb/libgusb-2.dll.p/gusb-device.c.obj -MF gusb/libgusb-2.dll.p/gusb-device.c.obj.d -o gusb/libgusb-2.dll.p/gusb-device.c.obj -c ../gusb/gusb-device.c ../gusb/gusb-device.c: In function 'g_usb_device_control_transfer_async': ../gusb/gusb-device.c:2304:38: error: passing argument 4 of 'libusb_fill_control_transfer' from incompatible pointer type [-Wincompatible-pointer-types] 2304 | g_usb_device_control_transfer_cb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(struct libusb_transfer *) In file included from ../gusb/gusb-device.c:19: /usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0/libusb.h:1570:54: note: expected 'libusb_transfer_cb_fn' {aka 'void (__attribute__((stdcall)) *)(struct libusb_transfer *)'} but argument is of type 'void (*)(struct libusb_transfer *)' 1570 | unsigned char *buffer, libusb_transfer_cb_fn callback, void *user_data, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../gusb/gusb-device.c: In function 'g_usb_device_bulk_transfer_async': ../gusb/gusb-device.c:2484:35: error: passing argument 6 of 'libusb_fill_bulk_transfer' from incompatible pointer type [-Wincompatible-pointer-types] 2484 | g_usb_device_async_transfer_cb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(struct libusb_transfer *) /usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0/libusb.h:1601:66: note: expected 'libusb_transfer_cb_fn' {aka 'void (__attribute__((stdcall)) *)(struct libusb_transfer *)'} but argument is of type 'void (*)(struct libusb_transfer *)' 1601 | unsigned char *buffer, int length, libusb_transfer_cb_fn callback, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../gusb/gusb-device.c: In function 'g_usb_device_interrupt_transfer_async': ../gusb/gusb-device.c:2664:40: error: passing argument 6 of 'libusb_fill_interrupt_transfer' from incompatible pointer type [-Wincompatible-pointer-types] 2664 | g_usb_device_async_transfer_cb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(struct libusb_transfer *) /usr/i686-w64-mingw32/sys-root/mingw/include/libusb-1.0/libusb.h:1658:31: note: expected 'libusb_transfer_cb_fn' {aka 'void (__attribute__((stdcall)) *)(struct libusb_transfer *)'} but argument is of type 'void (*)(struct libusb_transfer *)' 1658 | libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [11/15] Compiling C object gusb/libgusb-2.dll.p/gusb-interface.c.obj ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Usc3kl (%build) Bad exit status from /var/tmp/rpm-tmp.Usc3kl (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2a122d1b9bc446efa9f3415ce7735c5a -D /var/lib/mock/f40-build-51757105-6197995/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgusb.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2a122d1b9bc446efa9f3415ce7735c5a -D /var/lib/mock/f40-build-51757105-6197995/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1_uv_4p0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgusb.spec'