From owner-freebsd-ports-bugs@freebsd.org Sun Nov 22 10:41:24 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 0BD1AA356C3 for ; Sun, 22 Nov 2015 10:41:24 +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 EAF931451 for ; Sun, 22 Nov 2015 10:41:23 +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 tAMAfNiC033239 for ; Sun, 22 Nov 2015 10:41:23 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 10:41:23 +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, needs-patch, needs-qa 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: maintainer-feedback? X-Bugzilla-Changed-Fields: 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 10:41:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204512 --- Comment #7 from Peter Jeremy --- I've done some more poking around and compared the proposed port with bazel-0.1.1-installer-linux-x86_64.sh. The latter installs a smaller bazel but separately installs a large collection of files in /usr/local/lib/bazel/base_workspace/ and appends that path to --package_path. I suspect this is the correct approach. I have verified that adding ${WRKSRC} to --package_path make bazel work. Having looker closer at the Makefile, I notice a couple of issues that should be looked into: - There's a test suite in bazel and it would be useful if that was hooked into "make test" - ${REINPLACE_CMD} includes the '-i' option. Also '-i' takes an option so the Makefile winds up using '-e' as a suffix for backup files. - do-build deletes files in ${HOME}. This is highly undesirable - the Makefile should override ${HOME} so that the port does not alter any files outside ${WRKDIR} - There are many occurrences of /bin/bash and md5sum that are not corrected. This definitely causes test failures but it's not clear whether it would impact normal bazel operation. -- You are receiving this mail because: You are the assignee for the bug.