Date: Sun, 27 Feb 2022 11:27:18 +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-sbYw2mjDDk@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 #1 from Klaus Aehlig <aehlig@linta.de> --- Unfortunately, I'm not able to reproduce you report (see below). I was tryi= ng on stable/12, but since the message you reported are about bazel's build-description language, I doubt that this difference is relevant. My be= st guess is that some outdated rc-file is pulled in (bazel 5.0.0 is a new major release, so quite a few incompatible changes happened). Using the `--announce_rc` option might clarify this. Other than that, I, unfortunatel= y, have no idea on how to debug further. /tmp/examples/cpp-tutorial/stage1>bazel --version bazel 5.0.0 /tmp/examples/cpp-tutorial/stage1>bazel build //main:hello-world Starting local Bazel server and connecting to it... INFO: Analyzed target //main:hello-world (35 packages loaded, 147 targets configured). INFO: Found 1 target... Target //main:hello-world up-to-date: bazel-bin/main/hello-world INFO: Elapsed time: 2.895s, Critical Path: 0.48s INFO: 5 processes: 3 internal, 2 processwrapper-sandbox. INFO: Build completed successfully, 5 total actions /tmp/examples/cpp-tutorial/stage1>bazel run //main:hello-world INFO: Analyzed target //main:hello-world (0 packages loaded, 0 targets configured). INFO: Found 1 target... Target //main:hello-world up-to-date: bazel-bin/main/hello-world INFO: Elapsed time: 0.114s, Critical Path: 0.00s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action INFO: Build completed successfully, 1 total action Hello world Sun Feb 27 12:14:27 2022 /tmp/examples/cpp-tutorial/stage1>ls -l WORKSPACE=20 -rw------- 1 aehlig wheel 0 Feb 27 12:03 WORKSPACE /tmp/examples/cpp-tutorial/stage1>cat main/BUILD=20 load("@rules_cc//cc:defs.bzl", "cc_binary") cc_binary( name =3D "hello-world", srcs =3D ["hello-world.cc"], ) /tmp/examples/cpp-tutorial/stage1> --=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-sbYw2mjDDk>