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

Missing setuptools #133

Open
compor opened this issue Oct 3, 2024 · 1 comment
Open

Missing setuptools #133

compor opened this issue Oct 3, 2024 · 1 comment

Comments

@compor
Copy link

compor commented Oct 3, 2024

setuptools is missing from the runtime/requirements.txt leading to a build error as it is required for building the snitch_cluster subproject.

Part of the output is:

[14/19] Performing build step for 'runtime'
[0/2] Re-checking globbed directories...
[53/141] Updating iree-compile
[0/2] Re-checking globbed directories...
ninja: no work to do.
[101/141] Generating cluster_gen/snitch_cluster_peripheral.h
FAILED: snitch_cluster/cluster_gen/snitch_cluster_peripheral.h /home/vasich/wb/build-quid2/runtime/snitch_cluster/cluster_gen/snitch_cluster_peripheral.h 
cd /home/vasich/wb/quidditch/snitch_cluster && /home/vasich/wb/quidditch/venv/bin/python3.12 /home/vasich/wb/quidditch/snitch_cluster/.bender/git/checkouts/register_interface-30a4d1663b9443bc/vendor/lowrisc_opentitan/util/regtool.py -D -o /home/vasich/wb/build-quid2/runtime/snitch_cluster/cluster_gen/snitch_cluster_peripheral.h /home/vasich/wb/quidditch/runtime/../snitch_cluster/hw/snitch_cluster/src/snitch_cluster_peripheral/snitch_cluster_peripheral_reg.hjson
Traceback (most recent call last):
  File "/home/vasich/wb/quidditch/snitch_cluster/.bender/git/checkouts/register_interface-30a4d1663b9443bc/vendor/lowrisc_opentitan/util/regtool.py", line 14, in <module>
    from reggen import (
  File "/home/vasich/wb/quidditch/snitch_cluster/.bender/git/checkouts/register_interface-30a4d1663b9443bc/vendor/lowrisc_opentitan/util/reggen/gen_dv.py", line 14, in <module>
    from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'
[106/141] Building C object iree-configuration/iree/runtime/src/iree/modules/hal/CMakeFiles/iree_modules_hal_hal.objects.dir/module.c.obj
ninja: build stopped: subcommand failed.
FAILED: runtime-prefix/src/runtime-stamp/runtime-build /home/vasich/wb/build-quid2/runtime-prefix/src/runtime-stamp/runtime-build 
cd /home/vasich/wb/build-quid2/runtime && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
@compor
Copy link
Author

compor commented Oct 3, 2024

Installing setuptools overcomes this issue; I'll address with a PR once all build related issues are documented.

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

1 participant