-
Notifications
You must be signed in to change notification settings - Fork 392
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
freebsd: include libkvm in build image #613
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm! Thank you
bors r+
613: freebsd: include libkvm in build image r=Emilgardis a=wg Cross builds targeting FreeBSD currently fail for projects depending on version 0.2.105+ of the libc crate due to a new dependency on libkvm, introduced here: rust-lang/libc@9ab890d#diff-75cac48df6376b0d5783bc764c591d1a896a92429653beda3f0b3e93aa8c339fR290 The compilation error looks like: ``` error: linking with `x86_64-unknown-freebsd12-gcc` failed: exit status: 1 ... = note: /usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status ``` This PR adds the static and shared libkvm binaries to the build image to resolve this issue. Co-authored-by: Will <will@glozer.net>
Build failed:
|
The build error was a certificate issue with curl
I just tried to build this locally and it worked. Perhaps it was a fluke? |
I agree, lets try again bors retry note that this wont get published rn, see #609 |
613: freebsd: include libkvm in build image r=Emilgardis a=wg Cross builds targeting FreeBSD currently fail for projects depending on version 0.2.105+ of the libc crate due to a new dependency on libkvm, introduced here: rust-lang/libc@9ab890d#diff-75cac48df6376b0d5783bc764c591d1a896a92429653beda3f0b3e93aa8c339fR290 The compilation error looks like: ``` error: linking with `x86_64-unknown-freebsd12-gcc` failed: exit status: 1 ... = note: /usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status ``` This PR adds the static and shared libkvm binaries to the build image to resolve this issue. Co-authored-by: Will <will@glozer.net>
Build failed: |
Is it worth trying this again? The failures do still look unrelated to the changes here. I was also able to build locally. |
Similar to cross-rs#613 include libdevstat seems to be required now too. Probably due to rust-lang/libc@ac6e16b Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
@Emilgardis can we please get this merged? This is currently entirely broken without this change. |
Yes, this is to be included, however CI is completely broken right now, see #609 If you need this right now, you can use your own images. See https://github.com/rust-embedded/cross#custom-docker-images Sorry for the non-satisfactory workaround for this specific issue. You'd probably need to download the base.txz freebsd again. |
CI is currently failing due to [1] and [2], and they are not getting merged upstream due to [3] being required first. We have to reenable this once this is resolved. [1]: cross-rs/cross#613 [2]: cross-rs/cross#620 [3]: cross-rs/cross#609
32: fix: temporarily disable building and testing on FreeBSD r=pitkley a=pitkley CI is currently failing due to [1] and [2], and they are not getting merged upstream due to [3] being required first. We have to reenable this once this is resolved. [1]: cross-rs/cross#613 [2]: cross-rs/cross#620 [3]: cross-rs/cross#609 Co-authored-by: Pit Kleyersburg <pitkley@googlemail.com>
CI is currently failing due to [1] and [2], and they are not getting merged upstream due to [3] being required first. We have to reenable this once this is resolved. [1]: cross-rs/cross#613 [2]: cross-rs/cross#620 [3]: cross-rs/cross#609
32: fix: temporarily disable building and testing on FreeBSD r=pitkley a=pitkley CI is currently failing due to [1] and [2], and they are not getting merged upstream due to [3] being required first. We have to reenable this once this is resolved. [1]: cross-rs/cross#613 [2]: cross-rs/cross#620 [3]: cross-rs/cross#609 Co-authored-by: Pit Kleyersburg <pitkley@googlemail.com>
CI is currently failing due to [1] and [2], and they are not getting merged upstream due to [3] being required first. We have to reenable this once this is resolved. [1]: cross-rs/cross#613 [2]: cross-rs/cross#620 [3]: cross-rs/cross#609
32: fix: temporarily disable building and testing on FreeBSD r=pitkley a=pitkley CI is currently failing due to [1] and [2], and they are not getting merged upstream due to [3] being required first. We have to reenable this once this is resolved. [1]: cross-rs/cross#613 [2]: cross-rs/cross#620 [3]: cross-rs/cross#609 Co-authored-by: Pit Kleyersburg <pitkley@googlemail.com>
Contains fixes from cross-rs#613 and cross-rs#620
We're currently waiting on cross-rs/cross#613 and cross-rs/cross#620 to be merged and released for cross. Until then, we're fixing this ourselves downstream with a custom FreeBSD image.
We're currently waiting on cross-rs/cross#613 and cross-rs/cross#620 to be merged and released for cross. Until then, we're fixing this ourselves downstream with a custom FreeBSD image.
Similar to cross-rs#613 include libdevstat seems to be required now too. Probably due to rust-lang/libc@ac6e16b Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
included in #609 |
Cross builds targeting FreeBSD currently fail for projects depending on version 0.2.105+ of the libc crate due to a new dependency on libkvm, introduced here: rust-lang/libc@9ab890d#diff-75cac48df6376b0d5783bc764c591d1a896a92429653beda3f0b3e93aa8c339fR290
The compilation error looks like:
This PR adds the static and shared libkvm binaries to the build image to resolve this issue.