[00:00:01] ====>> Creating the reference jail... done [00:00:09] ====>> Mounting system devices for 11a-default [00:00:09] ====>> Mounting ports/packages/distfiles [00:00:09] ====>> Stashing existing package repository [00:00:09] ====>> Mounting packages from: /pou/data/packages/11a-default [00:00:09] ====>> Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:10] ====>> 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:10] ====>> Starting jail 11a-default [00:00:10] ====>> Logs: /pou/data/logs/bulk/11a-default/2016-12-28_14h03m18s [00:00:10] ====>> Loading MOVED [00:00:10] ====>> Calculating ports order and dependencies [00:00:16] ====>> Sanity checking the repository [00:00:17] ====>> Checking packages for incremental rebuild needed [00:00:23] ====>> Deleting alsa-lib-1.1.2.txz: missing dependency: python27-2.7.12 [00:00:25] ====>> Deleting openjdk-7.111.01_2,1.txz: missing dependency: alsa-lib-1.1.2 [00:00:25] ====>> Deleting openjdk8-8.112.16_1.txz: missing dependency: alsa-lib-1.1.2 [00:00:33] ====>> Deleting stale symlinks [00:00:33] ====>> Deleting empty directories [00:00:33] ====>> Cleaning the build queue [00:00:33] ====>> Recording filesystem state for prepkg... done [00:00:34] ====>> Building 3 packages using 3 builders [00:00:34] ====>> Starting/Cloning builders [00:00:36] ====>> Hit CTRL+t at any time to see build progress and stats [00:00:36] ====>> [01][00:00:00] Starting build of audio/alsa-lib [00:01:03] ====>> [01][00:00:27] Finished build of audio/alsa-lib: Success [00:01:03] ====>> [01][00:00:00] Starting build of java/openjdk7 [00:32:05] ====>> [01][00:31:02] Finished build of java/openjdk7: Success [00:32:07] ====>> [01][00:00:00] Starting build of java/openjdk8 [00:46:56] ====>> [01][00:14:49] Finished build of java/openjdk8: Success [00:46:59] ====>> Stopping 3 builders [00:46:59] ====>> Creating pkgng repository Creating repository in /tmp/packages: .......... done Packing files for repository: .... done [00:47:11] ====>> Committing packages to repository [00:47:11] ====>> Removing old packages [00:47:11] ====>> Building with flags: [00:47:11] ====>> Removing existing /usr/local build started at Wed Dec 28 14:50:28 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=/ _SMP_CPUS=8 PWD=/pou/data/.m/11a-default/ref/.p/pool 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_1.txz [11a-default] Installing pkg-1.9.4_1... [11a-default] Extracting pkg-1.9.4_1: .......... 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.13_1... [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.13_1: .......... 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.13_1: =========================================================================== 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_y4rLgTZw/out/external/bazel_tools/WORKSPACE:1: Workspace name in /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_y4rLgTZw/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: tools/defaults INFO: Loading package: tools/osx INFO: Loading package: third_party/py/gflags INFO: Loading package: third_party/java/jdk/langtools INFO: Loading package: src/main/cpp/util INFO: Loading package: third_party/java/apksig INFO: Loading package: third_party/py/concurrent INFO: Loading package: third_party/zlib INFO: Loading package: @bazel_tools//third_party/java/jacoco INFO: Loading package: third_party/protobuf INFO: Loading package: tools/proto/toolchains INFO: Loading package: src/java_tools/junitrunner/java/com/google/testing/juni\ t/runner/internal  INFO: Loading package: src/java_tools/buildjar/java/com/google/devtools/build/\ buildjar/javac/plugins  INFO: Loading package: tools/build_defs/docker/testdata INFO: Loading package: tools/cpp/test 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: @com_google_protobuf_java// INFO: Loading package: third_party/grpc INFO: Loading package: src/main/java/com/google/devtools/build/lib/causes INFO: Loading package: src/main/java/com/google/devtools/build/lib/sandbox INFO: Loading package: src/main/java/com/google/devtools/build/lib/rules/apple\ /cpp  INFO: Loading package: third_party/java/dd_plist INFO: Found 1 target... INFO: Building... [2 / 49] Compiling src/main/tools/dummy-sandbox.c [2 / 157] Compiling src/main/tools/process-wrapper.c [2 / 236] Creating source manifest for //third_party/ijar:ijar [for host] [3 / 341] Writing file src/main/java/com/google/devtools/build/lib/libunix.jar\ -2.params  [13 / 471] Writing file src/main/java/com/google/devtools/build/lib/rules/appl\ e/libapple.jar-2.params  [17 / 504] Writing file src/main/java/com/google/devtools/build/lib/libbuild-b\ ase.jar-2.params  [17 / 507] Compiling src/main/cpp/util/logging.cc [18 / 535] Symlinking //tools/build_rules:gensrcjar [for host] [24 / 602] Writing file src/tools/android/java/com/google/devtools/build/andro\ id/resources/libresources.jar-2.params  [38 / 679] Writing file src/java_tools/buildjar/java/com/google/devtools/build\ /buildjar/javac/plugins/libdependency.jar-2.params  [39 / 720] Writing file src/tools/android/java/com/google/devtools/build/andro\ id/idlclass/classes_deploy.jar-2.params  [50 / 741] Creating source manifest for //src/tools/android/java/com/google/de\ vtools/build/android/idlclass:classes  [68 / 786] Writing file src/tools/android/java/com/google/devtools/build/andro\ id/ideinfo/package_parser_classes_deploy.jar-2.params  [73 / 863] Writing file src/main/java/com/google/devtools/build/lib/libandroid\ -rules.jar-2.params  [109 / 1,022] Expanding template src/main/java/com/google/devtools/build/lib/b\ azel/BazelServer  [116 / 1,112] Writing file src/java_tools/buildjar/java/com/google/devtools/bu\ ild/buildjar/libbootstrap_JarOwner.jar-2.params [for host]  [117 / 1,185] Compiling third_party/ijar/platform_utils.cc [119 / 1,213] Creating source manifest for //third_party/grpc:cpp_plugin [for \ host]  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_y4rLgTZw/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 -g0 '-std=c++0x' -MD -MF bazel-out/host/bin/third_party/ijar/_objs/platform_utils/third_party/ijar/platform_utils.d '-frandom-seed=bazel-out/host/bin/third_party/ijar/_objs/platform_utils/third_party/ijar/platform_utils.o' -iquote . -iquote bazel-out/host/genfiles -iquote external/bazel_tools -iquote bazel-out/host/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/host/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. INFO: Building complete. Target //src:bazel failed to build INFO: Elapsed time: 5.541s, Critical Path: 2.29s ERROR: Could not build Bazel *** Error code 1 Stop. make: stopped in /usr/ports/devel/bazel build of devel/bazel ended at Wed Dec 28 14:51:29 CET 2016 build time: 00:01:01 !!! build failure encountered !!! [00:48:12] ====>> Cleaning up [00:48:12] ====>> Umounting file systems