Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2017 01:35:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        aehlig@linta.de
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 110i386-default][devel/bazel] Failed for bazel-0.5.3 in build
Message-ID:  <201707300135.v6U1ZgQT015604@beefy10.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@linta.de
Last committer: lwhsu@FreeBSD.org
Ident:          $FreeBSD: head/devel/bazel/Makefile 446868 2017-07-29 06:38:32Z lwhsu $
Log URL:        http://beefy10.nyi.freebsd.org/data/110i386-default/446906/logs/bazel-0.5.3.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=110i386-default&build=446906
Log:

====>> Building devel/bazel
build started at Sun Jul 30 01:33:51 UTC 2017
port directory: /usr/ports/devel/bazel
building for: FreeBSD 110i386-default-job-22 11.0-RELEASE-p11 FreeBSD 11.0-RELEASE-p11 i386
maintained by: aehlig@linta.de
Makefile ident:      $FreeBSD: head/devel/bazel/Makefile 446868 2017-07-29 06:38:32Z lwhsu $
Poudriere version: 3.1.19-51-g177d9e6d
Host OSVERSION: 1200033
Jail OSVERSION: 1100122
Job Id: 22

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p11
UNAME_r=11.0-RELEASE-p11
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=bazel-0.5.3
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110i386-default/ref/.p/pool
MASTERNAME=110i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-51-g177d9e6d
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 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no 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=11.0
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=11.0
OSVERSION=1100122
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=11.0-RELEASE-p11
#### 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
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  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
[110i386-default-job-22] Installing pkg-1.10.1...
[110i386-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
=> bazel-0.5.3rc4-dist.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://storage.googleapis.com/bazel/0.5.3/rc4/bazel-0.5.3rc4-dist.zip
bazel-0.5.3rc4-dist.zip                                  0  B    0  Bps
===> 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
[110i386-default-job-22] Installing bash-4.4.12_2...
[110i386-default-job-22] `-- Installing gettext-runtime-0.19.8.1_1...
[110i386-default-job-22] |   `-- Installing indexinfo-0.2.6...
[110i386-default-job-22] |   `-- Extracting indexinfo-0.2.6: .... done
[110i386-default-job-22] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[110i386-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
[110i386-default-job-22] Installing zip-3.0_1...
<snip>
[110i386-default-job-22] |   `-- Extracting inputproto-2.3.2: ........ done
[110i386-default-job-22] |   `-- Installing libXfixes-5.0.3...
[110i386-default-job-22] |   | `-- Installing fixesproto-5.0...
[110i386-default-job-22] |   | `-- Extracting fixesproto-5.0: .... done
[110i386-default-job-22] |   `-- Extracting libXfixes-5.0.3: .......... done
[110i386-default-job-22] `-- Extracting libXi-1.7.9,1: .......... done
[110i386-default-job-22] `-- Installing libXrender-0.9.10...
[110i386-default-job-22] |   `-- Installing renderproto-0.11.1...
[110i386-default-job-22] |   `-- Extracting renderproto-0.11.1: .... done
[110i386-default-job-22] `-- Extracting libXrender-0.9.10: .......... done
[110i386-default-job-22] `-- Installing libXt-1.1.5,1...
[110i386-default-job-22] |   `-- Installing libSM-1.2.2_3,1...
[110i386-default-job-22] |   | `-- Installing libICE-1.0.9_1,1...
[110i386-default-job-22] |   | `-- Extracting libICE-1.0.9_1,1: .......... done
[110i386-default-job-22] |   `-- Extracting libSM-1.2.2_3,1: .......... done
[110i386-default-job-22] `-- Extracting libXt-1.1.5,1: .......... done
[110i386-default-job-22] `-- Installing libXtst-1.2.3...
[110i386-default-job-22] |   `-- Installing recordproto-1.14.2...
[110i386-default-job-22] |   `-- Extracting recordproto-1.14.2: .... done
[110i386-default-job-22] `-- Extracting libXtst-1.2.3: .......... done
[110i386-default-job-22] Extracting openjdk8-8.131.11: .......... done
Message from freetype2-2.8:
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed).
Message from dejavu-2.37:
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
Message from openjdk8-8.131.11:
======================================================================

This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

	mount -t fdescfs fdesc /dev/fd
	mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

	fdesc	/dev/fd		fdescfs		rw	0	0
	proc	/proc		procfs		rw	0	0

======================================================================
===>   bazel-0.5.3 depends on file: /usr/local/openjdk8/bin/java - found
===>   Returning to build of bazel-0.5.3
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for bazel-0.5.3
===========================================================================
=======================<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)
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO:    ./compile.sh compile /path/to/bazel
🍃  Building Bazel from scratch......
🍃  Building Bazel with Bazel.
.WARNING: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_8uUzhtaM/out/external/bazel_tools/WORKSPACE:1: Workspace name in /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_8uUzhtaM/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.
INFO: Loading package: src

INFO: Loading package: @bazel_tools//tools/cpp

INFO: Loading package: @local_config_xcode//

INFO: Loading package: @local_config_cc//

INFO: Loading complete.  Analyzing...

INFO: Loading package: src/main/cpp

INFO: Loading package: tools/defaults

INFO: Loading package: @bazel_tools//tools/genrule

INFO: Loading package: src/main/native

INFO: Loading package: src/main/protobuf

INFO: Loading package: third_party/py/concurrent

INFO: Loading package: src/tools/android/java/com/google/devtools/build/androi\
d/ziputils


INFO: Loading package: src/java_tools/buildjar/java/com/google/devtools/build/\
java/turbine


INFO: Loading package: src/java_tools/singlejar

INFO: Loading package: src/java_tools/buildjar/java/com/google/devtools/build/\
buildjar/javac/plugins


INFO: Loading package: third_party/protobuf

INFO: Loading package: 

WARNING: /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`.
INFO: Loading package: third_party/checker_framework_javacutil

INFO: Loading package: tools/build_defs/repo

INFO: Loading package: @com_google_protobuf//

WARNING: /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().
INFO: Loading package: tools/build_defs/docker/testdata/test

INFO: Loading package: src/java_tools/junitrunner/java/com/google/testing/juni\
t/junit4


INFO: Loading package: @com_google_protobuf_java//

INFO: Loading package: src/main/java/com/google/devtools/build/lib/windows/jni

INFO: Loading package: src/tools/android/java/com/google/devtools/build/androi\
d/desugar/runtime


INFO: Loading package: src/main/java/com/google/devtools/build/skyframe

INFO: Loading package: src/main/java/com/google/devtools/build/docgen

INFO: Loading package: src/main/java/com/google/devtools/build/lib/sandbox

INFO: Loading package: src/main/java/com/google/devtools/build/lib/rules/cpp/p\
roto


INFO: Loading package: third_party/javascript/bootstrap

INFO: Loading package: third_party/protobuf/3.2.0/util/python

INFO: Loading package: third_party/nanopb

INFO: Loading package: src/main/java/com/google/devtools/build/lib/exec/apple

INFO: Found 1 target...
INFO: Building...

[0 / 84] BazelWorkspaceStatusAction stable-status.txt

[0 / 124] Writing file src/tools/android/java/com/google/devtools/build/androi\
d/ideinfo/jar_filter_classes_deploy.jar-2.params


[9 / 295] Creating source manifest for @com_google_protobuf//:js_embed [for ho\
st]


[11 / 355] Writing file src/main/java/com/google/devtools/build/lib/windows/ru\
nfiles/librunfiles.jar-2.params


[21 / 424] Writing file src/tools/android/java/com/google/devtools/build/andro\
id/desugar/Desugar_deploy.jar-2.params


[21 / 437] Expanding template src/tools/android/java/com/google/devtools/build\
/android/dexer/dexerdeps


[50 / 474] Writing file src/main/protobuf/libdeps_proto-speed.jar-2.params

[75 / 534] Writing file src/java_tools/buildjar/java/com/google/devtools/build\
/buildjar/genclass/libgenclass_lib.jar-2.params


[77 / 550] Writing file src/java_tools/junitrunner/java/com/google/testing/cov\
erage/libbitfield.jar-2.params


[111 / 625] Writing file src/tools/android/java/com/google/devtools/build/andr\
oid/ideinfo/package_parser_classes_deploy.jar-2.params


[120 / 644] Compiling src/main/cpp/util/errors.cc

[120 / 647] Writing file src/tools/android/java/com/google/devtools/build/andr\
oid/idlclass/classes_deploy.jar-2.params


[153 / 700] Compiling external/com_google_protobuf/src/google/protobuf/io/zero\
_copy_stream.cc [for host]


INFO: From 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.
[166 / 700] Compiling external/com_google_protobuf/src/google/protobuf/generat\
ed_message_util.cc [for host]


ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel-0.5.3/src/tools/singlejar/BUILD:291:1: C++ compilation of rule '//src/tools/singlejar:input_jar' failed (Exit 1): clang failed: error executing command 
  (exec env - \
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/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/tools/singlejar/_objs/input_jar/src/tools/singlejar/input_jar.d '-frandom-seed=bazel-out/local_freebsd-opt/bin/src/tools/singlejar/_objs/input_jar/src/tools/singlejar/input_jar.o' -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/tools/singlejar/input_jar.cc -o bazel-out/local_freebsd-opt/bin/src/tools/singlejar/_objs/input_jar/src/tools/singlejar/input_jar.o).
In file included from src/tools/singlejar/input_jar.cc:15:
In file included from ./src/tools/singlejar/input_jar.h:26:
./src/tools/singlejar/mapped_file.h:40:2: error: This code for 64 bit Unix.
#error This code for 64 bit Unix.
 ^
src/tools/singlejar/input_jar.cc:32:43: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
        __FILE__, __LINE__, path.c_str(), mapped_file_.size(), sizeof(ECD));
                                          ^~~~~~~~~~~~~~~~~~~
./src/tools/singlejar/diag.h:27:31: note: expanded from macro 'diag_warnx'
#define diag_warnx(...) warnx(__VA_ARGS__)
                              ^~~~~~~~~~~
src/tools/singlejar/input_jar.cc:32:64: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
        __FILE__, __LINE__, path.c_str(), mapped_file_.size(), sizeof(ECD));
                                                               ^~~~~~~~~~~
./src/tools/singlejar/diag.h:27:31: note: expanded from macro 'diag_warnx'
#define diag_warnx(...) warnx(__VA_ARGS__)
                              ^~~~~~~~~~~
2 warnings and 1 error generated.
INFO: Building complete.

Target //src:bazel failed to build
INFO: Elapsed time: 12.326s, Critical Path: 1.57s

ERROR: Could not build Bazel
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/bazel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707300135.v6U1ZgQT015604>