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

build failed with Permission denied #263

Open
Charles-Tang opened this issue Feb 17, 2023 · 0 comments
Open

build failed with Permission denied #263

Charles-Tang opened this issue Feb 17, 2023 · 0 comments

Comments

@Charles-Tang
Copy link

when i run command:
./marshal -v -i build boards/chipyard/base-workloads/br-base.json
I encontered error:
2023-02-17 11:02:27,278 [run ] [DEBUG] supermin: package handler: debian/dpkg
2023-02-17 11:02:27,278 [run ] [DEBUG] supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
2023-02-17 11:02:27,278 [run ] [DEBUG] supermin: build: /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
2023-02-17 11:02:27,278 [run ] [DEBUG] supermin: reading the supermin appliance
2023-02-17 11:02:27,280 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/base.tar.gz type gzip base image (tar)
2023-02-17 11:02:27,290 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar)
2023-02-17 11:02:27,331 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/excludefiles type uncompressed excludefiles
2023-02-17 11:02:27,331 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/hostfiles type uncompressed hostfiles
2023-02-17 11:02:27,333 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/init.tar.gz type gzip base image (tar)
2023-02-17 11:02:27,337 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages type uncompressed packages
2023-02-17 11:02:27,337 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-hfsplus type uncompressed packages
2023-02-17 11:02:27,337 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-reiserfs type uncompressed packages
2023-02-17 11:02:27,337 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-xfs type uncompressed packages
2023-02-17 11:02:27,338 [run ] [DEBUG] supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/udev-rules.tar.gz type gzip base image (tar)
2023-02-17 11:02:27,342 [run ] [DEBUG] supermin: mapping package names to installed packages
2023-02-17 11:02:27,383 [run ] [DEBUG] supermin: resolving full list of package dependencies
2023-02-17 11:02:27,437 [run ] [DEBUG] supermin: build: 204 packages, including dependencies
2023-02-17 11:02:27,513 [run ] [DEBUG] supermin: build: 11110 files
2023-02-17 11:02:27,541 [run ] [DEBUG] supermin: build: 6811 files, after matching excludefiles
2023-02-17 11:02:27,542 [run ] [DEBUG] supermin: build: 6814 files, after adding hostfiles
2023-02-17 11:02:27,558 [run ] [DEBUG] supermin: build: 6811 files, after removing unreadable files
2023-02-17 11:02:27,594 [run ] [DEBUG] supermin: build: 6820 files, after munging
2023-02-17 11:02:27,594 [run ] [DEBUG] supermin: kernel: looking for kernel using environment variables ...
2023-02-17 11:02:27,594 [run ] [DEBUG] supermin: kernel: looking for kernels in /lib/modules/*/vmlinuz ...
2023-02-17 11:02:27,594 [run ] [DEBUG] supermin: kernel: looking for kernels in /boot ...
2023-02-17 11:02:27,595 [run ] [DEBUG] supermin: exception: Sys_error("/boot: Permission denied")
2023-02-17 11:02:27,603 [run ] [DEBUG] libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above
2023-02-17 11:02:27,604 [run ] [DEBUG] libguestfs: trace: launch = -1 (error)
2023-02-17 11:02:27,604 [run ] [DEBUG] libguestfs: trace: close
2023-02-17 11:02:27,604 [run ] [DEBUG] libguestfs: closing guestfs handle 0x56170d744720 (state 0)
2023-02-17 11:02:27,604 [run ] [DEBUG] libguestfs: command: run: rm
2023-02-17 11:02:27,604 [run ] [DEBUG] libguestfs: command: run: \ -rf /tmp/libguestfsHdCQSD
2023-02-17 11:02:27,611 [main ] [ERROR] Failed to build workload br-base.json
2023-02-17 11:02:27,611 [main ] [INFO ] Log available at: /media/charles/0F6215370F621537/Files/BachelorDesign/chipyard/software/firemarshal/logs/br-base-build-2023-02-17--03-01-29-RSHFSBUG6GTB0V48.log
2023-02-17 11:02:27,611 [main ] [ERROR] FAILURE: 1 builds failed
it seems the command supermin have no permission to proceed, please help

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