!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
128 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping)its a dependency of udisks20:24:45
@quadradical:federated.nexusQuadRadical (Ping)so i cant cross compile gnome otherwise20:24:49
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) is it a hard dep of udisks? 20:25:02
@quadradical:federated.nexusQuadRadical (Ping) I dont know i just know i built and i got an error from this 20:25:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/storaged-project/libblockdev/blob/3dce2444723a3d5781a5de3c0d35faf82e7104e4/Makefile.am#L16 you might get away with disabling device mapper support on libblockdev when on cross, then drop thin-provisioning-tools from that. Not nice, but maybe the simplest to get a full cross gnome again20:30:04
@quadradical:federated.nexusQuadRadical (Ping) hmm 20:31:39
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)you might lose some LVM support though, so not great20:31:46
@quadradical:federated.nexusQuadRadical (Ping)i cannot fix the cross compilation?20:31:48
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i couldn't fix it, doesn't mean you can't20:32:01
@quadradical:federated.nexusQuadRadical (Ping)right so the issue is in the crate itself?20:32:11
@quadradical:federated.nexusQuadRadical (Ping) yeah but youre better with nix than me lol 20:32:22
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)eh, i only stabbed it for like half an hour, wasn't too serious about it20:32:51
@quadradical:federated.nexusQuadRadical (Ping) ah oke 20:33:26
@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

Show newer messages


Back to Room ListRoom Version: 6