chmod +x ../build.sh
../build.sh -Dembed=true && mv ../build/release/lc0 Leela-044899CF-66E6C1B5
The Meson build system
Version: 0.61.2
Source dir: /tmp/tmp0u_5u8ch/Leela/Leela-tmp
Build dir: /tmp/tmp0u_5u8ch/Leela/Leela-tmp/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
Compiler for C++ supports arguments -march=native: YES 
Program scripts/compile_proto.py found: YES (/usr/bin/python3 /tmp/tmp0u_5u8ch/Leela/Leela-tmp/scripts/compile_proto.py)
Program git found: YES (/usr/bin/git)
Message: cloning lczero-common.git into libs/lczero-common
meson.build:108: WARNING: Failed to parse short revision. Use git clone instead of downloading the archive from GitHub.
Message: Using build identifier "git.unknown".
Configuring build_id.h using configuration
Run-time dependency threads found: YES
Downloading abseil-cpp source from https://github.com/abseil/abseil-cpp/releases/download/20240722.0/abseil-cpp-20240722.0.tar.gz
Download size: 2242861
Downloading: ..........

Executing subproject abseil-cpp 

abseil-cpp| Project name: abseil-cpp
abseil-cpp| Project version: 20240722.0
abseil-cpp| C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
abseil-cpp| C++ linker for the host machine: c++ ld.bfd 2.38
abseil-cpp| Compiler for C++ supports arguments /DNOMINMAX: NO
abseil-cpp| Compiler for C++ supports arguments -Wno-sign-compare: YES
abseil-cpp| Compiler for C++ supports arguments -Wno-gcc-compat: NO
abseil-cpp| Compiler for C++ supports arguments -maes: YES
abseil-cpp| Compiler for C++ supports arguments -msse4.1: YES
abseil-cpp| Checking if "atomic builtins" : links: YES
abseil-cpp| Dependency threads found: YES unknown (cached)
abseil-cpp| Run-time dependency appleframeworks found: NO (tried framework)
abseil-cpp| Build targets in project: 15
abseil-cpp| Subproject abseil-cpp finished.

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-2/get_patch
Download size: 5622
Downloading: ..........

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: 15
eigen| Subproject eigen finished.

Dependency eigen3 from subproject subprojects/eigen-3.4.0 found: YES 3.4.0
meson.build:343: WARNING: Project targeting '>=0.55' but tried to use feature introduced in '0.57.0': compiler method "dependencies" kwarg with internal dep.
Has header "Eigen/Core" NO 
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)
Library onnxruntime found: NO
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency zlib found: YES 1.2.11
Library libatomic found: YES
Checking for type "_Float16" : NO 
Configuring default_search.h using configuration
Configuring default_backend.h using configuration
Run-time dependency GTest found: NO (tried pkgconfig and system)
Looking for a fallback subproject for the dependency gtest
Downloading gtest source from https://github.com/google/googletest/archive/refs/tags/v1.15.2.tar.gz
Download size: 872667
Downloading: ..........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 189, in evaluate_statement
    return self.evaluate_if(cur)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/interpreterbase.py", line 272, in evaluate_if
    self.evaluate_codeblock(i.block)
  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 768, in wrapped
    return f(*wrapped_args, **wrapped_kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/decorators.py", line 768, in wrapped
    return f(*wrapped_args, **wrapped_kwargs)
  [Previous line repeated 5 more times]
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreterbase/decorators.py", line 96, in wrapped
    ret = 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 1572, in func_dependency
    d = df.lookup(kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreter/dependencyfallbacks.py", line 347, in lookup
    dep = func(kwargs, func_args, func_kwargs)
  File "/usr/lib/python3/dist-packages/mesonbuild/interpreter/dependencyfallbacks.py", line 131, in _do_subproject
    self.interpreter.do_subproject(subp_name, 'meson', func_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 345, in resolve
    self.apply_patch()
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 576, in apply_patch
    path = self.get_file_internal('patch')
  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 480, in get_data
    resp = open_wrapdburl(urlstring)
  File "/usr/lib/python3/dist-packages/mesonbuild/wrap/wrap.py", line 72, in open_wrapdburl
    return T.cast('http.client.HTTPResponse', urllib.request.urlopen(urllib.parse.urlunparse(url), timeout=REQ_TIMEOUT))
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 557, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 749, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/usr/lib/python3.10/urllib/request.py", line 1352, in do_open
    r = h.getresponse()
  File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
    response.begin()
  File "/usr/lib/python3.10/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

Downloading gtest patch from https://wrapdb.mesonbuild.com/v2/gtest_1.15.2-4/get_patch

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

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