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:     f...@freebsd.org
Last committer: f...@freebsd.org
Ident:          $FreeBSD: head/security/kr/Makefile 465973 2018-03-30 14:19:23Z 
feld $
Log URL:        
http://beefy11.nyi.freebsd.org/data/head-i386-default/p466519_s332055/logs/kr-2.3.1.log
Build URL:      
http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p466519_s332055
Log:

=>> Building security/kr
build started at Fri Apr  6 07:25:06 UTC 2018
port directory: /usr/ports/security/kr
package name: kr-2.3.1
building for: FreeBSD head-i386-default-job-10 12.0-CURRENT FreeBSD 
12.0-CURRENT 1200060 i386
maintained by: f...@freebsd.org
Makefile ident:      $FreeBSD: head/security/kr/Makefile 465973 2018-03-30 
14:19:23Z feld $
Poudriere version: 3.2.6-1-ga0ae87a0
Host OSVERSION: 1200060
Jail OSVERSION: 1200060
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200060
UNAME_v=FreeBSD 12.0-CURRENT 1200060
UNAME_r=12.0-CURRENT
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-1-ga0ae87a0
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/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---
---End OPTIONS List---

--MAINTAINER--
f...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/kr/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/kr/work  
HOME=/wrkdirs/usr/ports/security/kr/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/security/kr/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/security/kr/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/kr/work  
HOME=/wrkdirs/usr/ports/security/kr/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/security/kr/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="" GO_LIBDIR=share/go/pkg/freebsd_386  
GO_SRCDIR=share/go/src  GO_PKGNAME=github.com/kryptco/kr OSREL=12.0 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 
DOCSDIR="share/doc/kr"  EXAMPLESDIR="share/examples/kr"  DATADIR="share/kr"  
WWWDIR="www/kr"  ETCDIR="etc/kr"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/kr 
DOCSDIR=/usr/local/share/doc/kr EXAMPLESDIR=/usr/local/share/examples/kr  
WWWDIR=/usr/local/www/kr ETCDIR=/usr/local/etc/kr
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) 
(based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix 
InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 
326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: 
posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" 
"/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" 
"elf_i386_fbsd" "-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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 
326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: 
posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200060
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---
--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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   kr-2.3.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[head-i386-default-job-10] Installing pkg-1.10.5...
[head-i386-default-job-10] Extracting pkg-1.10.5: .......... done
===>   kr-2.3.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of kr-2.3.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by kr-2.3.1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by kr-2.3.1 for building
=> SHA256 Checksum OK for kryptco-kr-2.3.1_GH0.tar.gz.
=> SHA256 Checksum OK for atotto-clipboard-bb272b8_GH0.tar.gz.
=> SHA256 Checksum OK for kryptco-qr-eb334d7_GH0.tar.gz.
=> SHA256 Checksum OK for kryptco-gf256-bbd714a_GH0.tar.gz.
=> SHA256 Checksum OK for urfave-cli-b438abf_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by kr-2.3.1 for building
===>  Extracting for kr-2.3.1
=> SHA256 Checksum OK for kryptco-kr-2.3.1_GH0.tar.gz.
=> SHA256 Checksum OK for atotto-clipboard-bb272b8_GH0.tar.gz.
=> SHA256 Checksum OK for kryptco-qr-eb334d7_GH0.tar.gz.
=> SHA256 Checksum OK for kryptco-gf256-bbd714a_GH0.tar.gz.
=> SHA256 Checksum OK for urfave-cli-b438abf_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for kr-2.3.1
===>  Applying FreeBSD patches for kr-2.3.1
cp -f -r /wrkdirs/usr/ports/security/kr/work/kr-2.3.1/vendor/ 
/wrkdirs/usr/ports/security/kr/work/src/
/bin/rm -f -r /wrkdirs/usr/ports/security/kr/work/kr-2.3.1/vendor/github.com/op
/usr/bin/sed -i.bak 's|const DEFAULT_PREFIX = "/usr"|const DEFAULT_PREFIX = 
"/usr/local"|' /wrkdirs/usr/ports/security/kr/work/kr-2.3.1/kr/kr_unix.go
===========================================================================
=======================<phase: build-depends  >============================
===>   kr-2.3.1 depends on package: rust>=1.19.0_2 - not found
===>   Installing existing package /packages/All/rust-1.24.1.txz
[head-i386-default-job-10] Installing rust-1.24.1...
[head-i386-default-job-10] `-- Installing curl-7.59.0...
[head-i386-default-job-10] |   `-- Installing ca_root_nss-3.36...
[head-i386-default-job-10] |   `-- Extracting ca_root_nss-3.36: ........ done
[head-i386-default-job-10] |   `-- Installing libnghttp2-1.31.0...
[head-i386-default-job-10] |   `-- Extracting libnghttp2-1.31.0: .......... done
[head-i386-default-job-10] `-- Extracting curl-7.59.0: .......... done
[head-i386-default-job-10] `-- Installing libedit-3.1.20170329_2,1...
[head-i386-default-job-10] `-- Extracting libedit-3.1.20170329_2,1: .......... 
done
[head-i386-default-job-10] `-- Installing libssh2-1.8.0,3...
[head-i386-default-job-10] `-- Extracting libssh2-1.8.0,3: .......... done
[head-i386-default-job-10] Extracting rust-1.24.1: .......... done
Message from ca_root_nss-3.36:

********************************* 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

***************************************************************************
===>   kr-2.3.1 depends on package: rust>=1.19.0_2 - found
===>   Returning to build of kr-2.3.1
===>   kr-2.3.1 depends on package: bash>0 - not found
===>   Installing existing package /packages/All/bash-4.4.19.txz
[head-i386-default-job-10] Installing bash-4.4.19...
[head-i386-default-job-10] `-- Installing gettext-runtime-0.19.8.1_1...
[head-i386-default-job-10] |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-10] |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-10] `-- Extracting gettext-runtime-0.19.8.1_1: 
.......... done
indexinfo: Impossible to open directory: Not permitted in capability mode
pkg-static: POST-INSTALL script failed
[head-i386-default-job-10] Extracting bash-4.4.19: .......... done
indexinfo: Impossible to open directory: Not permitted in capability mode
pkg-static: POST-INSTALL script failed
===>   kr-2.3.1 depends on package: bash>0 - found
===>   Returning to build of kr-2.3.1
===>   kr-2.3.1 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[head-i386-default-job-10] Installing gmake-4.2.1_2...
[head-i386-default-job-10] Extracting gmake-4.2.1_2: .......... done
indexinfo: Impossible to open directory: Not permitted in capability mode
indexinfo: Impossible to open directory: Not permitted in capability mode
indexinfo: Impossible to open directory: Not permitted in capability mode
pkg-static: POST-INSTALL script failed
===>   kr-2.3.1 depends on executable: gmake - found
===>   Returning to build of kr-2.3.1
===>   kr-2.3.1 depends on file: /usr/local/bin/go - not found
===>   Installing existing package /packages/All/go-1.10.1,1.txz
[head-i386-default-job-10] Installing go-1.10.1,1...
[head-i386-default-job-10] Extracting go-1.10.1,1: .......... done
===>   kr-2.3.1 depends on file: /usr/local/bin/go - found
===>   Returning to build of kr-2.3.1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for kr-2.3.1
===========================================================================
=======================<phase: build          >============================
===>  Building for kr-2.3.1
(cd /wrkdirs/usr/ports/security/kr/work/kr-2.3.1 &&  /usr/bin/env 
XDG_DATA_HOME=/wrkdirs/usr/ports/security/kr/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/kr/work  
HOME=/wrkdirs/usr/ports/security/kr/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/security/kr/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" 
GOPATH="/wrkdirs/usr/ports/security/kr/work:/usr/local/share/go"  
CGO_CFLAGS="-I/usr/local/include"  CGO_L
 DFLAGS="-L/usr/local/lib"  GOBIN="" gmake)
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/kr/work/kr-2.3.1'
rm -rf bin lib Frameworks
mkdir -p bin
mkdir -p lib
mkdir -p Frameworks
cd kr; go build  -o ../bin/kr
cd krd/main; CGO_LDFLAGS="-L/usr/local/lib" go build  -o ../../bin/krd
cd pkcs11shim; gmake; cp target/release/kr-pkcs11.so ../lib/
gmake[2]: Entering directory 
'/wrkdirs/usr/ports/security/kr/work/kr-2.3.1/pkcs11shim'
cargo build --release
   Compiling lazy_static v0.2.4
   Compiling libc v0.2.20
   Compiling log v0.3.7
   Compiling cfg-if v0.1.0
   Compiling time v0.1.36
   Compiling unix_socket v0.5.0
   Compiling users v0.5.2
   Compiling syslog v3.2.0
   Compiling pkcs11shim v0.1.0 
(file:///wrkdirs/usr/ports/security/kr/work/kr-2.3.1/pkcs11shim)
warning: unused import: `stderr`
 --> src/pkcs11_unused.rs:4:15
  |
4 | use std::io::{stderr, Write, Error};
  |               ^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

warning: unused macro definition
  --> src/pkcs11_unused.rs:33:1
   |
33 | / macro_rules! warning {
34 | |     ( $ ( $ arg : expr ), * ) => { 
35 | |         logger.as_ref().map(|l| l.warn(&format!($($arg),*)).map_err(|e| {
36 | |             writeln!(&mut stderr(), "error logging: {:?}", e);
37 | |         }));
38 | |     };
39 | | }
   | |_^
   |
   = note: #[warn(unused_macros)] on by default

error[E0308]: mismatched types
   --> src/pkcs11shim.rs:259:20
    |
259 |         *session = next_session_handle.fetch_add(1usize, SeqCst) as u64;
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
expected u32, found u64
    |
    = help: here are some functions which might fulfill your needs:
            - .count_ones()
            - .count_zeros()
            - .leading_zeros()
            - .trailing_zeros()

error[E0308]: mismatched types
   --> src/pkcs11shim.rs:200:22
    |
200 |             *count = MECHANISM_LIST.len() as u64;
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32, found u64
    |
    = help: here are some functions which might fulfill your needs:
            - .count_ones()
            - .count_zeros()
            - .leading_zeros()
            - .trailing_zeros()

error: aborting due to 2 previous errors

error: Could not compile `pkcs11shim`.

To learn more, run the command again with --verbose.
gmake[2]: *** [Makefile:2: all] Error 101
gmake[2]: Leaving directory 
'/wrkdirs/usr/ports/security/kr/work/kr-2.3.1/pkcs11shim'
cp: target/release/kr-pkcs11.so: No such file or directory
gmake[1]: *** [Makefile:62: all] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/kr/work/kr-2.3.1'
*** Error code 2

Stop.
make: stopped in /usr/ports/security/kr
_______________________________________________
freebsd-pkg-fallout@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout
To unsubscribe, send any mail to "freebsd-pkg-fallout-unsubscr...@freebsd.org"

Reply via email to