| 4 Aug 2025 |
emily | are we sure that it's not just a missing C compiler for the build platform for build script stuff or something. idk | 17:32:36 |
dramforever | i'm not sure, but without the actual expression i can only just guess... | 17:38:13 |
dramforever | wait | 17:38:38 |
dramforever | nevermind, it probably is that | 17:38:43 |
dramforever | https://github.com/briansmith/ring/issues/2009 | 17:38:46 |
dramforever | Caused by:
process didn't exit successfully: /home/ibrahimkaan/remote-service/target/release/build/ring-bd52227bc0c72a9b/build-script-build (exit status: 1)
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
| 17:39:22 |
dramforever | why can't i reproduce this then...? | 17:39:51 |
dramforever | oooh thank you i think i got it | 17:43:37 |
dramforever | zenoh_cpp_vendor is https://github.com/ros2/rmw_zenoh/tree/rolling/zenoh_cpp_vendor | 17:43:51 |
dramforever | which is https://github.com/eclipse-zenoh/zenoh-cpp | 17:44:03 |
dramforever | which depends on https://github.com/eclipse-zenoh/zenoh-c, which build-depends on zenoh (i'm going to stop posting links), which depends on ring | 17:45:22 |
dramforever | * which depends on https://github.com/eclipse-zenoh/zenoh-c, which build-depends on zenoh (i'm going to stop posting more links), which depends on ring | 17:45:32 |
emily | and this is a build.rs dep? | 17:46:00 |
dramforever | indirect dep of zenoh-c's build.rs, i think | 17:46:54 |
dramforever | if only i can find where it is | 17:46:58 |
dramforever | so this package might just literally not be cross-able | 17:47:30 |
dramforever | oh, i misread | 17:49:08 |
dramforever | zenoh-c has zenoh in both dependencies and build-dependencies | 17:49:22 |
dramforever | that makes sense | 17:49:54 |
dramforever | so it's probably just a depsBuildBuild = [ buildPackages.stdenv.cc ]; | 17:50:10 |
dramforever | ... should have realized nix-ros-overlay is just a thing, https://github.com/lopsided98/nix-ros-overlay/blob/develop/distros/humble/zenoh-cpp-vendor/default.nix | 17:52:41 |
emily | https://github.com/rust-lang/rust/issues/144919 | 17:58:49 |
emily | love to find rustc bugs while working on Nixpkgs | 17:58:52 |
kjeremy | Yes it's in nativeBuildInputs but it uses qemu if I don't use buildPackages.rustPlatform.cargoSetupHook | 17:59:17 |
dramforever | interesting | 17:59:28 |
dramforever | kjeremy: this should fix the -m64 problem | 18:00:01 |
dramforever | you can check the full log | 18:00:21 |
dramforever | it should say it's actually native compiling on x86_64 | 18:00:28 |
dramforever | for the build script | 18:00:37 |
kjeremy | dramforever: I'm basically trying to apply https://github.com/lopsided98/nix-ros-overlay/pull/558/ and get it to cross compile | 18:00:37 |