Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2018 22:08:02 GMT
From:      pkg-fallout@FreeBSD.org
To:        osa@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [exp - 104amd64-default-build-as-user][www/unit-go] Failed for unit-go-1.4 in build
Message-ID:  <201809262208.w8QM82lb047323@package19.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:     osa@FreeBSD.org
Last committer: lwhsu@FreeBSD.org
Ident:          $FreeBSD: head/www/unit-go/Makefile 455874 2017-12-09 19:46:42Z lwhsu $
Log URL:        http://package19.nyi.freebsd.org/data/104amd64-default-build-as-user/480709/logs/unit-go-1.4.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=104amd64-default-build-as-user&build=480709
Log:

=>> Building www/unit-go
build started at Wed Sep 26 22:07:38 UTC 2018
port directory: /usr/ports/www/unit-go
package name: unit-go-1.4
building for: FreeBSD 104amd64-default-build-as-user-job-15 10.4-RELEASE-p12 FreeBSD 10.4-RELEASE-p12 amd64
maintained by: osa@FreeBSD.org
Makefile ident:      $FreeBSD: head/www/unit-go/Makefile 455874 2017-12-09 19:46:42Z lwhsu $
Poudriere version: 3.2.7-6-g819c79a1
Host OSVERSION: 1200083
Jail OSVERSION: 1004000
Job Id: 15

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1004000
UNAME_v=FreeBSD 10.4-RELEASE-p12
UNAME_r=10.4-RELEASE-p12
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7-6-g819c79a1
MASTERMNT=/poudriere/data/.m/104amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/104amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=104amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/104amd64-default-build-as-user/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 unit-go-1.4:
     DEBUG=off: Enable debug logging
     IPV6=on: IPv6 protocol support
     UNIXSOCK=on: Enable unix sockets
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
osa@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local  --modules=libexec/unit/modules  --state=libexec/unit  --log=/var/log/unit/unit.log  --pid=/var/run/unit/unit.pid  --ld-opt="-L/usr/local/lib" --control=unix:/var/run/unit/control.unit.sock
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/unit-go/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/unit-go/work  HOME=/wrkdirs/usr/ports/www/unit-go/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/unit-go/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/www/unit-go/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/unit-go/work  HOME=/wrkdirs/usr/ports/www/unit-go/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/unit-go/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/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  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--
GO_LIBDIR=share/go/pkg/freebsd_amd64  GO_SRCDIR=share/go/src  GO_PKGNAME=unit OSREL=10.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/unit"  EXAMPLESDIR="share/examples/unit"  DATADIR="share/unit"  WWWDIR="www/unit"  ETCDIR="etc/unit"
--End PLIST_SUB--

--SUB_LIST--
UNIT_PIDFILE=/var/run/unit/unit.pid  UNIT_SOCK=/var/run/unit/control.unit.sock  PREFIX=/usr/local PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/unit DOCSDIR=/usr/local/share/doc/unit EXAMPLESDIR=/usr/local/share/examples/unit  WWWDIR=/usr/local/www/unit ETCDIR=/usr/local/etc/unit
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# 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_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix "/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_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=error: invalid value 'c++14' in '-std=c++14'
CC_OUTPUT_921dbbb2_f2776b26=error: invalid value 'c++17' in '-std=c++17'
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=error: invalid value 'gnu++14' in '-std=gnu++14'
CC_OUTPUT_921dbbb2_fb62803b=error: invalid value 'gnu++17' in '-std=gnu++17'
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=10.4-RELEASE-p12
OSREL=10.4
OSVERSION=1004000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   unit-go-1.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_3.txz
[104amd64-default-build-as-user-job-15] Installing pkg-1.10.5_3...
[104amd64-default-build-as-user-job-15] Extracting pkg-1.10.5_3: .......... done
===>   unit-go-1.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of unit-go-1.4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by unit-go-1.4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by unit-go-1.4 for building
=> SHA256 Checksum OK for unit-1.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by unit-go-1.4 for building
===>  Extracting for unit-go-1.4
=> SHA256 Checksum OK for unit-1.4.tar.gz.
/bin/mkdir -p /wrkdirs/usr/ports/www/unit-go/work/src
/bin/ln -sf /wrkdirs/usr/ports/www/unit-go/work/unit-1.4/src/go/unit /wrkdirs/usr/ports/www/unit-go/work/src/unit
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for unit-go-1.4
===========================================================================
=======================<phase: build-depends  >============================
===>   unit-go-1.4 depends on file: /usr/local/bin/go - not found
===>   Installing existing package /packages/All/go-1.11,1.txz
[104amd64-default-build-as-user-job-15] Installing go-1.11,1...
[104amd64-default-build-as-user-job-15] Extracting go-1.11,1: .......... done
===>   unit-go-1.4 depends on file: /usr/local/bin/go - found
===>   Returning to build of unit-go-1.4
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for unit-go-1.4
configuring for FreeBSD 10.4-RELEASE-p12 amd64
checking for C compiler: cc
 + using Clang C compiler
 + FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
building an "echo" program
checking for int size ... 4
checking for long size ... 8
checking for long long size ... 8
checking for void * size ... 8
checking for size_t size ... 8
checking for off_t size ... 8
checking for time_t size ... 8
checking for C99 variadic macro ... found
checking for GCC __builtin_expect() ... found
checking for GCC __builtin_unreachable() ... found
checking for GCC __builtin_prefetch() ... found
checking for GCC __builtin_clz() ... found
checking for GCC __builtin_popcount() ... found
checking for GCC __attribute__ visibility ... found
checking for GCC __attribute__ aligned ... found
checking for GCC __attribute__ malloc ... found
checking for GCC __attribute__ packed ... found
checking for GCC builtin atomic operations ... found
checking for posix_memalign() ... found
checking for Linux malloc_usable_size() ... not found
checking for FreeBSD malloc_usable_size() ... found
checking for alloca() ... found
checking for Linux mallopt() ... not found
checking for MAP_ANON ... found
checking for MAP_POPULATE ... not found
checking for MAP_PREFAULT_READ ... found
checking for shm_open() ... found
checking for shm_open(SHM_ANON) ... found
checking for memfd_create() ... not found
checking for Linux clock_gettime(CLOCK_REALTIME_COARSE) ... not found
checking for FreeBSD clock_gettime(CLOCK_REALTIME_FAST) ... found
checking for clock_gettime(CLOCK_REALTIME) ... found
checking for Linux clock_gettime(CLOCK_MONOTONIC_COARSE) ... not found
checking for FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST) ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for HP-UX hg_gethrtime() ... not found
checking for struct tm.tm_gmtoff ... found
checking for altzone ... not found
checking for localtime_r() ... found
checking for pthread_yield() ... found
checking for pthread spinlock ... found
checking for pthread spinlock zero initial value ... found but is not working
checking for sem_timedwait() ... found
checking for __thread ... found
checking for Linux epoll ... not found
checking for kqueue ... found
checking for kqueue EVFILT_USER ... found
checking for Solaris event port ... not found
checking for /dev/poll ... not found
checking for AIX pollset ... not found
checking for AF_INET6 ... found
checking for sockaddr.sa_len ... found
checking for struct sockaddr size ... 16
checking for struct sockaddr_in size ... 16
checking for struct sockaddr_in6 size ... 28
checking for struct sockaddr_un size ... 106
checking for struct sockaddr_storage size ... 128
checking for socketpair(AF_UNIX, SOCK_SEQPACKET) ... found
checking for struct msghdr.msg_control ... found
checking for sys/filio.h ... found
checking for ioctl(FIONBIO) ... found
checking for socket(SOCK_NONBLOCK) ... found
checking for accept4() ... found
checking for Linux sendfile() ... not found
checking for FreeBSD sendfile() ... found
checking for posix_fadvise() ... found
checking for fcntl(F_READAHEAD) ... found
checking for fcntl(F_RDAHEAD) ... found
checking for getrandom() ... not found
checking for SYS_getrandom in Linux ... not found
checking for getentropy() ... not found
checking for getentropy() in sys/random.h ... not found
checking for ucontext ... found
checking for dlopen() ... found
checking for posix_spawn() ... found
checking for setproctitle() ... found
creating build/Makefile

Configuration summary:

  unit bin directory:           "/usr/local/bin"
  unit sbin directory:          "/usr/local/sbin"
  unit modules directory:       "/usr/local/libexec/unit/modules"
  unit state directory:         "/usr/local/libexec/unit"

  unit pid file:                "/var/run/unit/unit.pid"
  unit log file:                "/var/log/unit/unit.log"

  unit control API socket:      "unix:/var/run/unit/control.unit.sock"

  non-privileged user:          "nobody"
  non-privileged group:         ""

  IPv6 support:                 YES
  Unix domain sockets support:  YES
  debug logging:                NO

cd /wrkdirs/usr/ports/www/unit-go/work/unit-1.4 && env GOPATH="/wrkdirs/usr/ports/www/unit-go/work:/usr/local/share/go"  CGO_CFLAGS="-I/wrkdirs/usr/ports/www/unit-go/work/unit-1.4/src -I/wrkdirs/usr/ports/www/unit-go/work/unit-1.4/build -I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOBIN="" ./configure go
configuring Go package
checking for Go ... found
 + go version go1.11 freebsd/amd64
 + Go package path: "/wrkdirs/usr/ports/www/unit-go/work:/usr/local/share/go"
===========================================================================
=======================<phase: build          >============================
===>  Building for unit-go-1.4
cd /wrkdirs/usr/ports/www/unit-go/work/unit-1.4 && make go
runtime/cgo
net
vendor/golang_org/x/net/http/httpproxy
net/textproto
crypto/x509
vendor/golang_org/x/net/http/httpguts
crypto/tls
net/http/httptrace
net/http
unit
# unit
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_run':
nxt_cgo_lib.c:(.text+0xd8): undefined reference to `nxt_unit_init'
nxt_cgo_lib.c:(.text+0x111): undefined reference to `nxt_unit_run'
nxt_cgo_lib.c:(.text+0x11d): undefined reference to `nxt_unit_done'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_add_port':
nxt_cgo_lib.c:(.text+0x3ca): undefined reference to `nxt_unit_add_port'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_remove_port':
nxt_cgo_lib.c:(.text+0x40c): undefined reference to `nxt_unit_remove_port'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_response_create':
nxt_cgo_lib.c:(.text+0x509): undefined reference to `nxt_unit_response_init'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_response_add_field':
nxt_cgo_lib.c:(.text+0x554): undefined reference to `nxt_unit_response_add_field'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_response_send':
nxt_cgo_lib.c:(.text+0x571): undefined reference to `nxt_unit_response_send'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_response_write':
nxt_cgo_lib.c:(.text+0x59f): undefined reference to `nxt_unit_response_write'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_request_read':
nxt_cgo_lib.c:(.text+0x60f): undefined reference to `nxt_unit_request_read'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_request_done':
nxt_cgo_lib.c:(.text+0x647): undefined reference to `nxt_unit_request_done'
/tmp/go-build797201640/b001/_x006.o: In function `nxt_cgo_warn':
nxt_cgo_lib.c:(.text+0x69a): undefined reference to `nxt_unit_log'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 2

Stop.
make: stopped in /usr/ports/www/unit-go



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