-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[2025.5.0] 初期アイコンの生成がarm64の一部プロセッサだとうまく行かない? #16098
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
Comments
今年は2025年なのでタイトルを修正 |
(Sharkeyのv2025.4.2-rcですが) |
The particular error generated is Illegal Instruction, which implies @napi-rs/canvas tried to execute an instruction the CPU doesn't support. I would suspect this may mean it works on some arm64 devices (like the M2 Mac) but not others (like the RPi4). Though really this is out of scope for Misskey and should be resolved upstream Brooooooklyn/canvas#1050 |
In the meantime, probably better to downgrade and pin the napi-rs/canvas deendency to 0.1.68, according to bitfocus/companion@c437b02 |
This most definitely is due to missing dependencies as you need pixman, cairo and pango installed on your system if you don't use the docker. see: https://activitypub.software/TransFem-org/Sharkey/-/blob/develop/Dockerfile?ref_type=heads#L7 https://activitypub.software/TransFem-org/Sharkey/-/issues/1021#note_12317 If it still fails to build then something else might be wrong as it builds fine on our arm64 runners as well as for most people running it without docker. |
I checked the dependency itself with dnf and it was included. but, when building, I get an error that uint8_t and state are not declared within the scope, so I'm wondering if something is wrong. I'll look into this a bit more (it's working fine now so there's not much need to look into it, but I'm curious). I have almost no knowledge of C so I think I must be doing something wrong. |
Raspi 4など一部のプロセッサしか影響を受けていないっぽいのでissueタイトルを変更 |
@AmaseCocoa what g++/gcc version is on the pi? I assume 13.2 as that is latest on noble/lts. cause afaik there were issues with specific gcc 13 versions where check out microsoft/vcpkg#31270 |
Thanks. It looks like Fedora 42 ships with gcc and g++ 15.1.1. I tried it, but Fedora 42 may not distribute gcc-13 or gcc-12, so I decided to compile gcc myself and give it a try. |
I mentioned the problem of not starting in #16080 on a Raspi4 under Ubuntu 24.04.2. |
OK, I solved the problem by compiling gcc/g++ 13.3.0 and changing CC and CXX environment variables to the path to compiled gcc/g++ |
Originally posted by @squidink7 in #16080 (reply in thread)
The text was updated successfully, but these errors were encountered: