!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
128 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@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
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) strictDeps shouldn't break harder, if it does something else is wrong too 21:00:22
@quadradical:federated.nexusQuadRadical (Ping) so i put this and also put it in pkgsBuildBuild rather than buildInputs? 21:00:43
@quadradical:federated.nexusQuadRadical (Ping)adding only strictDeps does nothing21:01:43
@emilazy:matrix.orgemilynah leave the deps21:01:43
@quadradical:federated.nexusQuadRadical (Ping)ah okay21:01:46
@quadradical:federated.nexusQuadRadical (Ping)so21:01:48
@quadradical:federated.nexusQuadRadical (Ping)doing strictDeps does nothing21:01:54
@quadradical:federated.nexusQuadRadical (Ping)however21:01:55
@quadradical:federated.nexusQuadRadical (Ping) "PKG_CONFIG_PATH_${stdenv.buildPlatform.config}" = "";
21:02:00

Show newer messages


Back to Room ListRoom Version: 6