!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
128 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping)but theyre all unrelated afaik22:00:07
@quadradical:federated.nexusQuadRadical (Ping) like this stuff cannot be related in the slightest configure:14086: error: possibly undefined macro: AM_NLS 22:00:25
@emilazy:matrix.orgemilyyes, lots of packages are always broken22:00:43
@quadradical:federated.nexusQuadRadical (Ping)nice lol22:01:06
@quadradical:federated.nexusQuadRadical (Ping)uh22:01:07
@quadradical:federated.nexusQuadRadical (Ping)ill just make it then ig22:01:09
@quadradical:federated.nexusQuadRadical (Ping) done: https://github.com/NixOS/nixpkgs/pull/424930 22:02:13
@emilazy:matrix.orgemily this is missing the .devs again? 22:18:23
@emilazy:matrix.orgemilyweren't those required?22:18:25
14 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping) i found they werent 00:42:12
@quadradical:federated.nexusQuadRadical (Ping) ^^ 00:42:19
@quadradical:federated.nexusQuadRadical (Ping)it reproducably succeeds every time00:42:26
@quadradical:federated.nexusQuadRadical (Ping)have you tested it as well?00:42:33
@emilazy:matrix.orgemilyno, I believe you though01:02:52
@emilazy:matrix.orgemilyit's just that it's a very strange hack to get around whatever is going on that is really weird about the build here01:03:12
@emilazy:matrix.orgemily^ should be closer to the correct thing, although it still shouldn't be necessary01:03:40
@quadradical:federated.nexusQuadRadical (Ping) oh, so youd prefer i used that variable? 01:25:19
@quadradical:federated.nexusQuadRadical (Ping)i can most certainly do that instead01:25:31
@emilazy:matrix.orgemily well I'd prefer someone who knows about how pkg-config is meant to work with cross take a look :P 01:25:43
@emilazy:matrix.orgemily but the PKG_CONFIG_PATH thing is at least not-as-wrong hopefully 01:25:55
@quadradical:federated.nexusQuadRadical (Ping)I should probably do that for now then, right?01:26:09
@emilazy:matrix.orgemilyit's at least less confusing imo01:26:24
@emilazy:matrix.orgemily since it does not involve duplicating udev 01:26:29
@quadradical:federated.nexusQuadRadical (Ping)ill do it now01:26:31
@quadradical:federated.nexusQuadRadical (Ping)thanks!01:26:40
@artturin:matrix.orgArtturinCould be something wonky here https://github.com/stratis-storage/devicemapper-rs/blob/59e04984047cba0be7ea743c826bf825ddc7989e/devicemapper-rs-sys/build.rs#L3001:33:30
@emilazy:matrix.orgemilyso apparently they only use it for includes and not libraries01:34:06
@emilazy:matrix.orgemily and someone added the disable_cargo_metadata feature to avoid the pkg_config crate telling Cargo how to link with the library because they were having cross issues 01:34:25
@emilazy:matrix.orgemily but AFAICT the pkg_config crate is meant to handle cross-compilation properly, so at most we should need a "useless" lvm2 dep for build platform 01:34:44
@emilazy:matrix.orgemilyit will read target-suffixed env variables01:34:55

Show newer messages


Back to Room ListRoom Version: 6