!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
127 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@emilazy:matrix.orgemilywe can, in the vendor directory20:47:39
@emilazy:matrix.orgemilyit doesn't scale well when they have multiple consumers though20:47:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)interesting! didn't know that, thats useful20:48:01
@quadradical:federated.nexusQuadRadical (Ping) uh i have no idea what to do 20:49:11
@quadradical:federated.nexusQuadRadical (Ping)ill check the build.rs as suggested20:49:15
@emilazy:matrix.orgemilyhttps://github.com/stratis-storage/devicemapper-rs/commit/2be7e2e79448b58072690d62b5b47a401c637220 https://github.com/stratis-storage/devicemapper-rs/commit/2717eff0b5d5373af62b3d14d8edcbfe2c3a1b8720:49:18
@emilazy:matrix.orgemilymentions cross20:49:19
@emilazy:matrix.orgemilyI don't really understand why the Cargo metadata would be a problem though… smells like they're doing something wrong20:50:13
@emilazy:matrix.orgemily QuadRadical (Ping / Reply): did you try bumping to 1.2.0 20:51:37
@emilazy:matrix.orgemilyhttps://github.com/stratis-storage/devicemapper-rs/issues/965 lol yeah okay this is kind of dumb20:53:03
@quadradical:federated.nexusQuadRadical (Ping) thin-provisioning-tools is already at 1.2.0 20:54:12
@emilazy:matrix.orgemilyoh sorry, I was checking on an old branch20:54:20
@quadradical:federated.nexusQuadRadical (Ping)no worries20:54:35
@quadradical:federated.nexusQuadRadical (Ping)hmm20:55:25
@quadradical:federated.nexusQuadRadical (Ping)is there anything i can do to debug this?20:55:33
@emilazy:matrix.orgemilyI bet our bindgen hook is screwy or something. idk this is fishy.20:55:33
@quadradical:federated.nexusQuadRadical (Ping)hmm20:55:39
@emilazy:matrix.orgemily 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:federated.nexusQuadRadical (Ping) ah okay! 20:56:35
@quadradical:federated.nexusQuadRadical (Ping)will do ty20:57:14
@emilazy:matrix.orgemily 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:federated.nexusQuadRadical (Ping)interesting20:57:41
@emilazy:matrix.orgemily

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
@emilazy:matrix.orgemilyjust kind of throwing things at the wall. don't really have the brain tonight to properly debug this20:59:11
@emilazy:matrix.orgemilyoh!20:59:19
@emilazy:matrix.orgemily try strictDeps = true; also 20:59:22
@quadradical:federated.nexusQuadRadical (Ping)sure20:59:37
@quadradical:federated.nexusQuadRadical (Ping)all three20:59:38
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oh yeah i forgot that might hlep20:59:38
@quadradical:federated.nexusQuadRadical (Ping)* all three?20:59:44

Show newer messages


Back to Room ListRoom Version: 6