Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tested build setup for windows to README #181

Open
Stonica opened this issue Apr 3, 2021 · 11 comments
Open

Add tested build setup for windows to README #181

Stonica opened this issue Apr 3, 2021 · 11 comments

Comments

@Stonica
Copy link

Stonica commented Apr 3, 2021

It is very usefull library, but I need to use on windows, so I appreciate if you inform me how to build on windows

@xloem
Copy link
Collaborator

xloem commented Apr 5, 2021

  1. Extract the source within a unix environment such as cygwin, msys, wsl (e.g. windows ubuntu), or linux.
  2. Install the mingw32-w64 toolchain. In the linux test runner it uses apt-get install binutils-mingw-w64 g++-mingw-w64-x86-64 gcc-mingw-w64.
  3. Generate the configure scripts if you're on git: ./autogen.sh
  4. Build the static dependencies. In the source folder, make -C depends HOST=x86_64-w64-mingw32
  5. ./configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix="$(pwd)"/depends/x86_64-w64-mingw32
  6. make

Please send pull requests to improve this project.

Leaving this issue open until tested instructions are added to the readme.

It shouldn't be hard to make a build setup for visual studio if somebody has interest in making that. There is also a cmake buildfile in the tree now that may work great on windows.

@xloem xloem changed the title How can I compile the lbrary in Windows? Add tested build setup for windows to README Apr 5, 2021
@Stonica
Copy link
Author

Stonica commented Apr 6, 2021

I tried the steps on WSL(Ubuntu 20.04 as default) but in step 4 I encountered:

bash: ./configure: No such file or directory

Here is my terminal output:

root@Kevin-PC:/windir/d/libbtc/libbtc# ./configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix="$(pwd)"/depends/x86_64-w64-mingw32
bash: ./configure: No such file or directory
root@Kevin-PC:/windir/d/libbtc/libbtc# ls
CMakeLists.txt  README.md   build-aux     contrib  include       m4       src   tooltests.py
Makefile.am     autogen.sh  configure.ac  depends  libbtc.pc.in  rpctest  test  update_subtrees.sh
root@Kevin-PC:/windir/d/libbtc/libbtc#

@xloem
Copy link
Collaborator

xloem commented Apr 6, 2021

Sorry, I left out ./autogen.sh. I've updated my original reply. You may find another issue since you're the one doing the testing here right now.

@Stonica
Copy link
Author

Stonica commented Apr 6, 2021

The make process encounter error, Here is the output of step3 to the end:

root@Kevin-PC:/windir/d/libbtc/libbtc# ./autogen.sh
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:15: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
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:13: installing 'build-aux/compile'
configure.ac:7: installing 'build-aux/config.guess'
configure.ac:7: installing 'build-aux/config.sub'
configure.ac:12: installing 'build-aux/install-sh'
configure.ac:12: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
root@Kevin-PC:/windir/d/libbtc/libbtc# make -C depends HOST=x86_64-w64-mingw32
make: Entering directory '/windir/d/libbtc/libbtc/depends'
copying packages: native_ccache libevent
to: /windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32
make: Leaving directory '/windir/d/libbtc/libbtc/depends'
root@Kevin-PC:/windir/d/libbtc/libbtc# ./configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix="$(pwd)"/depends/x86_64-w64-mingw32
configure: loading site script /windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... x86_64-w64-mingw32-nm
checking the name lister (x86_64-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse x86_64-w64-mingw32-nm output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64-w64-mingw32-pkg-config... /usr/bin/pkg-config --static
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-w64-mingw32-ar... /usr/bin/x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-ranlib... /usr/bin/x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-strip... /usr/bin/x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-gcc option to accept ISO C99... none needed
checking if x86_64-w64-mingw32-gcc supports -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type... yes
checking for __builtin_expect... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for main in -levent_core... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbtc.pc
config.status: creating src/libbtc-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in src/secp256k1 (/windir/d/libbtc/libbtc/src/secp256k1)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32'  '--host=x86_64-w64-mingw32' '--target=x86_64-w64-mingw32' 'host_alias=x86_64-w64-mingw32' 'target_alias=x86_64-w64-mingw32' '--enable-module-recovery' --cache-file=/dev/null --srcdir=.
configure: loading site script /windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a thread-safe mkdir -p... /usr/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 whether make supports the include directive... yes (GNU style)
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... x86_64-w64-mingw32-nm
checking the name lister (x86_64-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse x86_64-w64-mingw32-nm output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... x86_64-w64-mingw32-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... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-w64-mingw32-pkg-config... /usr/bin/pkg-config --static
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-w64-mingw32-ar... /usr/bin/x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-ranlib... /usr/bin/x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-strip... /usr/bin/x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking if x86_64-w64-mingw32-gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if x86_64-w64-mingw32-gcc supports -fvisibility=hidden... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for x86_64 assembly availability... yes
checking for CRYPTO... no
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
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

Build Options:
  with ecmult precomp     = yes
  with external callbacks = no
  with benchmarks         = yes
  with tests              = yes
  with openssl tests      = no
  with coverage           = no
  module ecdh             = no
  module recovery         = yes
  module extrakeys        = no
  module schnorrsig       = no

  asm                     = x86_64
  ecmult window size      = 15
  ecmult gen prec. bits   = 4

  valgrind                = no
  CC                      = x86_64-w64-mingw32-gcc
  CFLAGS                  = -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -pipe -O2
  CPPFLAGS                =  -I/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../include/
  LDFLAGS                 = -L/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../lib

  CC_FOR_BUILD            = x86_64-w64-mingw32-gcc
  CFLAGS_FOR_BUILD        = -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -pipe -O2
  CPPFLAGS_FOR_BUILD      =  -I/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../include/
  LDFLAGS_FOR_BUILD       = -L/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../lib

Options used to compile and link:
  with wallet   = yes
  with tools    = yes
  with net      = yes

  target os     = windows

  CC            = x86_64-w64-mingw32-gcc
  CFLAGS        = -pipe -O2  -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type
  CXX           = x86_64-w64-mingw32-g++
  CXXFLAGS      = -pipe -O2
  LDFLAGS       = -L/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../lib

root@Kevin-PC:/windir/d/libbtc/libbtc# make
make[1]: Entering directory '/windir/d/libbtc/libbtc'
  CC       src/tools/bitcointool-bitcointool.o
  CC       src/libbtc_la-aes256_cbc.lo
  CC       src/libbtc_la-base58.lo
  CC       src/libbtc_la-bip32.lo
  CC       src/libbtc_la-block.lo
  CC       src/libbtc_la-buffer.lo
  CC       src/libbtc_la-chainparams.lo
  CC       src/libbtc_la-commontools.lo
  CC       src/libbtc_la-cstr.lo
  CC       src/libbtc_la-ctaes.lo
  CC       src/libbtc_la-ecc_key.lo
  CC       src/libbtc_la-ecc_libsecp256k1.lo
  CC       src/libbtc_la-memory.lo
  CC       src/libbtc_la-random.lo
  CC       src/libbtc_la-ripemd160.lo
  CC       src/libbtc_la-script.lo
  CC       src/libbtc_la-serialize.lo
  CC       src/libbtc_la-tx.lo
  CC       src/libbtc_la-utils.lo
  CC       src/libbtc_la-vector.lo
  CC       src/trezor-crypto/libbtc_la-base58.lo
  CC       src/trezor-crypto/libbtc_la-blake2b.lo
  CC       src/trezor-crypto/libbtc_la-blake256.lo
  CC       src/trezor-crypto/libbtc_la-groestl.lo
  CC       src/trezor-crypto/libbtc_la-hasher.lo
  CC       src/trezor-crypto/libbtc_la-hmac.lo
  CC       src/trezor-crypto/libbtc_la-memzero.lo
  CC       src/trezor-crypto/libbtc_la-ripemd160.lo
  CC       src/trezor-crypto/libbtc_la-segwit_addr.lo
  CC       src/trezor-crypto/libbtc_la-sha2.lo
  CC       src/trezor-crypto/libbtc_la-sha3.lo
  CC       src/logdb/libbtc_la-logdb_core.lo
  CC       src/logdb/libbtc_la-logdb_memdb_llist.lo
  CC       src/logdb/libbtc_la-logdb_memdb_rbtree.lo
  CC       src/logdb/libbtc_la-logdb_rec.lo
  CC       src/logdb/libbtc_la-red_black_tree.lo
  CC       src/libbtc_la-wallet.lo
  CC       src/libbtc_la-headersdb_file.lo
  CC       src/libbtc_la-net.lo
src/net.c: In function ‘btc_node_group_connect_next_nodes’:
src/net.c:385:90: warning: passing argument 4 of ‘event_new’ from incompatible pointer type [-Wincompatible-pointer-types]
  385 |             node->timer_event = event_new(group->event_base, 0, EV_TIMEOUT | EV_PERSIST, node_periodical_timer,
      |                                                                                          ^~~~~~~~~~~~~~~~~~~~~
      |                                                                                          |
      |                                                                                          void (*)(int,  short int,  void *)
In file included from src/net.c:5:
/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../include/event2/event.h:1080:15: note: expected ‘event_callback_fn’ {aka ‘void (*)(long long int,  short int,  void *)’} but argument is of type ‘void (*)(int,  short int,  void *)’
 1080 | struct event *event_new(struct event_base *, evutil_socket_t, short, event_callback_fn, void *);
      |               ^~~~~~~~~
  CC       src/libbtc_la-netspv.lo
  CC       src/libbtc_la-protocol.lo
make[2]: Entering directory '/windir/d/libbtc/libbtc/src/secp256k1'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /windir/d/libbtc/libbtc/src/secp256k1/build-aux/missing autoheader)
rm -f src/stamp-h1
touch src/libsecp256k1-config.h.in
cd . && /bin/bash ./config.status src/libsecp256k1-config.h
config.status: creating src/libsecp256k1-config.h
config.status: src/libsecp256k1-config.h is unchanged
x86_64-w64-mingw32-gcc -I/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../include/  -I. -I./src -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -pipe -O2  -c src/gen_context.c -o gen_context.o
x86_64-w64-mingw32-gcc -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -pipe -O2  -L/windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32/share/../lib  gen_context.o -o gen_context
./gen_context
/bin/bash: ./gen_context: No such file or directory
make[2]: *** [Makefile:1781: src/ecmult_static_context.h] Error 127
make[2]: Leaving directory '/windir/d/libbtc/libbtc/src/secp256k1'
make[1]: *** [Makefile:2703: src/secp256k1/libsecp256k1.la] Error 2
make[1]: Leaving directory '/windir/d/libbtc/libbtc'
make: *** [Makefile:2026: all-recursive] Error 1
root@Kevin-PC:/windir/d/libbtc/libbtc#

@xloem
Copy link
Collaborator

xloem commented Apr 6, 2021

Are you able to post the entire sequence of commands you ran, in exact order, so somebody can reproduce the issue on a fresh setup of wsl ubuntu when time is found to do so?

It looks like your linker reported success but generated no output, or the output disappeared after it was generated, or a bug in wsl's filesystem was encountered.

In the meantime you could try copying the precise steps from .travis.yml or using a different system as two ways to troubleshoot it further.

@Stonica
Copy link
Author

Stonica commented Apr 6, 2021

Here is my .travis.yml:

root@Kevin-PC:/windir/d/libbtc/libbtc# cat .travis.yaml
cat: .travis.yaml: No such file or directory
root@Kevin-PC:/windir/d/libbtc/libbtc# cat .travis.yml
language: c

cache:
  apt: true
  directories:
  - depends/built
  - depends/sdk-sources
#  - $HOME/Library/Caches/Homebrew

addons:
  apt:
    packages:
        - valgrind
        - binutils-mingw-w64
        - g++-mingw-w64-x86-64
        - gcc-mingw-w64
        - wine1.6
        - libevent-dev

#before_install:
#  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew install valgrind gnu-sed --default-names; fi

matrix:
    fast_finish:
        - true
    include:
      - os: osx
        compiler: clang
        env: RUN_MAKE_CHECK="yes" $BUILD_CONFIG='--enable-debug'
      - os: osx
        compiler: gcc
        env: RUN_TOOLTESTS="yes" $BUILD_CONFIG=""
      - os: linux
        compiler: gcc
        env: VALGRIND_UNIT_TESTS="yes" RUN_TOOLTESTS="yes" VALGRIND_TOOLTESTS="yes" SUBMIT_COVERALLS="yes" $BUILD_CONFIG=''
      - os: linux
        compiler: gcc
        env: $BUILD_CONFIG='--disable-wallet'
      - os: linux
        compiler: x86_64-w64-mingw32
        env: HOST="x86_64-w64-mingw32" CROSS_COMPILE="yes" RUN_WINE_UNIT_TESTS="yes" $BUILD_CONFIG="--disable-shared --enable-static --disable-net"
      - os: linux
        compiler: i686-w64-mingw32
        env: HOST="i686-w64-mingw32" CROSS_COMPILE="yes" RUN_WINE_UNIT_TESTS="yes" $BUILD_CONFIG="--disable-shared --enable-static --disable-net"
      - os: linux
        compiler: arm-linux-gnueabihf
        env: HOST="arm-linux-gnueabihf" CROSS_COMPILE="yes"
        addons:
          apt:
            packages:
              - g++-arm-linux-gnueabihf
            sources:
              - ubuntu-toolchain-r-test
#      - os: linux
#        compiler: i686-pc-linux-gnu
#        env: HOST="i686-pc-linux-gnu" CROSS_COMPILE="yes"
#        addons:
#          apt:
#            packages:
#            - g++-arm-linux-gnueabihf
#            - g++-multilib

before_script:
    - ./autogen.sh
    - if [ "$CROSS_COMPILE" == "yes" ]; then
          make -C depends HOST=$HOST;
          LIBTOOL_APP_LDFLAGS='-all-static' LDFLAGS='-static' ./configure --prefix=$TRAVIS_BUILD_DIR/depends/$HOST $BUILD_CONFIG; cat config.log;
      elif [ "$SUBMIT_COVERALLS" == "yes" ]; then
          ./configure $BUILD_CONFIG CFLAGS='-fprofile-arcs -ftest-coverage'; cat config.log;
      else
          ./configure $BUILD_CONFIG; cat config.log;
      fi

script:
    - make -j2 V=1
    - ls -la
    - if ( [ "$VALGRIND_UNIT_TESTS" == "yes" ] ); then
          valgrind --track-origins=yes --leak-check=full --error-exitcode=1 ./tests &&
          ./tests;
      fi
    - if ( [ "$RUN_MAKE_CHECK" == "yes" ] ); then
          make check;
      fi
    - if ( [ "$RUN_WINE_UNIT_TESTS" == "yes" ] ); then
          wine $(pwd)/tests.exe;
      fi
    - if ( [ "$RUN_TOOLTESTS" == "yes" ] ); then
          ./tooltests.py;
      fi

after_success:
  - if [ "$SUBMIT_COVERALLS" == "yes" ]; then
      sudo pip install -U "cpp-coveralls";
      coveralls --verbose -i src -x c -e src/logdb -e src/secp256k1 -r $TRAVIS_BUILD_DIR -b $TRAVIS_BUILD_DIR --gcov-options '\-lp';
    fi

@xloem
Copy link
Collaborator

xloem commented Apr 6, 2021

Translations inline below:

Here is my .travis.yml:

root@Kevin-PC:/windir/d/libbtc/libbtc# cat .travis.yaml
cat: .travis.yaml: No such file or directory
root@Kevin-PC:/windir/d/libbtc/libbtc# cat .travis.yml
language: c

cache:
  apt: true
  directories:
  - depends/built
  - depends/sdk-sources
#  - $HOME/Library/Caches/Homebrew

addons:
  apt:
    packages:
        - valgrind
        - binutils-mingw-w64
        - g++-mingw-w64-x86-64
        - gcc-mingw-w64
        - wine1.6
        - libevent-dev

apt-get install valgrind binutils-mingw-w64 g++-mingw-w64-x86-64 gcc-mingw-w64 wine1.6 libevent-dev


#before_install:
#  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew install valgrind gnu-sed --default-names; fi

matrix:
    fast_finish:
        - true
    include:
      - os: osx
        compiler: clang
        env: RUN_MAKE_CHECK="yes" $BUILD_CONFIG='--enable-debug'
      - os: osx
        compiler: gcc
        env: RUN_TOOLTESTS="yes" $BUILD_CONFIG=""
      - os: linux
        compiler: gcc
        env: VALGRIND_UNIT_TESTS="yes" RUN_TOOLTESTS="yes" VALGRIND_TOOLTESTS="yes" SUBMIT_COVERALLS="yes" $BUILD_CONFIG=''
      - os: linux
        compiler: gcc
        env: $BUILD_CONFIG='--disable-wallet'
      - os: linux 

Travis's "linux" OS is ubuntu 16.04. This would indicate that you have a different version of mingw, which is possibly but probably not the cause of your issue.

        compiler: x86_64-w64-mingw32
        env: HOST="x86_64-w64-mingw32" CROSS_COMPILE="yes" RUN_WINE_UNIT_TESTS="yes" $BUILD_CONFIG="--disable-shared --enable-static --disable-net"

export HOST="x86_64-w64-mingw32" BUILD_CONFIG="--disable-shared --enable-static --disable-net"
I'm not sure why there is a dollar sign before BUILD_CONFIG and not the other values here; if it is a typo then the value would end up being an empty string "".

      - os: linux
        compiler: i686-w64-mingw32
        env: HOST="i686-w64-mingw32" CROSS_COMPILE="yes" RUN_WINE_UNIT_TESTS="yes" $BUILD_CONFIG="--disable-shared --enable-static --disable-net"
      - os: linux
        compiler: arm-linux-gnueabihf
        env: HOST="arm-linux-gnueabihf" CROSS_COMPILE="yes"
        addons:
          apt:
            packages:
              - g++-arm-linux-gnueabihf
            sources:
              - ubuntu-toolchain-r-test
#      - os: linux
#        compiler: i686-pc-linux-gnu
#        env: HOST="i686-pc-linux-gnu" CROSS_COMPILE="yes"
#        addons:
#          apt:
#            packages:
#            - g++-arm-linux-gnueabihf
#            - g++-multilib

before_script:
    - ./autogen.sh

./autogen.sh

    - if [ "$CROSS_COMPILE" == "yes" ]; then
          make -C depends HOST=$HOST;

make -C depends HOST=$HOST

      LIBTOOL_APP_LDFLAGS='-all-static' LDFLAGS='-static' ./configure --prefix=$TRAVIS_BUILD_DIR/depends/$HOST $BUILD_CONFIG; cat config.log;

export TRAVIS_BUILD_DIR=$(pwd)
LIBTOOL_APP_LDFLAGS='-all-static' LDFLAGS='-static' ./configure --prefix=$TRAVIS_BUILD_DIR/depends/$HOST $BUILD_CONFIG

      elif [ "$SUBMIT_COVERALLS" == "yes" ]; then
          ./configure $BUILD_CONFIG CFLAGS='-fprofile-arcs -ftest-coverage'; cat config.log;
      else
          ./configure $BUILD_CONFIG; cat config.log;
      fi

script:
    - make -j2 V=1

make -j2 V=1 # this is where it is failing for you inside wsl ubuntu 20. You can see the further lines right below where it then runs make check which builds a tests.exe file. What I have just hilighted is what is succeeding on travis' servers.

- ls -la
- if ( [ "$VALGRIND_UNIT_TESTS" == "yes" ] ); then
      valgrind --track-origins=yes --leak-check=full --error-exitcode=1 ./tests &&
      ./tests;
  fi
- if ( [ "$RUN_MAKE_CHECK" == "yes" ] ); then
      make check;
  fi
- if ( [ "$RUN_WINE_UNIT_TESTS" == "yes" ] ); then
      wine $(pwd)/tests.exe;
  fi
- if ( [ "$RUN_TOOLTESTS" == "yes" ] ); then
      ./tooltests.py;
  fi

after_success:

  • if [ "$SUBMIT_COVERALLS" == "yes" ]; then
    sudo pip install -U "cpp-coveralls";
    coveralls --verbose -i src -x c -e src/logdb -e src/secp256k1 -r $TRAVIS_BUILD_DIR -b $TRAVIS_BUILD_DIR --gcov-options '-lp';
    fi

@Stonica
Copy link
Author

Stonica commented Apr 7, 2021

Here is output of all steps you extracted from .travis.yml

kevin@Kevin-PC:/windir/d/libbtc/libbtc$ ls
CMakeLists.txt  README.md       build-aux      configure.ac  libbtc.pc     rpctest       update_subtrees.sh
Makefile        aclocal.m4      config.log     contrib       libbtc.pc.in  src
Makefile.am     autogen.sh      config.status  depends       libtool       test
Makefile.in     autom4te.cache  configure      include       m4            tooltests.py
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo apt-get install valgrind binutils-mingw-w64 g++-mingw-w64-x86-64 gcc-mingw-
w64 wine1.6 libevent-dev
[sudo] password for kevin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libevent-dev is already the newest version (2.1.11-stable-1).
binutils-mingw-w64 is already the newest version (2.34-5ubuntu1+8.8).
g++-mingw-w64-x86-64 is already the newest version (9.3.0-7ubuntu1+22~exp1ubuntu4).
gcc-mingw-w64 is already the newest version (9.3.0-7ubuntu1+22~exp1ubuntu4).
The following additional packages will be installed:
  acl fontconfig fonts-liberation fonts-wine gdb gdbserver gstreamer1.0-plugins-base gstreamer1.0-plugins-good
  gstreamer1.0-x i965-va-driver intel-media-va-driver iso-codes libaa1 libaom0 libasound2-plugins libavahi-client3
  libavahi-common-data libavahi-common3 libavc1394-0 libavcodec58 libavutil56 libbabeltrace1 libc6-dbg libcaca0
  libcairo-gobject2 libcairo2 libcapi20-3 libcdparanoia0 libcodec2-0.9 libcups2 libdatrie1 libdv4 libdw1 libexif12
  libfaudio0 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libglu1-mesa libgphoto2-6
  libgphoto2-l10n libgphoto2-port12 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
  libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libharfbuzz0b libiec61883-0 libieee1284-3 libigdgmm11
  libjack-jackd2-0 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libmp3lame0 libmpg123-0 libmysqlclient21 libodbc1
  libopenal-data libopenal1 libopenjp2-7 libopus0 liborc-0.4-0 libosmesa6 libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpixman-1-0 libraw1394-11 librsvg2-2 librsvg2-common libsamplerate0 libsane libsane-common
  libsdl2-2.0-0 libshine3 libshout3 libsnappy1v5 libsndio7.0 libsnmp-base libsnmp35 libsoxr0 libspeex1 libstb0
  libswresample3 libtag1v5 libtag1v5-vanilla libthai-data libthai0 libtheora0 libtiff5 libtwolame0 libv4l-0
  libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau1 libvisual-0.4-0 libvkd3d1 libvpx6 libwavpack1
  libwayland-cursor0 libwayland-egl1 libwebp6 libwebpmux3 libwine libx264-155 libx265-179 libxcb-render0 libxcb-shm0
  libxcursor1 libxkbcommon0 libxslt1.1 libxss1 libxvidcore4 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers
  mysql-common ocl-icd-libopencl1 sane-utils update-inetd va-driver-all vdpau-driver-all wine wine-stable wine64
Suggested packages:
  gdb-doc gvfs i965-va-driver-shaders isoquery cups-common libdv-bin oss-compat libgd-tools gphoto2
  libvisual-0.4-plugins gstreamer1.0-tools jackd2 liblcms2-utils libmyodbc odbc-postgresql tdsodbc unixodbc-bin
  libportaudio2 opus-tools libraw1394-doc librsvg2-bin avahi-daemon hplip sndiod snmp-mibs-downloader speex cups-bsd
  gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly ttf-mscorefonts-installer opencl-icd unpaper
  valgrind-dbg valgrind-mpi kcachegrind alleyoop valkyrie libvdpau-va-gl1 nvidia-vdpau-driver
  nvidia-legacy-340xx-vdpau-driver nvidia-legacy-304xx-vdpau-driver q4wine winbind winetricks playonlinux wine-binfmt
  dosbox exe-thumbnailer | kio-extras wine64-preloader
Recommended packages:
  wine32
The following NEW packages will be installed:
  acl fontconfig fonts-liberation fonts-wine gdb gdbserver gstreamer1.0-plugins-base gstreamer1.0-plugins-good
  gstreamer1.0-x i965-va-driver intel-media-va-driver iso-codes libaa1 libaom0 libasound2-plugins libavahi-client3
  libavahi-common-data libavahi-common3 libavc1394-0 libavcodec58 libavutil56 libbabeltrace1 libc6-dbg libcaca0
  libcairo-gobject2 libcairo2 libcapi20-3 libcdparanoia0 libcodec2-0.9 libcups2 libdatrie1 libdv4 libdw1 libexif12
  libfaudio0 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libglu1-mesa libgphoto2-6
  libgphoto2-l10n libgphoto2-port12 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
  libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libharfbuzz0b libiec61883-0 libieee1284-3 libigdgmm11
  libjack-jackd2-0 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libmp3lame0 libmpg123-0 libmysqlclient21 libodbc1
  libopenal-data libopenal1 libopenjp2-7 libopus0 liborc-0.4-0 libosmesa6 libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpixman-1-0 libraw1394-11 librsvg2-2 librsvg2-common libsamplerate0 libsane libsane-common
  libsdl2-2.0-0 libshine3 libshout3 libsnappy1v5 libsndio7.0 libsnmp-base libsnmp35 libsoxr0 libspeex1 libstb0
  libswresample3 libtag1v5 libtag1v5-vanilla libthai-data libthai0 libtheora0 libtiff5 libtwolame0 libv4l-0
  libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau1 libvisual-0.4-0 libvkd3d1 libvpx6 libwavpack1
  libwayland-cursor0 libwayland-egl1 libwebp6 libwebpmux3 libwine libx264-155 libx265-179 libxcb-render0 libxcb-shm0
  libxcursor1 libxkbcommon0 libxslt1.1 libxss1 libxvidcore4 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers
  mysql-common ocl-icd-libopencl1 sane-utils update-inetd va-driver-all valgrind vdpau-driver-all wine wine-stable
  wine1.6 wine64
0 upgraded, 134 newly installed, 0 to remove and 0 not upgraded.
Need to get 109 MB/113 MB of archives.
After this operation, 670 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libsane-common all 1.0.29-0ubuntu5.2 [277 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 acl amd64 2.2.53-6 [37.8 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 fontconfig amd64 2.13.1-2ubuntu3 [171 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-liberation all 1:1.07.4-11 [822 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 fonts-wine all 5.0-3ubuntu1 [152 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libdw1 amd64 0.176-1.1build1 [226 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 libbabeltrace1 amd64 1.5.8-1build1 [156 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gdb amd64 9.2-0ubuntu1~20.04 [3221 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gdbserver amd64 9.2-0ubuntu1~20.04 [222 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcdparanoia0 amd64 3.10.2+debian-13 [46.7 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 liborc-0.4-0 amd64 1:0.4.31-1 [188 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libgstreamer-plugins-base1.0-0 amd64 1.16.2-4 [735 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 libopus0 amd64 1.3.1-0ubuntu1 [191 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 libpixman-1-0 amd64 0.38.4-0ubuntu1 [227 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal/main amd64 libxcb-render0 amd64 1.14-2 [14.8 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal/main amd64 libxcb-shm0 amd64 1.14-2 [5584 B]
Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libcairo2 amd64 1.16.0-4ubuntu1 [583 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/main amd64 libtheora0 amd64 1.1.1+dfsg.1-15ubuntu2 [162 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libvisual-0.4-0 amd64 0.4.0-17 [99.8 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 gstreamer1.0-plugins-base amd64 1.16.2-4 [619 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libaa1 amd64 1.4p5-46 [47.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libraw1394-11 amd64 2.1.2-1 [30.7 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal/main amd64 libavc1394-0 amd64 0.5.4-5 [16.2 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal/main amd64 libcaca0 amd64 0.99.beta19-2.1ubuntu1 [202 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal/main amd64 libcairo-gobject2 amd64 1.16.0-4ubuntu1 [17.2 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal/main amd64 libdv4 amd64 1.0.0-12 [58.0 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libjpeg-turbo8 amd64 2.0.3-0ubuntu1.20.04.1 [117 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2194 B]
Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libjbig0 amd64 2.1-3.1build1 [26.7 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libwebp6 amd64 0.6.1-2 [185 kB]
Get:31 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtiff5 amd64 4.1.0+git191117-2ubuntu0.20.04.1 [162 kB]
Get:32 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-common all 2.40.0+dfsg-3ubuntu0.2 [4652 B]
Get:33 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-0 amd64 2.40.0+dfsg-3ubuntu0.2 [168 kB]
Get:34 http://archive.ubuntu.com/ubuntu focal/main amd64 libgstreamer-plugins-good1.0-0 amd64 1.16.2-1ubuntu2 [63.4 kB]
Get:35 http://archive.ubuntu.com/ubuntu focal/main amd64 libiec61883-0 amd64 1.2.0-3 [24.3 kB]
Get:36 http://archive.ubuntu.com/ubuntu focal/main amd64 libsamplerate0 amd64 0.1.9-2 [939 kB]
Get:37 http://archive.ubuntu.com/ubuntu focal/main amd64 libjack-jackd2-0 amd64 1.9.12~dfsg-2ubuntu2 [267 kB]
Get:38 http://archive.ubuntu.com/ubuntu focal/main amd64 libmp3lame0 amd64 3.100-3 [133 kB]
Get:39 http://archive.ubuntu.com/ubuntu focal/main amd64 libmpg123-0 amd64 1.25.13-1 [124 kB]
Get:40 http://archive.ubuntu.com/ubuntu focal/main amd64 libspeex1 amd64 1.2~rc1.2-1.1ubuntu1 [53.2 kB]
Get:41 http://archive.ubuntu.com/ubuntu focal/main amd64 libshout3 amd64 2.4.3-1 [50.6 kB]
Get:42 http://archive.ubuntu.com/ubuntu focal/main amd64 libtag1v5-vanilla amd64 1.11.1+dfsg.1-0.3ubuntu2 [280 kB]
Get:43 http://archive.ubuntu.com/ubuntu focal/main amd64 libtag1v5 amd64 1.11.1+dfsg.1-0.3ubuntu2 [11.0 kB]
Get:44 http://archive.ubuntu.com/ubuntu focal/main amd64 libtwolame0 amd64 0.4.0-2 [47.6 kB]
Get:45 http://archive.ubuntu.com/ubuntu focal/main amd64 libv4lconvert0 amd64 1.18.0-2build1 [76.5 kB]
Get:46 http://archive.ubuntu.com/ubuntu focal/main amd64 libv4l-0 amd64 1.18.0-2build1 [41.9 kB]
Get:47 http://archive.ubuntu.com/ubuntu focal/main amd64 libvpx6 amd64 1.8.2-1build1 [820 kB]
Get:48 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libwavpack1 amd64 5.2.0-1ubuntu0.1 [77.3 kB]
Get:49 http://archive.ubuntu.com/ubuntu focal/main amd64 gstreamer1.0-plugins-good amd64 1.16.2-1ubuntu2 [1739 kB]
Get:50 http://archive.ubuntu.com/ubuntu focal/main amd64 libgraphite2-3 amd64 1.3.13-11build1 [73.5 kB]
Get:51 http://archive.ubuntu.com/ubuntu focal/main amd64 libharfbuzz0b amd64 2.6.4-1ubuntu4 [391 kB]
Get:52 http://archive.ubuntu.com/ubuntu focal/main amd64 libthai-data all 0.1.28-3 [134 kB]
Get:53 http://archive.ubuntu.com/ubuntu focal/main amd64 libdatrie1 amd64 0.2.12-3 [18.7 kB]
Get:54 http://archive.ubuntu.com/ubuntu focal/main amd64 libthai0 amd64 0.1.28-3 [18.1 kB]
Get:55 http://archive.ubuntu.com/ubuntu focal/main amd64 libpango-1.0-0 amd64 1.44.7-2ubuntu4 [162 kB]
Get:56 http://archive.ubuntu.com/ubuntu focal/main amd64 libpangoft2-1.0-0 amd64 1.44.7-2ubuntu4 [34.9 kB]
Get:57 http://archive.ubuntu.com/ubuntu focal/main amd64 libpangocairo-1.0-0 amd64 1.44.7-2ubuntu4 [24.8 kB]
Get:58 http://archive.ubuntu.com/ubuntu focal/main amd64 gstreamer1.0-x amd64 1.16.2-4 [74.7 kB]
Get:59 http://archive.ubuntu.com/ubuntu focal/universe amd64 libva2 amd64 2.7.0-2 [53.5 kB]
Get:60 http://archive.ubuntu.com/ubuntu focal/universe amd64 libigdgmm11 amd64 20.1.1+ds1-1 [111 kB]
Get:61 http://archive.ubuntu.com/ubuntu focal/universe amd64 intel-media-va-driver amd64 20.1.1+dfsg1-1 [1764 kB]
Get:62 http://archive.ubuntu.com/ubuntu focal/universe amd64 libaom0 amd64 1.0.0.errata1-3build1 [1160 kB]
Get:63 http://archive.ubuntu.com/ubuntu focal/main amd64 libasound2-plugins amd64 1.2.2-1ubuntu1 [66.0 kB]
Get:64 http://archive.ubuntu.com/ubuntu focal/main amd64 libavahi-common-data amd64 0.7-4ubuntu7 [21.4 kB]
Get:65 http://archive.ubuntu.com/ubuntu focal/main amd64 libavahi-common3 amd64 0.7-4ubuntu7 [21.7 kB]
Get:66 http://archive.ubuntu.com/ubuntu focal/main amd64 libavahi-client3 amd64 0.7-4ubuntu7 [25.5 kB]
Get:67 http://archive.ubuntu.com/ubuntu focal/universe amd64 libva-drm2 amd64 2.7.0-2 [7044 B]
Get:68 http://archive.ubuntu.com/ubuntu focal/universe amd64 libva-x11-2 amd64 2.7.0-2 [11.9 kB]
Get:69 http://archive.ubuntu.com/ubuntu focal/main amd64 libvdpau1 amd64 1.3-1ubuntu2 [25.6 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1ubuntu1 [30.3 kB]
Get:71 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libavutil56 amd64 7:4.2.4-1ubuntu0.1 [241 kB]
Get:72 http://archive.ubuntu.com/ubuntu focal/universe amd64 libcodec2-0.9 amd64 0.9.2-2 [7886 kB]
Get:73 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgsm1 amd64 1.0.18-2 [24.4 kB]
Get:74 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libopenjp2-7 amd64 2.3.1-1ubuntu4.20.04.1 [141 kB]
Get:75 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 librsvg2-2 amd64 2.48.9-1ubuntu0.20.04.1 [2253 kB]
Get:76 http://archive.ubuntu.com/ubuntu focal/universe amd64 libshine3 amd64 3.1.1-2 [23.2 kB]
Get:77 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB]
Get:78 http://archive.ubuntu.com/ubuntu focal/main amd64 libsoxr0 amd64 0.1.3-2build1 [78.0 kB]
Get:79 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libswresample3 amd64 7:4.2.4-1ubuntu0.1 [57.1 kB]
Get:80 http://archive.ubuntu.com/ubuntu bionic/main amd64 libwebpmux3 amd64 0.6.1-2 [19.6 kB]
Get:81 http://archive.ubuntu.com/ubuntu focal/universe amd64 libx264-155 amd64 2:0.155.2917+git0a84d98-2 [521 kB]
Get:82 http://archive.ubuntu.com/ubuntu focal/universe amd64 libx265-179 amd64 3.2.1-1build1 [1060 kB]
Get:83 http://archive.ubuntu.com/ubuntu focal/universe amd64 libxvidcore4 amd64 2:1.3.7-1 [201 kB]
Get:84 http://archive.ubuntu.com/ubuntu focal/universe amd64 libzvbi-common all 0.2.35-17 [32.5 kB]
Get:85 http://archive.ubuntu.com/ubuntu focal/universe amd64 libzvbi0 amd64 0.2.35-17 [237 kB]
Get:86 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libavcodec58 amd64 7:4.2.4-1ubuntu0.1 [4876 kB]
Get:87 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcups2 amd64 2.3.1-9ubuntu1.1 [233 kB]
Get:88 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libexif12 amd64 0.6.21-6ubuntu0.4 [78.6 kB]
Get:89 http://archive.ubuntu.com/ubuntu focal/main amd64 libwayland-cursor0 amd64 1.18.0-1 [10.3 kB]
Get:90 http://archive.ubuntu.com/ubuntu focal/main amd64 libwayland-egl1 amd64 1.18.0-1 [5692 B]
Get:91 http://archive.ubuntu.com/ubuntu focal/main amd64 libxcursor1 amd64 1:1.2.0-2 [20.1 kB]
Get:92 http://archive.ubuntu.com/ubuntu focal/main amd64 libxkbcommon0 amd64 0.10.0-1 [98.4 kB]
Get:93 http://archive.ubuntu.com/ubuntu focal/main amd64 libxss1 amd64 1:1.2.3-1 [8140 B]
Get:94 http://archive.ubuntu.com/ubuntu focal/universe amd64 libsdl2-2.0-0 amd64 2.0.10+dfsg1-3 [407 kB]
Get:95 http://archive.ubuntu.com/ubuntu focal/universe amd64 libstb0 amd64 0.0~git20190817.1.052dce1-1 [196 kB]
Get:96 http://archive.ubuntu.com/ubuntu focal/universe amd64 libfaudio0 amd64 20.04-2 [133 kB]
Get:97 http://archive.ubuntu.com/ubuntu focal/main amd64 libgd3 amd64 2.2.5-5.2ubuntu2 [118 kB]
Get:98 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-bin amd64 2.40.0+dfsg-3ubuntu0.2 [14.1 kB]
Get:99 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgphoto2-port12 amd64 2.5.25-0ubuntu0.1 [51.8 kB]
Get:100 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgphoto2-6 amd64 2.5.25-0ubuntu0.1 [653 kB]
Get:101 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgphoto2-l10n all 2.5.25-0ubuntu0.1 [12.2 kB]
Get:102 http://archive.ubuntu.com/ubuntu focal/main amd64 libieee1284-3 amd64 0.2.11-13build1 [21.0 kB]
Get:103 http://archive.ubuntu.com/ubuntu focal/main amd64 liblcms2-2 amd64 2.9-4 [140 kB]
Get:104 http://archive.ubuntu.com/ubuntu focal/main amd64 mysql-common all 5.8+1.0.5ubuntu2 [7496 B]
Get:105 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libmysqlclient21 amd64 8.0.23-0ubuntu0.20.04.1 [1224 kB]
Get:106 http://archive.ubuntu.com/ubuntu focal/main amd64 libodbc1 amd64 2.3.6-0.1build1 [189 kB]
Get:107 http://archive.ubuntu.com/ubuntu focal/universe amd64 libopenal-data all 1:1.19.1-1 [162 kB]
Get:108 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 librsvg2-common amd64 2.48.9-1ubuntu0.20.04.1 [9212 B]
Get:109 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libsnmp-base all 5.8+dfsg-2ubuntu2.3 [206 kB]
Get:110 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libsnmp35 amd64 5.8+dfsg-2ubuntu2.3 [978 kB]
Get:111 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libsane amd64 1.0.29-0ubuntu5.2 [2405 kB]
Get:112 http://archive.ubuntu.com/ubuntu focal/universe amd64 libsndio7.0 amd64 1.5.0-3 [24.5 kB]
Get:113 http://archive.ubuntu.com/ubuntu focal/universe amd64 libvkd3d1 amd64 1.1-4 [125 kB]
Get:114 http://archive.ubuntu.com/ubuntu focal/universe amd64 libopenal1 amd64 1:1.19.1-1 [492 kB]
Get:115 http://archive.ubuntu.com/ubuntu focal/universe amd64 libwine amd64 5.0-3ubuntu1 [25.0 MB]
Get:116 http://archive.ubuntu.com/ubuntu focal/main amd64 libxslt1.1 amd64 1.1.34-4 [152 kB]
Get:117 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 mesa-va-drivers amd64 20.2.6-0ubuntu0.20.04.1 [2618 kB]
Get:118 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 mesa-vdpau-drivers amd64 20.2.6-0ubuntu0.20.04.1 [2744 kB]
Get:119 http://archive.ubuntu.com/ubuntu focal/main amd64 update-inetd all 4.50 [24.8 kB]
Get:120 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 sane-utils amd64 1.0.29-0ubuntu5.2 [201 kB]
Get:121 http://archive.ubuntu.com/ubuntu focal/universe amd64 i965-va-driver amd64 2.4.0-0ubuntu1 [924 kB]
Get:122 http://archive.ubuntu.com/ubuntu focal/universe amd64 va-driver-all amd64 2.7.0-2 [4020 B]
Get:123 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dbg amd64 2.31-0ubuntu9.2 [10.5 MB]
Get:124 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 valgrind amd64 1:3.15.0-1ubuntu9.1 [20.3 MB]
Get:125 http://archive.ubuntu.com/ubuntu focal/main amd64 vdpau-driver-all amd64 1.3-1ubuntu2 [4596 B]
Get:126 http://archive.ubuntu.com/ubuntu focal/universe amd64 wine64 amd64 5.0-3ubuntu1 [214 kB]
Get:127 http://archive.ubuntu.com/ubuntu focal/universe amd64 wine all 5.0-3ubuntu1 [51.9 kB]
Get:128 http://archive.ubuntu.com/ubuntu focal/universe amd64 wine-stable all 3.0.1ubuntu1 [2064 B]
Get:129 http://archive.ubuntu.com/ubuntu bionic/universe amd64 wine1.6 amd64 1:1.8.4ubuntu1 [2184 B]
Get:130 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcapi20-3 amd64 1:3.27-3 [28.4 kB]
Get:131 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libosmesa6 amd64 20.2.6-0ubuntu0.20.04.1 [2724 kB]
Fetched 109 MB in 28s (3861 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libsane-common.
(Reading database ... 44451 files and directories currently installed.)
Preparing to unpack .../000-libsane-common_1.0.29-0ubuntu5.2_all.deb ...
Unpacking libsane-common (1.0.29-0ubuntu5.2) ...
Selecting previously unselected package iso-codes.
Preparing to unpack .../001-iso-codes_4.4-1_all.deb ...
Unpacking iso-codes (4.4-1) ...
Selecting previously unselected package acl.
Preparing to unpack .../002-acl_2.2.53-6_amd64.deb ...
Unpacking acl (2.2.53-6) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../003-fontconfig_2.13.1-2ubuntu3_amd64.deb ...
Unpacking fontconfig (2.13.1-2ubuntu3) ...
Selecting previously unselected package fonts-liberation.
Preparing to unpack .../004-fonts-liberation_1%3a1.07.4-11_all.deb ...
Unpacking fonts-liberation (1:1.07.4-11) ...
Selecting previously unselected package fonts-wine.
Preparing to unpack .../005-fonts-wine_5.0-3ubuntu1_all.deb ...
Unpacking fonts-wine (5.0-3ubuntu1) ...
Selecting previously unselected package libdw1:amd64.
Preparing to unpack .../006-libdw1_0.176-1.1build1_amd64.deb ...
Unpacking libdw1:amd64 (0.176-1.1build1) ...
Selecting previously unselected package libbabeltrace1:amd64.
Preparing to unpack .../007-libbabeltrace1_1.5.8-1build1_amd64.deb ...
Unpacking libbabeltrace1:amd64 (1.5.8-1build1) ...
Selecting previously unselected package gdb.
Preparing to unpack .../008-gdb_9.2-0ubuntu1~20.04_amd64.deb ...
Unpacking gdb (9.2-0ubuntu1~20.04) ...
Selecting previously unselected package gdbserver.
Preparing to unpack .../009-gdbserver_9.2-0ubuntu1~20.04_amd64.deb ...
Unpacking gdbserver (9.2-0ubuntu1~20.04) ...
Selecting previously unselected package libcdparanoia0:amd64.
Preparing to unpack .../010-libcdparanoia0_3.10.2+debian-13_amd64.deb ...
Unpacking libcdparanoia0:amd64 (3.10.2+debian-13) ...
Selecting previously unselected package libgstreamer1.0-0:amd64.
Preparing to unpack .../011-libgstreamer1.0-0_1.16.2-2_amd64.deb ...
Unpacking libgstreamer1.0-0:amd64 (1.16.2-2) ...
Selecting previously unselected package liborc-0.4-0:amd64.
Preparing to unpack .../012-liborc-0.4-0_1%3a0.4.31-1_amd64.deb ...
Unpacking liborc-0.4-0:amd64 (1:0.4.31-1) ...
Selecting previously unselected package libgstreamer-plugins-base1.0-0:amd64.
Preparing to unpack .../013-libgstreamer-plugins-base1.0-0_1.16.2-4_amd64.deb ...
Unpacking libgstreamer-plugins-base1.0-0:amd64 (1.16.2-4) ...
Selecting previously unselected package libopus0:amd64.
Preparing to unpack .../014-libopus0_1.3.1-0ubuntu1_amd64.deb ...
Unpacking libopus0:amd64 (1.3.1-0ubuntu1) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../015-libpixman-1-0_0.38.4-0ubuntu1_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.38.4-0ubuntu1) ...
Selecting previously unselected package libxcb-render0:amd64.
Preparing to unpack .../016-libxcb-render0_1.14-2_amd64.deb ...
Unpacking libxcb-render0:amd64 (1.14-2) ...
Selecting previously unselected package libxcb-shm0:amd64.
Preparing to unpack .../017-libxcb-shm0_1.14-2_amd64.deb ...
Unpacking libxcb-shm0:amd64 (1.14-2) ...
Selecting previously unselected package libcairo2:amd64.
Preparing to unpack .../018-libcairo2_1.16.0-4ubuntu1_amd64.deb ...
Unpacking libcairo2:amd64 (1.16.0-4ubuntu1) ...
Selecting previously unselected package libtheora0:amd64.
Preparing to unpack .../019-libtheora0_1.1.1+dfsg.1-15ubuntu2_amd64.deb ...
Unpacking libtheora0:amd64 (1.1.1+dfsg.1-15ubuntu2) ...
Selecting previously unselected package libvisual-0.4-0:amd64.
Preparing to unpack .../020-libvisual-0.4-0_0.4.0-17_amd64.deb ...
Unpacking libvisual-0.4-0:amd64 (0.4.0-17) ...
Selecting previously unselected package gstreamer1.0-plugins-base:amd64.
Preparing to unpack .../021-gstreamer1.0-plugins-base_1.16.2-4_amd64.deb ...
Unpacking gstreamer1.0-plugins-base:amd64 (1.16.2-4) ...
Selecting previously unselected package libaa1:amd64.
Preparing to unpack .../022-libaa1_1.4p5-46_amd64.deb ...
Unpacking libaa1:amd64 (1.4p5-46) ...
Selecting previously unselected package libraw1394-11:amd64.
Preparing to unpack .../023-libraw1394-11_2.1.2-1_amd64.deb ...
Unpacking libraw1394-11:amd64 (2.1.2-1) ...
Selecting previously unselected package libavc1394-0:amd64.
Preparing to unpack .../024-libavc1394-0_0.5.4-5_amd64.deb ...
Unpacking libavc1394-0:amd64 (0.5.4-5) ...
Selecting previously unselected package libcaca0:amd64.
Preparing to unpack .../025-libcaca0_0.99.beta19-2.1ubuntu1_amd64.deb ...
Unpacking libcaca0:amd64 (0.99.beta19-2.1ubuntu1) ...
Selecting previously unselected package libcairo-gobject2:amd64.
Preparing to unpack .../026-libcairo-gobject2_1.16.0-4ubuntu1_amd64.deb ...
Unpacking libcairo-gobject2:amd64 (1.16.0-4ubuntu1) ...
Selecting previously unselected package libdv4:amd64.
Preparing to unpack .../027-libdv4_1.0.0-12_amd64.deb ...
Unpacking libdv4:amd64 (1.0.0-12) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../028-libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.0.3-0ubuntu1.20.04.1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../029-libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../030-libjbig0_2.1-3.1build1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1build1) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../031-libwebp6_0.6.1-2_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../032-libtiff5_4.1.0+git191117-2ubuntu0.20.04.1_amd64.deb ...
Unpacking libtiff5:amd64 (4.1.0+git191117-2ubuntu0.20.04.1) ...
Selecting previously unselected package libgdk-pixbuf2.0-common.
Preparing to unpack .../033-libgdk-pixbuf2.0-common_2.40.0+dfsg-3ubuntu0.2_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.40.0+dfsg-3ubuntu0.2) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
Preparing to unpack .../034-libgdk-pixbuf2.0-0_2.40.0+dfsg-3ubuntu0.2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3ubuntu0.2) ...
Selecting previously unselected package libgstreamer-plugins-good1.0-0:amd64.
Preparing to unpack .../035-libgstreamer-plugins-good1.0-0_1.16.2-1ubuntu2_amd64.deb ...
Unpacking libgstreamer-plugins-good1.0-0:amd64 (1.16.2-1ubuntu2) ...
Selecting previously unselected package libiec61883-0:amd64.
Preparing to unpack .../036-libiec61883-0_1.2.0-3_amd64.deb ...
Unpacking libiec61883-0:amd64 (1.2.0-3) ...
Selecting previously unselected package libsamplerate0:amd64.
Preparing to unpack .../037-libsamplerate0_0.1.9-2_amd64.deb ...
Unpacking libsamplerate0:amd64 (0.1.9-2) ...
Selecting previously unselected package libjack-jackd2-0:amd64.
Preparing to unpack .../038-libjack-jackd2-0_1.9.12~dfsg-2ubuntu2_amd64.deb ...
Unpacking libjack-jackd2-0:amd64 (1.9.12~dfsg-2ubuntu2) ...
Selecting previously unselected package libmp3lame0:amd64.
Preparing to unpack .../039-libmp3lame0_3.100-3_amd64.deb ...
Unpacking libmp3lame0:amd64 (3.100-3) ...
Selecting previously unselected package libmpg123-0:amd64.
Preparing to unpack .../040-libmpg123-0_1.25.13-1_amd64.deb ...
Unpacking libmpg123-0:amd64 (1.25.13-1) ...
Selecting previously unselected package libspeex1:amd64.
Preparing to unpack .../041-libspeex1_1.2~rc1.2-1.1ubuntu1_amd64.deb ...
Unpacking libspeex1:amd64 (1.2~rc1.2-1.1ubuntu1) ...
Selecting previously unselected package libshout3:amd64.
Preparing to unpack .../042-libshout3_2.4.3-1_amd64.deb ...
Unpacking libshout3:amd64 (2.4.3-1) ...
Selecting previously unselected package libtag1v5-vanilla:amd64.
Preparing to unpack .../043-libtag1v5-vanilla_1.11.1+dfsg.1-0.3ubuntu2_amd64.deb ...
Unpacking libtag1v5-vanilla:amd64 (1.11.1+dfsg.1-0.3ubuntu2) ...
Selecting previously unselected package libtag1v5:amd64.
Preparing to unpack .../044-libtag1v5_1.11.1+dfsg.1-0.3ubuntu2_amd64.deb ...
Unpacking libtag1v5:amd64 (1.11.1+dfsg.1-0.3ubuntu2) ...
Selecting previously unselected package libtwolame0:amd64.
Preparing to unpack .../045-libtwolame0_0.4.0-2_amd64.deb ...
Unpacking libtwolame0:amd64 (0.4.0-2) ...
Selecting previously unselected package libv4lconvert0:amd64.
Preparing to unpack .../046-libv4lconvert0_1.18.0-2build1_amd64.deb ...
Unpacking libv4lconvert0:amd64 (1.18.0-2build1) ...
Selecting previously unselected package libv4l-0:amd64.
Preparing to unpack .../047-libv4l-0_1.18.0-2build1_amd64.deb ...
Unpacking libv4l-0:amd64 (1.18.0-2build1) ...
Selecting previously unselected package libvpx6:amd64.
Preparing to unpack .../048-libvpx6_1.8.2-1build1_amd64.deb ...
Unpacking libvpx6:amd64 (1.8.2-1build1) ...
Selecting previously unselected package libwavpack1:amd64.
Preparing to unpack .../049-libwavpack1_5.2.0-1ubuntu0.1_amd64.deb ...
Unpacking libwavpack1:amd64 (5.2.0-1ubuntu0.1) ...
Selecting previously unselected package gstreamer1.0-plugins-good:amd64.
Preparing to unpack .../050-gstreamer1.0-plugins-good_1.16.2-1ubuntu2_amd64.deb ...
Unpacking gstreamer1.0-plugins-good:amd64 (1.16.2-1ubuntu2) ...
Selecting previously unselected package libgraphite2-3:amd64.
Preparing to unpack .../051-libgraphite2-3_1.3.13-11build1_amd64.deb ...
Unpacking libgraphite2-3:amd64 (1.3.13-11build1) ...
Selecting previously unselected package libharfbuzz0b:amd64.
Preparing to unpack .../052-libharfbuzz0b_2.6.4-1ubuntu4_amd64.deb ...
Unpacking libharfbuzz0b:amd64 (2.6.4-1ubuntu4) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../053-libthai-data_0.1.28-3_all.deb ...
Unpacking libthai-data (0.1.28-3) ...
Selecting previously unselected package libdatrie1:amd64.
Preparing to unpack .../054-libdatrie1_0.2.12-3_amd64.deb ...
Unpacking libdatrie1:amd64 (0.2.12-3) ...
Selecting previously unselected package libthai0:amd64.
Preparing to unpack .../055-libthai0_0.1.28-3_amd64.deb ...
Unpacking libthai0:amd64 (0.1.28-3) ...
Selecting previously unselected package libpango-1.0-0:amd64.
Preparing to unpack .../056-libpango-1.0-0_1.44.7-2ubuntu4_amd64.deb ...
Unpacking libpango-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Selecting previously unselected package libpangoft2-1.0-0:amd64.
Preparing to unpack .../057-libpangoft2-1.0-0_1.44.7-2ubuntu4_amd64.deb ...
Unpacking libpangoft2-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Selecting previously unselected package libpangocairo-1.0-0:amd64.
Preparing to unpack .../058-libpangocairo-1.0-0_1.44.7-2ubuntu4_amd64.deb ...
Unpacking libpangocairo-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Selecting previously unselected package gstreamer1.0-x:amd64.
Preparing to unpack .../059-gstreamer1.0-x_1.16.2-4_amd64.deb ...
Unpacking gstreamer1.0-x:amd64 (1.16.2-4) ...
Selecting previously unselected package libva2:amd64.
Preparing to unpack .../060-libva2_2.7.0-2_amd64.deb ...
Unpacking libva2:amd64 (2.7.0-2) ...
Selecting previously unselected package libigdgmm11:amd64.
Preparing to unpack .../061-libigdgmm11_20.1.1+ds1-1_amd64.deb ...
Unpacking libigdgmm11:amd64 (20.1.1+ds1-1) ...
Selecting previously unselected package intel-media-va-driver:amd64.
Preparing to unpack .../062-intel-media-va-driver_20.1.1+dfsg1-1_amd64.deb ...
Unpacking intel-media-va-driver:amd64 (20.1.1+dfsg1-1) ...
Selecting previously unselected package libaom0:amd64.
Preparing to unpack .../063-libaom0_1.0.0.errata1-3build1_amd64.deb ...
Unpacking libaom0:amd64 (1.0.0.errata1-3build1) ...
Selecting previously unselected package libasound2-plugins:amd64.
Preparing to unpack .../064-libasound2-plugins_1.2.2-1ubuntu1_amd64.deb ...
Unpacking libasound2-plugins:amd64 (1.2.2-1ubuntu1) ...
Selecting previously unselected package libavahi-common-data:amd64.
Preparing to unpack .../065-libavahi-common-data_0.7-4ubuntu7_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.7-4ubuntu7) ...
Selecting previously unselected package libavahi-common3:amd64.
Preparing to unpack .../066-libavahi-common3_0.7-4ubuntu7_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.7-4ubuntu7) ...
Selecting previously unselected package libavahi-client3:amd64.
Preparing to unpack .../067-libavahi-client3_0.7-4ubuntu7_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.7-4ubuntu7) ...
Selecting previously unselected package libva-drm2:amd64.
Preparing to unpack .../068-libva-drm2_2.7.0-2_amd64.deb ...
Unpacking libva-drm2:amd64 (2.7.0-2) ...
Selecting previously unselected package libva-x11-2:amd64.
Preparing to unpack .../069-libva-x11-2_2.7.0-2_amd64.deb ...
Unpacking libva-x11-2:amd64 (2.7.0-2) ...
Selecting previously unselected package libvdpau1:amd64.
Preparing to unpack .../070-libvdpau1_1.3-1ubuntu2_amd64.deb ...
Unpacking libvdpau1:amd64 (1.3-1ubuntu2) ...
Selecting previously unselected package ocl-icd-libopencl1:amd64.
Preparing to unpack .../071-ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb ...
Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Selecting previously unselected package libavutil56:amd64.
Preparing to unpack .../072-libavutil56_7%3a4.2.4-1ubuntu0.1_amd64.deb ...
Unpacking libavutil56:amd64 (7:4.2.4-1ubuntu0.1) ...
Selecting previously unselected package libcodec2-0.9:amd64.
Preparing to unpack .../073-libcodec2-0.9_0.9.2-2_amd64.deb ...
Unpacking libcodec2-0.9:amd64 (0.9.2-2) ...
Selecting previously unselected package libgsm1:amd64.
Preparing to unpack .../074-libgsm1_1.0.18-2_amd64.deb ...
Unpacking libgsm1:amd64 (1.0.18-2) ...
Selecting previously unselected package libopenjp2-7:amd64.
Preparing to unpack .../075-libopenjp2-7_2.3.1-1ubuntu4.20.04.1_amd64.deb ...
Unpacking libopenjp2-7:amd64 (2.3.1-1ubuntu4.20.04.1) ...
Selecting previously unselected package librsvg2-2:amd64.
Preparing to unpack .../076-librsvg2-2_2.48.9-1ubuntu0.20.04.1_amd64.deb ...
Unpacking librsvg2-2:amd64 (2.48.9-1ubuntu0.20.04.1) ...
Selecting previously unselected package libshine3:amd64.
Preparing to unpack .../077-libshine3_3.1.1-2_amd64.deb ...
Unpacking libshine3:amd64 (3.1.1-2) ...
Selecting previously unselected package libsnappy1v5:amd64.
Preparing to unpack .../078-libsnappy1v5_1.1.8-1build1_amd64.deb ...
Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ...
Selecting previously unselected package libsoxr0:amd64.
Preparing to unpack .../079-libsoxr0_0.1.3-2build1_amd64.deb ...
Unpacking libsoxr0:amd64 (0.1.3-2build1) ...
Selecting previously unselected package libswresample3:amd64.
Preparing to unpack .../080-libswresample3_7%3a4.2.4-1ubuntu0.1_amd64.deb ...
Unpacking libswresample3:amd64 (7:4.2.4-1ubuntu0.1) ...
Selecting previously unselected package libwebpmux3:amd64.
Preparing to unpack .../081-libwebpmux3_0.6.1-2_amd64.deb ...
Unpacking libwebpmux3:amd64 (0.6.1-2) ...
Selecting previously unselected package libx264-155:amd64.
Preparing to unpack .../082-libx264-155_2%3a0.155.2917+git0a84d98-2_amd64.deb ...
Unpacking libx264-155:amd64 (2:0.155.2917+git0a84d98-2) ...
Selecting previously unselected package libx265-179:amd64.
Preparing to unpack .../083-libx265-179_3.2.1-1build1_amd64.deb ...
Unpacking libx265-179:amd64 (3.2.1-1build1) ...
Selecting previously unselected package libxvidcore4:amd64.
Preparing to unpack .../084-libxvidcore4_2%3a1.3.7-1_amd64.deb ...
Unpacking libxvidcore4:amd64 (2:1.3.7-1) ...
Selecting previously unselected package libzvbi-common.
Preparing to unpack .../085-libzvbi-common_0.2.35-17_all.deb ...
Unpacking libzvbi-common (0.2.35-17) ...
Selecting previously unselected package libzvbi0:amd64.
Preparing to unpack .../086-libzvbi0_0.2.35-17_amd64.deb ...
Unpacking libzvbi0:amd64 (0.2.35-17) ...
Selecting previously unselected package libavcodec58:amd64.
Preparing to unpack .../087-libavcodec58_7%3a4.2.4-1ubuntu0.1_amd64.deb ...
Unpacking libavcodec58:amd64 (7:4.2.4-1ubuntu0.1) ...
Selecting previously unselected package libcups2:amd64.
Preparing to unpack .../088-libcups2_2.3.1-9ubuntu1.1_amd64.deb ...
Unpacking libcups2:amd64 (2.3.1-9ubuntu1.1) ...
Selecting previously unselected package libexif12:amd64.
Preparing to unpack .../089-libexif12_0.6.21-6ubuntu0.4_amd64.deb ...
Unpacking libexif12:amd64 (0.6.21-6ubuntu0.4) ...
Selecting previously unselected package libwayland-cursor0:amd64.
Preparing to unpack .../090-libwayland-cursor0_1.18.0-1_amd64.deb ...
Unpacking libwayland-cursor0:amd64 (1.18.0-1) ...
Selecting previously unselected package libwayland-egl1:amd64.
Preparing to unpack .../091-libwayland-egl1_1.18.0-1_amd64.deb ...
Unpacking libwayland-egl1:amd64 (1.18.0-1) ...
Selecting previously unselected package libxcursor1:amd64.
Preparing to unpack .../092-libxcursor1_1%3a1.2.0-2_amd64.deb ...
Unpacking libxcursor1:amd64 (1:1.2.0-2) ...
Selecting previously unselected package libxkbcommon0:amd64.
Preparing to unpack .../093-libxkbcommon0_0.10.0-1_amd64.deb ...
Unpacking libxkbcommon0:amd64 (0.10.0-1) ...
Selecting previously unselected package libxss1:amd64.
Preparing to unpack .../094-libxss1_1%3a1.2.3-1_amd64.deb ...
Unpacking libxss1:amd64 (1:1.2.3-1) ...
Selecting previously unselected package libsdl2-2.0-0:amd64.
Preparing to unpack .../095-libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
Selecting previously unselected package libstb0:amd64.
Preparing to unpack .../096-libstb0_0.0~git20190817.1.052dce1-1_amd64.deb ...
Unpacking libstb0:amd64 (0.0~git20190817.1.052dce1-1) ...
Selecting previously unselected package libfaudio0:amd64.
Preparing to unpack .../097-libfaudio0_20.04-2_amd64.deb ...
Unpacking libfaudio0:amd64 (20.04-2) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../098-libgd3_2.2.5-5.2ubuntu2_amd64.deb ...
Unpacking libgd3:amd64 (2.2.5-5.2ubuntu2) ...
Selecting previously unselected package libgdk-pixbuf2.0-bin.
Preparing to unpack .../099-libgdk-pixbuf2.0-bin_2.40.0+dfsg-3ubuntu0.2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-bin (2.40.0+dfsg-3ubuntu0.2) ...
Selecting previously unselected package libgphoto2-port12:amd64.
Preparing to unpack .../100-libgphoto2-port12_2.5.25-0ubuntu0.1_amd64.deb ...
Unpacking libgphoto2-port12:amd64 (2.5.25-0ubuntu0.1) ...
Selecting previously unselected package libgphoto2-6:amd64.
Preparing to unpack .../101-libgphoto2-6_2.5.25-0ubuntu0.1_amd64.deb ...
Unpacking libgphoto2-6:amd64 (2.5.25-0ubuntu0.1) ...
Selecting previously unselected package libgphoto2-l10n.
Preparing to unpack .../102-libgphoto2-l10n_2.5.25-0ubuntu0.1_all.deb ...
Unpacking libgphoto2-l10n (2.5.25-0ubuntu0.1) ...
Selecting previously unselected package libieee1284-3:amd64.
Preparing to unpack .../103-libieee1284-3_0.2.11-13build1_amd64.deb ...
Unpacking libieee1284-3:amd64 (0.2.11-13build1) ...
Selecting previously unselected package liblcms2-2:amd64.
Preparing to unpack .../104-liblcms2-2_2.9-4_amd64.deb ...
Unpacking liblcms2-2:amd64 (2.9-4) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../105-mysql-common_5.8+1.0.5ubuntu2_all.deb ...
Unpacking mysql-common (5.8+1.0.5ubuntu2) ...
Selecting previously unselected package libmysqlclient21:amd64.
Preparing to unpack .../106-libmysqlclient21_8.0.23-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libmysqlclient21:amd64 (8.0.23-0ubuntu0.20.04.1) ...
Selecting previously unselected package libodbc1:amd64.
Preparing to unpack .../107-libodbc1_2.3.6-0.1build1_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.6-0.1build1) ...
Selecting previously unselected package libopenal-data.
Preparing to unpack .../108-libopenal-data_1%3a1.19.1-1_all.deb ...
Unpacking libopenal-data (1:1.19.1-1) ...
Selecting previously unselected package librsvg2-common:amd64.
Preparing to unpack .../109-librsvg2-common_2.48.9-1ubuntu0.20.04.1_amd64.deb ...
Unpacking librsvg2-common:amd64 (2.48.9-1ubuntu0.20.04.1) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../110-libsnmp-base_5.8+dfsg-2ubuntu2.3_all.deb ...
Unpacking libsnmp-base (5.8+dfsg-2ubuntu2.3) ...
Selecting previously unselected package libsnmp35:amd64.
Preparing to unpack .../111-libsnmp35_5.8+dfsg-2ubuntu2.3_amd64.deb ...
Unpacking libsnmp35:amd64 (5.8+dfsg-2ubuntu2.3) ...
Selecting previously unselected package libsane:amd64.
Preparing to unpack .../112-libsane_1.0.29-0ubuntu5.2_amd64.deb ...
Unpacking libsane:amd64 (1.0.29-0ubuntu5.2) ...
Selecting previously unselected package libsndio7.0:amd64.
Preparing to unpack .../113-libsndio7.0_1.5.0-3_amd64.deb ...
Unpacking libsndio7.0:amd64 (1.5.0-3) ...
Selecting previously unselected package libvkd3d1:amd64.
Preparing to unpack .../114-libvkd3d1_1.1-4_amd64.deb ...
Unpacking libvkd3d1:amd64 (1.1-4) ...
Selecting previously unselected package libopenal1:amd64.
Preparing to unpack .../115-libopenal1_1%3a1.19.1-1_amd64.deb ...
Unpacking libopenal1:amd64 (1:1.19.1-1) ...
Selecting previously unselected package libwine:amd64.
Preparing to unpack .../116-libwine_5.0-3ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (5.0-3ubuntu1) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../117-libxslt1.1_1.1.34-4_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.34-4) ...
Selecting previously unselected package mesa-va-drivers:amd64.
Preparing to unpack .../118-mesa-va-drivers_20.2.6-0ubuntu0.20.04.1_amd64.deb ...
Unpacking mesa-va-drivers:amd64 (20.2.6-0ubuntu0.20.04.1) ...
Selecting previously unselected package mesa-vdpau-drivers:amd64.
Preparing to unpack .../119-mesa-vdpau-drivers_20.2.6-0ubuntu0.20.04.1_amd64.deb ...
Unpacking mesa-vdpau-drivers:amd64 (20.2.6-0ubuntu0.20.04.1) ...
Selecting previously unselected package update-inetd.
Preparing to unpack .../120-update-inetd_4.50_all.deb ...
Unpacking update-inetd (4.50) ...
Selecting previously unselected package sane-utils.
Preparing to unpack .../121-sane-utils_1.0.29-0ubuntu5.2_amd64.deb ...
Unpacking sane-utils (1.0.29-0ubuntu5.2) ...
Selecting previously unselected package i965-va-driver:amd64.
Preparing to unpack .../122-i965-va-driver_2.4.0-0ubuntu1_amd64.deb ...
Unpacking i965-va-driver:amd64 (2.4.0-0ubuntu1) ...
Selecting previously unselected package va-driver-all:amd64.
Preparing to unpack .../123-va-driver-all_2.7.0-2_amd64.deb ...
Unpacking va-driver-all:amd64 (2.7.0-2) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../124-libc6-dbg_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-0ubuntu9.2) ...
Selecting previously unselected package valgrind.
Preparing to unpack .../125-valgrind_1%3a3.15.0-1ubuntu9.1_amd64.deb ...
Unpacking valgrind (1:3.15.0-1ubuntu9.1) ...
Selecting previously unselected package vdpau-driver-all:amd64.
Preparing to unpack .../126-vdpau-driver-all_1.3-1ubuntu2_amd64.deb ...
Unpacking vdpau-driver-all:amd64 (1.3-1ubuntu2) ...
Selecting previously unselected package wine64.
Preparing to unpack .../127-wine64_5.0-3ubuntu1_amd64.deb ...
Unpacking wine64 (5.0-3ubuntu1) ...
Selecting previously unselected package wine.
Preparing to unpack .../128-wine_5.0-3ubuntu1_all.deb ...
Unpacking wine (5.0-3ubuntu1) ...
Selecting previously unselected package wine-stable.
Preparing to unpack .../129-wine-stable_3.0.1ubuntu1_all.deb ...
Unpacking wine-stable (3.0.1ubuntu1) ...
Selecting previously unselected package wine1.6.
Preparing to unpack .../130-wine1.6_1%3a1.8.4ubuntu1_amd64.deb ...
Unpacking wine1.6 (1:1.8.4ubuntu1) ...
Selecting previously unselected package libcapi20-3:amd64.
Preparing to unpack .../131-libcapi20-3_1%3a3.27-3_amd64.deb ...
Unpacking libcapi20-3:amd64 (1:3.27-3) ...
Selecting previously unselected package libglu1-mesa:amd64.
Preparing to unpack .../132-libglu1-mesa_9.0.1-1build1_amd64.deb ...
Unpacking libglu1-mesa:amd64 (9.0.1-1build1) ...
Selecting previously unselected package libosmesa6:amd64.
Preparing to unpack .../133-libosmesa6_20.2.6-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libosmesa6:amd64 (20.2.6-0ubuntu0.20.04.1) ...
Setting up libgraphite2-3:amd64 (1.3.13-11build1) ...
Setting up liblcms2-2:amd64 (2.9-4) ...
Setting up libpixman-1-0:amd64 (0.38.4-0ubuntu1) ...
Setting up libcdparanoia0:amd64 (3.10.2+debian-13) ...
Setting up mysql-common (5.8+1.0.5ubuntu2) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up fontconfig (2.13.1-2ubuntu3) ...
Regenerating fonts cache... done.
Setting up libdw1:amd64 (0.176-1.1build1) ...
Setting up libmysqlclient21:amd64 (8.0.23-0ubuntu0.20.04.1) ...
Setting up libraw1394-11:amd64 (2.1.2-1) ...
Setting up libtag1v5-vanilla:amd64 (1.11.1+dfsg.1-0.3ubuntu2) ...
Setting up libmpg123-0:amd64 (1.25.13-1) ...
Setting up libspeex1:amd64 (1.2~rc1.2-1.1ubuntu1) ...
Setting up libshine3:amd64 (3.1.1-2) ...
Setting up libcaca0:amd64 (0.99.beta19-2.1ubuntu1) ...
Setting up libtwolame0:amd64 (0.4.0-2) ...
Setting up libdatrie1:amd64 (0.2.12-3) ...
Setting up libgsm1:amd64 (1.0.18-2) ...
Setting up libx264-155:amd64 (2:0.155.2917+git0a84d98-2) ...
Setting up libx265-179:amd64 (3.2.1-1build1) ...
Setting up libvisual-0.4-0:amd64 (0.4.0-17) ...
Setting up libxcb-render0:amd64 (1.14-2) ...
Setting up libsoxr0:amd64 (0.1.3-2build1) ...
Setting up libcapi20-3:amd64 (1:3.27-3) ...
Setting up libsnmp-base (5.8+dfsg-2ubuntu2.3) ...
Setting up libaom0:amd64 (1.0.0.errata1-3build1) ...
Setting up libxcursor1:amd64 (1:1.2.0-2) ...
Setting up libgdk-pixbuf2.0-common (2.40.0+dfsg-3ubuntu0.2) ...
Setting up libvkd3d1:amd64 (1.1-4) ...
Setting up update-inetd (4.50) ...
Setting up libxcb-shm0:amd64 (1.14-2) ...
Setting up libxvidcore4:amd64 (2:1.3.7-1) ...
Setting up libgphoto2-l10n (2.5.25-0ubuntu0.1) ...
Setting up libjbig0:amd64 (2.1-3.1build1) ...
Setting up libcairo2:amd64 (1.16.0-4ubuntu1) ...
Setting up libsnappy1v5:amd64 (1.1.8-1build1) ...
Setting up libc6-dbg:amd64 (2.31-0ubuntu9.2) ...
Setting up acl (2.2.53-6) ...
Setting up fonts-wine (5.0-3ubuntu1) ...
Setting up libva2:amd64 (2.7.0-2) ...
Setting up libigdgmm11:amd64 (20.1.1+ds1-1) ...
Setting up libcodec2-0.9:amd64 (0.9.2-2) ...
Setting up libavahi-common-data:amd64 (0.7-4ubuntu7) ...
Setting up libopus0:amd64 (1.3.1-0ubuntu1) ...
Setting up libexif12:amd64 (0.6.21-6ubuntu0.4) ...
Setting up intel-media-va-driver:amd64 (20.1.1+dfsg1-1) ...
Setting up libstb0:amd64 (0.0~git20190817.1.052dce1-1) ...
Setting up liborc-0.4-0:amd64 (1:0.4.31-1) ...
Setting up libwebp6:amd64 (0.6.1-2) ...
Setting up libodbc1:amd64 (2.3.6-0.1build1) ...
Setting up libjpeg-turbo8:amd64 (2.0.3-0ubuntu1.20.04.1) ...
Setting up libbabeltrace1:amd64 (1.5.8-1build1) ...
Setting up libsndio7.0:amd64 (1.5.0-3) ...
Setting up libtag1v5:amd64 (1.11.1+dfsg.1-0.3ubuntu2) ...
Setting up libva-drm2:amd64 (2.7.0-2) ...
Setting up libdv4:amd64 (1.0.0-12) ...
Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Setting up libvpx6:amd64 (1.8.2-1build1) ...
Setting up libvdpau1:amd64 (1.3-1ubuntu2) ...
Setting up libwavpack1:amd64 (5.2.0-1ubuntu0.1) ...
Setting up libwayland-cursor0:amd64 (1.18.0-1) ...
Setting up libtheora0:amd64 (1.1.1+dfsg.1-15ubuntu2) ...
Setting up libxslt1.1:amd64 (1.1.34-4) ...
Setting up fonts-liberation (1:1.07.4-11) ...
Setting up gdbserver (9.2-0ubuntu1~20.04) ...
Setting up libopenjp2-7:amd64 (2.3.1-1ubuntu4.20.04.1) ...
Setting up libharfbuzz0b:amd64 (2.6.4-1ubuntu4) ...
Setting up libopenal-data (1:1.19.1-1) ...
Setting up libthai-data (0.1.28-3) ...
Setting up libcairo-gobject2:amd64 (1.16.0-4ubuntu1) ...
Setting up libglu1-mesa:amd64 (9.0.1-1build1) ...
Setting up libwayland-egl1:amd64 (1.18.0-1) ...
Setting up libxss1:amd64 (1:1.2.3-1) ...
Setting up libgphoto2-port12:amd64 (2.5.25-0ubuntu0.1) ...
Setting up mesa-va-drivers:amd64 (20.2.6-0ubuntu0.20.04.1) ...
Setting up libsane-common (1.0.29-0ubuntu5.2) ...
Setting up libieee1284-3:amd64 (0.2.11-13build1) ...
Setting up valgrind (1:3.15.0-1ubuntu9.1) ...
Setting up libsamplerate0:amd64 (0.1.9-2) ...
Setting up libva-x11-2:amd64 (2.7.0-2) ...
Setting up libwebpmux3:amd64 (0.6.1-2) ...
Setting up iso-codes (4.4-1) ...
Setting up libzvbi-common (0.2.35-17) ...
Setting up libgstreamer1.0-0:amd64 (1.16.2-2) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up libmp3lame0:amd64 (3.100-3) ...
Setting up i965-va-driver:amd64 (2.4.0-0ubuntu1) ...
Setting up libaa1:amd64 (1.4p5-46) ...
Setting up libiec61883-0:amd64 (1.2.0-3) ...
Setting up libosmesa6:amd64 (20.2.6-0ubuntu0.20.04.1) ...
Setting up libxkbcommon0:amd64 (0.10.0-1) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libavc1394-0:amd64 (0.5.4-5) ...
Setting up mesa-vdpau-drivers:amd64 (20.2.6-0ubuntu0.20.04.1) ...
Setting up libzvbi0:amd64 (0.2.35-17) ...
Setting up libsnmp35:amd64 (5.8+dfsg-2ubuntu2.3) ...
Setting up libavahi-common3:amd64 (0.7-4ubuntu7) ...
Setting up libgstreamer-plugins-base1.0-0:amd64 (1.16.2-4) ...
Setting up libopenal1:amd64 (1:1.19.1-1) ...
Setting up libavutil56:amd64 (7:4.2.4-1ubuntu0.1) ...
Setting up libthai0:amd64 (0.1.28-3) ...
Setting up libgstreamer-plugins-good1.0-0:amd64 (1.16.2-1ubuntu2) ...
Setting up gdb (9.2-0ubuntu1~20.04) ...
Setting up gstreamer1.0-plugins-base:amd64 (1.16.2-4) ...
Setting up va-driver-all:amd64 (2.7.0-2) ...
Setting up libshout3:amd64 (2.4.3-1) ...
Setting up libjack-jackd2-0:amd64 (1.9.12~dfsg-2ubuntu2) ...
Setting up vdpau-driver-all:amd64 (1.3-1ubuntu2) ...
Setting up libv4lconvert0:amd64 (1.18.0-2build1) ...
Setting up libtiff5:amd64 (4.1.0+git191117-2ubuntu0.20.04.1) ...
Setting up libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
Setting up libavahi-client3:amd64 (0.7-4ubuntu7) ...
Setting up libasound2-plugins:amd64 (1.2.2-1ubuntu1) ...
Setting up libpango-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Setting up libswresample3:amd64 (7:4.2.4-1ubuntu0.1) ...
Setting up libv4l-0:amd64 (1.18.0-2build1) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3ubuntu0.2) ...
Setting up libgd3:amd64 (2.2.5-5.2ubuntu2) ...
Setting up libcups2:amd64 (2.3.1-9ubuntu1.1) ...
Setting up libgdk-pixbuf2.0-bin (2.40.0+dfsg-3ubuntu0.2) ...
Setting up libpangoft2-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Setting up libpangocairo-1.0-0:amd64 (1.44.7-2ubuntu4) ...
Setting up gstreamer1.0-x:amd64 (1.16.2-4) ...
Setting up gstreamer1.0-plugins-good:amd64 (1.16.2-1ubuntu2) ...
Setting up librsvg2-2:amd64 (2.48.9-1ubuntu0.20.04.1) ...
Setting up libgphoto2-6:amd64 (2.5.25-0ubuntu0.1) ...
Setting up librsvg2-common:amd64 (2.48.9-1ubuntu0.20.04.1) ...
Setting up libavcodec58:amd64 (7:4.2.4-1ubuntu0.1) ...
Setting up libsane:amd64 (1.0.29-0ubuntu5.2) ...
Adding scanner group...
Setting up libfaudio0:amd64 (20.04-2) ...
Setting up libwine:amd64 (5.0-3ubuntu1) ...
Setting up sane-utils (1.0.29-0ubuntu5.2) ...
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
Adding saned group and user...
Adding user saned to group scanner
invoke-rc.d: could not determine current runlevel
Setting up wine64 (5.0-3ubuntu1) ...
Setting up wine (5.0-3ubuntu1) ...
Setting up wine-stable (3.0.1ubuntu1) ...
Setting up wine1.6 (1:1.8.4ubuntu1) ...
Processing triggers for systemd (245.4-4ubuntu3.5) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for udev (245.4-4ubuntu3.5) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3ubuntu0.2) ...
Processing triggers for wine (5.0-3ubuntu1) ...
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ export HOST="x86_64-w64-mingw32" BUILD_CONFIG="--disable-shared --enable-static --disable-net"
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ ./autogen.sh
autom4te: cannot open autom4te.cache/requests: Permission denied
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo ./autogen.sh
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:15: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
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:13: installing 'build-aux/compile'
configure.ac:12: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo make -C depends HOST=$HOST
make: Entering directory '/windir/d/libbtc/libbtc/depends'
copying packages: native_ccache libevent
to: /windir/d/libbtc/libbtc/depends/x86_64-w64-mingw32
make: Leaving directory '/windir/d/libbtc/libbtc/depends'
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo export TRAVIS_BUILD_DIR=$(pwd)
sudo: export: command not found
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ LIBTOOL_APP_LDFLAGS='-all-static' LDFLAGS='-static' ./configure --prefix=$TRAVIS_BUILD_DIR/depends/$HOST $BUILD_CONFIG
./configure: line 1963: config.log: Permission denied
./configure: line 1973: config.log: Permission denied
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo LIBTOOL_APP_LDFLAGS='-all-static' LDFLAGS='-static' ./configure --prefix=$T
RAVIS_BUILD_DIR/depends/$HOST $BUILD_CONFIG
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/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... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 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 -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type... yes
checking for __builtin_expect... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbtc.pc
config.status: creating src/libbtc-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in src/secp256k1 (/windir/d/libbtc/libbtc/src/secp256k1)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/depends/x86_64-w64-mingw32'  '--disable-shared' '--enable-static' '--disable-net' 'LDFLAGS=-static' '--enable-module-recovery' --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... /usr/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 whether make supports the include directive... yes (GNU style)
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... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by 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... /usr/bin/dd
checking how to truncate binary pipes... /usr/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 C89... (cached) none needed
checking dependency style of gcc... gcc3
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if gcc supports -fvisibility=hidden... yes
checking valgrind/memcheck.h usability... yes
checking valgrind/memcheck.h presence... yes
checking for valgrind/memcheck.h... yes
checking for x86_64 assembly availability... yes
checking for CRYPTO... no
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
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

Build Options:
  with ecmult precomp     = yes
  with external callbacks = no
  with benchmarks         = yes
  with tests              = yes
  with openssl tests      = no
  with coverage           = no
  module ecdh             = no
  module recovery         = yes
  module extrakeys        = no
  module schnorrsig       = no

  asm                     = x86_64
  ecmult window size      = 15
  ecmult gen prec. bits   = 4

  valgrind                = yes
  CC                      = gcc
  CFLAGS                  = -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g
  CPPFLAGS                =
  LDFLAGS                 = -static

  CC_FOR_BUILD            = gcc
  CFLAGS_FOR_BUILD        = -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g
  CPPFLAGS_FOR_BUILD      =
  LDFLAGS_FOR_BUILD       = -static

Options used to compile and link:
  with wallet   = yes
  with tools    = yes
  with net      = no

  target os     = linux

  CC            = gcc
  CFLAGS        = -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type
  CXX           =
  CXXFLAGS      =
  LDFLAGS       = -static

kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo make -j2 V=1
make[1]: Entering directory '/windir/d/libbtc/libbtc'
make  -C src/secp256k1 libsecp256k1.la
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-wallet_tests.o -MD -MP -MF test/.deps/tests-wallet_tests.Tpo -c -o test/tests-wallet_tests.o `test -f 'test/wallet_tests.c' || echo './'`test/wallet_tests.c
make[2]: Entering directory '/windir/d/libbtc/libbtc/src/secp256k1'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /windir/d/libbtc/libbtc/src/secp256k1/build-aux/missing autoheader)
rm -f src/stamp-h1
touch src/libsecp256k1-config.h.in
cd . && /bin/bash ./config.status src/libsecp256k1-config.h
config.status: creating src/libsecp256k1-config.h
config.status: src/libsecp256k1-config.h is unchanged
gcc -I. -I./src -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g -c src/gen_context.c -o gen_context.o
mv -f test/.deps/tests-wallet_tests.Tpo test/.deps/tests-wallet_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-tool_tests.o -MD -MP -MF test/.deps/tests-tool_tests.Tpo -c -o test/tests-tool_tests.o `test -f 'test/tool_tests.c' || echo './'`test/tool_tests.c
mv -f test/.deps/tests-tool_tests.Tpo test/.deps/tests-tool_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/tools/bitcointool-bitcointool.o -MD -MP -MF src/tools/.deps/bitcointool-bitcointool.Tpo -c -o src/tools/bitcointool-bitcointool.o `test -f 'src/tools/bitcointool.c' || echo './'`src/tools/bitcointool.c
mv -f src/tools/.deps/bitcointool-bitcointool.Tpo src/tools/.deps/bitcointool-bitcointool.Po
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src    -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/libbtc_la-commontools.lo -MD -MP -MF src/.deps/libbtc_la-commontools.Tpo -c -o src/libbtc_la-commontools.lo `test -f 'src/commontools.c' || echo './'`src/commontools.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./include -I./src/logdb/include -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/libbtc_la-commontools.lo -MD -MP -MF src/.deps/libbtc_la-commontools.Tpo -c src/commontools.c -o src/libbtc_la-commontools.o
mv -f src/.deps/libbtc_la-commontools.Tpo src/.deps/libbtc_la-commontools.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src    -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/libbtc_la-random.lo -MD -MP -MF src/.deps/libbtc_la-random.Tpo -c -o src/libbtc_la-random.lo `test -f 'src/random.c' || echo './'`src/random.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./include -I./src/logdb/include -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/libbtc_la-random.lo -MD -MP -MF src/.deps/libbtc_la-random.Tpo -c src/random.c -o src/libbtc_la-random.o
mv -f src/.deps/libbtc_la-random.Tpo src/.deps/libbtc_la-random.Plo
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-aes_tests.o -MD -MP -MF test/.deps/tests-aes_tests.Tpo -c -o test/tests-aes_tests.o `test -f 'test/aes_tests.c' || echo './'`test/aes_tests.c
mv -f test/.deps/tests-aes_tests.Tpo test/.deps/tests-aes_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-base58check_tests.o -MD -MP -MF test/.deps/tests-base58check_tests.Tpo -c -o test/tests-base58check_tests.o `test -f 'test/base58check_tests.c' || echo './'`test/base58check_tests.c
mv -f test/.deps/tests-base58check_tests.Tpo test/.deps/tests-base58check_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-bip32_tests.o -MD -MP -MF test/.deps/tests-bip32_tests.Tpo -c -o test/tests-bip32_tests.o `test -f 'test/bip32_tests.c' || echo './'`test/bip32_tests.c
mv -f test/.deps/tests-bip32_tests.Tpo test/.deps/tests-bip32_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-block_tests.o -MD -MP -MF test/.deps/tests-block_tests.Tpo -c -o test/tests-block_tests.o `test -f 'test/block_tests.c' || echo './'`test/block_tests.c
gcc -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g -static gen_context.o -o gen_context
mv -f test/.deps/tests-block_tests.Tpo test/.deps/tests-block_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-buffer_tests.o -MD -MP -MF test/.deps/tests-buffer_tests.Tpo -c -o test/tests-buffer_tests.o `test -f 'test/buffer_tests.c' || echo './'`test/buffer_tests.c
mv -f test/.deps/tests-buffer_tests.Tpo test/.deps/tests-buffer_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-cstr_tests.o -MD -MP -MF test/.deps/tests-cstr_tests.Tpo -c -o test/tests-cstr_tests.o `test -f 'test/cstr_tests.c' || echo './'`test/cstr_tests.c
./gen_context
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src  -DSECP256K1_BUILD -I./include -I./src  -DVALGRIND   -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g -MT src/libsecp256k1_la-secp256k1.lo -MD -MP -MF src/.deps/libsecp256k1_la-secp256k1.Tpo -c -o src/libsecp256k1_la-secp256k1.lo `test -f 'src/secp256k1.c' || echo './'`src/secp256k1.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -DSECP256K1_BUILD -I./include -I./src -DVALGRIND -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g -MT src/libsecp256k1_la-secp256k1.lo -MD -MP -MF src/.deps/libsecp256k1_la-secp256k1.Tpo -c src/secp256k1.c -o src/libsecp256k1_la-secp256k1.o
mv -f test/.deps/tests-cstr_tests.Tpo test/.deps/tests-cstr_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-ecc_tests.o -MD -MP -MF test/.deps/tests-ecc_tests.Tpo -c -o test/tests-ecc_tests.o `test -f 'test/ecc_tests.c' || echo './'`test/ecc_tests.c
mv -f test/.deps/tests-ecc_tests.Tpo test/.deps/tests-ecc_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-eckey_tests.o -MD -MP -MF test/.deps/tests-eckey_tests.Tpo -c -o test/tests-eckey_tests.o `test -f 'test/eckey_tests.c' || echo './'`test/eckey_tests.c
mv -f test/.deps/tests-eckey_tests.Tpo test/.deps/tests-eckey_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-hash_tests.o -MD -MP -MF test/.deps/tests-hash_tests.Tpo -c -o test/tests-hash_tests.o `test -f 'test/hash_tests.c' || echo './'`test/hash_tests.c
mv -f test/.deps/tests-hash_tests.Tpo test/.deps/tests-hash_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-memory_tests.o -MD -MP -MF test/.deps/tests-memory_tests.Tpo -c -o test/tests-memory_tests.o `test -f 'test/memory_tests.c' || echo './'`test/memory_tests.c
mv -f test/.deps/tests-memory_tests.Tpo test/.deps/tests-memory_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-random_tests.o -MD -MP -MF test/.deps/tests-random_tests.Tpo -c -o test/tests-random_tests.o `test -f 'test/random_tests.c' || echo './'`test/random_tests.c
mv -f test/.deps/tests-random_tests.Tpo test/.deps/tests-random_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-serialize_tests.o -MD -MP -MF test/.deps/tests-serialize_tests.Tpo -c -o test/tests-serialize_tests.o `test -f 'test/serialize_tests.c' || echo './'`test/serialize_tests.c
mv -f test/.deps/tests-serialize_tests.Tpo test/.deps/tests-serialize_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-sha2_tests.o -MD -MP -MF test/.deps/tests-sha2_tests.Tpo -c -o test/tests-sha2_tests.o `test -f 'test/sha2_tests.c' || echo './'`test/sha2_tests.c
mv -f test/.deps/tests-sha2_tests.Tpo test/.deps/tests-sha2_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-unittester.o -MD -MP -MF test/.deps/tests-unittester.Tpo -c -o test/tests-unittester.o `test -f 'test/unittester.c' || echo './'`test/unittester.c
mv -f test/.deps/tests-unittester.Tpo test/.deps/tests-unittester.Po
mv -f src/.deps/libsecp256k1_la-secp256k1.Tpo src/.deps/libsecp256k1_la-secp256k1.Plo
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-tx_tests.o -MD -MP -MF test/.deps/tests-tx_tests.Tpo -c -o test/tests-tx_tests.o `test -f 'test/tx_tests.c' || echo './'`test/tx_tests.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -W -g  -static -o libsecp256k1.la -rpath /depends/x86_64-w64-mingw32/lib src/libsecp256k1_la-secp256k1.lo
libtool: link: /usr/bin/ar cr .libs/libsecp256k1.a  src/libsecp256k1_la-secp256k1.o
libtool: link: /usr/bin/ranlib .libs/libsecp256k1.a
libtool: link: ( cd ".libs" && rm -f "libsecp256k1.la" && ln -s "../libsecp256k1.la" "libsecp256k1.la" )
make[2]: Leaving directory '/windir/d/libbtc/libbtc/src/secp256k1'
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-utils_tests.o -MD -MP -MF test/.deps/tests-utils_tests.Tpo -c -o test/tests-utils_tests.o `test -f 'test/utils_tests.c' || echo './'`test/utils_tests.c
mv -f test/.deps/tests-utils_tests.Tpo test/.deps/tests-utils_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT test/tests-vector_tests.o -MD -MP -MF test/.deps/tests-vector_tests.Tpo -c -o test/tests-vector_tests.o `test -f 'test/vector_tests.c' || echo './'`test/vector_tests.c
mv -f test/.deps/tests-tx_tests.Tpo test/.deps/tests-tx_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/logdb/test/tests-logdb_tests.o -MD -MP -MF src/logdb/test/.deps/tests-logdb_tests.Tpo -c -o src/logdb/test/tests-logdb_tests.o `test -f 'src/logdb/test/logdb_tests.c' || echo './'`src/logdb/test/logdb_tests.c
mv -f test/.deps/tests-vector_tests.Tpo test/.deps/tests-vector_tests.Po
gcc -DHAVE_CONFIG_H -I. -I./src  -I./src  -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -MT src/logdb/test/tests-tests_red_black_tree.o -MD -MP -MF src/logdb/test/.deps/tests-tests_red_black_tree.Tpo -c -o src/logdb/test/tests-tests_red_black_tree.o `test -f 'src/logdb/test/tests_red_black_tree.c' || echo './'`src/logdb/test/tests_red_black_tree.c
src/logdb/test/logdb_tests.c: In function ‘test_logdb’:
src/logdb/test/logdb_tests.c:152:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  152 |     fread(buf, fsize, 1, f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
mv -f src/logdb/test/.deps/tests-tests_red_black_tree.Tpo src/logdb/test/.deps/tests-tests_red_black_tree.Po
/bin/bash ./libtool  --tag=CC   --mode=link gcc -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type  -static -o libbtc.la -rpath /depends/x86_64-w64-mingw32/lib src/libbtc_la-aes256_cbc.lo src/libbtc_la-base58.lo src/libbtc_la-bip32.lo src/libbtc_la-block.lo src/libbtc_la-buffer.lo src/libbtc_la-chainparams.lo src/libbtc_la-commontools.lo src/libbtc_la-cstr.lo src/libbtc_la-ctaes.lo src/libbtc_la-ecc_key.lo src/libbtc_la-ecc_libsecp256k1.lo src/libbtc_la-memory.lo src/libbtc_la-random.lo src/libbtc_la-ripemd160.lo src/libbtc_la-script.lo src/libbtc_la-serialize.lo src/libbtc_la-tx.lo src/libbtc_la-utils.lo src/libbtc_la-vector.lo src/trezor-crypto/libbtc_la-base58.lo src/trezor-crypto/libbtc_la-blake2b.lo src/trezor-crypto/libbtc_la-blake256.lo src/trezor-crypto/libbtc_la-groestl.lo src/trezor-crypto/libbtc_la-hasher.lo src/trezor-crypto/libbtc_la-hmac.lo src/trezor-crypto/libbtc_la-memzero.lo src/trezor-crypto/libbtc_la-ripemd160.lo src/trezor-crypto/libbtc_la-segwit_addr.lo src/trezor-crypto/libbtc_la-sha2.lo src/trezor-crypto/libbtc_la-sha3.lo src/logdb/libbtc_la-logdb_core.lo src/logdb/libbtc_la-logdb_memdb_llist.lo src/logdb/libbtc_la-logdb_memdb_rbtree.lo src/logdb/libbtc_la-logdb_rec.lo src/logdb/libbtc_la-red_black_tree.lo src/libbtc_la-wallet.lo  src/secp256k1/libsecp256k1.la
mv -f src/logdb/test/.deps/tests-logdb_tests.Tpo src/logdb/test/.deps/tests-logdb_tests.Po
copying selected object files to avoid basename conflicts...
libtool: link: ln src/trezor-crypto/libbtc_la-base58.o .libs/libbtc.lax/lt1-libbtc_la-base58.o || cp src/trezor-crypto/libbtc_la-base58.o .libs/libbtc.lax/lt1-libbtc_la-base58.o
libtool: link: ln src/trezor-crypto/libbtc_la-ripemd160.o .libs/libbtc.lax/lt2-libbtc_la-ripemd160.o || cp src/trezor-crypto/libbtc_la-ripemd160.o .libs/libbtc.lax/lt2-libbtc_la-ripemd160.o
libtool: link: /usr/bin/ar cr .libs/libbtc.a src/libbtc_la-aes256_cbc.o src/libbtc_la-base58.o src/libbtc_la-bip32.o src/libbtc_la-block.o src/libbtc_la-buffer.o src/libbtc_la-chainparams.o src/libbtc_la-commontools.o src/libbtc_la-cstr.o src/libbtc_la-ctaes.o src/libbtc_la-ecc_key.o src/libbtc_la-ecc_libsecp256k1.o src/libbtc_la-memory.o src/libbtc_la-random.o src/libbtc_la-ripemd160.o src/libbtc_la-script.o src/libbtc_la-serialize.o src/libbtc_la-tx.o src/libbtc_la-utils.o src/libbtc_la-vector.o .libs/libbtc.lax/lt1-libbtc_la-base58.o src/trezor-crypto/libbtc_la-blake2b.o src/trezor-crypto/libbtc_la-blake256.o src/trezor-crypto/libbtc_la-groestl.o src/trezor-crypto/libbtc_la-hasher.o src/trezor-crypto/libbtc_la-hmac.o src/trezor-crypto/libbtc_la-memzero.o .libs/libbtc.lax/lt2-libbtc_la-ripemd160.o src/trezor-crypto/libbtc_la-segwit_addr.o src/trezor-crypto/libbtc_la-sha2.o src/trezor-crypto/libbtc_la-sha3.o src/logdb/libbtc_la-logdb_core.o src/logdb/libbtc_la-logdb_memdb_llist.o src/logdb/libbtc_la-logdb_memdb_rbtree.o src/logdb/libbtc_la-logdb_rec.o src/logdb/libbtc_la-red_black_tree.o src/libbtc_la-wallet.o
libtool: link: /usr/bin/ranlib .libs/libbtc.a
libtool: link: rm -fr .libs/libbtc.lax
libtool: link: ( cd ".libs" && rm -f "libbtc.la" && ln -s "../libbtc.la" "libbtc.la" )
/bin/bash ./libtool  --tag=CC   --mode=link gcc -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -static -static -o tests test/tests-aes_tests.o test/tests-base58check_tests.o test/tests-bip32_tests.o test/tests-block_tests.o test/tests-buffer_tests.o test/tests-cstr_tests.o test/tests-ecc_tests.o test/tests-eckey_tests.o test/tests-hash_tests.o test/tests-memory_tests.o test/tests-random_tests.o test/tests-serialize_tests.o test/tests-sha2_tests.o test/tests-unittester.o test/tests-tx_tests.o test/tests-utils_tests.o test/tests-vector_tests.o src/logdb/test/tests-logdb_tests.o src/logdb/test/tests-tests_red_black_tree.o test/tests-wallet_tests.o  test/tests-tool_tests.o libbtc.la
/bin/bash ./libtool  --tag=CC   --mode=link gcc -I./include -I./src/logdb/include  -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -static -static -o bitcointool src/tools/bitcointool-bitcointool.o libbtc.la
libtool: link: gcc -I./include -I./src/logdb/include -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -o bitcointool src/tools/bitcointool-bitcointool.o  ./.libs/libbtc.a /windir/d/libbtc/libbtc/src/secp256k1/.libs/libsecp256k1.a
libtool: link: gcc -I./include -I./src/logdb/include -g -O2 -W -std=gnu99 -pedantic -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Werror=return-type -o tests test/tests-aes_tests.o test/tests-base58check_tests.o test/tests-bip32_tests.o test/tests-block_tests.o test/tests-buffer_tests.o test/tests-cstr_tests.o test/tests-ecc_tests.o test/tests-eckey_tests.o test/tests-hash_tests.o test/tests-memory_tests.o test/tests-random_tests.o test/tests-serialize_tests.o test/tests-sha2_tests.o test/tests-unittester.o test/tests-tx_tests.o test/tests-utils_tests.o test/tests-vector_tests.o src/logdb/test/tests-logdb_tests.o src/logdb/test/tests-tests_red_black_tree.o test/tests-wallet_tests.o test/tests-tool_tests.o  ./.libs/libbtc.a /windir/d/libbtc/libbtc/src/secp256k1/.libs/libsecp256k1.a
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-bip32.o):bip32.c:(.text+0x946): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_key.o):ecc_key.c:(.text+0x1ce): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0xee): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x166): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x1b6): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x27e): more undefined references to `__imp__assert' follow
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x38b): undefined reference to `__imp_isspace'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x480): undefined reference to `__imp_tolower'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x4ff): undefined reference to `__imp__time64'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5c3): undefined reference to `__imp__fileno'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5cb): undefined reference to `__imp__get_osfhandle'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5db): undefined reference to `__imp_FlushFileBuffers'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x46): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x394): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x599): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x767): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-sha3.o):sha3.c:(.text+0x76e): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-sha3.o):sha3.c:(.text+0x83e): undefined reference to `__imp__assert'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1084: bitcointool] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-bip32.o):bip32.c:(.text+0x946): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_key.o):ecc_key.c:(.text+0x1ce): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0xee): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x166): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x1b6): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x27e): more undefined references to `__imp__assert' follow
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x38b): undefined reference to `__imp_isspace'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x480): undefined reference to `__imp_tolower'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x4ff): undefined reference to `__imp__time64'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5c3): undefined reference to `__imp__fileno'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5cb): undefined reference to `__imp__get_osfhandle'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5db): undefined reference to `__imp_FlushFileBuffers'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x46): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x394): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x599): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x767): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-sha3.o):sha3.c:(.text+0x76e): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-sha3.o):sha3.c:(.text+0x83e): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-wallet.o):wallet.c:(.text+0x1227): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-wallet.o):wallet.c:(.text+0x125f): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-wallet.o):wallet.c:(.text+0x1327): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-wallet.o):wallet.c:(.text+0x1477): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-wallet.o):wallet.c:(.text+0x1587): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-wallet.o):wallet.c:(.text+0x19d7): more undefined references to `__imp___acrt_iob_func' follow
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1150: tests] Error 1
make[1]: Leaving directory '/windir/d/libbtc/libbtc'
make: *** [Makefile:2026: all-recursive] Error 1
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ sudo make check
make[1]: Entering directory '/windir/d/libbtc/libbtc'
  CCLD     bitcointool
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-bip32.o):bip32.c:(.text+0x946): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_key.o):ecc_key.c:(.text+0x1ce): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0xee): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x166): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x1b6): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-ecc_libsecp256k1.o):ecc_libsecp256k1.c:(.text+0x27e): more undefined references to `__imp__assert' follow
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x38b): undefined reference to `__imp_isspace'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x480): undefined reference to `__imp_tolower'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x4ff): undefined reference to `__imp__time64'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5c3): undefined reference to `__imp__fileno'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5cb): undefined reference to `__imp__get_osfhandle'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-utils.o):utils.c:(.text+0x5db): undefined reference to `__imp_FlushFileBuffers'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x46): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x394): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x599): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(lt1-libbtc_la-base58.o):base58.c:(.text+0x767): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-sha3.o):sha3.c:(.text+0x76e): undefined reference to `__imp__assert'
/usr/bin/ld: ./.libs/libbtc.a(libbtc_la-sha3.o):sha3.c:(.text+0x83e): undefined reference to `__imp__assert'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1084: bitcointool] Error 1
make[1]: Leaving directory '/windir/d/libbtc/libbtc'
make: *** [Makefile:2026: check-recursive] Error 1
kevin@Kevin-PC:/windir/d/libbtc/libbtc$ ls
CMakeLists.txt  README.md       build-aux      configure.ac  libbtc.la     m4       tooltests.py
Makefile        aclocal.m4      config.log     contrib       libbtc.pc     rpctest  update_subtrees.sh
Makefile.am     autogen.sh      config.status  depends       libbtc.pc.in  src
Makefile.in     autom4te.cache  configure      include       libtool       test
kevin@Kevin-PC:/windir/d/libbtc/libbtc$

@xloem
Copy link
Collaborator

xloem commented Apr 7, 2021

I'm spending a little time on my phone using travis to look into the issue you describe. I'll edit this post as I find more, and tag you if I finish.

  • It looks like you don't have user permission for that folder. If you typed ls -la instead of just ls, it would output the permissions of the folder. If that is a Unix filesystem, you'd be able to type sudo chown -R kevin . to fix the permissions, but I suspect it is your windows partition and not the unix filesystem.
  • export won't work if preceded by sudo because sudo closes its environment after running. An error was output when you tried this. You can remove sudo from that line as you did earlier.
  • it looks like the standard library is not being linked properly. This issue will likely go away if you try a different build environment, and likely means the wrong flags are being passed to the compiler. I am trying to reproduce the error on travis. Searching for the linker error messages regarding the undefined symbols may find solutions on the web.

@Stonica my travis build for windows on ubuntu 20 completed the make step successfully. The log of commands run is at https://travis-ci.org/github/xloem/libbtc/jobs/766198111 . There is a button on that page to show the log, and after it is shown there are little triangles to the left of each section to expand them. Here are differences I observed:

  • a clean, fresh focal (ubuntu 20) install is used (your system seems to have some bionic packages)
  • on focal, wine is installed instead of wine1.6
  • the source is cloned from git within focal and extracted into the unix filesystem (you don't show how you extract the source but the permissions seem wrong, and the path is not local)
  • the TRAVIS_BUILD_DIR environment variable was already set from the travis environment (in your example this failed due to use of sudo)

I'm not yet sure why you ran into linking errors, but we have a lot more information now.

@sfhacker
Copy link

Just built master branch from source on Windows 10 x64 without issues.

image

Not sure what the issue reported here is?

@sergey-chernikov
Copy link

Native VS build is supported, too, as per #197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants