[00:00:00] ====>> Creating the reference jail... done [00:00:10] ====>> Mounting system devices for cur-default [00:00:10] ====>> Mounting ports/packages/distfiles [00:00:10] ====>> Stashing existing package repository [00:00:10] ====>> Mounting packages from: /pou/data/packages/cur-default [00:00:10] ====>> Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:11] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/cur-default-make.conf /etc/resolv.conf -> /pou/data/.m/cur-default/ref/etc/resolv.conf [00:00:11] ====>> Starting jail cur-default [00:00:11] ====>> Logs: /pou/data/logs/bulk/cur-default/2016-12-28_13h00m27s [00:00:11] ====>> Loading MOVED [00:00:11] ====>> Calculating ports order and dependencies [00:00:22] ====>> Sanity checking the repository [00:00:22] ====>> Checking packages for incremental rebuild needed [00:00:29] ====>> Deleting alsa-lib-1.1.2.txz: missing dependency: python27-2.7.12 [00:00:31] ====>> Deleting openjdk-7.111.01_2,1.txz: missing dependency: alsa-lib-1.1.2 [00:00:31] ====>> Deleting openjdk8-8.112.16_1.txz: missing dependency: alsa-lib-1.1.2 [00:00:39] ====>> Deleting stale symlinks [00:00:39] ====>> Deleting empty directories [00:00:39] ====>> Cleaning the build queue [00:00:39] ====>> Recording filesystem state for prepkg... done [00:00:41] ====>> Building 3 packages using 3 builders [00:00:41] ====>> Starting/Cloning builders [00:00:43] ====>> Hit CTRL+t at any time to see build progress and stats [00:00:43] ====>> [01][00:00:00] Starting build of audio/alsa-lib [00:01:23] ====>> [01][00:00:40] Finished build of audio/alsa-lib: Success [00:01:23] ====>> [01][00:00:00] Starting build of java/openjdk7 [00:40:29] ====>> [01][00:39:06] Finished build of java/openjdk7: Success [00:40:31] ====>> [01][00:00:00] Starting build of java/openjdk8 [01:01:00] ====>> [01][00:20:29] Finished build of java/openjdk8: Success [01:01:03] ====>> Stopping 3 builders [01:01:04] ====>> Creating pkgng repository Creating repository in /tmp/packages: .......... done Packing files for repository: .... done [01:01:46] ====>> Committing packages to repository [01:01:46] ====>> Removing old packages [01:01:46] ====>> Building with flags: [01:01:46] ====>> Removing existing /usr/local build started at Wed Dec 28 14:02:14 CET 2016 port directory: /usr/ports/devel/bazel building for: FreeBSD cur-default 12.0-CURRENT FreeBSD 12.0-CURRENT r307003 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: 1200012 ---Begin Environment--- PKGREPOSITORY=/tmp/pkgs PACKAGES=/tmp/pkgs SHELL=/bin/csh UNAME_v=FreeBSD 12.0-CURRENT r307003 UNAME_r=12.0-CURRENT 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/cur-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=12.0 _OSRELEASE=12.0-CURRENT PYTHONBASE=/usr/local OLDPWD=/ _SMP_CPUS=8 PWD=/pou/data/.m/cur-default/ref/.p/pool HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD MASTERNAME=cur-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=1200012 ---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=12.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/cur-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.99.8.txz [cur-default] Installing pkg-1.9.99.8... [cur-default] Extracting pkg-1.9.99.8: .......... done Message from pkg-1.9.99.8: If you are upgrading from the old package format, first run: # pkg2ng ===> 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 [cur-default] Installing bash-4.4.5... [cur-default] `-- Installing gettext-runtime-0.19.8.1_1... [cur-default] | `-- Installing indexinfo-0.2.6... [cur-default] | `-- Extracting indexinfo-0.2.6: .... done [cur-default] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [cur-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 [cur-default] Installing zip-3.0_1... [cur-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 [cur-default] Installing openjdk8-8.112.16_1... [cur-default] `-- Installing alsa-lib-1.1.2... [cur-default] | `-- Installing python2-2_3... [cur-default] | | `-- Installing python27-2.7.13_1... [cur-default] | | `-- Installing libffi-3.2.1... [cur-default] | | `-- Extracting libffi-3.2.1: .......... done [cur-default] | | `-- Installing readline-6.3.8... [cur-default] | | `-- Extracting readline-6.3.8: .......... done [cur-default] | | `-- Extracting python27-2.7.13_1: .......... done [cur-default] | `-- Extracting python2-2_3: ...... done [cur-default] `-- Extracting alsa-lib-1.1.2: .......... done [cur-default] `-- Installing dejavu-2.37... [cur-default] | `-- Installing fontconfig-2.12.1,1... [cur-default] | | `-- Installing expat-2.2.0_1... [cur-default] | | `-- Extracting expat-2.2.0_1: .......... done [cur-default] | | `-- Installing freetype2-2.6.3... [cur-default] | | `-- Installing png-1.6.26... [cur-default] | | `-- Extracting png-1.6.26: .......... done [cur-default] | | `-- Extracting freetype2-2.6.3: .......... done [cur-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 [cur-default] | `-- Installing mkfontdir-1.0.7... [cur-default] | | `-- Installing mkfontscale-1.1.2... [cur-default] | | `-- Installing libfontenc-1.1.3... [cur-default] | | | `-- Installing xproto-7.0.31... [cur-default] | | | `-- Extracting xproto-7.0.31: .......... done [cur-default] | | `-- Extracting libfontenc-1.1.3: ...... done [cur-default] | | `-- Extracting mkfontscale-1.1.2: .. done [cur-default] | `-- Extracting mkfontdir-1.0.7: .. done [cur-default] `-- Extracting dejavu-2.37: .......... done [cur-default] `-- Installing giflib-5.1.4... [cur-default] `-- Extracting giflib-5.1.4: .......... done [cur-default] `-- Installing java-zoneinfo-2016.i... [cur-default] `-- Extracting java-zoneinfo-2016.i: .......... done [cur-default] `-- Installing javavmwrapper-2.5_2... [cur-default] `-- Extracting javavmwrapper-2.5_2: .......... done [cur-default] `-- Installing libX11-1.6.4,1... [cur-default] | `-- Installing kbproto-1.0.7... [cur-default] | `-- Extracting kbproto-1.0.7: .......... done [cur-default] | `-- Installing libXdmcp-1.1.2... [cur-default] | `-- Extracting libXdmcp-1.1.2: ......... done [cur-default] | `-- Installing libxcb-1.12... [cur-default] | | `-- Installing libxml2-2.9.4... [cur-default] | | `-- Extracting libxml2-2.9.4: .......... done [cur-default] | | `-- Installing libpthread-stubs-0.3_6... [cur-default] | | `-- Extracting libpthread-stubs-0.3_6: ..... done [cur-default] | | `-- Installing libXau-1.0.8_3... [cur-default] | | `-- Extracting libXau-1.0.8_3: .......... done [cur-default] | `-- Extracting libxcb-1.12: .......... done [cur-default] `-- Extracting libX11-1.6.4,1: .......... done [cur-default] `-- Installing libXext-1.3.3_1,1... [cur-default] | `-- Installing xextproto-7.3.0... [cur-default] | `-- Extracting xextproto-7.3.0: .......... done [cur-default] `-- Extracting libXext-1.3.3_1,1: .......... done [cur-default] `-- Installing libXi-1.7.8,1... [cur-default] | `-- Installing libXfixes-5.0.3... [cur-default] | | `-- Installing fixesproto-5.0... [cur-default] | | `-- Extracting fixesproto-5.0: .... done [cur-default] | `-- Extracting libXfixes-5.0.3: .......... done [cur-default] | `-- Installing inputproto-2.3.2... [cur-default] | `-- Extracting inputproto-2.3.2: ........ done [cur-default] `-- Extracting libXi-1.7.8,1: .......... done [cur-default] `-- Installing libXrender-0.9.10... [cur-default] | `-- Installing renderproto-0.11.1... [cur-default] | `-- Extracting renderproto-0.11.1: .... done [cur-default] `-- Extracting libXrender-0.9.10: .......... done [cur-default] `-- Installing libXt-1.1.5,1... [cur-default] | `-- Installing libSM-1.2.2_3,1... [cur-default] | | `-- Installing libICE-1.0.9_1,1... [cur-default] | | `-- Extracting libICE-1.0.9_1,1: .......... done [cur-default] | `-- Extracting libSM-1.2.2_3,1: .......... done [cur-default] `-- Extracting libXt-1.1.5,1: .......... done [cur-default] `-- Installing libXtst-1.2.3... [cur-default] | `-- Installing recordproto-1.14.2... [cur-default] | `-- Extracting recordproto-1.14.2: .... done [cur-default] `-- Extracting libXtst-1.2.3: .......... done [cur-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_E5NSrn41/out/external/bazel_tools/WORKSPACE:1: Workspace name in /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_E5NSrn41/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 INFO: Loading package: src/main/cpp/util INFO: Loading package: src/java_tools/buildjar/java/com/google/devtools/build/\ java/turbine  INFO: Loading package: third_party/java/jdk/langtools INFO: Loading package: src/java_tools/buildjar/java/com/google/devtools/build/\ buildjar/genclass  INFO: Loading package: third_party/zlib INFO: Loading package: tools/python INFO: Loading package: third_party/java/android_databinding INFO: Loading package: src/tools/android/java/com/google/devtools/build/androi\ d/resources  INFO: Loading package: tools/build_defs/docker/testdata INFO: Loading package: tools/objc/memleaks 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/rules/apple\ /cpp  INFO: Loading package: src/main/java/com/google/devtools/build/lib/rules/cpp/p\ roto  INFO: Loading package: third_party/java/dd_plist INFO: Found 1 target... INFO: Building... [1 / 40] Writing file build-info-nonvolatile.properties [5 / 75] Creating source manifest for //src/java_tools/junitrunner/java/com/go\ ogle/testing/coverage:JacocoCoverage  [10 / 98] Writing file src/java_tools/junitrunner/java/com/google/testing/cove\ rage/JacocoCoverage_deploy.jar-2.params  [14 / 134] Compiling src/main/cpp/util/file_posix.cc [16 / 180] Expanding template third_party/java/apkbuilder/apkbuilder [19 / 211] Creating source manifest for //src/java_tools/singlejar:SingleJar [19 / 213] Expanding template src/java_tools/singlejar/SingleJar [24 / 259] Writing file src/java_tools/buildjar/java/com/google/devtools/build\ /java/turbine/javac/libjavac_turbine_compiler.jar-2.params  [33 / 364] Writing file src/main/java/com/google/devtools/build/lib/libandroid\ -rules.jar-2.params  [43 / 426] Writing file src/main/java/com/google/devtools/build/lib/standalone\ /libstandalone.jar-2.params  [64 / 655] Creating source manifest for //third_party/grpc:grpc-java-plugin [f\ or host]  [93 / 742] Writing file src/main/java/com/google/devtools/build/lib/rules/cpp/\ libcpp.jar-2.params  [116 / 1,082] Creating source manifest for //src/main/java/com/google/devtools\ /build/lib:bazel/BazelServer  [119 / 1,088] Writing file build-info-volatile.properties [119 / 1,111] Writing file src/main/java/com/google/devtools/build/lib/libsynt\ ax.jar-2.params  [119 / 1,181] Compiling third_party/protobuf/3.0.0/src/google/protobuf/stubs/o\ nce.cc  [121 / 1,181] Compiling third_party/protobuf/3.0.0/src/google/protobuf/empty.p\ b.cc  [129 / 1,181] Linking src/main/cpp/util/libport.pic.a 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_E5NSrn41/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: 6.864s, Critical Path: 2.84s 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:03:17 CET 2016 build time: 00:01:03 !!! build failure encountered !!! [01:02:50] ====>> Cleaning up [01:02:50] ====>> Umounting file systems