+ rm -rf /mnt/koji/output/anolis-23-20231205.2/work/loongarch64/buildinstall/os + lorax '--product=Anolis OS' --version=23 --release=23 --source=file:///mnt/koji/output/anolis-23-20231205.2/work/loongarch64/repo/dist-an23-build --source=http://build.openanolis.cn/kojifiles/output/anolis-23-20231205.2/work/loongarch64/comps_repo_os --variant=os --nomacboot --buildarch=loongarch64 --volid=anolis-23-loongarch64-dvd --logfile=/mnt/koji/output/anolis-23-20231205.2/logs/loongarch64/buildinstall-os-logs/lorax.log --rootfs-size=4 /mnt/koji/output/anolis-23-20231205.2/work/loongarch64/buildinstall/os 2023-12-05 20:46:16,666: selinux is Disabled 2023-12-05 20:46:16,675: Using platform:an23 for module_platform_id 2023-12-05 20:46:16,676: Added 'lorax-repo-0': file:///mnt/koji/output/anolis-23-20231205.2/work/loongarch64/repo/dist-an23-build 2023-12-05 20:46:16,676: Fetching metadata... 2023-12-05 20:46:46,243: Added 'lorax-repo-1': http://build.openanolis.cn/kojifiles/output/anolis-23-20231205.2/work/loongarch64/comps_repo_os 2023-12-05 20:46:46,243: Fetching metadata... 2023-12-05 20:46:54,081: selinux is Disabled 2023-12-05 20:46:54,197: checking for root privileges 2023-12-05 20:46:54,198: checking dnf base object 2023-12-05 20:46:54,198: setting up build architecture 2023-12-05 20:46:54,198: setting up build parameters 2023-12-05 20:46:54,199: Using templatedir /usr/share/lorax/templates.d/80-anolis 2023-12-05 20:46:54,953: got release: anolis-release 2023-12-05 20:46:54,953: installing runtime packages Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mako/lookup.py", line 241, in get_template return self._check(uri, self._collection[uri]) KeyError: 'runtime-install.tmpl' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/sbin/lorax", line 223, in main() File "/usr/sbin/lorax", line 204, in main lorax.run(dnfbase, opts.product, opts.version, opts.release, File "/usr/lib/python3.10/site-packages/pylorax/__init__.py", line 268, in run rb.install() File "/usr/lib/python3.10/site-packages/pylorax/treebuilder.py", line 141, in install self._runner.run("runtime-install.tmpl") File "/usr/lib/python3.10/site-packages/pylorax/ltmpl.py", line 148, in run commands = t.parse(templatefile, variables) File "/usr/lib/python3.10/site-packages/pylorax/ltmpl.py", line 53, in parse template = lookup.get_template(template_file) File "/usr/lib/python3.10/site-packages/mako/lookup.py", line 252, in get_template return self._load(srcfile, uri) File "/usr/lib/python3.10/site-packages/mako/lookup.py", line 313, in _load self._collection[uri] = template = Template( File "/usr/lib/python3.10/site-packages/mako/template.py", line 317, in __init__ module = self._compile_from_file(path, filename) File "/usr/lib/python3.10/site-packages/mako/template.py", line 393, in _compile_from_file code, module = _compile_text(self, data, filename) File "/usr/lib/python3.10/site-packages/mako/template.py", line 677, in _compile_text source, lexer = _compile( File "/usr/lib/python3.10/site-packages/mako/template.py", line 657, in _compile node = lexer.parse() File "/usr/lib/python3.10/site-packages/mako/lexer.py", line 240, in parse if self.match_control_line(): File "/usr/lib/python3.10/site-packages/mako/lexer.py", line 457, in match_control_line self.append_node(parsetree.ControlLine, keyword, isend, text) File "/usr/lib/python3.10/site-packages/mako/lexer.py", line 129, in append_node node = nodecls(*args, **kwargs) File "/usr/lib/python3.10/site-packages/mako/parsetree.py", line 92, in __init__ code = ast.PythonFragment(text, **self.exception_kwargs) File "/usr/lib/python3.10/site-packages/mako/ast.py", line 88, in __init__ raise exceptions.CompileException( mako.exceptions.CompileException: Fragment 'else' is not a partial control statement in file '/usr/share/lorax/templates.d/80-anolis/runtime-install.tmpl' at line: 171 char: 1 2023-12-05 20:46:54,973: Cleaning up tempdir - /var/tmp/lorax/lorax.g2nnyvqk