From owner-freebsd-ports-bugs@freebsd.org Sun Nov 22 06:01:30 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00B7AA35918 for ; Sun, 22 Nov 2015 06:01:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC0CF1F91 for ; Sun, 22 Nov 2015 06:01:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAM61T4Q054063 for ; Sun, 22 Nov 2015 06:01:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204512] [NEW PORT] devel/bazel: Correct, reproducible, and fast builds for everyone Date: Sun, 22 Nov 2015 06:01:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peterj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2015 06:01:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204512 Peter Jeremy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peterj@FreeBSD.org --- Comment #4 from Peter Jeremy --- 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.