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

Bazel Packaging Update



Hello fellow Bazel packaging aficionados! I realized that it's been a while since I've posted an update here. Apologies for that. I've been dealing with some life and career changes and was using any spare time working on the Bazel packaging, but that doesn't excuse the lack of communication about said packaging.

So, where are we? I've been working hard on trying to get 5.x packaged. The eventual goal of being able to build Debian packages with Bazel really can't move forward until we have a newer version of Bazel. There are so many hacks in the current version and at least some of them won't be necessary with newer versions of Bazel. Preferably 6.x.

The problem is that in the fast pace of the original packaging effort, we only did the bare minimum that was necessary for a functioning bazel-bootstrap 3.x. Some of the hacks that allowed that to work don't seem to be working in 5.x which is why I changed course and have been trying to go back and clean up some of the packaging for dependencies. For example, adding additional modules in Checker Framework.

I've tried to keep the wiki updated but I think I've missed a couple things. For example, as far as I can tell 5.x is going to require us to package the Bazel java-tools first. And probably Stardoc. Good news is that I've figured out a way to build those both right from the bazel-bootstrap source package. (Haven't updated the bug reports yet) Bad news? You guessed it, we're missing some dependencies. The latest thing I've figured out that we're missing is Turbine. I just uploaded what I have so far to Salsa [1] if anyone wants to take a look. Don't let the single commit fool you, that's about my 10th try! ;) I fully expect that repo may get nuked again before it's all over, that's why there's no master/main branch. In keeping with our theme, Turbine is not building either and, from what I can tell, I think it's the missing javac from error-prone [2]. Yay dependencies! :)

This is a good time to remind everyone that I'm not an expert in either Java or Bazel. About the only thing I know a lot about is all of the hacks we made (with great help from upstream!) to make Bazel work at all in Debian. ;) Soooo... help always appreciated and feel free to let me know if I made a stupid mistake somewhere. Bonus points if you fix said stupid mistake. :)

Ok, that's about all the time I have but I really wanted to get something out there to restart communication.

Again, PLEASE let me know if there's some part of this that any of you are willing to work on. For the non-DDs, I'm happy to review and sponsor!

Hope everyone has a great weekend!

-Olek

[1] https://salsa.debian.org/java-team/turbine-java
[2] https://salsa.debian.org/java-team/error-prone-java

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: