firesim / FireMarshal

Software workload management tool for RISC-V based SoC research. This is the default workload management tool for Chipyard and FireSim.
https://docs.fires.im/en/latest/Advanced-Usage/Workloads/index.html
Other
76 stars 51 forks source link

Compilation with conda failes at mknod Operation not permitted #275

Open RaphaelKlink opened 1 year ago

RaphaelKlink commented 1 year ago

Hey i tried to compile firemarshal with conda and get this problem.

I have compiled firemarshal before without conda and it worked without problems, but after switching to conda i can not find a way to fix this error in the attached log.

Did anyone else has this problem also after the switch to conda?

LOG: DEBUG: printf ' \n' >> /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/fakeroot DEBUG: printf ' \n' >> /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/fakeroot DEBUG: printf ' cd /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/target && find . | LC_ALL=C sort | cpio --quiet -o -H newc > /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/images/rootfs.cpio\n' >> /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/fakeroot DEBUG: chmod a+x /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/fakeroot DEBUG: PATH="/home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/host/bin:/home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/host/sbin:/home/raphael/miniforge3/envs/ucbfiremarshal/riscv-tools/bin:/home/raphael/miniforge3/envs/ucbfiremarshal/bin:/home/raphael/miniforge3/condabin:/tools/Xilinx/DocNav:/tools/Xilinx/Vivado/2019.2/bin:/home/raphael/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" FAKEROOTDONTTRYCHOWN=1 /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/host/bin/fakeroot -- /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/fakeroot DEBUG: rootdir=/home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/target DEBUG: table='/home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/full_devices_table.txt' DEBUG: mknod: /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-fs/cpio/target/dev/console: Operation not permitted DEBUG: make[1]: [fs/cpio/cpio.mk:118: /home/raphael/FireMarshal/boards/default/distros/br/buildroot/output/images/rootfs.cpio] Error 1 DEBUG: make: [Makefile:84: _all] Error 2 TaskError - taskid:/home/raphael/FireMarshal/images/firechip/br.53c9/br.53c9.img PythonAction Error Traceback (most recent call last): File "/home/raphael/.local/lib/python3.10/site-packages/doit/action.py", line 437, in execute returned_value = self.py_callable(*self.args, **kwargs) File "/home/raphael/FireMarshal/boards/firechip/distros/br/br.py", line 193, in buildBaseImage wlutil.run(['make'], cwd=br_dir / "buildroot", env=env) File "/home/raphael/FireMarshal/wlutil/wlutil.py", line 527, 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/raphael/FireMarshal/logs/br-base-build-2023-05-23--13-37-17-3UUEN159V48TZ85V.log ERROR: FAILURE: 1 builds failed (ucbfiremarshal) raphael@raphael-vm-2204:~/FireMarshal$