-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
librsvg: update to 2.44.7. (and rust fixes for armv7) #3558
Conversation
There are a few errors during cross build:
Looks like missing RUSTFLAGS. I'd like to set them globally like we set our CFLAGS as I expect that rust will sneak into many projects without being a cargo build-style. |
Sounds good, yes.
No, that's actually due to rust using not suffixing armv7l with a |
Currently testing this. librsvg already cross builds for everything but armv7l though. |
Ack, had a power outage, currently rebuilding rust for x86_64 - armv7l already built. Will test librsvg afterwards. |
cross compiling librsvg on armv7l works now. |
We still need to fix rust on arm*-musl. |
Alright, I'll leave that to you :) |
So, what is left to do here? |
Maybe you could compile this on arm*musleabihf @jnbr, you already have the rust binpkgs :) |
Do we really need the armv7l targets? |
85c6a1c
to
66c9178
Compare
Alright, I've reworked it, please take a 2nd look. |
6e1fc63
to
f08e831
Compare
Alright, this works on aarch64 now - but librsvg fails to link on some other platforms. Will look into this tomorrow |
Can you post logs? |
They all fail with something along the lines of https://gist.github.com/e63b8db8c3d9c51366fb2aa1224dc469 aarch64 works for some reason though |
It uses host libraries. |
Here's a verbose log: https://paste.pound-python.org/show/qu2G4p9e72x2f5zI20Vb/ |
only added to platforms which support rust
Alright, all arches other than aarch64-musl work from x86_64, but not from x86_64-musl, opened an issue about it upstream: https://gitlab.gnome.org/GNOME/librsvg/issues/360 |
Seems to be just another case of rust treating musl as something special.
|
I opened #3778 which fixes this. Tested on x86_64-musl and armv7[-musl]. |
#3778 is merged |
Alright, does this need further testing or are you doing that already @Gottox? |
lgtm 👍 |
gnome-shell on x86_64 is broken in a different way than before this update. 😄 |
Eh? On x86_64? |
Yep, but already got a fix :) |
fixed by f532213 |
x86_64-musl, sry |
Ah, that's why I was so confused :) |
also cross builds now that rust cross build is a thingx