Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2017 01:37:34 GMT
From:      pkg-fallout@FreeBSD.org
To:        lev@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 110i386-default][devel/stlink] Failed for stlink-1.4.0 in build
Message-ID:  <201711250137.vAP1bYTm077260@beefy10.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: head/devel/stlink/Makefile 454590 2017-11-21 08:36:26Z mat $
Log URL:        http://beefy10.nyi.freebsd.org/data/110i386-default/454858/logs/stlink-1.4.0.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=110i386-default&build=454858
Log:

====>> Building devel/stlink
build started at Sat Nov 25 01:37:27 UTC 2017
port directory: /usr/ports/devel/stlink
building for: FreeBSD 110i386-default-job-01 11.0-RELEASE-p15 FreeBSD 11.0-RELEASE-p15 i386
maintained by: lev@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/stlink/Makefile 454590 2017-11-21 08:36:26Z mat $
Poudriere version: 3.1.22
Host OSVERSION: 1200052
Jail OSVERSION: 1100122
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p15
UNAME_r=11.0-RELEASE-p15
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=stlink-1.4.0
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110i386-default/ref/.p/pool
MASTERNAME=110i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.22
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---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---

--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  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=11.0
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
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=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.0-RELEASE-p15
#### 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
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.2.txz
[110i386-default-job-01] Installing pkg-1.10.2...
[110i386-default-job-01] Extracting pkg-1.10.2: .......... 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.6.txz
[110i386-default-job-01] Installing cmake-3.9.6...
[110i386-default-job-01] `-- Installing curl-7.56.1...
[110i386-default-job-01] |   `-- Installing ca_root_nss-3.34...
[110i386-default-job-01] |   `-- Extracting ca_root_nss-3.34: ........ done
[110i386-default-job-01] |   `-- Installing libnghttp2-1.27.0...
[110i386-default-job-01] |   `-- Extracting libnghttp2-1.27.0: .......... done
[110i386-default-job-01] `-- Extracting curl-7.56.1: .......... done
[110i386-default-job-01] `-- Installing expat-2.2.1...
[110i386-default-job-01] `-- Extracting expat-2.2.1: .......... done
[110i386-default-job-01] `-- Installing jsoncpp-1.8.1_2...
[110i386-default-job-01] `-- Extracting jsoncpp-1.8.1_2: .......... done
[110i386-default-job-01] `-- Installing libarchive-3.3.2,1...
[110i386-default-job-01] |   `-- Installing liblz4-1.8.0,1...
[110i386-default-job-01] |   `-- Extracting liblz4-1.8.0,1: .......... done
[110i386-default-job-01] |   `-- Installing lzo2-2.10_1...
[110i386-default-job-01] |   `-- Extracting lzo2-2.10_1: .......... done
[110i386-default-job-01] `-- Extracting libarchive-3.3.2,1: .......... done
[110i386-default-job-01] `-- Installing libuv-1.17.0...
[110i386-default-job-01] `-- Extracting libuv-1.17.0: .......... done
[110i386-default-job-01] `-- Installing rhash-1.3.5...
[110i386-default-job-01] `-- Extracting rhash-1.3.5: .......... done
[110i386-default-job-01] Extracting cmake-3.9.6: .......... done
Message from ca_root_nss-3.34:

********************************* 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
[110i386-default-job-01] Installing ninja-1.8.2,2...
[110i386-default-job-01] `-- Installing python27-2.7.14_1...
[110i386-default-job-01] |   `-- Installing gettext-runtime-0.19.8.1_1...
[110i386-default-job-01] |   | `-- Installing indexinfo-0.3.1...
[110i386-default-job-01] |   | `-- Extracting indexinfo-0.3.1: .... done
[110i386-default-job-01] |   `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[110i386-default-job-01] |   `-- Installing libffi-3.2.1_1...
[110i386-default-job-01] |   `-- Extracting libffi-3.2.1_1: .......... done
[110i386-default-job-01] |   `-- Installing readline-7.0.3_1...
[110i386-default-job-01] |   `-- Extracting readline-7.0.3_1: .......... done
[110i386-default-job-01] `-- Extracting python27-2.7.14_1: .......... done
[110i386-default-job-01] 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
[110i386-default-job-01] Installing pkgconf-1.3.10,1...
[110i386-default-job-01] 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
===========================================================================
=======================<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 3.8.0
-- 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
===========================================================================
=======================<phase: build          >============================
===>  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/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



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