[Bug 204512] [NEW PORT] devel/bazel: Correct, reproducible, and fast builds for everyone
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 22 06:01:30 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204512
Peter Jeremy <peterj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peterj at FreeBSD.org
--- Comment #4 from Peter Jeremy <peterj at FreeBSD.org> ---
Note that whilst this port builds and installs, I can't get it to actually
work.
Trying the first example at http://bazel.io/docs/getting-started.html, I get:
server% rm -fr ~/.cache
server% ls -lR
total 26
-rw-r--r-- 1 peter wheel 117 22 Nov 16:31 BUILD
-rw-r--r-- 1 peter wheel 0 22 Nov 16:31 WORKSPACE
drwxr-xr-x 3 peter wheel 3 22 Nov 16:30 src
./src:
total 17
drwxr-xr-x 3 peter wheel 3 22 Nov 16:30 main
./src/main:
total 17
drwxr-xr-x 3 peter wheel 3 22 Nov 16:30 java
./src/main/java:
total 17
drwxr-xr-x 3 peter wheel 3 22 Nov 16:30 com
./src/main/java/com:
total 17
drwxr-xr-x 2 peter wheel 4 22 Nov 16:30 example
./src/main/java/com/example:
total 17
-rw-r--r-- 1 peter wheel 122 22 Nov 16:30 Greeting.java
-rw-r--r-- 1 peter wheel 130 22 Nov 16:30 ProjectRunner.java
server% bazel build //:my-runner
Extracting Bazel installation...
.......
ERROR: Loading of target '//tools/cpp:toolchain' failed; build aborted: no such
package 'tools/cpp': BUILD file not found on package path.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 1.628s
There is a //tools/cpp in ${WRKSRC} and it winds up unpacked in
~/.cache/bazel/_bazel_peter/install/74224bf095e5083be582f54ee1273ae7/_embedded_binaries/android_tools/tools
A ktrace shows that cpp/BUILD relative to both that directory and ./tools is
checked (with lstat(2)) but the absence of the latter path appears to trigger
the error message. I'm still trying to work out what the correct fix is.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list