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 fails on s390x: #112

Closed
jmarrero opened this issue Aug 12, 2023 · 0 comments · Fixed by #114
Closed

Build fails on s390x: #112

jmarrero opened this issue Aug 12, 2023 · 0 comments · Fixed by #114
Assignees

Comments

@jmarrero
Copy link
Member

Build fails on s390x:

error[E0425]: cannot find value `EFIPN` in this scope
   --> /builddir/build/BUILD/rpm-ostree-2023.5.38.g0cbcf4ae/vendor/bootc-lib/src/install/baseline.rs:247:13
    |
247 |             EFIPN,
    |             ^^^^^ not found in this scope
error[E0425]: cannot find value `EFIPN_SIZE_MB` in this scope
   --> /builddir/build/BUILD/rpm-ostree-2023.5.38.g0cbcf4ae/vendor/bootc-lib/src/install/baseline.rs:248:26
    |
34  | pub(crate) const BOOTPN_SIZE_MB: u32 = 510;
    | ------------------------------------------- similarly named constant `BOOTPN_SIZE_MB` defined here
...
248 |             format!("0:+{EFIPN_SIZE_MB}M"),
    |                          ^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOTPN_SIZE_MB`
error[E0425]: cannot find value `EFIPN` in this scope
   --> /builddir/build/BUILD/rpm-ostree-2023.5.38.g0cbcf4ae/vendor/bootc-lib/src/install/baseline.rs:252:32
    |
252 |         Some(format!("{device}{EFIPN}"))
    |                                ^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `bootc-lib` due to 3 previous errors
Caused by:
  process didn't exit successfully: `rustc --crate-name bootc_lib --edition=2021 /builddir/build/BUILD/rpm-ostree-2023.5.38.g0cbcf4ae/

This blocks an rpm-ostree release as we are vendoring bootc in rpm-ostree.

@jmarrero jmarrero self-assigned this Aug 12, 2023
jmarrero added a commit to jmarrero/rpm-ostree that referenced this issue Aug 26, 2023
This picks up the fix for:
containers/bootc#112
cgwalters pushed a commit to coreos/rpm-ostree that referenced this issue Aug 26, 2023
This picks up the fix for:
containers/bootc#112
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

Successfully merging a pull request may close this issue.

1 participant