!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

574 Members
125 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping)the issue is in the crate right?20:33:32
@quadradical:federated.nexusQuadRadical (Ping)thats what you said?20:33:39
@quadradical:federated.nexusQuadRadical (Ping)the devicemapper crate?20:33:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)from what i can tell (realy i am not good with this) it seems either the pkg-config path is a little broken or its using the wrong ld20:34:56
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) linker says "skipping incompatible", the log says /nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/cc. The compiler should probably be more like /nix/store/xspnj9pmwz481xdfvwh365b6fzgch4k9-aarch64-unknown-linux-gnu-gcc-wrapper-14.2.1.20250322/bin/aarch64-unknown-linux-gnu-gcc, but i am not sure how to force that 20:38:13
@quadradical:federated.nexusQuadRadical (Ping) hmm i see 20:44:05
@quadradical:federated.nexusQuadRadical (Ping) So putting lvm2 in depsBuildBuild like emily said isn't required, you think? 20:44:34
@emilazy:matrix.orgemilyif it's using the wrong compiler then that's what needs fixing rather than the architecture of the dep20:44:52
@emilazy:matrix.orgemilyit just looked like a build script thing to me20:45:02
@quadradical:federated.nexusQuadRadical (Ping)ah i see thank you20:45:15
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)dunno, emily knows more than me20:45:21
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)to me the compiler looked wonky, but i am also not super familiar with the internals of the cargo builder and how it wraps gcc/binutils20:45:51
@emilazy:matrix.orgemilythe fix is probably simple (set one env variable, patch a few lines)20:45:59
@emilazy:matrix.orgemilyit just depends on what the crate is actually doing20:46:03
@quadradical:federated.nexusQuadRadical (Ping)I see, thank you20:46:09
@emilazy:matrix.orgemily check its build.rs perhaps 20:46:13
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)(pain is the fact the crate is likely burried in the dep tree, can we actually patch crates?)20:46:44
@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

Show newer messages


Back to Room ListRoom Version: 6