| 13 Jul 2025 |
emily | we can, in the vendor directory | 20:47:39 |
emily | it doesn't scale well when they have multiple consumers though | 20:47:45 |
Grimmauld (any/all) | interesting! didn't know that, thats useful | 20:48:01 |
QuadRadical (Ping) | uh i have no idea what to do | 20:49:11 |
QuadRadical (Ping) | ill check the build.rs as suggested | 20:49:15 |
emily | https://github.com/stratis-storage/devicemapper-rs/commit/2be7e2e79448b58072690d62b5b47a401c637220 https://github.com/stratis-storage/devicemapper-rs/commit/2717eff0b5d5373af62b3d14d8edcbfe2c3a1b87 | 20:49:18 |
emily | mentions cross | 20:49:19 |
emily | I don't really understand why the Cargo metadata would be a problem though… smells like they're doing something wrong | 20:50:13 |
emily | QuadRadical (Ping / Reply): did you try bumping to 1.2.0 | 20:51:37 |
emily | https://github.com/stratis-storage/devicemapper-rs/issues/965 lol yeah okay this is kind of dumb | 20:53:03 |
QuadRadical (Ping) | thin-provisioning-tools is already at 1.2.0 | 20:54:12 |
emily | oh sorry, I was checking on an old branch | 20:54:20 |
QuadRadical (Ping) | no worries | 20:54:35 |
QuadRadical (Ping) | hmm | 20:55:25 |
QuadRadical (Ping) | is there anything i can do to debug this? | 20:55:33 |
emily | I bet our bindgen hook is screwy or something. idk this is fishy. | 20:55:33 |
QuadRadical (Ping) | hmm | 20:55:39 |
emily | you can probably try setting the feature flag that was added in ^ to thin-provisioning-tools's Cargo.toml in a patch. | 20:55:52 |
QuadRadical (Ping) | ah okay! | 20:56:35 |
QuadRadical (Ping) | will do ty | 20:57:14 |
emily | I think we're holding pkg-config variables wrong for the crate. going by https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation | 20:57:26 |
QuadRadical (Ping) | interesting | 20:57:41 |
emily | can you try setting some random combination of these
HOST_PKG_CONFIG_PATH = "${pkgsBuildBuild.pkg-config}/bin/pkg-config";
"PKG_CONFIG_PATH_${stdenv.buildPlatform.config}" = "";
| 20:58:59 |
emily | just kind of throwing things at the wall. don't really have the brain tonight to properly debug this | 20:59:11 |
emily | oh! | 20:59:19 |
emily | try strictDeps = true; also | 20:59:22 |
QuadRadical (Ping) | sure | 20:59:37 |
QuadRadical (Ping) | all three | 20:59:38 |
Grimmauld (any/all) | oh yeah i forgot that might hlep | 20:59:38 |
QuadRadical (Ping) | * all three? | 20:59:44 |