Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 06:43:52 GMT
From:      pkg-fallout@FreeBSD.org
To:        ale@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 103amd64-default][security/trezord] Failed for trezord-1.2.1 in build
Message-ID:  <201801110643.w0B6hqgF019498@beefy6.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/trezord/Makefile 458661 2018-01-10 17:12:45Z ale $
Log URL:        http://beefy6.nyi.freebsd.org/data/103amd64-default/458707/logs/trezord-1.2.1.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=103amd64-default&build=458707
Log:

=>> Building security/trezord
build started at Thu Jan 11 06:43:18 UTC 2018
port directory: /usr/ports/security/trezord
package name: trezord-1.2.1
building for: FreeBSD 103amd64-default-job-09 10.3-RELEASE-p26 FreeBSD 10.3-RELEASE-p26 amd64
maintained by: ale@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/trezord/Makefile 458661 2018-01-10 17:12:45Z ale $
Poudriere version: 3.2.3-46-g2b218269
Host OSVERSION: 1200052
Jail OSVERSION: 1003000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1003000
UNAME_v=FreeBSD 10.3-RELEASE-p26
UNAME_r=10.3-RELEASE-p26
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/103amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/103amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/103amd64-default/ref/.p/pool
MASTERNAME=103amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.3-46-g2b218269
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--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/trezord/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/trezord/work  HOME=/wrkdirs/usr/ports/security/trezord/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/trezord/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/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/trezord/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/trezord/work  HOME=/wrkdirs/usr/ports/security/trezord/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/trezord/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/security/trezord/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--
PORTDOCS="" PORTEXAMPLES="" CMAKE_BUILD_TYPE="release" OSREL=10.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/trezord"  EXAMPLESDIR="share/examples/trezord"  DATADIR="share/trezord"  WWWDIR="www/trezord"  ETCDIR="etc/trezord"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/trezord DOCSDIR=/usr/local/share/doc/trezord EXAMPLESDIR=/usr/local/share/examples/trezord  WWWDIR=/usr/local/www/trezord ETCDIR=/usr/local/etc/trezord
--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=10.3
OSVERSION=1003000
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=10.3-RELEASE-p26
#### 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
sbsize                   (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   trezord-1.2.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[103amd64-default-job-09] Installing pkg-1.10.4...
[103amd64-default-job-09] Extracting pkg-1.10.4: .......... done
===>   trezord-1.2.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of trezord-1.2.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL3 accepted by the user
=> trezord-1.2.1.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/ale/trezord-1.2.1.tar.gz
trezord-1.2.1.tar.gz                                     0  B    0  Bps
===> Fetching all distfiles required by trezord-1.2.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by trezord-1.2.1 for building
=> SHA256 Checksum OK for trezord-1.2.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by trezord-1.2.1 for building
===>  Extracting for trezord-1.2.1
=> SHA256 Checksum OK for trezord-1.2.1.tar.gz.
/bin/cp /usr/ports/security/trezord/files/usb.hpp /wrkdirs/usr/ports/security/trezord/work/trezord-1.2.1/src/
/bin/cp /usr/ports/security/trezord/files/config.proto /wrkdirs/usr/ports/security/trezord/work/trezord-1.2.1/src/config/
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for trezord-1.2.1
===>  Applying FreeBSD patches for trezord-1.2.1
===========================================================================
=======================<phase: build-depends  >============================
===>   trezord-1.2.1 depends on executable: protoc - not found
===>   Installing existing package /packages/All/protobuf-3.5.1.txz
[103amd64-default-job-09] Installing protobuf-3.5.1...
[103amd64-default-job-09] Extracting protobuf-3.5.1: .......... done
===>   trezord-1.2.1 depends on executable: protoc - found
===>   Returning to build of trezord-1.2.1
===>   trezord-1.2.1 depends on package: boost-libs>=0 - not found
===>   Installing existing package /packages/All/boost-libs-1.65.1_1.txz
[103amd64-default-job-09] Installing boost-libs-1.65.1_1...
[103amd64-default-job-09] `-- Installing icu-60.2_1,1...
[103amd64-default-job-09] `-- Extracting icu-60.2_1,1: .......... done
[103amd64-default-job-09] Extracting boost-libs-1.65.1_1: .......... done
Message from boost-libs-1.65.1_1:

You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   trezord-1.2.1 depends on package: boost-libs>=0 - found
===>   Returning to build of trezord-1.2.1
===>   trezord-1.2.1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.10.1_1.txz
[103amd64-default-job-09] Installing cmake-3.10.1_1...
[103amd64-default-job-09] `-- Installing curl-7.57.0...
[103amd64-default-job-09] |   `-- Installing ca_root_nss-3.34.1...
[103amd64-default-job-09] |   `-- Extracting ca_root_nss-3.34.1: ........ done
[103amd64-default-job-09] |   `-- Installing libnghttp2-1.29.0...
[103amd64-default-job-09] |   `-- Extracting libnghttp2-1.29.0: .......... done
[103amd64-default-job-09] `-- Extracting curl-7.57.0: .......... done
[103amd64-default-job-09] `-- Installing expat-2.2.5...
[103amd64-default-job-09] `-- Extracting expat-2.2.5: .......... done
[103amd64-default-job-09] `-- Installing jsoncpp-1.8.1_2...
[103amd64-default-job-09] `-- Extracting jsoncpp-1.8.1_2: .......... done
[103amd64-default-job-09] `-- Installing libarchive-3.3.2,1...
[103amd64-default-job-09] |   `-- Installing liblz4-1.8.0,1...
[103amd64-default-job-09] |   `-- Extracting liblz4-1.8.0,1: .......... done
[103amd64-default-job-09] |   `-- Installing lzo2-2.10_1...
<snip>

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

***************************************************************************
===>   trezord-1.2.1 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of trezord-1.2.1
===>   trezord-1.2.1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.8.2,2.txz
[103amd64-default-job-09] Installing ninja-1.8.2,2...
[103amd64-default-job-09] `-- Installing python27-2.7.14_1...
[103amd64-default-job-09] |   `-- Installing gettext-runtime-0.19.8.1_1...
[103amd64-default-job-09] |   | `-- Installing indexinfo-0.3.1...
[103amd64-default-job-09] |   | `-- Extracting indexinfo-0.3.1: .... done
[103amd64-default-job-09] |   `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[103amd64-default-job-09] |   `-- Installing libffi-3.2.1_2...
[103amd64-default-job-09] |   `-- Extracting libffi-3.2.1_2: .......... done
[103amd64-default-job-09] |   `-- Installing readline-7.0.3_1...
[103amd64-default-job-09] |   `-- Extracting readline-7.0.3_1: .......... done
[103amd64-default-job-09] `-- Extracting python27-2.7.14_1: .......... done
[103amd64-default-job-09] 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

===========================================================================
===>   trezord-1.2.1 depends on executable: ninja - found
===>   Returning to build of trezord-1.2.1
===>   trezord-1.2.1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.3.10,1.txz
[103amd64-default-job-09] Installing pkgconf-1.3.10,1...
[103amd64-default-job-09] Extracting pkgconf-1.3.10,1: .......... done
===>   trezord-1.2.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of trezord-1.2.1
===========================================================================
=======================<phase: lib-depends    >============================
===>   trezord-1.2.1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   trezord-1.2.1 depends on shared library: libjsoncpp.so - found (/usr/local/lib/libjsoncpp.so)
===>   trezord-1.2.1 depends on shared library: libmicrohttpd.so - not found
===>   Installing existing package /packages/All/libmicrohttpd-0.9.58_1.txz
[103amd64-default-job-09] Installing libmicrohttpd-0.9.58_1...
[103amd64-default-job-09] `-- Installing gnutls-3.5.16...
[103amd64-default-job-09] |   `-- Installing gmp-6.1.2...
[103amd64-default-job-09] |   `-- Extracting gmp-6.1.2: .......... done
[103amd64-default-job-09] |   `-- Installing libidn2-2.0.4...
[103amd64-default-job-09] |   | `-- Installing libunistring-0.9.8...
[103amd64-default-job-09] |   | `-- Extracting libunistring-0.9.8: .......... done
[103amd64-default-job-09] |   `-- Extracting libidn2-2.0.4: .......... done
[103amd64-default-job-09] |   `-- Installing libtasn1-4.12...
[103amd64-default-job-09] |   `-- Extracting libtasn1-4.12: .......... done
[103amd64-default-job-09] |   `-- Installing nettle-3.4...
[103amd64-default-job-09] |   `-- Extracting nettle-3.4: .......... done
[103amd64-default-job-09] |   `-- Installing p11-kit-0.23.9...
[103amd64-default-job-09] |   `-- Extracting p11-kit-0.23.9: .......... done
[103amd64-default-job-09] |   `-- Installing trousers-0.3.14_1...
[103amd64-default-job-09] |   | `-- Installing tpm-emulator-0.7.4_2...
===> Creating groups.
Creating group '_tss' with gid '601'.
===> Creating users
Creating user '_tss' with uid '601'.
[103amd64-default-job-09] |   | `-- Extracting tpm-emulator-0.7.4_2: ......... done
===> Creating groups.
Using existing group '_tss'.
===> Creating users
Using existing user '_tss'.
[103amd64-default-job-09] |   `-- Extracting trousers-0.3.14_1: .......... done
[103amd64-default-job-09] `-- Extracting gnutls-3.5.16: .......... done
[103amd64-default-job-09] `-- Installing libgcrypt-1.8.2...
[103amd64-default-job-09] |   `-- Installing libgpg-error-1.27...
[103amd64-default-job-09] |   `-- Extracting libgpg-error-1.27: .......... done
[103amd64-default-job-09] `-- Extracting libgcrypt-1.8.2: .......... done
[103amd64-default-job-09] Extracting libmicrohttpd-0.9.58_1: .......... done
Message from trousers-0.3.14_1:

To run tcsd automatically, add the following line to /etc/rc.conf:

tcsd_enable="YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:

tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"

To use TPM, add your_account to '_tss' group like following:

# pw groupmod _tss -m your_account
===>   trezord-1.2.1 depends on shared library: libmicrohttpd.so - found (/usr/local/lib/libmicrohttpd.so)
===>   Returning to build of trezord-1.2.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for trezord-1.2.1
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/security/trezord/work/trezord-1.2.1
-- The C compiler identification is Clang 3.4.1
-- The CXX compiler identification is Clang 3.4.1
-- 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
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found CURL: /usr/local/lib/libcurl.so (found version "7.57.0") 
-- Found PkgConfig: pkgconf (found version "1.3.10") 
-- Checking for module 'libmicrohttpd'
--   Found libmicrohttpd, version 0.9.58
-- Found libmicrohttpd: /usr/local/lib/libmicrohttpd.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   regex
--   thread
--   system
--   unit_test_framework
--   program_options
--   chrono
--   date_time
--   atomic
-- Found Protobuf: /usr/local/lib/libprotobuf.a;-pthread (found suitable version "3.5.1", minimum required is "2.5.0") 
-- Found JSONCPP: -L/usr/local/lib -ljsoncpp  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/security/trezord/work/trezord-1.2.1
===========================================================================
=======================<phase: build          >============================
===>  Building for trezord-1.2.1
cd /wrkdirs/usr/ports/security/trezord/work/trezord-1.2.1/src/config && /usr/local/bin/protoc  -I/usr/local/include -I. --cpp_out=. config.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: config.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
[1/20] /usr/bin/c++   -Isrc -I/usr/local/include -I/usr/local/include/jsoncpp -Ivendor/trezor-crypto -Ivendor/easyloggingpp -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION='"1.2.1"' -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/trezord.dir/src/main.cpp.o -MF CMakeFiles/trezord.dir/src/main.cpp.o.d -o CMakeFiles/trezord.dir/src/main.cpp.o -c src/main.cpp
FAILED: CMakeFiles/trezord.dir/src/main.cpp.o 
/usr/bin/c++   -Isrc -I/usr/local/include -I/usr/local/include/jsoncpp -Ivendor/trezor-crypto -Ivendor/easyloggingpp -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION='"1.2.1"' -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/trezord.dir/src/main.cpp.o -MF CMakeFiles/trezord.dir/src/main.cpp.o.d -o CMakeFiles/trezord.dir/src/main.cpp.o -c src/main.cpp
In file included from src/main.cpp:36:
src/usb.hpp:126:37: error: use of undeclared identifier 'libusb_set_auto_detach_kernel_driver'
                                    libusb_set_auto_detach_kernel_driver(handle, 1);
                                    ^
In file included from src/main.cpp:38:
In file included from src/core.hpp:26:
In file included from /usr/local/include/boost/regex.hpp:31:
In file included from /usr/local/include/boost/regex/v4/regex.hpp:97:
/usr/local/include/boost/regex/v4/instances.hpp:124:34: warning: unknown warning group '-Wkeyword-macro', ignored [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wkeyword-macro"
                                 ^
In file included from src/main.cpp:38:
In file included from src/core.hpp:26:
In file included from /usr/local/include/boost/regex.hpp:31:
In file included from /usr/local/include/boost/regex/v4/regex.hpp:108:
/usr/local/include/boost/regex/v4/instances.hpp:124:34: warning: unknown warning group '-Wkeyword-macro', ignored [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wkeyword-macro"
                                 ^
2 warnings and 1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/trezord



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