Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2022 09:50:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262216] devel/bazel 5.0.0 does not work after successful installation on freebsd 13.0
Message-ID:  <bug-262216-7788-xdS93LKShr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262216-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262216-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262216

--- Comment #21 from Ulas SAYGIN <ulassayginim@gmail.com> ---
(In reply to Klaus Aehlig from comment #19)
yesterday i tried your patch about 5.1 version bazel and it successed to
compile and install. i will share logs later.

but meanwhile i tried envoyproxy to compile with bazel 5.0 with my old
installation. i changed bazel.rc file as additionaljdk and i added freebsd =
jdk
path to WORKSPACE file as option like documentation said and i passed parti=
ally
jdk problem and i reached another problem, google V8 engine which bazel nee=
ds
it.

after that i understand that bazel ports needs more than openJDK compilation
like,i mean bazel port only compiles jdk as required component to make bazel
working but it is general state, because when you want to bazel fully worki=
ng
you will need full tool chains or i mean other 3rparty tools which bazel wi=
ll
need it while compiling and testing the project.

in this case, we need options for bazel port like,
do you want to install all dependency ports that probably need it for bazel
build system in order to compile any project.

i mean for dependencies bazel look operation system and gets supported
dependency like v8 for linux but there is no freebsd version on their repos.
but when i look freebsd port tree, there is V8 port which is patched and
servedfor FreeBSD. V8 does not have FreeBSD support either.

as result of it, bazel port should install all other ports which is needed =
for
bazel, and we will add WORKSPACE options like i added openJDK and we can use
bazel without problem.

i found this paper,and it is about to distributions, i think we know the guy
who knows everything about bazel more than me if we look this paper author =
;)

my question is, can we make  bazel work fully with FreeBSD because only OPE=
NJDK
as requirement for this port is not enough. bazel needs more.

in fact, if we can find way to tell bazel in configuration files,=20
like please use this port on FreeBSD port tree instead of trying to download
from repo.
that can be more helpfull but i dont have knowledge about it now.

on otherhand, while i was researching bazel, i started to liking ilittle bi=
t.
it may help also FreeBSD port tree also. bu i think bazel needs UI to show =
what
is the configuration for the project, i didnt see it. but i learnt that baz=
el
has graph representation for compilation. that could be nice but not full
detailed to understand everything.

if we  have opportunity to improve bazel port, i need your help. i can help=
 for
testing and verification, while i am learning bazel.

do you have time for this?

thank you for your help me to understand bazel.

https://github.com/bazelbuild/bazel-website/blob/master/designs/_posts/2016=
-10-11-distribution-artifact.md

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262216-7788-xdS93LKShr>