kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/post/Kando-1-0-0-released-G2G5Z1DOS
Other
1.23k stars 28 forks source link

Does not build for musl #338

Closed blacklightpy closed 4 months ago

blacklightpy commented 4 months ago

After npm run package, the binary I get does not run due to SIGSEV (segmentation fault). This generally means the binary is built for glibc. I'm on Void Linux musl edition so I need it to build for musl.

Schneegans commented 4 months ago

Hi there! Thanks for the report. Does this work?

npm install
npm start

Or does this result in a segfault as well? The build process uses cmake-js to build the native libraries. You can use the command npx cmake-js reconfigure in Kando's source directory to reconfigure the CMake-part of Kando. This will print the compiler which was found. Maybe this gives some hints?

blacklightpy commented 4 months ago

Actually this is an electron bug, not Kando's.

Issue: https://github.com/electron/electron/issues/9662

blacklightpy commented 4 months ago

@Schneegans can you make Flatpak for this?

Schneegans commented 4 months ago

I think that should be possible. I'll look into this!

blacklightpy commented 4 months ago
npm install
npm start

Or does this result in a segfault as well? The build process uses cmake-js to build the native libraries. You can use the command npx cmake-js reconfigure in Kando's source directory to reconfigure the CMake-part of Kando. This will print the compiler which was found. Maybe this gives some hints?

I was multitasking btw so I didn't notice this message :v

Let me see.. npm start didn't run anything, except showing a message that it was running on localhost:9000, and stopped immediately.

I tried it after npx cmake-js reconfigure, but there was no change. It should be electron's fault.