From owner-freebsd-pkg-fallout@freebsd.org Thu Jan 4 14:15:15 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2188EB7538 for ; Thu, 4 Jan 2018 14:15:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF696B4DA for ; Thu, 4 Jan 2018 14:15:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8B6A6EB7537; Thu, 4 Jan 2018 14:15:15 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8ADA2EB7536 for ; Thu, 4 Jan 2018 14:15:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from package19.nyi.freebsd.org (package19.nyi.freebsd.org [IPv6:2610:1c1:1:6082::16:f5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A5C96B4D9; Thu, 4 Jan 2018 14:15:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from package19.nyi.freebsd.org (localhost [127.0.0.1]) by package19.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w04EFElQ078616; Thu, 4 Jan 2018 14:15:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by package19.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w04EFEGm078520; Thu, 4 Jan 2018 14:15:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 4 Jan 2018 14:15:14 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201801041415.w04EFEGm078520@package19.nyi.freebsd.org> To: lev@FreeBSD.org Subject: [exp - 103i386-default-build-as-user][devel/stlink] Failed for stlink-1.4.0 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 14:15:15 -0000 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: lev@FreeBSD.org Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/devel/stlink/Makefile 454590 2017-11-21 08:36:26Z mat $ Log URL: http://package19.nyi.freebsd.org/data/103i386-default-build-as-user/458005/logs/stlink-1.4.0.log Build URL: http://package19.nyi.freebsd.org/build.html?mastername=103i386-default-build-as-user&build=458005 Log: =>> Building devel/stlink build started at Thu Jan 4 14:15:03 UTC 2018 port directory: /usr/ports/devel/stlink package name: stlink-1.4.0 building for: FreeBSD 103i386-default-build-as-user-job-07 10.3-RELEASE-p26 FreeBSD 10.3-RELEASE-p26 i386 maintained by: lev@FreeBSD.org Makefile ident: $FreeBSD: head/devel/stlink/Makefile 454590 2017-11-21 08:36:26Z mat $ Poudriere version: 3.2.3-25-g436f9628 Host OSVERSION: 1200052 Jail OSVERSION: 1003000 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1003000 UNAME_v=FreeBSD 10.3-RELEASE-p26 UNAME_r=10.3-RELEASE-p26 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/poudriere/data/.m/103i386-default-build-as-user/ref UID=0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/poudriere/data/.m/103i386-default-build-as-user/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/poudriere/data/.m/103i386-default-build-as-user/ref/.p/pool MASTERNAME=103i386-default-build-as-user SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root P_PYTHON_MAJOR_VER=2 POUDRIERE_VERSION=3.2.3-25-g436f9628 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh GID=0 LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for stlink-1.4.0: GTK3=off: GTK+ 3 GUI toolkit support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- lev@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/stlink/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/stlink/work HOME=/wrkdirs/usr/ports/devel/stlink/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/stlink/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/stlink/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/stlink/work HOME=/wrkdirs/usr/ports/devel/stlink/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/stlink/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/stlink/work/stage 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-- GTK3="@comment " NO_GTK3="" CMAKE_BUILD_TYPE="release" OSREL=10.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/stlink" EXAMPLESDIR="share/examples/stlink" DATADIR="share/stlink" WWWDIR="www/stlink" ETCDIR="etc/stlink" --End PLIST_SUB-- --SUB_LIST-- GTK3="@comment " NO_GTK3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/stlink DOCSDIR=/usr/local/share/doc/stlink EXAMPLESDIR=/usr/local/share/examples/stlink WWWDIR=/usr/local/www/stlink ETCDIR=/usr/local/etc/stlink --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # 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 _OSRELEASE=10.3-RELEASE-p26 #### Misc Poudriere #### 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-- =================================================== ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===> stlink-1.4.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.3_1.txz [103i386-default-build-as-user-job-07] Installing pkg-1.10.3_1... [103i386-default-build-as-user-job-07] Extracting pkg-1.10.3_1: .......... done ===> stlink-1.4.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of stlink-1.4.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by stlink-1.4.0 for building =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by stlink-1.4.0 for building => SHA256 Checksum OK for texane-stlink-1.4.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by stlink-1.4.0 for building ===> Extracting for stlink-1.4.0 => SHA256 Checksum OK for texane-stlink-1.4.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for stlink-1.4.0 ===> Applying extra patch /usr/ports/devel/stlink/files/extra-pacth-turn-off-gtk ===> Applying FreeBSD patches for stlink-1.4.0 =========================================================================== =================================================== ===> stlink-1.4.0 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-3.10.1_1.txz [103i386-default-build-as-user-job-07] Installing cmake-3.10.1_1... [103i386-default-build-as-user-job-07] `-- Installing curl-7.57.0... [103i386-default-build-as-user-job-07] | `-- Installing ca_root_nss-3.34.1... [103i386-default-build-as-user-job-07] | `-- Extracting ca_root_nss-3.34.1: ........ done [103i386-default-build-as-user-job-07] | `-- Installing libnghttp2-1.29.0... [103i386-default-build-as-user-job-07] | `-- Extracting libnghttp2-1.29.0: .......... done [103i386-default-build-as-user-job-07] `-- Extracting curl-7.57.0: .......... done [103i386-default-build-as-user-job-07] `-- Installing expat-2.2.5... [103i386-default-build-as-user-job-07] `-- Extracting expat-2.2.5: .......... done [103i386-default-build-as-user-job-07] `-- Installing jsoncpp-1.8.1_2... [103i386-default-build-as-user-job-07] `-- Extracting jsoncpp-1.8.1_2: .......... done [103i386-default-build-as-user-job-07] `-- Installing libarchive-3.3.2,1... [103i386-default-build-as-user-job-07] | `-- Installing liblz4-1.8.0,1... [103i386-default-build-as-user-job-07] | `-- Extracting liblz4-1.8.0,1: .......... done [103i386-default-build-as-user-job-07] | `-- Installing lzo2-2.10_1... [103i386-default-build-as-user-job-07] | `-- Extracting lzo2-2.10_1: .......... done [103i386-default-build-as-user-job-07] `-- Extracting libarchive-3.3.2,1: .......... done [103i386-default-build-as-user-job-07] `-- Installing libuv-1.18.0... [103i386-default-build-as-user-job-07] `-- Extracting libuv-1.18.0: .......... done [103i386-default-build-as-user-job-07] `-- Installing rhash-1.3.5... [103i386-default-build-as-user-job-07] `-- Extracting rhash-1.3.5: .......... done [103i386-default-build-as-user-job-07] Extracting cmake-3.10.1_1: .......... done Message from ca_root_nss-3.34.1: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** ===> stlink-1.4.0 depends on file: /usr/local/bin/cmake - found ===> Returning to build of stlink-1.4.0 ===> stlink-1.4.0 depends on executable: ninja - not found ===> Installing existing package /packages/All/ninja-1.8.2,2.txz [103i386-default-build-as-user-job-07] Installing ninja-1.8.2,2... [103i386-default-build-as-user-job-07] `-- Installing python27-2.7.14_1... [103i386-default-build-as-user-job-07] | `-- Installing gettext-runtime-0.19.8.1_1... [103i386-default-build-as-user-job-07] | | `-- Installing indexinfo-0.3.1... [103i386-default-build-as-user-job-07] | | `-- Extracting indexinfo-0.3.1: .... done [103i386-default-build-as-user-job-07] | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [103i386-default-build-as-user-job-07] | `-- Installing libffi-3.2.1_2... [103i386-default-build-as-user-job-07] | `-- Extracting libffi-3.2.1_2: .......... done [103i386-default-build-as-user-job-07] | `-- Installing readline-7.0.3_1... [103i386-default-build-as-user-job-07] | `-- Extracting readline-7.0.3_1: .......... done [103i386-default-build-as-user-job-07] `-- Extracting python27-2.7.14_1: .......... done [103i386-default-build-as-user-job-07] Extracting ninja-1.8.2,2: ....... done Message from python27-2.7.14_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 =========================================================================== ===> stlink-1.4.0 depends on executable: ninja - found ===> Returning to build of stlink-1.4.0 ===> stlink-1.4.0 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.3.10,1.txz [103i386-default-build-as-user-job-07] Installing pkgconf-1.3.10,1... [103i386-default-build-as-user-job-07] Extracting pkgconf-1.3.10,1: .......... done ===> stlink-1.4.0 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of stlink-1.4.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for stlink-1.4.0 ===> Performing in-source build /bin/mkdir -p /wrkdirs/usr/ports/devel/stlink/work/stlink-1.4.0 -- The C compiler identification is Clang 3.4.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- stlink version: 1.4.0 -- Major 1 Minor 4 Patch 0 -- Performing Test C_SUPPORTS_STD_GNU99 -- Performing Test C_SUPPORTS_STD_GNU99 - Success -- Performing Test C_SUPPORTS_WALL -- Performing Test C_SUPPORTS_WALL - Success -- Performing Test C_SUPPORTS_WEXTRA -- Performing Test C_SUPPORTS_WEXTRA - Success -- Performing Test C_SUPPORTS_WSHADOW -- Performing Test C_SUPPORTS_WSHADOW - Success -- Performing Test C_SUPPORTS_D_FORTIFY_SOURCE_2 -- Performing Test C_SUPPORTS_D_FORTIFY_SOURCE_2 - Success -- Performing Test C_SUPPORTS_FSTRICT_ALIASING -- Performing Test C_SUPPORTS_FSTRICT_ALIASING - Success -- Performing Test C_SUPPORTS_WUNDEF -- Performing Test C_SUPPORTS_WUNDEF - Success -- Performing Test C_SUPPORTS_WFORMAT -- Performing Test C_SUPPORTS_WFORMAT - Success -- Performing Test C_SUPPORTS_WFORMAT_SECURITY -- Performing Test C_SUPPORTS_WFORMAT_SECURITY - Success -- Performing Test C_SUPPORTS_WMAYBE_UNINITIALIZED -- Performing Test C_SUPPORTS_WMAYBE_UNINITIALIZED - Failed -- Performing Test C_SUPPORTS_WMISSING_VARIABLE_DECLARATIONS -- Performing Test C_SUPPORTS_WMISSING_VARIABLE_DECLARATIONS - Success -- Performing Test C_SUPPORTS_WSHORTEN_64_TO_32 -- Performing Test C_SUPPORTS_WSHORTEN_64_TO_32 - Success -- Performing Test C_SUPPORTS_WIMPLICIT_FUNCTION_DECLARATION -- Performing Test C_SUPPORTS_WIMPLICIT_FUNCTION_DECLARATION - Success -- Performing Test C_SUPPORTS_WNO_STRING_PLUS_INT -- Performing Test C_SUPPORTS_WNO_STRING_PLUS_INT - Success -- Performing Test C_SUPPORTS_WREDUNDANT_DECLS -- Performing Test C_SUPPORTS_WREDUNDANT_DECLS - Success -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test C_SUPPORTS_O2 -- Performing Test C_SUPPORTS_O2 - Success -- Performing Test C_SUPPORTS_WERROR -- Performing Test C_SUPPORTS_WERROR - Success -- Found Libusb: /usr/lib/libusb.so -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Manpage generation disabled -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_COLOR_MAKEFILE CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /wrkdirs/usr/ports/devel/stlink/work/stlink-1.4.0 =========================================================================== =================================================== ===> Building for stlink-1.4.0 [1/31] /usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmissing-variable-declarations -Wshorten-64-to-32 -Wimplicit-function-declaration -Wno-string-plus-int -Wredundant-decls -fPIC -O2 -Werror -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/st-info.dir/src/tools/info.c.o -MF CMakeFiles/st-info.dir/src/tools/info.c.o.d -o CMakeFiles/st-info.dir/src/tools/info.c.o -c src/tools/info.c [2/31] /usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmissing-variable-declarations -Wshorten-64-to-32 -Wimplicit-function-declaration -Wno-string-plus-int -Wredundant-decls -fPIC -O2 -Werror -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/st-flash.dir/src/tools/flash.c.o -MF CMakeFiles/st-flash.dir/src/tools/flash.c.o.d -o CMakeFiles/st-flash.dir/src/tools/flash.c.o -c src/tools/flash.c [3/31] /usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmissing-variable-declarations -Wshorten-64-to-32 -Wimplicit-function-declaration -Wno-string-plus-int -Wredundant-decls -fPIC -O2 -Werror -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/st-flash.dir/src/tools/flash_opts.c.o -MF CMakeFiles/st-flash.dir/src/tools/flash_opts.c.o.d -o CMakeFiles/st-flash.dir/src/tools/flash_opts.c.o -c src/tools/flash_opts.c [4/31] /usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmissing-variable-declarations -Wshorten-64-to-32 -Wimplicit-function-declaration -Wno-string-plus-int -Wredundant-decls -fPIC -O2 -Werror -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stlink-static.dir/src/chipid.c.o -MF CMakeFiles/stlink-static.dir/src/chipid.c.o.d -o CMakeFiles/stlink-static.dir/src/chipid.c.o -c src/chipid.c [5/31] /usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmissing-variable-declarations -Wshorten-64-to-32 -Wimplicit-function-declaration -Wno-string-plus-int -Wredundant-decls -fPIC -O2 -Werror -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stlink-static.dir/src/common.c.o -MF CMakeFiles/stlink-static.dir/src/common.c.o.d -o CMakeFiles/stlink-static.dir/src/common.c.o -c src/common.c FAILED: CMakeFiles/stlink-static.dir/src/common.c.o /usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wextra -Wshadow -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmissing-variable-declarations -Wshorten-64-to-32 -Wimplicit-function-declaration -Wno-string-plus-int -Wredundant-decls -fPIC -O2 -Werror -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stlink-static.dir/src/common.c.o -MF CMakeFiles/stlink-static.dir/src/common.c.o.d -o CMakeFiles/stlink-static.dir/src/common.c.o -c src/common.c src/common.c:1034:41: error: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] mf->base = (uint8_t*) mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); ~~~~ ~~~^~~~~~~ src/common.c:1040:18: error: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] mf->len = st.st_size; ~ ~~~^~~~~~~ 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/stlink