Re: Faild to build workload br-base.json

725 views
Skip to first unread message
Message has been deleted

nat...@berkeley.edu

unread,
Jun 21, 2022, 7:22:32 PM6/21/22
to Chipyard
This sounds like transient issue in buildroot. Buildroot is not very robust to network interruptions or other errors while downloading things. You can just trying running it again now and see if it works. You can also go into distros/br/buildroot and run "git clean -fdx" to completely reset buildroot and try again. If that doesn't work, you may need to re-clone FireMarshal.

On Monday, June 20, 2022 at 11:58:56 PM UTC-7 Tatsuya wrote:
I follow the steps in the document of Chipyard.
When I build br-base.json in firemarshall folder with following commands.

I encounted this error and following informations were displayed on the terminal.

DEBUG: package/pkg-generic.mk:143: recipe for target '/home/neutron/usui/chipyard/software/firemarshal/boards/default                             /distros/br/buildroot/output/build/host-libzlib-1.2.11/.stamp_downloaded' failed
DEBUG: make: *** [/home/neutron/usui/chipyard/software/firemarshal/boards/default/distros/br/buildroot/output/build/host-libzlib-1.2.11/.stamp_downloaded] Error 1
TaskError - taskid:/home/neutron/usui/chipyard/software/firemarshal/images/br.4ee2.img
PythonAction Error
Traceback (most recent call last):
  File "/home/neutron/.local/lib/python3.6/site-packages/doit/action.py", line 437, in execute
    returned_value = self.py_callable(*self.args, **kwargs)
  File "/home/neutron/usui/chipyard/software/firemarshal/boards/prototype/distros/br/br.py", line 184, in buildBaseIm                                                                                                                        age
    wlutil.run(['make'], cwd=br_dir / "buildroot", env=env)
  File "/home/neutron/usui/chipyard/software/firemarshal/wlutil/wlutil.py", line 511, in run
   raise sp.CalledProcessError(p.returncode, prettyCmd)
subprocess.CalledProcessError: Command 'make' returned non-zero exit status 2.

ERROR: Failed to build workload br-base.json
Log available at: /home/neutron/usui/chipyard/software/firemarshal/logs/br-base-build-2022-06-21--06-33-35-ADAAK0KXTYVUER1M.log

I didn't modify any files and followed the tutorial completely. Is it a compiler problem or a file problem? How should I solve it?

My environment is here.
- OS:Ubuntu 18.04
- CPU : Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz
- Memory: 16GB

Regards
Message has been deleted
Message has been deleted

SHANKAR P

unread,
Jan 29, 2024, 5:37:48 AM1/29/24
to Chipyard
Have this been resolved?
Reply all
Reply to author
Forward
0 new messages