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

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 07 Dec 2021 01:40:22 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://beefy17.nyi.freebsd.org/data/main-i386-default/p7539e33f88ff_s169b368a62/logs/haproxy-2.4.9.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p7539e33f88ff_s169b368a62
Log:

=>> Building net/haproxy
build started at Tue Dec  7 01:39:07 UTC 2021
port directory: /usr/ports/net/haproxy
package name: haproxy-2.4.9
building for: FreeBSD main-i386-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400043 i386
maintained by: demon@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400042
Jail OSVERSION: 1400043
Job Id: 03




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400043
UNAME_v=FreeBSD 14.0-CURRENT 1400043
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-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=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=14.0 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd14.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_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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400043
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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
[main-i386-default-job-03] Installing pkg-1.17.5...
[main-i386-default-job-03] 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.
===========================================================================
<snip>
                                          ^
10 warnings generated.
  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: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-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:445:4: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-Watomic-alignment]
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: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-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:446:4: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-Watomic-alignment]
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: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-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)
                                     ^
src/activity.c:447:4: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-Watomic-alignment]
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)
                                     ^
  CC      src/tcp_sample.o
6 warnings generated.
  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
src/proto_sockpair.c:283:65: warning: parameter 'flags' set but not used [-Wunused-but-set-parameter]
static int sockpair_connect_server(struct connection *conn, int flags)
                                                                ^
1 warning generated.
  CC      src/compression.o
src/fd.c:461:9: warning: variable 'totlen' set but not used [-Wunused-but-set-variable]
        size_t totlen = 0;
               ^
1 warning generated.
  CC      src/mqtt.o
  CC      src/tcp_act.o
  CC      src/raw_sock.o
src/tcp_act.c:225:4: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-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: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-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:232:2: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-Watomic-alignment]
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: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-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)
                                           ^
src/tcp_act.c:234:3: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-Watomic-alignment]
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)
                                           ^
5 warnings generated.
  CC      src/frontend.o
src/raw_sock.c:412:3: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-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/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
src/proto_uxst.c:209:61: warning: parameter 'flags' set but not used [-Wunused-but-set-parameter]
static int uxst_connect_server(struct connection *conn, int flags)
                                                            ^
1 warning generated.
  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
  CC      src/signal.o
src/time.c:206:8: warning: large atomic operation may incur significant performance penalty; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-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; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-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; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-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; the access size (8 bytes) exceeds the max lock-free size (4  bytes) [-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/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
  CC      dev/flags/flags.o
  CC      admin/halog/halog.o
  CC      admin/halog/fgets2.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]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/haproxy/work-default/haproxy-2.4.9'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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