git clone https://github.com/Ergodice/lc0 -b master /tmp/tmp.yLVbxIxQQJ
Cloning into '/tmp/tmp.yLVbxIxQQJ'...
cd /tmp/tmp.yLVbxIxQQJ && ./build.sh
The Meson build system
Version: 0.61.2
Source dir: /tmp/tmp.yLVbxIxQQJ
Build dir: /tmp/tmp.yLVbxIxQQJ/build/release
Build type: native build
Project name: lc0
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Has header "optional" : YES 
Has header "string_view" : YES 
Has header "charconv" : YES 
Compiler for C++ supports arguments -march=native: YES 
Program scripts/compile_proto.py found: YES (/tmp/tmp.yLVbxIxQQJ/scripts/compile_proto.py)
Program git found: YES (/usr/bin/git)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Message: updating git submodule libs/lczero-common
Message: Using build identifier "git.692b821b".
Configuring build_id.h using configuration
Run-time dependency threads found: YES
Library dl found: YES
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency tensorflow_cc found: NO (tried pkgconfig and cmake)
Run-time dependency accelerate found: NO (tried pkgconfig and cmake)
Library mkl_rt found: NO
Library mklml found: NO
Library dnnl found: NO
Library openblas.dll found: NO
Library openblas found: NO
Run-time dependency eigen3 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency eigen3
Downloading eigen source from https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2
Downloading file of unknown size.
Downloading eigen patch from https://wrapdb.mesonbuild.com/v2/eigen_3.4.0-1/get_patch
Download size: 5619
Downloading: ..........Traceback (most recent call last):
  File "/usr/lib/python3.10/http/client.py", line 588, in _read_chunked
    value.append(self._safe_read(amt))
  File "/usr/lib/python3.10/http/client.py", line 633, in _safe_read
    raise IncompleteRead(data, amt-len(data))
http.client.IncompleteRead: IncompleteRead(3494 bytes read, 6746 more expected)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 146, in run
    return options.run_func(options)
  File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 294, in run
    app.generate()
  File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 185, in generate
    self._generate(env)
  File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 229, in _generate
    intr.run()
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreter/interpreter.py", line 2549, in run
    super().run()
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 148, in run
    self.evaluate_codeblock(self.ast, start=1)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 173, in evaluate_codeblock
    raise e
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 166, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 181, in evaluate_statement
    self.assignment(cur)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 566, in assignment
    value = self.evaluate_statement(node.value)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 179, in evaluate_statement
    return self.function_call(cur)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 454, in function_call
    res = func(node, func_args, kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/decorators.py", line 768, in wrapped
    return f(*wrapped_args, **wrapped_kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/decorators.py", line 115, in wrapped
    return f(*wrapped_args, **wrapped_kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/decorators.py", line 276, in wrapper
    return f(*nargs, **wrapped_kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreter/interpreter.py", line 795, in func_subproject
    return self.do_subproject(args[0], 'meson', kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreter/interpreter.py", line 836, in do_subproject
    subdir = r.resolve(subp_name, method)
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 334, in resolve
    self.get_file()
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 398, in get_file
    path = self.get_file_internal('source')
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 560, in get_file_internal
    self.download(what, cache_path)
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 535, in download
    dhash, tmpfile = self.get_data(srcurl)
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 498, in get_data
    block = resp.read(blocksize)
  File "/usr/lib/python3.10/http/client.py", line 460, in read
    return self._read_chunked(amt)
  File "/usr/lib/python3.10/http/client.py", line 598, in _read_chunked
    raise IncompleteRead(b''.join(value))
http.client.IncompleteRead: IncompleteRead(0 bytes read)


Executing subproject eigen 

eigen| Project name: eigen
eigen| Project version: 3.4.0
eigen| C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
eigen| C++ linker for the host machine: c++ ld.bfd 2.38
eigen| Build targets in project: 0
eigen| Subproject eigen finished.

Dependency eigen3 from subproject subprojects/eigen-3.4.0 found: YES 3.4.0
Program ispc found: NO
Library OpenCL found: YES
Run-time dependency opencl found: NO 
Has header "CL/opencl.h" : NO 
Library cublas found: YES
Library cudnn found: NO
Library cudart found: YES
Program nvcc found: YES (/usr/local/cuda/bin/nvcc)
Run-time dependency appleframeworks found: NO (tried framework)
Downloading abseil-cpp source from https://github.com/abseil/abseil-cpp/archive/20230125.1.tar.gz
Downloading file of unknown size.

meson.build:658:2: ERROR: Unhandled python exception

    This is a Meson bug and should be reported!
make: *** [Makefile:8: all] Error 2