[package - 122i386-default][net/haproxy] Failed for haproxy-2.4.9 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 01:30:56 UTC
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:     demon@FreeBSD.org
Log URL:        http://beefy5.nyi.freebsd.org/data/122i386-default/b0c02f3a2961/logs/haproxy-2.4.9.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=122i386-default&build=b0c02f3a2961
Log:

=>> Building net/haproxy
build started at Tue Dec 21 01:27:59 UTC 2021
port directory: /usr/ports/net/haproxy
package name: haproxy-2.4.9
building for: FreeBSD 122i386-default-job-02 12.2-RELEASE-p11 FreeBSD 12.2-RELEASE-p11 i386
maintained by: demon@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p11
UNAME_r=12.2-RELEASE-p11
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.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/122i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122i386-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=default
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=default
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for haproxy-2.4.9:
     DEVICEATLAS=off: DeviceAtlas Device Detection support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     LUA=off: Lua scripting language support
     OPENSSL=on: SSL/TLS support via OpenSSL
     PROMEX=off: Enable Prometheus exporter
====> Use Perl Compatible Regular Expressions: you can only select none or one of them
     DPCRE=off: Link dynamically
     SPCRE=on: Link statically
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
demon@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/haproxy/work-default  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/haproxy/work-default  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/haproxy/work-default/.cache  HOME=/wrkdirs/usr/ports/net/haproxy/work-default TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/haproxy/work-default/.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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/haproxy/work-default  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/haproxy/work-default  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/haproxy/work-default/.cache  HOME=/wrkdirs/usr/ports/net/haproxy/work-default TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/haproxy/work-default/.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  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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="ins
 tall  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/haproxy"  EXAMPLESDIR="share/examples/haproxy"  DATADIR="share/haproxy"  WWWDIR="www/haproxy"  ETCDIR="etc/haproxy"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/haproxy DOCSDIR=/usr/local/share/doc/haproxy EXAMPLESDIR=/usr/local/share/examples/haproxy  WWWDIR=/usr/local/www/haproxy ETCDIR=/usr/local/etc/haproxy
--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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.2 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_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p11
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
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   >============================
===>  License GPLv2 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   haproxy-2.4.9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[122i386-default-job-02] Installing pkg-1.17.5...
[122i386-default-job-02] Extracting pkg-1.17.5: .......... done
===>   haproxy-2.4.9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of haproxy-2.4.9
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by haproxy-2.4.9 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by haproxy-2.4.9 for building
=> SHA256 Checksum OK for haproxy-2.4.9.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by haproxy-2.4.9 for building
===>  Extracting for haproxy-2.4.9
=> SHA256 Checksum OK for haproxy-2.4.9.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for haproxy-2.4.9
===>  Applying FreeBSD patches for haproxy-2.4.9 from /usr/ports/net/haproxy/files
===========================================================================
=======================<phase: build-depends  >============================
===>   haproxy-2.4.9 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[122i386-default-job-02] Installing gmake-4.3_2...
[122i386-default-job-02] `-- Installing gettext-runtime-0.21...
<snip>
                ^
include/haproxy/atomic.h:439:44: note: expanded from macro '_HA_ATOMIC_INC'
#define _HA_ATOMIC_INC(val)           do { __atomic_add_fetch(val, 1, __ATOMIC_RELAXED); } while (0)
                                           ^
2 warnings generated.
  CC      src/sock.o
  CC      src/flt_trace.o
  CC      src/acl.o
  CC      src/trace.o
src/trace.c:360:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        HA_ATOMIC_STORE(ev_ptr, 0);
                        ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
src/trace.c:376:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        HA_ATOMIC_STORE(ev_ptr, 0);
                        ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
src/trace.c:378:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        HA_ATOMIC_STORE(ev_ptr, ~0);
                        ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
src/trace.c:385:5: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                                HA_ATOMIC_OR(ev_ptr, ev->mask);
                                ^
include/haproxy/atomic.h:314:43: note: expanded from macro 'HA_ATOMIC_OR'
#define HA_ATOMIC_OR(val, flags)     do { __atomic_or_fetch(val,  flags, __ATOMIC_SEQ_CST); } while (0)
                                          ^
src/trace.c:387:5: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                                HA_ATOMIC_AND(ev_ptr, ~ev->mask);
                                ^
include/haproxy/atomic.h:313:43: note: expanded from macro 'HA_ATOMIC_AND'
#define HA_ATOMIC_AND(val, flags)    do { __atomic_and_fetch(val, flags, __ATOMIC_SEQ_CST); } while (0)
                                          ^
5 warnings generated.
  CC      src/http_rules.o
  CC      src/queue.o
  CC      src/mjson.o
  CC      src/h2.o
  CC      src/h1.o
  CC      src/mworker.o
  CC      src/lb_chash.o
  CC      src/ring.o
  CC      src/activity.o
src/activity.c:445:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        HA_ATOMIC_STORE(&sched_activity[i].calls, 0);
                        ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
src/activity.c:446:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        HA_ATOMIC_STORE(&sched_activity[i].cpu_time, 0);
                        ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
src/activity.c:447:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        HA_ATOMIC_STORE(&sched_activity[i].lat_time, 0);
                        ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
3 warnings generated.
  CC      src/tcp_sample.o
  CC      src/proto_tcp.o
  CC      src/htx.o
  CC      src/h1_htx.o
  CC      src/extcheck.o
  CC      src/channel.o
  CC      src/proto_sockpair.o
  CC      src/fd.o
  CC      src/compression.o
  CC      src/mqtt.o
  CC      src/tcp_act.o
src/tcp_act.c:225:4: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                        _HA_ATOMIC_INC(&strm->be->be_counters.denied_req);
                        ^
include/haproxy/atomic.h:439:44: note: expanded from macro '_HA_ATOMIC_INC'
#define _HA_ATOMIC_INC(val)           do { __atomic_add_fetch(val, 1, __ATOMIC_RELAXED); } while (0)
                                           ^
src/tcp_act.c:232:2: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
        _HA_ATOMIC_INC(&sess->fe->fe_counters.denied_req);
        ^
include/haproxy/atomic.h:439:44: note: expanded from macro '_HA_ATOMIC_INC'
#define _HA_ATOMIC_INC(val)           do { __atomic_add_fetch(val, 1, __ATOMIC_RELAXED); } while (0)
                                           ^
src/tcp_act.c:234:3: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                _HA_ATOMIC_INC(&sess->listener->counters->denied_req);
                ^
include/haproxy/atomic.h:439:44: note: expanded from macro '_HA_ATOMIC_INC'
#define _HA_ATOMIC_INC(val)           do { __atomic_add_fetch(val, 1, __ATOMIC_RELAXED); } while (0)
                                           ^
3 warnings generated.
  CC      src/raw_sock.o
src/raw_sock.c:412:3: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                _HA_ATOMIC_ADD(&global.out_bytes, done);
                ^
include/haproxy/atomic.h:437:44: note: expanded from macro '_HA_ATOMIC_ADD'
#define _HA_ATOMIC_ADD(val, i)        do { __atomic_add_fetch(val, i, __ATOMIC_RELAXED); } while (0)
                                           ^
1 warning generated.
  CC      src/frontend.o
  CC      src/http_conv.o
  CC      src/xprt_handshake.o
  CC      src/pool.o
  CC      src/applet.o
  CC      src/mailers.o
  CC      src/lb_fwrr.o
  CC      src/lb_fwlc.o
  CC      src/lb_fas.o
  CC      src/proto_uxst.o
  CC      src/http.o
  CC      src/action.o
  CC      src/protocol.o
  CC      src/thread.o
  CC      src/sock_unix.o
  CC      src/proto_udp.o
  CC      src/lb_map.o
  CC      src/sock_inet.o
  CC      src/lru.o
  CC      src/cfgparse-tcp.o
  CC      src/cfgdiag.o
  CC      src/proto_uxdg.o
  CC      src/ev_select.o
  CC      src/cfgparse-unix.o
  CC      src/uri_normalizer.o
  CC      src/ebmbtree.o
  CC      src/sha1.o
  CC      src/time.o
src/time.c:206:8: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
        ofs = HA_ATOMIC_LOAD(&now_offset);
              ^
include/haproxy/atomic.h:310:38: note: expanded from macro 'HA_ATOMIC_LOAD'
#define HA_ATOMIC_LOAD(val)          __atomic_load_n(val, __ATOMIC_SEQ_CST)
                                     ^
src/time.c:252:39: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
        } while (((new_now != old_now    && !_HA_ATOMIC_CAS(&global_now, &old_now, new_now)) ||
                                             ^
include/haproxy/atomic.h:518:39: note: expanded from macro '_HA_ATOMIC_CAS'
#define _HA_ATOMIC_CAS(val, old, new) __atomic_compare_exchange_n(val, old, new, 0, __ATOMIC_RELAXED, __ATOMIC_RELAXED)
                                      ^
src/time.c:270:3: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
                HA_ATOMIC_STORE(&now_offset, ofs_new);
                ^
include/haproxy/atomic.h:309:38: note: expanded from macro 'HA_ATOMIC_STORE'
#define HA_ATOMIC_STORE(val, new)    __atomic_store_n(val, new, __ATOMIC_SEQ_CST)
                                     ^
src/time.c:296:12: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
        old_now = _HA_ATOMIC_LOAD(&global_now);
                  ^
include/haproxy/atomic.h:431:39: note: expanded from macro '_HA_ATOMIC_LOAD'
#define _HA_ATOMIC_LOAD(val)          __atomic_load_n(val, __ATOMIC_RELAXED)
                                      ^
4 warnings generated.
  CC      src/signal.o
  CC      src/mworker-prog.o
  CC      src/hpack-dec.o
  CC      src/fix.o
  CC      src/arg.o
  CC      src/eb64tree.o
  CC      src/chunk.o
  CC      src/shctx.o
  CC      src/regex.o
  CC      src/fcgi.o
  CC      src/eb32tree.o
  CC      src/eb32sctree.o
  CC      src/dynbuf.o
  CC      src/uri_auth.o
  CC      src/hpack-tbl.o
  CC      src/ebimtree.o
  CC      src/auth.o
  CC      src/ebsttree.o
  CC      src/ebistree.o
  CC      src/base64.o
  CC      src/wdt.o
  CC      src/pipe.o
  CC      src/http_acl.o
  CC      src/hpack-enc.o
  CC      src/dict.o
  CC      src/dgram.o
  CC      src/init.o
  CC      src/hpack-huff.o
  CC      src/freq_ctr.o
  CC      src/ebtree.o
  CC      src/hash.o
  CC      src/version.o
  LD      haproxy
ld: error: unable to find library -latomic
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:948: haproxy] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/haproxy/work-default/haproxy-2.4.9'
*** Error code 1

Stop.
make: stopped in /usr/ports/net/haproxy