[package - 103i386-default][devel/bazel] Failed for bazel-0.5.3 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Aug 3 14:44:23 UTC 2017
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: aehlig at linta.de
Last committer: lwhsu at FreeBSD.org
Ident: $FreeBSD: head/devel/bazel/Makefile 446868 2017-07-29 06:38:32Z lwhsu $
Log URL: http://beefy5.nyi.freebsd.org/data/103i386-default/447190/logs/bazel-0.5.3.log
Build URL: http://beefy5.nyi.freebsd.org/build.html?mastername=103i386-default&build=447190
Log:
====>> Building devel/bazel
build started at Thu Aug 3 14:39:38 UTC 2017
port directory: /usr/ports/devel/bazel
building for: FreeBSD 103i386-default-job-22 10.3-RELEASE-p20 FreeBSD 10.3-RELEASE-p20 i386
maintained by: aehlig at linta.de
Makefile ident: $FreeBSD: head/devel/bazel/Makefile 446868 2017-07-29 06:38:32Z lwhsu $
Poudriere version: 3.1.19-60-g9a710b40
Host OSVERSION: 1200033
Jail OSVERSION: 1003000
Job Id: 22
---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1003000
UNAME_v=FreeBSD 10.3-RELEASE-p20
UNAME_r=10.3-RELEASE-p20
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/103i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=bazel-0.5.3
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/103i386-default/ref/.p/pool
MASTERNAME=103i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-60-g9a710b40
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for bazel-0.5.3:
CLANG38=off: Use clang38 as default crosstool
===> Use 'make config' to modify these settings
---End OPTIONS List---
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/bazel/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel/work HOME=/wrkdirs/usr/ports/devel/bazel/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/bazel/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel/work HOME=/wrkdirs/usr/ports/devel/bazel/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
JAVASHAREDIR="share/java"
JAVAJARDIR="share/java/classes"
OSREL=10.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/bazel"
EXAMPLESDIR="share/examples/bazel"
DATADIR="share/bazel"
WWWDIR="www/bazel"
ETCDIR="etc/bazel"
--End PLIST_SUB--
--SUB_LIST--
JAVASHAREDIR="/usr/local/share/java"
JAVAJARDIR="/usr/local/share/java/classes"
JAVALIBDIR="/usr/local/share/java/classes"
JAVA_VERSION="1.8"
JAVA_VENDOR="openjdk"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/bazel
DOCSDIR=/usr/local/share/doc/bazel
EXAMPLESDIR=/usr/local/share/examples/bazel
WWWDIR=/usr/local/www/bazel
ETCDIR=/usr/local/etc/bazel
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=10.3
OSVERSION=1003000
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=10.3-RELEASE-p20
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 524288
stack size (kbytes, -s) 65536
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
sbsize (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===> License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> bazel-0.5.3 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.1.txz
[103i386-default-job-22] Installing pkg-1.10.1...
[103i386-default-job-22] Extracting pkg-1.10.1: .......... done
===> bazel-0.5.3 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of bazel-0.5.3
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-0.5.3 for building
===========================================================================
=======================<phase: checksum >============================
===> License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-0.5.3 for building
=> SHA256 Checksum OK for bazel-0.5.3rc4-dist.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-0.5.3 for building
===> Extracting for bazel-0.5.3
=> SHA256 Checksum OK for bazel-0.5.3rc4-dist.zip.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for bazel-0.5.3
===> Applying FreeBSD patches for bazel-0.5.3
===========================================================================
=======================<phase: build-depends >============================
===> bazel-0.5.3 depends on executable: bash - not found
===> Installing existing package /packages/All/bash-4.4.12_2.txz
[103i386-default-job-22] Installing bash-4.4.12_2...
[103i386-default-job-22] `-- Installing gettext-runtime-0.19.8.1_1...
[103i386-default-job-22] | `-- Installing indexinfo-0.2.6...
[103i386-default-job-22] | `-- Extracting indexinfo-0.2.6: .... done
[103i386-default-job-22] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[103i386-default-job-22] Extracting bash-4.4.12_2: .......... done
===> bazel-0.5.3 depends on executable: bash - found
===> Returning to build of bazel-0.5.3
===> bazel-0.5.3 depends on executable: zip - not found
===> Installing existing package /packages/All/zip-3.0_1.txz
[103i386-default-job-22] Installing zip-3.0_1...
[103i386-default-job-22] Extracting zip-3.0_1: .......... done
===> bazel-0.5.3 depends on executable: zip - found
===> Returning to build of bazel-0.5.3
===> bazel-0.5.3 depends on file: /usr/local/openjdk8/bin/java - not found
===> Installing existing package /packages/All/openjdk8-8.131.11.txz
<snip>
===========================================================================
=======================<phase: build >============================
===> Building for bazel-0.5.3
(if [ -z "${SOURCE_DATE_EPOCH}" ] ; then SOURCE_DATE_EPOCH=`grep TIMESTAMP /usr/ports/devel/bazel/distinfo | /usr/bin/sed -e 's/[^0-9]//g'`; fi ; cd /wrkdirs/usr/ports/devel/bazel/work/bazel-0.5.3 && /usr/bin/env BAZEL_SH=/usr/local/bin/bash TMPDIR=/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp EMBED_LABEL='0.5.3' SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} /usr/local/bin/bash ./compile.sh)
[32mINFO[0m: You can skip this first step by providing a path to the bazel binary as second argument:
[32mINFO[0m: ./compile.sh compile /path/to/bazel
ð Building Bazel from scratch......
ð Building Bazel with Bazel.
.[35mWARNING: [0m/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_sM84EJkx/out/external/bazel_tools/WORKSPACE:1: Workspace name in /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_sM84EJkx/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions.
[32mINFO: [0mLoading package: src
[1A[K[32mINFO: [0mLoading package: @bazel_tools//tools/cpp
[1A[K[32mINFO: [0mLoading package: @local_config_xcode//
[1A[K[32mINFO: [0mLoading package: @local_config_cc//
[1A[K[32mINFO: [0mLoading complete. Analyzing...
[1A[K[32mINFO: [0mLoading package: src/main/cpp
[1A[K[32mINFO: [0mLoading package: tools/defaults
[1A[K[32mINFO: [0mLoading package: tools/jdk
[1A[K[32mINFO: [0mLoading package: src/main/cpp/util
[1A[K[32mINFO: [0mLoading package: src/java_tools/buildjar/java/com/google/devtools/build/\
buildjar/jarhelper
[1A[K
[1A[K[32mINFO: [0mLoading package: third_party/zlib
[1A[K[32mINFO: [0mLoading package: third_party/java/j2objc
[1A[K[32mINFO: [0mLoading package: src/tools/android/java/com/google/devtools/build/androi\
d/dexer
[1A[K
[1A[K[32mINFO: [0mLoading package: @com_google_protobuf//
[1A[K[32mINFO: [0mLoading package:
[1A[K[35mWARNING: [0m/wrkdirs/usr/ports/devel/bazel/work/bazel-0.5.3/tools/build_defs/pkg/pkg.bzl:196:9: pkg_tar: renaming non-dict `files` attribute to `srcs`.
[32mINFO: [0mLoading package: third_party/protobuf/3.2.0
[1A[K[32mINFO: [0mLoading package: @com_google_protobuf_java//
[1A[K[32mINFO: [0mLoading package: third_party/jformatstring
[1A[K[32mINFO: [0mLoading package: third_party/checker_framework_javacutil
[1A[K[32mINFO: [0mLoading package: src/java_tools/singlejar/java/com/google/devtools/build\
/zip
[1A[K
[1A[K[32mINFO: [0mLoading package: third_party/java/aosp_gradle_core
[1A[K[32mINFO: [0mLoading package: src/tools/android/java/com/google/devtools/build/androi\
d/incrementaldeployment
[1A[K
[1A[K[32mINFO: [0mLoading package: tools/build_defs/apple
[1A[K[32mINFO: [0mLoading package: third_party/java/jopt-simple
[1A[K[32mINFO: [0mLoading package: tools/buildstamp
[1A[K[32mINFO: [0mLoading package: tools/platforms
[1A[K[32mINFO: [0mLoading package: src/tools/android/java/com/google/devtools/build/androi\
d/desugar
[1A[K
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/windows/jni
[1A[K[32mINFO: [0mLoading package: src/java_tools/junitrunner/java/com/google/testing/juni\
t/runner/sharding/api
[1A[K
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/windows/run\
files
[1A[K
[1A[K[32mINFO: [0mLoading package: tools/android/emulator
[1A[K[32mINFO: [0mLoading package: tools/objc/sim_devices
[1A[K[35mWARNING: [0m/wrkdirs/usr/ports/devel/bazel/work/bazel-0.5.3/tools/build_defs/docker/docker.bzl:19:1: The docker_{build,bundle} rules bundled with Bazel are deprecated in favor of:
https://github.com/bazelbuild/rules_docker. Please change BUILD loads to reference: @io_bazel_rules_docker//docker:docker.bzl and add the following to your WORKSPACE:
git_repository(
name = "io_bazel_rules_docker",
remote = "https://github.com/bazelbuild/rules_docker.git",
commit = "...",
)
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_repositories")
docker_repositories().
[32mINFO: [0mLoading package: src/tools/android/java/com/google/devtools/build/androi\
d/desugar/runtime
[1A[K
[1A[K[32mINFO: [0mLoading package: tools/build_defs/docker/testdata/test
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/causes
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/cmdline
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/buildevents\
tream/proto
[1A[K
[1A[K[32mINFO: [0mLoading package: third_party/iossim
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/actions
[1A[K[32mINFO: [0mLoading package: @googleapis//
[1A[K[32mINFO: [0mLoading package: third_party/protobuf/3.2.0/util/python
[1A[K[32mINFO: [0mLoading package: src/main/java/com/google/devtools/build/lib/exec/apple
[1A[K[32mINFO: [0mFound 1 target...
[32mINFO: [0mBuilding...
[1A[K[32m[0 / 44] [0mWriting file src/java_toolchain_content
[1A[K[32m[9 / 246] [0mCompiling external/com_google_protobuf/src/google/protobuf/io/zero_c\
opy_stream_impl_lite.cc [for host]
[1A[K
[1A[K[32m[58 / 246] [0mCompiling external/com_google_protobuf/src/google/protobuf/service.\
cc [for host]
[1A[K
[1A[K[32mINFO: [0mFrom Compiling external/com_google_protobuf/src/google/protobuf/compiler/js/embed.cc [for host]:
external/com_google_protobuf/src/google/protobuf/compiler/js/embed.cc:37:12: warning: unused variable 'output_file' [-Wunused-const-variable]
const char output_file[] = "well_known_types_embed.cc";
^
1 warning generated.
[32m[153 / 360] [0mCompiling third_party/protobuf/3.2.0/src/google/protobuf/util/inte\
rnal/field_mask_utility.cc [for host]
[1A[K
[1A[K[32m[157 / 360] [0mCompiling third_party/protobuf/3.2.0/src/google/protobuf/wrappers.\
pb.cc [for host]
[1A[K
[1A[K[32m[181 / 360] [0mCompiling third_party/protobuf/3.2.0/src/google/protobuf/util/mess\
age_differencer.cc [for host]
[1A[K
[1A[K[32mINFO: [0mFrom Compiling third_party/protobuf/3.2.0/src/google/protobuf/compiler/js/embed.cc [for host]:
third_party/protobuf/3.2.0/src/google/protobuf/compiler/js/embed.cc:37:12: warning: unused variable 'output_file' [-Wunused-const-variable]
const char output_file[] = "well_known_types_embed.cc";
^
1 warning generated.
[32m[249 / 475] [0mCompiling third_party/protobuf/3.2.0/src/google/protobuf/compiler/\
js/js_generator.cc [for host]
[1A[K
[1A[K[32m[349 / 571] [0mWriting file src/main/java/com/google/devtools/build/lib/libio.jar\
-2.params
[1A[K
[1A[K[32m[361 / 598] [0mWriting file src/main/java/com/google/devtools/build/lib/windows/j\
ni/libjni-loader.jar-2.params
[1A[K
[1A[K[32m[368 / 615] [0mWriting file src/main/java/com/google/devtools/build/lib/libskylar\
k-provider-collection.jar-2.params
[1A[K
[1A[K[32m[382 / 687] [0mWriting file src/main/java/com/google/devtools/build/lib/libbuild-\
info.jar-2.params
[1A[K
[1A[K[32m[387 / 697] [0mWriting file src/main/java/com/google/devtools/build/lib/libutil.j\
ar-2.params
[1A[K
[1A[K[32m[390 / 701] [0mWriting file src/main/java/com/google/devtools/build/lib/rules/app\
le/libapple.jar-2.params
[1A[K
[1A[K[32m[397 / 729] [0mWriting file src/main/java/com/google/devtools/build/lib/libpackag\
es-internal.jar-2.params
[1A[K
[1A[K[32m[419 / 773] [0mCompiling src/main/cpp/util/port.cc [for host]
[1A[K[32m[424 / 788] [0mWriting file src/main/java/com/google/devtools/build/lib/libbuilde\
ventstream.jar-2.params
[1A[K
[1A[K[32m[449 / 860] [0mWriting file src/main/java/com/google/devtools/build/lib/libbuild-\
base.jar-2.params
[1A[K
[1A[K[32m[453 / 864] [0mWriting file src/main/protobuf/libworker_protocol_proto-speed.jar-\
2.params
[1A[K
[1A[K[32m[462 / 872] [0mWriting file src/main/protobuf/libtest_status_proto-speed.jar-2.pa\
rams
[1A[K
[1A[K[32m[467 / 876] [0mWriting file src/java_tools/buildjar/java/com/google/devtools/buil\
d/buildjar/libbootstrap_JarOwner.jar-2.params [for host]
[1A[K
[1A[K[32m[468 / 878] [0mWriting file third_party/checker_framework_dataflow/libbootstrap.j\
ar-2.params [for host]
[1A[K
[1A[K[32m[472 / 885] [0mWriting file src/java_tools/buildjar/java/com/google/devtools/buil\
d/buildjar/bootstrap_MANIFEST.MF [for host]
[1A[K
[1A[K[32m[475 / 891] [0mWriting file third_party/jformatstring/libbootstrap.jar-2.params [\
for host]
[1A[K
[1A[K[32m[476 / 893] [0mWriting file src/java_tools/buildjar/java/com/google/devtools/buil\
d/buildjar/libskylark-deps.jar-2.params [for host]
[1A[K
[1A[K[32m[480 / 907] [0mWriting file src/main/protobuf/libbuild_proto-speed.jar-2.params
[1A[K[32m[482 / 911] [0mCreating source manifest for //src/main/java/com/google/devtools/b\
uild/lib:bazel/BazelServer
[1A[K
[1A[K[32m[493 / 932] [0mWriting file src/java_tools/singlejar/libbootstrap.jar-2.params [f\
or host]
[1A[K
[1A[K[32m[506 / 953] [0mWriting file src/main/java/com/google/devtools/build/lib/libbuilde\
ventservice.jar-2.params
[1A[K
[1A[K[32m[515 / 997] [0mWriting script src/main/java/com/google/devtools/build/lib/merge_l\
icenses.genrule_script.sh
[1A[K
[1A[K[32m[519 / 998] [0mCompiling src/main/cpp/util/errors.cc
[1A[K[32mINFO: [0mFrom Compiling third_party/ijar/zip.cc [for host]:
third_party/ijar/zip.cc:153:7: warning: private field 'uncompressed_data_' is not used [-Wunused-private-field]
u1 *uncompressed_data_;
^
third_party/ijar/zip.cc:154:10: warning: private field 'uncompressed_data_allocated_' is not used [-Wunused-private-field]
size_t uncompressed_data_allocated_;
^
2 warnings generated.
[32mINFO: [0mFrom Compiling src/main/tools/process-wrapper-options.cc:
src/main/tools/process-wrapper-options.cc:53:13: warning: unused function 'ValidateIsAbsolutePath' [-Wunused-function]
static void ValidateIsAbsolutePath(char *path, char *program_name, char flag) {
^
1 warning generated.
[32m[703 / 1,168] [0mCompiling third_party/grpc/src/core/surface/call_details.c
[1A[K[32m[711 / 1,176] [0mCompiling third_party/grpc/src/core/client_config/uri_parser.c
[1A[K[32m[735 / 1,198] [0mJavacBootstrap src/java_tools/buildjar/java/com/google/devtools/\
build/buildjar/libskylark-deps.jar [for host]
[1A[K
[1A[K[32m[743 / 1,205] [0mCompiling third_party/grpc/src/core/httpcli/httpcli.c
[1A[K[32m[753 / 1,215] [0mCompiling third_party/grpc/src/core/census/tracing.c
[1A[K[32m[796 / 1,258] [0mCompiling third_party/grpc/src/core/support/cpu_posix.c
[1A[K[32m[810 / 1,272] [0mCompiling third_party/grpc/src/core/support/subprocess_posix.c
[1A[K[32m[814 / 1,276] [0mCompiling third_party/grpc/src/core/surface/byte_buffer.c
[1A[K[32m[817 / 1,279] [0mCompiling third_party/grpc/src/core/client_config/resolver_regis\
try.c
[1A[K
[1A[K[32mINFO: [0mFrom Compiling third_party/ijar/zip.cc:
third_party/ijar/zip.cc:153:7: warning: private field 'uncompressed_data_' is not used [-Wunused-private-field]
u1 *uncompressed_data_;
^
third_party/ijar/zip.cc:154:10: warning: private field 'uncompressed_data_allocated_' is not used [-Wunused-private-field]
size_t uncompressed_data_allocated_;
^
2 warnings generated.
[31m[1mERROR: [0m/wrkdirs/usr/ports/devel/bazel/work/bazel-0.5.3/src/main/cpp/BUILD:14:1: C++ compilation of rule '//src/main/cpp:blaze_util' failed (Exit 1): clang failed: error executing command
(exec env - \
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin \
PWD=/proc/self/cwd \
TMPDIR=/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp \
/usr/bin/clang -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/local_freebsd-opt/bin/src/main/cpp/_objs/blaze_util/src/main/cpp/blaze_util_posix.d '-frandom-seed=bazel-out/local_freebsd-opt/bin/src/main/cpp/_objs/blaze_util/src/main/cpp/blaze_util_posix.o' -DBLAZE_OPENSOURCE -iquote . -iquote bazel-out/local_freebsd-opt/genfiles -iquote external/bazel_tools -iquote bazel-out/local_freebsd-opt/genfiles/external/bazel_tools -isystem external/bazel_tools/tools/cpp/gcc3 -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c src/main/cpp/blaze_util_posix.cc -o bazel-out/local_freebsd-opt/bin/src/main/cpp/_objs/blaze_util/src/main/cpp/blaze_util_posix.o).
src/main/cpp/blaze_util_posix.cc:651:32: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
struct timespec sleeptime = {seconds_part, nanoseconds_part};
^~~~~~~~~~~~
src/main/cpp/blaze_util_posix.cc:651:32: note: override this message by inserting an explicit cast
struct timespec sleeptime = {seconds_part, nanoseconds_part};
^~~~~~~~~~~~
static_cast<time_t>( )
src/main/cpp/blaze_util_posix.cc:651:46: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'long' in initializer list [-Wc++11-narrowing]
struct timespec sleeptime = {seconds_part, nanoseconds_part};
^~~~~~~~~~~~~~~~
src/main/cpp/blaze_util_posix.cc:651:46: note: override this message by inserting an explicit cast
struct timespec sleeptime = {seconds_part, nanoseconds_part};
^~~~~~~~~~~~~~~~
static_cast<long>( )
2 errors generated.
[32mINFO: [0mBuilding complete.
[1A[KTarget //src:bazel failed to build
[32mINFO: [0mElapsed time: 155.454s, Critical Path: 108.85s
ERROR: Could not build Bazel
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/bazel
More information about the freebsd-pkg-fallout
mailing list