Friday, 2026-04-10

*** Mister_Magister_ is now known as Mister_Magister13:37
nephrosrubdos[m]: would you have any idea why cargo/rust insists on adding -m32 to the gcc options here?20:09
nephroshttps://build.sailfishos.org/package/show/home:nephros:devel:packaging/forgejo-cli20:10
rubdos[m]First guess is that it's building some build-time dependency and trying to link it with the runtime gcc20:21
rubdos[m]let  me check my assumptions20:21
rubdos[m]yep, pretty sure20: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 tooling20:23
nephrosrubdos[m]: excellent, thanks a lot!21:01
rubdos[m]did it work? :)21:02
nephrosinconclusive - it's building.21:03
rubdos[m]🙏21:04
nephroseh, 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, no21: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 exist21: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 internally21:13
rubdos[m]I'd say: do steal some from Whisperfish, but it currently doesn't chum21:14
rubdos[m]https://build.sailfishos.org/package/view_file/home:rubdos:whisperfish/Whisperfish/_service:tar_git:harbour-whisperfish.spec?expand=121:14
nephrosrubdos[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.8921: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
nephrosI'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
nephrosNot 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/!