chipsalliance / chipsalliance/VeeRwolf

VeeRwolf build issue

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Verilog
Stars
343
Forks
75
PR merge metrics
No merged PRs in 30d

Description

I have installed verilator with latest version
while i run below command
"fusesoc run --target=sim --setup --build veerwolf"

getting error message like

INFO: Preparing chipsalliance.org:cores:VeeR_EH1:1.9
INFO: Downloading chipsalliance/Cores-VeeR-EH1 from github
Traceback (most recent call last):
File "/usr/local/bin/fusesoc", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/fusesoc/main.py", line 773, in main
fusesoc(args)
File "/usr/local/lib/python3.10/dist-packages/fusesoc/main.py", line 763, in fusesoc
args.func(fs, args)
File "/usr/local/lib/python3.10/dist-packages/fusesoc/main.py", line 342, in run
edam_file, backend = fs.get_backend(core, flags, args.backendargs)
File "/usr/local/lib/python3.10/dist-packages/fusesoc/fusesoc.py", line 162, in get_backend
edalizer.run()
File "/usr/local/lib/python3.10/dist-packages/fusesoc/edalizer.py", line 102, in run
self.setup_cores()
File "/usr/local/lib/python3.10/dist-packages/fusesoc/edalizer.py", line 130, in setup_cores
core.setup()
File "/usr/local/lib/python3.10/dist-packages/fusesoc/capi2/core.py", line 586, in setup
if self.provider.fetch():
File "/usr/local/lib/python3.10/dist-packages/fusesoc/provider/provider.py", line 49, in fetch
self._checkout(self.files_root)
File "/usr/local/lib/python3.10/dist-packages/fusesoc/provider/github.py", line 50, in _checkout
t.extractall(**extraction_arguments)
File "/usr/lib/python3.10/tarfile.py", line 2278, in extractall
tarinfo = self._get_extract_tarinfo(member, filter_function, path)
File "/usr/lib/python3.10/tarfile.py", line 2332, in _get_extract_tarinfo
self._handle_fatal_error(e)
File "/usr/lib/python3.10/tarfile.py", line 2330, in _get_extract_tarinfo
tarinfo = filter_function(tarinfo, path)
File "/usr/lib/python3.10/tarfile.py", line 819, in data_filter
new_attrs = _get_filtered_attrs(member, dest_path, True)
File "/usr/lib/python3.10/tarfile.py", line 806, in _get_filtered_attrs
raise LinkOutsideDestinationError(member, target_path)
tarfile.LinkOutsideDestinationError: 'Cores-VeeR-EH1-915fb34a5b38ef14c5d5c05431765ad8b912bc34/testbench/tests/dhry/crt0.s' would link to '/home/sabari.pillai/asm/crt0.s', which is outside the destination

Please give some input for this issue to resolve

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `fusesoc run --target=sim --setup --build veerwolf` with the reported Verilator and Python 3.10 environment. Read the traceback through FuseSoC's GitHub provider and Python's tarfile extraction, especially the `LinkOutsideDestinationError` for `testbench/tests/dhry/crt0.s`. Done means the VeeRwolf target completes setup and build without this extraction failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.