From owner-freebsd-pkg-fallout@freebsd.org Sat Feb 24 01:11:39 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5776F0563D for ; Sat, 24 Feb 2018 01:11:38 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0B283A63 for ; Sat, 24 Feb 2018 01:11:38 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1C9F9F05627; Sat, 24 Feb 2018 01:11:38 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA3B3F05625 for ; Sat, 24 Feb 2018 01:11:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DC6583A57; Sat, 24 Feb 2018 01:11:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy4.nyi.freebsd.org (beefy4.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 88B191E342; Sat, 24 Feb 2018 01:11:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy4.nyi.freebsd.org (localhost [127.0.0.1]) by beefy4.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1O1BbKS018015; Sat, 24 Feb 2018 01:11:37 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy4.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w1O1Bbdi018009; Sat, 24 Feb 2018 01:11:37 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 24 Feb 2018 01:11:37 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201802240111.w1O1Bbdi018009@beefy4.nyi.freebsd.org> To: lev@FreeBSD.org Subject: [package - 103i386-quarterly][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: Sat, 24 Feb 2018 01:11:39 -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: branches/2018Q1/devel/stlink/Makefile 454590 2017-11-21 08:36:26Z mat $ Log URL: http://beefy4.nyi.freebsd.org/data/103i386-quarterly/462762/logs/stlink-1.4.0.log Build URL: http://beefy4.nyi.freebsd.org/build.html?mastername=103i386-quarterly&build=462762 Log: =>> Building devel/stlink build started at Sat Feb 24 01:11:29 UTC 2018 port directory: /usr/ports/devel/stlink package name: stlink-1.4.0 building for: FreeBSD 103i386-quarterly-job-16 10.3-RELEASE-p26 FreeBSD 10.3-RELEASE-p26 i386 maintained by: lev@FreeBSD.org Makefile ident: $FreeBSD: branches/2018Q1/devel/stlink/Makefile 454590 2017-11-21 08:36:26Z mat $ Poudriere version: 3.2.4-56-g0fd5b0e3 Host OSVERSION: 1200054 Jail OSVERSION: 1003000 Job Id: 16 ---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 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.4-56-g0fd5b0e3 MASTERMNT=/usr/local/poudriere/data/.m/103i386-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/103i386-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=103i386-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/103i386-quarterly/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh 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 PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=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=10.3 OSVERSION=1003000 PYTHONBASE=/usr/local UID=0 _OSRELEASE=10.3-RELEASE-p26 #### 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 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-quarterly-job-16] Installing pkg-1.10.3_1... [103i386-quarterly-job-16] 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-quarterly-job-16] Installing cmake-3.10.1_1... [103i386-quarterly-job-16] `-- Installing curl-7.58.0... [103i386-quarterly-job-16] | `-- Installing ca_root_nss-3.35... [103i386-quarterly-job-16] | `-- Extracting ca_root_nss-3.35: ........ done [103i386-quarterly-job-16] | `-- Installing libnghttp2-1.29.0... [103i386-quarterly-job-16] | `-- Extracting libnghttp2-1.29.0: .......... done [103i386-quarterly-job-16] `-- Extracting curl-7.58.0: .......... done [103i386-quarterly-job-16] `-- Installing expat-2.2.5... [103i386-quarterly-job-16] `-- Extracting expat-2.2.5: .......... done [103i386-quarterly-job-16] `-- Installing jsoncpp-1.8.1_2... [103i386-quarterly-job-16] `-- Extracting jsoncpp-1.8.1_2: .......... done [103i386-quarterly-job-16] `-- Installing libarchive-3.3.2,1... [103i386-quarterly-job-16] | `-- Installing liblz4-1.8.0,1... [103i386-quarterly-job-16] | `-- Extracting liblz4-1.8.0,1: .......... done [103i386-quarterly-job-16] | `-- Installing lzo2-2.10_1... [103i386-quarterly-job-16] | `-- Extracting lzo2-2.10_1: .......... done [103i386-quarterly-job-16] `-- Extracting libarchive-3.3.2,1: .......... done [103i386-quarterly-job-16] `-- Installing libuv-1.18.0... [103i386-quarterly-job-16] `-- Extracting libuv-1.18.0: .......... done [103i386-quarterly-job-16] `-- Installing rhash-1.3.5... [103i386-quarterly-job-16] `-- Extracting rhash-1.3.5: .......... done [103i386-quarterly-job-16] Extracting cmake-3.10.1_1: .......... done Message from ca_root_nss-3.35: ********************************* 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-quarterly-job-16] Installing ninja-1.8.2,2... [103i386-quarterly-job-16] `-- Installing python27-2.7.14_1... [103i386-quarterly-job-16] | `-- Installing gettext-runtime-0.19.8.1_1... [103i386-quarterly-job-16] | | `-- Installing indexinfo-0.3.1... [103i386-quarterly-job-16] | | `-- Extracting indexinfo-0.3.1: .... done [103i386-quarterly-job-16] | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [103i386-quarterly-job-16] | `-- Installing libffi-3.2.1_2... [103i386-quarterly-job-16] | `-- Extracting libffi-3.2.1_2: .......... done [103i386-quarterly-job-16] | `-- Installing readline-7.0.3_1... [103i386-quarterly-job-16] | `-- Extracting readline-7.0.3_1: .......... done [103i386-quarterly-job-16] `-- Extracting python27-2.7.14_1: .......... done [103i386-quarterly-job-16] 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-quarterly-job-16] Installing pkgconf-1.3.10,1... [103i386-quarterly-job-16] 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