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

Building the example partition with on x86-64-unknown-linux-gnu fails #59

Closed
cvengler opened this issue May 17, 2023 · 1 comment
Closed

Comments

@cvengler
Copy link
Member

Modifying the flake.nix in order to build the partition for x86-64-unknown-linux-gnu results in the following runtime errors:

 ERROR a653rs_linux_hypervisor::hypervisor::linux > No such file or directory (os error 2)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ENOENT: No such file or directory', hypervisor/src/hypervisor/partition.rs:264:54
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR a653rs_linux_hypervisor::hypervisor::linux > No such file or directory (os error 2)
/nix/store/30n5h1g32j9g8jg3iw9svznyr1kbc2hb-devshell-dir/bin/run-hypervisor-hello-example: line 9: 126039 Killed                  RUST_LOG=${RUST_LOG:=trace} cargo run -p a653rs-linux-hypervisor --release -- examples/hello_part/hypervisor_config.yaml
 ERROR a653rs_linux_hypervisor::hypervisor::linux > failed to kill the cgroup

I truly understand, that there is no real need for the GNU target, but I see no reason why it should fail either. Beside this, I currently need this target, as I am working on a feature for which the musl support is already merged into upstream but not packaged into a release.

@cvengler
Copy link
Member Author

Nevermind, I have to debug better...
Changing the paths in the config is required as well...

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