| 13 Jul 2025 |
QuadRadical (Ping) | like this stuff cannot be related in the slightest configure:14086: error: possibly undefined macro: AM_NLS | 22:00:25 |
emily | yes, lots of packages are always broken | 22:00:43 |
QuadRadical (Ping) | nice lol | 22:01:06 |
QuadRadical (Ping) | uh | 22:01:07 |
QuadRadical (Ping) | ill just make it then ig | 22:01:09 |
QuadRadical (Ping) | done: https://github.com/NixOS/nixpkgs/pull/424930 | 22:02:13 |
emily | this is missing the .devs again? | 22:18:23 |
emily | weren't those required? | 22:18:25 |
| 14 Jul 2025 |
QuadRadical (Ping) | i found they werent | 00:42:12 |
QuadRadical (Ping) | ^^ | 00:42:19 |
QuadRadical (Ping) | it reproducably succeeds every time | 00:42:26 |
QuadRadical (Ping) | have you tested it as well? | 00:42:33 |
emily | no, I believe you though | 01:02:52 |
emily | it's just that it's a very strange hack to get around whatever is going on that is really weird about the build here | 01:03:12 |
emily | ^ should be closer to the correct thing, although it still shouldn't be necessary | 01:03:40 |
QuadRadical (Ping) | oh, so youd prefer i used that variable? | 01:25:19 |
QuadRadical (Ping) | i can most certainly do that instead | 01:25:31 |
emily | well I'd prefer someone who knows about how pkg-config is meant to work with cross take a look :P | 01:25:43 |
emily | but the PKG_CONFIG_PATH thing is at least not-as-wrong hopefully | 01:25:55 |
QuadRadical (Ping) | I should probably do that for now then, right? | 01:26:09 |
emily | it's at least less confusing imo | 01:26:24 |
emily | since it does not involve duplicating udev | 01:26:29 |
QuadRadical (Ping) | ill do it now | 01:26:31 |
QuadRadical (Ping) | thanks! | 01:26:40 |
Artturin | Could be something wonky here https://github.com/stratis-storage/devicemapper-rs/blob/59e04984047cba0be7ea743c826bf825ddc7989e/devicemapper-rs-sys/build.rs#L30 | 01:33:30 |
emily | so apparently they only use it for includes and not libraries | 01:34:06 |
emily | 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 |
emily | 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 |
emily | it will read target-suffixed env variables | 01:34:55 |
emily | otoh we also PKG_CONFIG_ALLOW_CROSS = if stdenv.buildPlatform != stdenv.hostPlatform then 1 else 0; which apparently disables its logic for detecting when you're doing cross right | 01:35:15 |