| *** Mister_Magister_ is now known as Mister_Magister | 13:37 | |
| nephros | rubdos[m]: would you have any idea why cargo/rust insists on adding -m32 to the gcc options here? | 20:09 |
|---|---|---|
| nephros | https://build.sailfishos.org/package/show/home:nephros:devel:packaging/forgejo-cli | 20:10 |
| rubdos[m] | First guess is that it's building some build-time dependency and trying to link it with the runtime gcc | 20:21 |
| rubdos[m] | let me check my assumptions | 20:21 |
| rubdos[m] | yep, pretty sure | 20:21 |
| rubdos[m] | throw this in:... (full message at <https://matrix.org/oftc/media/v1/media/download/AXOxeEoM5HS8NbNtj7z45shHXVHG6Wx3fTHK5_s-dPj6vh46VRXtVwa7z7kH98ux6Hh5b3HsToHcWWQDiMIr-MlCedwSfmOQAG1hdHJpeC5vcmcvZlpacG1oalp0aklSR3J1d1JxU2JNelVO>) | 20:21 |
| rubdos[m] | instead of the CC/CXX etc vars that you already have :-) | 20:22 |
| rubdos[m] | * throw this in:... (full message at <https://matrix.org/oftc/media/v1/media/download/AS-E7WdJdLE3FfdbC3rJJFvTE2eWLZ8Hl-dnPI8_q8KBw0iFb1bS6G3ABhd3Os1JPJJZAY1wM3TQNaS6VkZCobFCedwShsowAG1hdHJpeC5vcmcvT01GVVByQmx5WE5hWExCSmxLa2pCSk5K>) | 20:22 |
| rubdos[m] | the current CC override sets the default gcc for everything, which is the "cross compiler" for your target, which fails for tooling | 20:23 |
| nephros | rubdos[m]: excellent, thanks a lot! | 21:01 |
| rubdos[m] | did it work? :) | 21:02 |
| nephros | inconclusive - it's building. | 21:03 |
| rubdos[m] | 🙏 | 21:04 |
| nephros | eh, no. same thing... note I did create the vendor.tar on a 32bit system, could that have an influence? | 21:05 |
| rubdos[m] | vendor.tar shouldn't influence anything, no | 21:10 |
| rubdos[m] | it's still calling "gcc"? | 21:10 |
| rubdos[m] | not the meego-prefixed ones? | 21:10 |
| rubdos[m] | Most of those RUST_HOST_TARGET shouldn't be there, but I'm not even sure those exist | 21:12 |
| rubdos[m] | You're basically pretending to use a normal Rust compiler, and only that SB2 variable switches it around to a cross compiler internally | 21:13 |
| rubdos[m] | I'd say: do steal some from Whisperfish, but it currently doesn't chum | 21:14 |
| rubdos[m] | https://build.sailfishos.org/package/view_file/home:rubdos:whisperfish/Whisperfish/_service:tar_git:harbour-whisperfish.spec?expand=1 | 21:14 |
| nephros | rubdos[m]: Thanks. I shall try to fix it copying the silent fish. That particular tool *should* chum, at least judging from the fact i586 compiles witout issues. | 21:41 |
| nephros | (... well that very outdated version of the tool that is. Current versions need newer rust...) | 21:42 |
| rubdos[m] | I had Whisperfish chum very well before we ported Rust 1.89 | 21:42 |
| rubdos[m] | Next time we work on a Rust bump, we should make sure it ends up on Chum, then it is usable for all of us. | 21:43 |
| nephros | I'm really not a toolchain person, but I like that Gentoo ships a rust-bin package with around 30 versions to choose from (and install in parallel). | 21:45 |
| rubdos[m] | That's convenient! Although the whole world is on rustup, and while I don't like having a package-manager-in-a-package-manager... it works quite well. | 22:13 |
| rubdos[m] | (but not for Sailfish) | 22:13 |
| rubdos[m] | Ooof, I only realized I'm on the IRC channel here and I'm using my Matrix edit-a-message function. Sorry for the bloat. | 22:13 |
| rubdos[m] | Good night! | 22:14 |
| nephros | Not at all a bother. Sleep well! | 22:14 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!