| 13 Jun 2025 |
K900 | I'm trying to batch that with Frameworks 6.15 | 15:54:33 |
K900 | And Frameworks 6.15 is being annoying | 15:54:38 |
K900 | They added qdoc to a lot of places | 15:54:50 |
K900 | OK I think I'm about to just give up on strictDeps on this | 19:00:55 |
K900 | It just doesn't work with cmake | 19:01:04 |
K900 | We can kinda pretend it works for a while | 19:01:34 |
K900 | But it just doesn't and I hate cmake | 19:01:42 |
emily | is our CMake patch to fix strictDeps not working? | 19:06:41 |
K900 | Not all the way | 19:08:32 |
K900 | It helps but it doesn't fully solve the problem | 19:08:53 |
K900 | And the problem is that cmake is a giant blob of global state that is entirely shared between build and host | 19:09:07 |
emily | they do at least have variables that are meant to distinguish the two | 19:17:19 |
emily | they might not be good at it though | 19:17:21 |
K900 | The fundamental mismatch here is that in the cmake/qt world, you're supposed to build an entire Qt package as cross | 19:20:55 |
K900 | And then its crossness is encoded into the output | 19:21:04 |
K900 | Like, it will just make build tools and host libraries and encode that knowledge into its cmake files | 19:21:20 |
K900 | And when we try and give it what it thinks are two distinct Qts, one host and one build, it explodes | 19:21:41 |
emily | why would we give it two? | 19:22:12 |
K900 | Because one is nativeBuildInputs and the other is buildInputs | 19:22:23 |
emily | it's okay for a cross-built package to contain buildPlatform tools | 19:22:31 |
emily | we handle some *-configs like that | 19:22:39 |
K900 | Because we want it to use the host tools | 19:22:40 |
Alyssa Ross | This sounds like it should just be in nativeBuildInputs | 19:23:06 |
K900 | I guess technically the strictDeps-ly-correct way of doing this would be to shove everything into buildInputs | 19:23:06 |
Alyssa Ross | Same deal as with a compilerr | 19:23:10 |
K900 | And pretend nativeBuildInputs don't exist | 19:23:12 |
Alyssa Ross | * | 19:23:14 |
K900 | Actually yes the opposite | 19:23:25 |
Alyssa Ross | No, the opposite | 19:23:27 |
K900 | Because it doesn't search for binaries in buildInputs | 19:23:38 |