[00:00:00] ====>> Creating the reference jail... done [00:00:04] ====>> Mounting system devices for 11a-default [00:00:04] ====>> Mounting ports/packages/distfiles [00:00:04] ====>> Stashing existing package repository [00:00:04] ====>> Mounting packages from: /pou/data/packages/11a-default [00:00:04] ====>> Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:05] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/11a-default-make.conf /etc/resolv.conf -> /pou/data/.m/11a-default/ref/etc/resolv.conf [00:00:05] ====>> Starting jail 11a-default [00:00:05] ====>> Logs: /pou/data/logs/bulk/11a-default/2016-12-25_23h14m08s [00:00:05] ====>> Loading MOVED [00:00:05] ====>> Calculating ports order and dependencies [00:00:12] ====>> Sanity checking the repository [00:00:12] ====>> Checking packages for incremental rebuild needed [00:00:23] ====>> Deleting stale symlinks [00:00:23] ====>> Deleting empty directories [00:00:23] ====>> Cleaning the build queue [00:00:24] ====>> Recording filesystem state for prepkg... done [00:00:25] ====>> Committing packages to repository [00:00:25] ====>> Removing old packages [00:00:25] ====>> Building with flags: [00:00:25] ====>> Removing existing /usr/local build started at Sun Dec 25 23:14:33 CET 2016 port directory: /usr/ports/devel/bazel building for: FreeBSD 11a-default 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 amd64 maintained by: aehlig@linta.de Makefile ident: $FreeBSD: head/devel/bazel/Makefile 427983 2016-12-06 19:25:23Z pi $ Poudriere version: 3.2-pre Host OSVERSION: 1200012 Jail OSVERSION: 1100122 ---Begin Environment--- PKGREPOSITORY=/tmp/pkgs PACKAGES=/tmp/pkgs SHELL=/bin/csh UNAME_v=FreeBSD 11.0-RELEASE-p1 UNAME_r=11.0-RELEASE-p1 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 WARNING_WAIT=0 ARCH=amd64 SAVED_TERM=screen NO_WARNING_PKG_INSTALL_EOL=yes MASTERMNT=/pou/data/.m/11a-default/ref FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin _JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+ POUDRIERE_BUILD_TYPE=bulk OSREL=11.0 _OSRELEASE=11.0-RELEASE-p1 PYTHONBASE=/usr/local OLDPWD=/home/pi/pkg _SMP_CPUS=8 PWD=/ HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD MASTERNAME=11a-default SCRIPTPREFIX=/usr/local/share/poudriere _JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun USER=root HOME=/root POUDRIERE_VERSION=3.2-pre SCRIPTPATH=/usr/local/share/poudriere/testport.sh TRYBROKEN=yes CONFIGURE_MAX_CMD_LEN=262144 LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes _JAVA_OS_LIST_REGEXP=native\|linux DEV_WARNING_WAIT=0 OSVERSION=1100122 ---End Environment--- ---Begin OPTIONS List--- ---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 444" 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 #### /usr/local/etc/poudriere.d/11a-default-make.conf #### #WITH_PKGNG=devel DEFAULT_VERSIONS= perl5=5.24 python=2.7 python3=3.6 ruby=2.3 pgsql=9.6 php=7.0 mysql=10.1m gcc=5 ---End make.conf--- =================================================== ===> License APACHE20 accepted by the user ===> Found saved configuration for bazel-0.2.2b =========================================================================== =================================================== ===> bazel-0.4.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.9.4.txz [11a-default] Installing pkg-1.9.4... [11a-default] Extracting pkg-1.9.4: .......... done ===> bazel-0.4.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bazel-0.4.3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 accepted by the user ===> Found saved configuration for bazel-0.2.2b ===> bazel-0.4.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bazel-0.4.3 for building =========================================================================== =================================================== ===> License APACHE20 accepted by the user ===> Found saved configuration for bazel-0.2.2b ===> bazel-0.4.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bazel-0.4.3 for building => SHA256 Checksum OK for bazel-0.4.3rc6-dist.zip. =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 accepted by the user ===> Found saved configuration for bazel-0.2.2b ===> bazel-0.4.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bazel-0.4.3 for building ===> Extracting for bazel-0.4.3 => SHA256 Checksum OK for bazel-0.4.3rc6-dist.zip. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for bazel-0.4.3 ===> Applying FreeBSD patches for bazel-0.4.3 =========================================================================== =================================================== ===> bazel-0.4.3 depends on executable: bash - not found ===> Installing existing package /packages/All/bash-4.4.5.txz [11a-default] Installing bash-4.4.5... [11a-default] `-- Installing indexinfo-0.2.6... [11a-default] `-- Extracting indexinfo-0.2.6: .... done [11a-default] `-- Installing gettext-runtime-0.19.8.1_1... [11a-default] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [11a-default] Extracting bash-4.4.5: .......... done Message from bash-4.4.5: ====================================================================== bash requires fdescfs(5) mounted on /dev/fd If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 ====================================================================== ===> bazel-0.4.3 depends on executable: bash - found ===> Returning to build of bazel-0.4.3 ===> bazel-0.4.3 depends on executable: zip - not found ===> Installing existing package /packages/All/zip-3.0_1.txz [11a-default] Installing zip-3.0_1... [11a-default] Extracting zip-3.0_1: .......... done ===> bazel-0.4.3 depends on executable: zip - found ===> Returning to build of bazel-0.4.3 ===> bazel-0.4.3 depends on file: /usr/local/openjdk8/bin/java - not found ===> Installing existing package /packages/All/openjdk8-8.112.16_1.txz [11a-default] Installing openjdk8-8.112.16_1... [11a-default] `-- Installing giflib-5.1.4... [11a-default] `-- Extracting giflib-5.1.4: .......... done [11a-default] `-- Installing libXt-1.1.5,1... [11a-default] | `-- Installing xproto-7.0.31... [11a-default] | `-- Extracting xproto-7.0.31: .......... done [11a-default] | `-- Installing libSM-1.2.2_3,1... [11a-default] | | `-- Installing libICE-1.0.9_1,1... [11a-default] | | `-- Extracting libICE-1.0.9_1,1: .......... done [11a-default] | `-- Extracting libSM-1.2.2_3,1: .......... done [11a-default] | `-- Installing libX11-1.6.4,1... [11a-default] | | `-- Installing kbproto-1.0.7... [11a-default] | | `-- Extracting kbproto-1.0.7: .......... done [11a-default] | | `-- Installing libXdmcp-1.1.2... [11a-default] | | `-- Extracting libXdmcp-1.1.2: ......... done [11a-default] | | `-- Installing libxcb-1.12... [11a-default] | | `-- Installing libxml2-2.9.4... [11a-default] | | `-- Extracting libxml2-2.9.4: .......... done [11a-default] | | `-- Installing libpthread-stubs-0.3_6... [11a-default] | | `-- Extracting libpthread-stubs-0.3_6: ..... done [11a-default] | | `-- Installing libXau-1.0.8_3... [11a-default] | | `-- Extracting libXau-1.0.8_3: .......... done [11a-default] | | `-- Extracting libxcb-1.12: .......... done [11a-default] | `-- Extracting libX11-1.6.4,1: .......... done [11a-default] `-- Extracting libXt-1.1.5,1: .......... done [11a-default] `-- Installing libXtst-1.2.3... [11a-default] | `-- Installing libXext-1.3.3_1,1... [11a-default] | | `-- Installing xextproto-7.3.0... [11a-default] | | `-- Extracting xextproto-7.3.0: .......... done [11a-default] | `-- Extracting libXext-1.3.3_1,1: .......... done [11a-default] | `-- Installing inputproto-2.3.2... [11a-default] | `-- Extracting inputproto-2.3.2: ........ done [11a-default] | `-- Installing libXi-1.7.8,1... [11a-default] | | `-- Installing libXfixes-5.0.3... [11a-default] | | `-- Installing fixesproto-5.0... [11a-default] | | `-- Extracting fixesproto-5.0: .... done [11a-default] | | `-- Extracting libXfixes-5.0.3: .......... done [11a-default] | `-- Extracting libXi-1.7.8,1: .......... done [11a-default] | `-- Installing recordproto-1.14.2... [11a-default] | `-- Extracting recordproto-1.14.2: .... done [11a-default] `-- Extracting libXtst-1.2.3: .......... done [11a-default] `-- Installing java-zoneinfo-2016.i... [11a-default] `-- Extracting java-zoneinfo-2016.i: .......... done [11a-default] `-- Installing libXrender-0.9.10... [11a-default] | `-- Installing renderproto-0.11.1... [11a-default] | `-- Extracting renderproto-0.11.1: .... done [11a-default] `-- Extracting libXrender-0.9.10: .......... done [11a-default] `-- Installing freetype2-2.6.3... [11a-default] | `-- Installing png-1.6.26... [11a-default] | `-- Extracting png-1.6.26: .......... done [11a-default] `-- Extracting freetype2-2.6.3: .......... done [11a-default] `-- Installing alsa-lib-1.1.2... [11a-default] | `-- Installing python27-2.7.12... [11a-default] | | `-- Installing libffi-3.2.1... [11a-default] | | `-- Extracting libffi-3.2.1: .......... done [11a-default] | | `-- Installing readline-6.3.8... [11a-default] | | `-- Extracting readline-6.3.8: .......... done [11a-default] | `-- Extracting python27-2.7.12: .......... done [11a-default] | `-- Installing python2-2_3... [11a-default] | `-- Extracting python2-2_3: ...... done [11a-default] `-- Extracting alsa-lib-1.1.2: .......... done [11a-default] `-- Installing fontconfig-2.12.1,1... [11a-default] | `-- Installing expat-2.2.0_1... [11a-default] | `-- Extracting expat-2.2.0_1: .......... done [11a-default] `-- Extracting fontconfig-2.12.1,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded [11a-default] `-- Installing dejavu-2.37... [11a-default] | `-- Installing mkfontdir-1.0.7... [11a-default] | | `-- Installing mkfontscale-1.1.2... [11a-default] | | `-- Installing libfontenc-1.1.3... [11a-default] | | `-- Extracting libfontenc-1.1.3: ...... done [11a-default] | | `-- Extracting mkfontscale-1.1.2: .. done [11a-default] | `-- Extracting mkfontdir-1.0.7: .. done [11a-default] `-- Extracting dejavu-2.37: .......... done [11a-default] `-- Installing javavmwrapper-2.5_2... [11a-default] `-- Extracting javavmwrapper-2.5_2: .......... done [11a-default] Extracting openjdk8-8.112.16_1: .......... done Message from python27-2.7.12: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== 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.112.16_1: ====================================================================== 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.4.3 depends on file: /usr/local/openjdk8/bin/java - found ===> Returning to build of bazel-0.4.3 =========================================================================== =================================================== =========================================================================== ====>> Recording filesystem state for prebuild... done =================================================== ===> bazel-0.4.3 depends on executable: bash - found ===> bazel-0.4.3 depends on executable: zip - found ===> bazel-0.4.3 depends on file: /usr/local/openjdk8/bin/java - found ===> Configuring for bazel-0.4.3 =========================================================================== =================================================== ===> Building for bazel-0.4.3 (cd /wrkdirs/usr/ports/devel/bazel/work/bazel-0.4.3 && /usr/bin/env BAZEL_SH=/usr/local/bin/bash TMPDIR=/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp EMBED_LABEL='0.4.3' /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_EF8PZ0KA/out/external/bazel_tools/WORKSPACE:1: Workspace name in /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_EF8PZ0KA/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: @bazel_tools//tools/genrule INFO: Loading package: tools INFO: Loading package: src/tools/android/java/com/google/devtools/build/androi\ d  INFO: Loading package: third_party INFO: Loading package: third_party/py/gflags INFO: Loading package: third_party/ijar INFO: Loading package: third_party/protobuf/3.0.0 INFO: Loading package: @bazel_tools//third_party/java/jacoco INFO: Loading package: tools/proto/toolchains INFO: Loading package: tools/android/jack INFO: Loading package: tools/build_defs/docker/testdata INFO: Loading package: tools/build_defs/docker/testdata/test INFO: Loading package: src/java_tools/junitrunner/java/com/google/testing/juni\ t/runner/sharding/api  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/rules/cpp INFO: Loading package: src/main/java/com/google/devtools/build/lib/rules/objc INFO: Loading package: src/main/java/com/google/devtools/build/skyframe INFO: Loading package: third_party/java/dd_plist INFO: Found 1 target... INFO: Building... [1 / 69] Writing file src/java_toolchain_content [4 / 183] Compiling src/main/cpp/util/numbers.cc [4 / 260] Compiling src/main/cpp/util/errors.cc [9 / 353] Writing file src/main/java/com/google/devtools/build/lib/causes/libc\ auses.jar-2.params  [9 / 381] Writing file src/main/java/com/google/devtools/build/lib/libproto-ru\ les.jar-2.params  [9 / 389] Writing file src/main/java/com/google/devtools/build/lib/libunix.jar\ -2.params  [11 / 422] Writing file src/main/java/com/google/devtools/build/skyframe/libsk\ yframe.jar-2.params  [11 / 487] Writing file src/java_tools/buildjar/java/com/google/devtools/build\ /buildjar/libjavac_options.jar-2.params  [11 / 574] Writing file src/java_tools/junitrunner/java/com/google/testing/jun\ it/runner/model/libmodel.jar-2.params  [11 / 597] Writing file src/java_tools/buildjar/java/com/google/devtools/build\ /buildjar/genclass/libgenclass_lib.jar-2.params  [11 / 605] Expanding template src/java_tools/buildjar/java/com/google/devtools\ /build/buildjar/genclass/GenClass  [11 / 679] Compiling third_party/zlib/trees.c [11 / 754] Writing file src/main/protobuf/libbundlemerge_java_proto.jar-2.para\ ms  ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel-0.4.3/third_party/ijar/BUILD:46:1: C++ compilation of rule '//third_party/ijar:platform_utils' failed: clang failed: error executing command (cd /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_EF8PZ0KA/out/execroot/bazel-0.4.3 && \ exec env - \ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin \ 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/third_party/ijar/_objs/platform_utils/third_party/ijar/platform_utils.d '-frandom-seed=bazel-out/local_freebsd-opt/bin/third_party/ijar/_objs/platform_utils/third_party/ijar/platform_utils.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 third_party/ijar/platform_utils.cc -o bazel-out/local_freebsd-opt/bin/third_party/ijar/_objs/platform_utils/third_party/ijar/platform_utils.o): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1. In file included from third_party/ijar/platform_utils.cc:15: ./third_party/ijar/platform_utils.h:31:3: error: unknown type name 'mode_t'; did you mean '__mode_t'? mode_t file_mode; ^~~~~~ __mode_t /usr/include/sys/_types.h:49:20: note: '__mode_t' declared here typedef __uint16_t __mode_t; /* permissions */ ^ In file included from third_party/ijar/platform_utils.cc:15: ./third_party/ijar/platform_utils.h:51:35: error: unknown type name 'mode_t'; did you mean '__mode_t'? bool write_file(const char* path, mode_t perm, const void* data, size_t size); ^~~~~~ __mode_t /usr/include/sys/_types.h:49:20: note: '__mode_t' declared here typedef __uint16_t __mode_t; /* permissions */ ^ In file included from third_party/ijar/platform_utils.cc:15: ./third_party/ijar/platform_utils.h:68:34: error: unknown type name 'mode_t'; did you mean '__mode_t'? bool make_dirs(const char* path, mode_t perm); ^~~~~~ __mode_t /usr/include/sys/_types.h:49:20: note: '__mode_t' declared here typedef __uint16_t __mode_t; /* permissions */ ^ 3 errors generated. Target //src:bazel failed to build INFO: Elapsed time: 4.989s, Critical Path: 1.86s ERROR: Could not build Bazel *** Error code 1 Stop. make: stopped in /usr/ports/devel/bazel build of devel/bazel ended at Sun Dec 25 23:15:32 CET 2016 build time: 00:00:59 !!! build failure encountered !!! [00:01:24] ====>> Cleaning up [00:01:24] ====>> Umounting file systems