Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2017 02:32:35 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 111armv6-quarterly][devel/stlink] Failed for stlink-1.4.0 in build
Message-ID:  <201712170232.vBH2WZCO052065@beefy15.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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: lev@FreeBSD.org
Ident:          $FreeBSD: branches/2017Q4/devel/stlink/Makefile 448478 2017-08-21 15:32:07Z lev $
Log URL:        http://beefy15.nyi.freebsd.org/data/111armv6-quarterly/456459/logs/stlink-1.4.0.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=111armv6-quarterly&build=456459
Log:

=>> Building devel/stlink
build started at Sun Dec 17 02:32:17 UTC 2017
port directory: /usr/ports/devel/stlink
package name: stlink-1.4.0
building for: FreeBSD 111armv6-quarterly-job-08 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 1101001 arm
maintained by: lev@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2017Q4/devel/stlink/Makefile 448478 2017-08-21 15:32:07Z lev $
Poudriere version: 3.2.3-16-g77e43413
Host OSVERSION: 1200052
Jail OSVERSION: 1101001
Job Id: 08

---Begin Environment---
POUDRIEREPATH=/usr/local/bin/poudriere
LOCALBASE=/usr/local
LIBEXECPREFIX=/usr/local/libexec/poudriere
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIERE_VERSION=3.2.3-16-g77e43413
P_PYTHON_MAJOR_VER=2
HOME=/root
USER=root
SCRIPTPREFIX=/usr/local/share/poudriere
MASTERNAME=111armv6-quarterly
PWD=/usr/local/poudriere/data/.m/111armv6-quarterly/ref/.p/pool
P_PORTS_FEATURES=DEPENDS_ARGS SELECTED_OPTIONS
OLDPWD=/usr/local/poudriere/data/.m/111armv6-quarterly/ref/.p
POUDRIERE_BUILD_TYPE=bulk
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
QEMU_EMULATING=1
MASTERMNT=/usr/local/poudriere/data/.m/111armv6-quarterly/ref
SAVED_TERM=
STATUS=1
MAIL=/var/mail/root
BLOCKSIZE=K
UNAME_r=11.1-RELEASE-p6
UNAME_v=FreeBSD 11.1-RELEASE-p6 1101001
OSVERSION=1101001
ABI_FILE=/usr/lib/crt1.o
UNAME_m=arm
UNAME_p=armv6
SHELL=/bin/csh
---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" 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" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/stlink/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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=11.1 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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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=armv6
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=11.1-RELEASE-p6
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   stlink-1.4.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[111armv6-quarterly-job-08] Installing pkg-1.10.1...
[111armv6-quarterly-job-08] Extracting pkg-1.10.1: .......... done
===>   stlink-1.4.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of stlink-1.4.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by stlink-1.4.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  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.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  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
===========================================================================
=======================<phase: build-depends  >============================
===>   stlink-1.4.0 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.9.3.txz
[111armv6-quarterly-job-08] Installing cmake-3.9.3...
[111armv6-quarterly-job-08] `-- Installing curl-7.57.0...
[111armv6-quarterly-job-08] |   `-- Installing ca_root_nss-3.34.1...
[111armv6-quarterly-job-08] |   `-- Extracting ca_root_nss-3.34.1: ........ done
[111armv6-quarterly-job-08] |   `-- Installing libnghttp2-1.26.0...
[111armv6-quarterly-job-08] |   `-- Extracting libnghttp2-1.26.0: .......... done
[111armv6-quarterly-job-08] `-- Extracting curl-7.57.0: .......... done
[111armv6-quarterly-job-08] `-- Installing expat-2.2.1...
[111armv6-quarterly-job-08] `-- Extracting expat-2.2.1: .......... done
[111armv6-quarterly-job-08] `-- Installing jsoncpp-1.8.1_1...
[111armv6-quarterly-job-08] `-- Extracting jsoncpp-1.8.1_1: .......... done
[111armv6-quarterly-job-08] `-- Installing libarchive-3.3.1,1...
[111armv6-quarterly-job-08] |   `-- Installing liblz4-1.8.0,1...
[111armv6-quarterly-job-08] |   `-- Extracting liblz4-1.8.0,1: .......... done
[111armv6-quarterly-job-08] |   `-- Installing lzo2-2.10_1...
[111armv6-quarterly-job-08] |   `-- Extracting lzo2-2.10_1: .......... done
[111armv6-quarterly-job-08] `-- Extracting libarchive-3.3.1,1: .......... done
[111armv6-quarterly-job-08] `-- Installing libuv-1.14.1...
[111armv6-quarterly-job-08] `-- Extracting libuv-1.14.1: .......... done
[111armv6-quarterly-job-08] `-- Installing rhash-1.3.4...
[111armv6-quarterly-job-08] `-- Extracting rhash-1.3.4: .......... done
[111armv6-quarterly-job-08] Extracting cmake-3.9.3: .......... 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.7.2,2.txz
[111armv6-quarterly-job-08] Installing ninja-1.7.2,2...
[111armv6-quarterly-job-08] `-- Installing python27-2.7.14...
[111armv6-quarterly-job-08] |   `-- Installing gettext-runtime-0.19.8.1_1...
[111armv6-quarterly-job-08] |   | `-- Installing indexinfo-0.2.6...
[111armv6-quarterly-job-08] |   | `-- Extracting indexinfo-0.2.6: .... done
[111armv6-quarterly-job-08] |   `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[111armv6-quarterly-job-08] |   `-- Installing libffi-3.2.1_1...
[111armv6-quarterly-job-08] |   `-- Extracting libffi-3.2.1_1: .......... done
[111armv6-quarterly-job-08] |   `-- Installing readline-7.0.3...
[111armv6-quarterly-job-08] |   `-- Extracting readline-7.0.3: .......... done
[111armv6-quarterly-job-08] `-- Extracting python27-2.7.14: .......... done
[111armv6-quarterly-job-08] Extracting ninja-1.7.2,2: ....... done
Message from python27-2.7.14:
===========================================================================

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.7,1.txz
[111armv6-quarterly-job-08] Installing pkgconf-1.3.7,1...
[111armv6-quarterly-job-08] Extracting pkgconf-1.3.7,1: .......... done
===>   stlink-1.4.0 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of stlink-1.4.0
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  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 4.0.0
-- Check for working C compiler: /nxb-bin/usr/bin/cc
-- Check for working C compiler: /nxb-bin/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
===========================================================================
=======================<phase: build          >============================
===>  Building for stlink-1.4.0
[1/31] /nxb-bin/usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe  -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  -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] /nxb-bin/usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe  -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  -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] /nxb-bin/usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe  -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  -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] /nxb-bin/usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe  -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  -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] /nxb-bin/usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe  -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  -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 
/nxb-bin/usr/bin/cc -DCMAKE_SOURCE_DIR_LENGTH=50 -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -Iinclude -Isrc/mingw -O2 -pipe  -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  -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712170232.vBH2WZCO052065>