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

Compilation with conda failes at mknod Operation not permitted #275

Open
RaphaelKlink opened this issue May 23, 2023 · 0 comments
Open

Compilation with conda failes at mknod Operation not permitted #275

RaphaelKlink opened this issue May 23, 2023 · 0 comments

Comments

@RaphaelKlink
Copy link

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$

@RaphaelKlink RaphaelKlink changed the title mknod Operation not permitted Compilation with conda failes at mknod Operation not permitted May 23, 2023
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