Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2018 04:46:43 GMT
From:      pkg-fallout@FreeBSD.org
To:        ale@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][security/pkcs11-dump] Failed for pkcs11-dump-0.3.4 in build
Message-ID:  <201801210446.w0L4khwL032320@beefy12.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:     ale@FreeBSD.org
Last committer: ale@FreeBSD.org
Ident:          $FreeBSD: head/security/pkcs11-dump/Makefile 437018 2017-03-27 10:00:48Z ale $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459491_s328183/logs/pkcs11-dump-0.3.4.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p459491_s328183
Log:

=>> Building security/pkcs11-dump
build started at Sun Jan 21 04:46:32 UTC 2018
port directory: /usr/ports/security/pkcs11-dump
package name: pkcs11-dump-0.3.4
building for: FreeBSD head-amd64-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: ale@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/pkcs11-dump/Makefile 437018 2017-03-27 10:00:48Z ale $
Poudriere version: 3.2.4
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 09




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4
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=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ale@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
OPENSSL_CFLAGS="-I/usr/include"  OPENSSL_LIBS="-L/usr/lib -lcrypto" XDG_DATA_HOME=/wrkdirs/usr/ports/security/pkcs11-dump/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pkcs11-dump/work  HOME=/wrkdirs/usr/ports/security/pkcs11-dump/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pkcs11-dump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/pkcs11-dump/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pkcs11-dump/work  HOME=/wrkdirs/usr/ports/security/pkcs11-dump/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pkcs11-dump/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 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--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pkcs11-dump"  EXAMPLESDIR="share/examples/pkcs11-dump"  DATADIR="share/pkcs11-dump"  WWWDIR="www/pkcs11-dump"  ETCDIR="etc/pkcs11-dump"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pkcs11-dump DOCSDIR=/usr/local/share/doc/pkcs11-dump EXAMPLESDIR=/usr/local/share/examples/pkcs11-dump  WWWDIR=/usr/local/www/pkcs11-dump ETCDIR=/usr/local/etc/pkcs11-dump
--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
#### /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=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### 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)  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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pkcs11-dump-0.3.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-09] Installing pkg-1.10.4...
[head-amd64-default-job-09] Extracting pkg-1.10.4: .......... done
===>   pkcs11-dump-0.3.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pkcs11-dump-0.3.4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by pkcs11-dump-0.3.4 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by pkcs11-dump-0.3.4 for building
=> SHA256 Checksum OK for pkcs11-dump-0.3.4.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by pkcs11-dump-0.3.4 for building
===>  Extracting for pkcs11-dump-0.3.4
=> SHA256 Checksum OK for pkcs11-dump-0.3.4.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pkcs11-dump-0.3.4
===>  Applying FreeBSD patches for pkcs11-dump-0.3.4
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for pkcs11-dump-0.3.4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pkcs11-dump/work/pkcs11-dump-0.3.4/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pkcs11-dump/work/pkcs11-dump-0.3.4/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... amd64-portbld-freebsd12.0
checking host system type... amd64-portbld-freebsd12.0
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... no
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd12.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... (cached) yes
checking for working mktime... no
checking for vprintf... (cached) yes
checking for _doprnt... no
checking for gettimeofday... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for socket... yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strrchr... yes
checking for snprintf... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdargs.h usability... no
checking stdargs.h presence... no
checking for stdargs.h... no
checking for malloc.h... (cached) no
checking for ctype.h... (cached) yes
checking for string.h... (cached) yes
checking for errno.h... (cached) yes
checking for signal.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlopen in -ldl... yes
checking for OPENSSL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating versioninfo.rc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for pkcs11-dump-0.3.4
/usr/bin/make  all-am
c++ -DHAVE_CONFIG_H -I.      -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include -MT pkcs11-dump.o -MD -MP -MF .deps/pkcs11-dump.Tpo -c -o pkcs11-dump.o pkcs11-dump.cpp
pkcs11-dump.cpp:1139:6: error: non-constant-expression cannot be narrowed from type 'int' to 'CK_ATTRIBUTE_TYPE' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
                                {attrdescAttributes[j].nId, Buffer, sizeof (Buffer)}
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
pkcs11-dump.cpp:1139:6: note: insert an explicit cast to silence this issue
                                {attrdescAttributes[j].nId, Buffer, sizeof (Buffer)}
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
                                 static_cast<CK_ATTRIBUTE_TYPE>( )
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/pkcs11-dump/work/pkcs11-dump-0.3.4
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/pkcs11-dump/work/pkcs11-dump-0.3.4
*** Error code 1

Stop.
make: stopped in /usr/ports/security/pkcs11-dump



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