Re: Differences between ports build and poudriere

From: Michael Gmelin <grembo_at_freebsd.org>
Date: Wed, 15 Jun 2022 22:57:55 UTC

> On 15. Jun 2022, at 23:11, Tatsuki Makino <tatsuki_makino@hotmail.com> wrote:
> 
> I write optimistically in reference to the ports I maintain, but it seems very difficult to port a build by Bazel.
> Only port of games/anki exist that are built by Bazel, but there are a lot of patches.
> 
> It looks like it would be better to do something about the http_archive and http_file in the WORKSPACE file.
> However, if the WORKSPACE file recurses further from there, there appears to be nothing that can be done.
> Well however I just saw Bazel yesterday :)
> 

I agree, I worked a couple of days on changing www/envoy to build using bazel last year, but I never managed to stop it from fetching files in the build phase. It was quite a nightmare, unfortunately I forgot most of what I learned about it and all the hacks I tried to make it work - my takeaway was that bazel isn’t meant to be used without being connected to the internet.

Cheers
Michael

> Regards.
> 
> Tatsuki Makino wrote on 2022/06/13 19:47:
> 
>