| 15 Apr 2025 |
Alyssa Ross | Once that's done, your PR can be merged, and we'll have a bootstrap for your platform. | 08:03:53 |
K900 | I believe @hexa has access now | 08:03:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Sure, I'll try that | 08:11:46 |
Alyssa Ross | Feel free to request my review on the make-bootstrap-tools-cross.nix PR | 08:12:42 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @qyliss:fairydust.space
Once that's done, the bootstrap tarball needs to be uploaded to tarballs.nixos.org. To do that, open a draft PR adding the bootstrap tarball in pkgs/stdenv/linux/bootstrap-files, then fill in the form as used on https://github.com/NixOS/nixpkgs/pull/283492 (everything after "So, following the script established by previous bootstrap tools updates:"). Then you need to get somebody who has access to S3 to reproduce and upload the tarball. In the past that's been lovesegfault — not sure whether anybody else can do it now.
So I still have to build the first tarball on hydra? | 08:37:37 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I don't have any permission on hydra yet | 08:37:49 |
K900 | It should happen automatically with the next channel update | 08:38:03 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Oh, I misunderstood that. | 08:40:06 |
Alyssa Ross | Oh yeah I forgot to actually say that | 08:43:36 |
trofi | I think https://github.com/NixOS/nixpkgs/tree/master/maintainers/scripts/bootstrap-files#how-to-add-bootstrap-files-for-a-new-target should cover it | 12:30:53 |
Tristan Ross | In reply to @qyliss:fairydust.space Once that's done, your PR can be merged, and we'll have a bootstrap for your platform. Might not be a bad idea to formalize the documentation on that for easier future reference. | 14:09:26 |
Alyssa Ross | If anybody wants to they're very welcome to adapt my write-up therr | 14:10:18 |
Alyssa Ross | * | 14:10:27 |
emily | isn't that what ^ is? | 14:10:52 |
Tristan Ross | Oh, I'm still waking up and didn't see everything lol | 14:11:37 |
| 16 Apr 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I've got the first stumbling block | 08:43:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://github.com/loongson-community/discussions/issues/29 | 08:43:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | glibc on loongarch64 doesn't provide a libutil.so but our stdenv-bootstrap-tools requires one | 08:44:51 |
Alyssa Ross | We should be able to just drop that from all bootstrap tools | 08:45:04 |
Alyssa Ross | (All Glibc bootstrap tools) | 08:45:15 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @qyliss:fairydust.space We should be able to just drop that from all bootstrap tools But what about the final native glibc on loongarch64? Do we just leave it as is? | 08:47:53 |
Alyssa Ross | Yes, there's no need for libutil nowadays | 08:48:23 |
Alyssa Ross | It's an empty library. Anything trying to load it can just be told not to. | 08:48:52 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | And I just remove the command copying libutil*.so* to $out unconditionally? Or I just check if it exists? | 08:49:37 |
Alyssa Ross | Remove it unconditionally IMO | 08:49:46 |
Alyssa Ross | We can check nothing breaks in the bootstrap for other platforms, but I don't expect it will. | 08:50:17 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Okay. I don't have the bandwidth to test other platforms tho | 08:50:25 |
Alyssa Ross | I don't mind. | 08:50:37 |
Alyssa Ross | It's not a lot of work. | 08:50:40 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | And bash in bootstrap-tools links against readline. Yes, I know this should not happen, because we use bashNonInteractive, but, it happens | 10:52:44 |