linuxpaycoin / linuxpay

MIT License
0 stars 2 forks source link

build process fails #2

Closed tofke closed 4 years ago

tofke commented 6 years ago

Hello linuxpay team,

Unfortunately, I found another error :

Describe the issue

Even after sucessfully configuring (./autogen.sh && ./configure), the make command now fails ...

Machine specs:

Any extra information that might be useful in the debugging process.

Full output of the build process (language output is french, but but most should be straightforward)

tof@ina:~/github/linuxpaycoin/linuxpay⟫ ./autogen.sh && ./configure && make -j2 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, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' configure.ac:10: installing 'build-aux/compile' configure.ac:9: installing 'build-aux/missing' Makefile.am:54: warning: source file 'src/secp256k1.c' is in a subdirectory, Makefile.am:54: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Makefile.am:68: warning: source file 'src/bench_inv.c' is in a subdirectory, Makefile.am:68: but option 'subdir-objects' is disabled Makefile.am:65: warning: source file 'src/bench_sign.c' is in a subdirectory, Makefile.am:65: but option 'subdir-objects' is disabled Makefile.am:62: warning: source file 'src/bench_verify.c' is in a subdirectory, Makefile.am:62: but option 'subdir-objects' is disabled Makefile.am:76: warning: source file 'src/tests.c' is in a subdirectory, Makefile.am:76: but option 'subdir-objects' is disabled Makefile.am: installing 'build-aux/depcomp' 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, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' configure.ac:69: installing 'build-aux/compile' configure.ac:30: installing 'build-aux/missing' Makefile.am:9: warning: user variable 'GZIP_ENV' defined here ... /usr/share/automake-1.15/am/distdir.am: ... overrides Automake variable 'GZIP_ENV' defined here Makefile.am:61: warning: user target 'distcleancheck' defined here ... /usr/share/automake-1.15/am/distdir.am: ... overrides Automake target 'distcleancheck' defined here src/Makefile.am: installing 'build-aux/depcomp' src/Makefile.am:552: warning: user target '.mm.o' defined here ... /usr/share/automake-1.15/am/depend2.am: ... overrides Automake target '.mm.o' defined here checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11... yes checking whether we are using the GNU Objective C++ compiler... no checking whether g++ -std=c++11 accepts -g... no checking dependency style of g++ -std=c++11... gcc3 checking how to print strings... printf checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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 how to run the C++ preprocessor... g++ -std=c++11 -E checking for ld used by g++ -std=c++11... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ -std=c++11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ -std=c++11 option to produce PIC... -fPIC -DPIC checking if g++ -std=c++11 PIC flag -fPIC -DPIC works... yes checking if g++ -std=c++11 static flag -static works... yes checking if g++ -std=c++11 supports -c -o file.o... yes checking if g++ -std=c++11 supports -c -o file.o... (cached) yes checking whether the g++ -std=c++11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcov... /usr/bin/gcov checking for lcov... no checking for java... no checking for python3... /usr/bin/python3 checking for genhtml... no checking for git... /usr/bin/git checking for ccache... no checking for xgettext... /usr/bin/xgettext checking for hexdump... /usr/bin/hexdump checking for readelf... /usr/bin/readelf checking for c++filt... /usr/bin/c++filt checking for objcopy... /usr/bin/objcopy checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether byte ordering is bigendian... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking whether the linker accepts -Wl,--large-address-aware... no checking for attribute((visibility))... yes checking for attribute((dllexport))... no checking for attribute((dllimport))... no checking whether C++ compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -fstack-protector-all... yes checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether C++ compiler accepts -fPIC... yes checking whether the linker accepts -pic... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking for library containing getaddrinfo_a... -lanl checking for library containing inet_pton... none required checking whether strnlen is declared... yes checking whether le32toh is declared... yes checking whether le64toh is declared... yes checking whether htole32 is declared... yes checking whether htole64 is declared... yes checking whether be32toh is declared... yes checking whether be64toh is declared... yes checking whether htobe32 is declared... yes checking whether htobe64 is declared... yes checking for MSG_NOSIGNAL... yes checking for library containing clock_gettime... none required checking for visibility attribute... yes checking whether C++ compiler accepts -fvisibility=hidden... yes checking for Berkeley DB C++ headers... default checking for main in -ldb_cxx-4.8... yes checking miniupnpc/miniwget.h usability... yes checking miniupnpc/miniwget.h presence... yes checking for miniupnpc/miniwget.h... yes checking for main in -lminiupnpc... yes checking miniupnpc/miniupnpc.h usability... yes checking miniupnpc/miniupnpc.h presence... yes checking for miniupnpc/miniupnpc.h... yes checking for main in -lminiupnpc... (cached) yes checking miniupnpc/upnpcommands.h usability... yes checking miniupnpc/upnpcommands.h presence... yes checking for miniupnpc/upnpcommands.h... yes checking for main in -lminiupnpc... (cached) yes checking miniupnpc/upnperrors.h usability... yes checking miniupnpc/upnperrors.h presence... yes checking for miniupnpc/upnperrors.h... yes checking for main in -lminiupnpc... (cached) yes checking for QT... yes checking for QT_TEST... yes checking for QT_DBUS... yes checking for static Qt... no checking whether -fPIE can be used with this Qt config... no checking for moc-qt5... no checking for moc5... no checking for moc... /usr/lib/x86_64-linux-gnu/qt5/bin/moc checking for uic-qt5... no checking for uic5... no checking for uic... /usr/lib/x86_64-linux-gnu/qt5/bin/uic checking for rcc-qt5... no checking for rcc5... no checking for rcc... /usr/lib/x86_64-linux-gnu/qt5/bin/rcc checking for lrelease-qt5... no checking for lrelease5... no checking for lrelease... /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease checking for lupdate-qt5... no checking for lupdate5... no checking for lupdate... /usr/lib/x86_64-linux-gnu/qt5/bin/lupdate checking whether to build Linuxpay Core GUI... yes (Qt5) checking if the trading dialog should be enabled... yes checking for boostlib >= 1.20.0... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking whether the Boost::Chrono library is available... yes checking for exit in -lboost_chrono... yes checking for working boost reduced exports... yes checking whether the linker accepts -Wl,--exclude-libs,ALL... yes checking whether the Boost::Unit_Test_Framework library is available... yes checking for dynamic linked boost test... yes checking for SSL... yes checking for CRYPTO... yes checking for PROTOBUF... yes checking for QR... yes checking for EVENT... yes checking for EVENT_PTHREADS... yes checking for ZMQ... no configure: WARNING: libzmq version 4.x or greater not found, disabling checking for RAND_egd in -lcrypto... yes checking openssl/ec.h usability... yes checking openssl/ec.h presence... yes checking for openssl/ec.h... yes checking for protoc... /usr/bin/protoc checking whether to build linuxpayd... yes checking whether to build utils (linuxpay-cli linuxpay-tx)... yes checking whether to build libraries... no checking if ccache should be used... no checking if wallet should be enabled... yes checking whether to build with support for UPnP... yes checking whether to build with UPnP enabled by default... no checking whether to build GUI with support for D-Bus... yes checking whether to build GUI with support for QR codes... yes checking whether to build test_linuxpay-qt... yes checking whether to build test_linuxpay... yes checking whether to reduce exports... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating share/setup.nsi config.status: creating share/qt/Info.plist config.status: creating src/test/buildenv.py config.status: creating qa/pull-tester/run-bitcoind-for-test.sh config.status: creating qa/pull-tester/tests-config.sh config.status: creating contrib/devtools/split-debug.sh config.status: creating src/config/linuxpay-config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in src/secp256k1 (/home/tof/github/linuxpaycoin/linuxpay/src/secp256k1) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--disable-shared' '--with-pic' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so 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... no checking whether to build static libraries... yes checking whether make supports nested variables... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcc option to accept ISO C99... none needed checking if gcc supports -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function... yes checking for int128... yes checking whether builtin_expect is declared... yes ./configure: line 12851: SECP_64BIT_ASM_CHECK: command not found ./configure: line 12857: SECP_INT128_CHECK: command not found ./configure: line 12888: SECP_INT128_CHECK: command not found ./configure: line 13014: SECP_OPENSSL_CHECK: command not found configure: Using field implementation: 32bit configure: Using bignum implementation: none configure: Using scalar implementation: 32bit checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libsecp256k1.pc config.status: creating src/libsecp256k1-config.h config.status: executing depfiles commands config.status: executing libtool commands Fixing libtool for -rpath problems.

Options used to compile and link: with wallet = yes with gui / qt = yes qt version = 5 with qr = yes with zmq = no with test = yes make[3] : on quitte le répertoire « /home/tof/github/linuxpaycoin/linuxpay/src/secp256k1 » CXX libbitcoin_wallet_a-activemasternode.o CXX libbitcoin_wallet_a-bip38.o CXX libbitcoin_wallet_a-denomination_functions.o CXX libbitcoin_wallet_a-obfuscation.o CXX libbitcoin_wallet_a-obfuscation-relay.o CXX libbitcoin_wallet_a-db.o CXX libbitcoin_wallet_a-crypter.o CXX libbitcoin_wallet_a-swifttx.o CXX libbitcoin_wallet_a-masternode.o CXX libbitcoin_wallet_a-masternode-budget.o CXX libbitcoin_wallet_a-masternode-payments.o CXX libbitcoin_wallet_a-masternode-sync.o CXX libbitcoin_wallet_a-masternodeconfig.o CXX libbitcoin_wallet_a-masternodeman.o CXX libbitcoin_wallet_a-rpcdump.o CXX primitives/libbitcoin_wallet_a-zerocoin.o CXX libbitcoin_wallet_a-rpcwallet.o CXX libbitcoin_wallet_a-kernel.o CXX libbitcoin_wallet_a-wallet.o CXX libbitcoin_wallet_a-wallet_ismine.o CXX libbitcoin_wallet_a-walletdb.o CXX linuxpay_cli-linuxpay-cli.o CXX libbitcoin_cli_a-rpcclient.o CXX linuxpay_tx-linuxpay-tx.o Generated test/data/script_valid.json.h Generated test/data/base58_keys_valid.json.h Generated test/data/sig_canonical.json.h Generated test/data/sig_noncanonical.json.h Generated test/data/base58_encode_decode.json.h Generated test/data/base58_keys_invalid.json.h Generated test/data/script_invalid.json.h Generated test/data/tx_invalid.json.h Generated test/data/tx_valid.json.h Generated test/data/sighash.json.h Generated test/data/alertTests.raw.h make[2]: Aucune règle pour fabriquer la cible « qt/zlnpcontroldialog.cpp », nécessaire pour « qt/qt_libbitcoinqt_a-zlnpcontroldialog.o ». Arrêt. make[2]: Attente des tâches non terminées.... GEN qt/paymentrequest.pb.h make[2] : on quitte le répertoire « /home/tof/github/linuxpaycoin/linuxpay/src » Makefile:7827 : la recette pour la cible « all-recursive » a échouée make[1]: [all-recursive] Erreur 1 make[1] : on quitte le répertoire « /home/tof/github/linuxpaycoin/linuxpay/src » Makefile:611 : la recette pour la cible « all-recursive » a échouée make: [all-recursive] Erreur 1

tofke commented 6 years ago

despite this error, i was able to build just the headless binaries : cd src make linuxpayd make linuxpay-cli make linuxpay-tx

but i don't have a graphicall wallet (don't have Windows)

linuxpaycoin commented 5 years ago

Do this Way... 1). Install Pre-Production General Dependencies . [Simply copy & paste]

apt-get update -y && apt-get upgrade -y && apt-get install git -y && apt-get install libzmq3-dev && apt-get install build-essential libssl-dev libboost-all-dev libqrencode-dev pkg-config libminiupnpc-dev qt5-default qttools5-dev-tools libgmp3-dev -y && add-apt-repository ppa:bitcoin/bitcoin -y && apt-get update -y && apt-get install libdb4.8-dev libdb4.8++-dev -y && apt-get install autoconf -y && apt-get install build-essential libtool autotools-dev pkg-config libssl-dev libboost-all-dev autoconf automake -y && apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev -y && apt-get install libgmp-dev -y && apt-get install openssl -y && apt-get update -y && apt-get install git build-essential -y && sudo apt-get install aptitude -y && sudo aptitude install libdb4.8++-dev -y && apt-get install git -y && sudo apt-get install software-properties-common python-software-properties -y && sudo add-apt-repository ppa:git-core/ppa && sudo apt-get update -y && sudo apt-get install git -y

Cross-compilation These steps can be performed on, for example, an Ubuntu VM. The depends system will also work on other Linux distributions, however the commands for installing the toolchain will be different.

First, install the general dependencies:

sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl protobuf-compiler

A host toolchain (build-essential) is necessary because some dependency packages (such as protobuf) need to build host utilities that are used in the build process.

Building for 32-bit Windows To build executables for Windows 32-bit, install the following dependencies:

sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev

Now copy & paste the following line of codes to your ubuntu terminal and hit enter , Your make process will start and will take some time to complete.

cd && git clone https://github.com/linuxpaycoin/linuxpay.git && git clone https://github.com/dashpay/dash.git && cd dash && cp -r -p depends ~/linuxpay && cd && cd linuxpay && cd depends && make HOST=i686-w64-mingw32 && cd .. && ./autogen.sh && CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/ && make

You can find your windows-32bit, binary inside

linuxpay>src>qt