[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Interested in Debian Bazel efforts

Hi Olek,

Yes, I'd like to bump bazel-bootstrap to 4.0 once bullseye is released and then backport 4.0 to bullseye. Unfortunately, upgrading it at this point in the release cycle is not possible. I've also wondered if continuing to maintain bazel-bootstrap after the bazel-4 packages are available is worth the effort. I change my mind on that every few weeks. ;) I think we'll be able to have a better discussion about that once the bazel-4 package and dependencies are available.

The major use-case for bazel-bootstrap is if we want to start building Bazel for an architecture which is not currently supported. Since Bazel *is* able to bootstrap itself, I think that we might be able to bootstrap from bazel-4 instead using Architecture: all packages that are now available (or will be soon).

Bazel supports cross compilation, but I am not sure about the extra complexities involved. I think it is nice to continue having a path to build Bazel without Bazel, but I don't know if it is worth the effort. Indeed, we can have a better discussion on the topic after we got the full Bazel ready.

Regarding your package, it looks great overall! I see that you fixed a couple hacks I had in there that I keep meaning to address so I appreciate that! :) I just gave you access to the main Salsa repository so that you can work on branches there. I see that the CI is failing on your latest commit though so would you be able to take a look at that? I hope I'll have time in the next week or so to do a test build locally and possibly give you some more feedback.

Thanks! I pushed to "jc-4.0.0" branch. I will leave "master", "upstream", "pristine-tar" and tags to you at the moment. CI is passing now. "unzip" is not installed on build machine, so I have to commit to "pristine-tar" [1]. I have also updated the ccache workaround [2], due an upstream change [3].

By the way, I tried to use the 4.0.0 bootstrap package to build Bazel master branch (eba3c22) with "bazel build //src:bazel", it works and the generated binary works as well! Though, it downloads a bunch of stuff from the Internet.


[1]: https://salsa.debian.org/jc/bazel-bootstrap/-/commit/cef6b8ce3ec46b1793bb9c4be606123f3f6baaf4

[2]: https://salsa.debian.org/jc/bazel-bootstrap/-/commit/0662e015b45aa28c6b832edec0ff4440ade16ba2

[3]: https://github.com/bazelbuild/bazel/commit/a463d9095386b22c121d20957222dbb44caef7d4

Attachment: OpenPGP_0xA102C2F15053B4F7.asc
Description: OpenPGP public key

Attachment: OpenPGP_0xA102C2F15053B4F7.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: