Traceback (most recent call last):


 "/usr/bin/mkosi", line 4011, in <module>

main()


 "/usr/bin/mkosi", line 4001, in main

build_stuff(args)


 "/usr/bin/mkosi", line 3846, in build_stuff

raw, tar, root_hash = build_image(args, workspace, run_build_script=False, cleanup=True)


 "/usr/bin/mkosi", line 3694, in build_image

install_boot_loader(args, workspace.name, loopdev, cached)


 "/usr/bin/mkosi", line 1964, in install_boot_loader

install_boot_loader_arch(args, workspace, loopdev)


 "/usr/bin/mkosi", line 1913, in install_boot_loader_arch

run_workspace_command(args, workspace, "/usr/bin/kernel-install", "add", kernel_version, find_kernel_file(workspace_root, "/boot/vmlinuz-*"))


 "/usr/bin/mkosi", line 1013, in run_workspace_command

run(cmdline, check=True)


 "/usr/bin/mkosi", line 72, in run

return subprocess.run(cmdline, **kwargs)


 "/usr/lib/python3.7/subprocess.py", line 481, in run

output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['systemd-nspawn', '--quiet', '--directory=/var/tmp/mkosi-kfwsvtws/root', '--uuid=6e0bdc33c6634433aa98ccf97dbea181', '--machine=mkosi-692d0495a37046fc8b382552a715055d', '--as-pid2', '--register=no', '--bind=/var/$

Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 600, in urlopen

chunked=chunked)


 "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 354, in _make_request

conn.request(method, url, **httplib_request_kw)


 "/usr/lib/python3.5/http/client.py", line 1106, in request

self._send_request(method, url, body, headers)


 "/usr/lib/python3.5/http/client.py", line 1151, in _send_request

self.endheaders(body)


 "/usr/lib/python3.5/http/client.py", line 1102, in endheaders

self._send_output(message_body)


 "/usr/lib/python3.5/http/client.py", line 934, in _send_output

self.send(msg)


 "/usr/lib/python3.5/http/client.py", line 877, in send

self.connect()


 "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 181, in connect

conn = self._new_conn()


 "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 168, in _new_conn

self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fed06febc18>: Failed to establish a new connection: [Errno 111] Connection refused
