Date: Tue, 2 Jul 2019 20:32:20 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 120armv7-quarterly][devel/stlink] Failed for stlink-1.5.0_2 in build Message-ID: <201907022032.x62KWKgh097590@beefy13.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: mat@FreeBSD.org Ident: $FreeBSD: branches/2019Q2/devel/stlink/Makefile 479406 2018-09-10 13:14:50Z mat $ Log URL: http://beefy13.nyi.freebsd.org/data/120armv7-quarterly/505606/logs/stlink-1.5.0_2.log Build URL: http://beefy13.nyi.freebsd.org/build.html?mastername=120armv7-quarterly&build=505606 Log: =>> Building devel/stlink build started at Tue Jul 2 20:32:04 UTC 2019 port directory: /usr/ports/devel/stlink package name: stlink-1.5.0_2 building for: FreeBSD 120armv7-quarterly-job-23 12.0-RELEASE-p6 FreeBSD 12.0-RELEASE-p6 1200086 arm maintained by: lev@FreeBSD.org Makefile ident: $FreeBSD: branches/2019Q2/devel/stlink/Makefile 479406 2018-09-10 13:14:50Z mat $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300031 Jail OSVERSION: 1200086 Job Id: 23 ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv7 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1200086 UNAME_v=FreeBSD 12.0-RELEASE-p6 1200086 UNAME_r=12.0-RELEASE-p6 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/120armv7-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/120armv7-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=120armv7-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/120armv7-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.5.0_2: DOCS=on: Build and/or install documentation 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/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/local/sbin:/usr/local/bin:/root/bin 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 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-- PORTDOCS="" DOCS="" NO_DOCS="@comment " GTK3="@comment " NO_GTK3="" CMAKE_BUILD_TYPE="release" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/stlink" EXAMPLESDIR="share/examples/stlink" DATADIR="share/stlink" WWWDIR="www/stlink" ETCDIR="etc/stlink" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " 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=armv7 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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv7 OPSYS=FreeBSD _OSRELEASE=12.0-RELEASE-p6 OSREL=12.0 OSVERSION=1200086 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=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.5.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [120armv7-quarterly-job-23] Installing pkg-1.10.5_5... [120armv7-quarterly-job-23] Extracting pkg-1.10.5_5: .......... done ===> stlink-1.5.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of stlink-1.5.0_2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by stlink-1.5.0_2 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by stlink-1.5.0_2 for building => SHA256 Checksum OK for texane-stlink-1.5.0_GH0.tar.gz. <snip> =========================================================================== =======================<phase: extract >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by stlink-1.5.0_2 for building ===> Extracting for stlink-1.5.0_2 => SHA256 Checksum OK for texane-stlink-1.5.0_GH0.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for stlink-1.5.0_2 ===> Applying extra patch /usr/ports/devel/stlink/files/extra-pacth-turn-off-gtk ===> Applying FreeBSD patches for stlink-1.5.0_2 =========================================================================== =======================<phase: build-depends >============================ ===> stlink-1.5.0_2 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-3.13.4.txz [120armv7-quarterly-job-23] Installing cmake-3.13.4... [120armv7-quarterly-job-23] `-- Installing curl-7.65.0_2... [120armv7-quarterly-job-23] | `-- Installing ca_root_nss-3.44.1... [120armv7-quarterly-job-23] | `-- Extracting ca_root_nss-3.44.1: ........ done [120armv7-quarterly-job-23] | `-- Installing libnghttp2-1.37.0... [120armv7-quarterly-job-23] | `-- Extracting libnghttp2-1.37.0: .......... done [120armv7-quarterly-job-23] `-- Extracting curl-7.65.0_2: .......... done [120armv7-quarterly-job-23] `-- Installing expat-2.2.6_1... [120armv7-quarterly-job-23] `-- Extracting expat-2.2.6_1: .......... done [120armv7-quarterly-job-23] `-- Installing jsoncpp-1.8.1_6... [120armv7-quarterly-job-23] `-- Extracting jsoncpp-1.8.1_6: .......... done [120armv7-quarterly-job-23] `-- Installing libarchive-3.3.3,1... [120armv7-quarterly-job-23] | `-- Installing liblz4-1.8.3,1... [120armv7-quarterly-job-23] | `-- Extracting liblz4-1.8.3,1: .......... done [120armv7-quarterly-job-23] | `-- Installing lzo2-2.10_1... [120armv7-quarterly-job-23] | `-- Extracting lzo2-2.10_1: .......... done [120armv7-quarterly-job-23] `-- Extracting libarchive-3.3.3,1: .......... done [120armv7-quarterly-job-23] `-- Installing libuv-1.27.0... [120armv7-quarterly-job-23] `-- Extracting libuv-1.27.0: .......... done [120armv7-quarterly-job-23] `-- Installing rhash-1.3.5... [120armv7-quarterly-job-23] `-- Extracting rhash-1.3.5: .......... done [120armv7-quarterly-job-23] Extracting cmake-3.13.4: .......... done Message from ca_root_nss-3.44.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.5.0_2 depends on file: /usr/local/bin/cmake - found ===> Returning to build of stlink-1.5.0_2 ===> stlink-1.5.0_2 depends on executable: ninja - not found ===> Installing existing package /packages/All/ninja-1.8.2_1,2.txz [120armv7-quarterly-job-23] Installing ninja-1.8.2_1,2... [120armv7-quarterly-job-23] `-- Installing python27-2.7.16... [120armv7-quarterly-job-23] | `-- Installing gettext-runtime-0.19.8.1_2... [120armv7-quarterly-job-23] | | `-- Installing indexinfo-0.3.1... [120armv7-quarterly-job-23] | | `-- Extracting indexinfo-0.3.1: .... done [120armv7-quarterly-job-23] | `-- Extracting gettext-runtime-0.19.8.1_2: .......... done [120armv7-quarterly-job-23] | `-- Installing libffi-3.2.1_3... [120armv7-quarterly-job-23] | `-- Extracting libffi-3.2.1_3: .......... done [120armv7-quarterly-job-23] | `-- Installing readline-7.0.5... [120armv7-quarterly-job-23] | `-- Extracting readline-7.0.5: .......... done [120armv7-quarterly-job-23] `-- Extracting python27-2.7.16: .......... done [120armv7-quarterly-job-23] Extracting ninja-1.8.2_1,2: ......... done Message from python27-2.7.16: =========================================================================== 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.5.0_2 depends on executable: ninja - found ===> Returning to build of stlink-1.5.0_2 ===> stlink-1.5.0_2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.0,1.txz [120armv7-quarterly-job-23] Installing pkgconf-1.6.0,1... [120armv7-quarterly-job-23] Extracting pkgconf-1.6.0,1: .......... done ===> stlink-1.5.0_2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of stlink-1.5.0_2 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for stlink-1.5.0_2 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/devel/stlink/work/.build -- The C compiler identification is Clang 6.0.1 -- 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.5.0 -- Major 1 Minor 5 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/.build =========================================================================== =======================<phase: build >============================ ===> Building for stlink-1.5.0_2 [1/31] /nxb-bin/usr/bin/cc -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/include -Iinclude -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/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 /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/tools/info.c [2/31] /nxb-bin/usr/bin/cc -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/include -Iinclude -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/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 /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/tools/flash.c [3/31] /nxb-bin/usr/bin/cc -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/include -Iinclude -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/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 /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/tools/flash_opts.c [4/31] /nxb-bin/usr/bin/cc -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/include -Iinclude -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/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 /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/chipid.c [5/31] /nxb-bin/usr/bin/cc -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/include -Iinclude -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/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 /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/common.c FAILED: CMakeFiles/stlink-static.dir/src/common.c.o /nxb-bin/usr/bin/cc -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_UNISTD_H -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/include -Iinclude -I/wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/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 /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/common.c /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/common.c:1035: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); ~~~~ ~~~^~~~~~~ /wrkdirs/usr/ports/devel/stlink/work/stlink-1.5.0/src/common.c:1041: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?201907022032.x62KWKgh097590>