[package - 132arm64-default][devel/wasmer] Failed for wasmer-4.1.2_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Oct 2023 13:23:18 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:     kjozic@gmail.com
Log URL:        https://pkg-status.freebsd.org/ampere3/data/132arm64-default/e4b8bfc7570d/logs/wasmer-4.1.2_2.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=132arm64-default&build=e4b8bfc7570d
Log:

=>> Building devel/wasmer
build started at Sun Oct  1 13:18:06 UTC 2023
port directory: /usr/ports/devel/wasmer
package name: wasmer-4.1.2_2
building for: FreeBSD 132arm64-default-job-13 13.2-RELEASE-p3 FreeBSD 13.2-RELEASE-p3 arm64
maintained by: kjozic@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p3
UNAME_r=13.2-RELEASE-p3
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132arm64-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--
kjozic@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/wasmer/work/.cache  HOME=/wrkdirs/usr/ports/devel/wasmer/work TMPDIR="/wrkdirs/usr/ports/devel/wasmer/work" PATH=/wrkdirs/usr/ports/devel/wasmer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/wasmer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
ENABLE_SINGLEPASS=0 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/wasmer/work/.cache  HOME=/wrkdirs/usr/ports/devel/wasmer/work TMPDIR="/wrkdirs/usr/ports/devel/wasmer/work" PATH=/wrkdirs/usr/ports/devel/wasmer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/wasmer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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_SCRIP
T="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wasmer DOCSDIR=/usr/local/share/doc/wasmer EXAMPLESDIR=/usr/local/share/examples/wasmer  WWWDIR=/usr/local/www/wasmer ETCDIR=/usr/local/etc/wasmer
--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=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE-p3
OSREL=13.2
OSVERSION=1302001
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)  1048576
stack size              (kbytes, -s)  1048576
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   wasmer-4.1.2_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.7.pkg
[132arm64-default-job-13] Installing pkg-1.20.7...
[132arm64-default-job-13] Extracting pkg-1.20.7: .......... done
===>   wasmer-4.1.2_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wasmer-4.1.2_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
=> rust/crates/ascii-0.9.3.crate doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://crates.io/api/v1/crates/ascii/0.9.3/download?dummy=/rust/crates/ascii-0.9.3.crate
rust/crates/ascii-0.9.3.crate                           27 kB   58 MBps    00s
=> rust/crates/combine-3.8.1.crate doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://crates.io/api/v1/crates/combine/3.8.1/download?dummy=/rust/crates/combine-3.8.1.crate
rust/crates/combine-3.8.1.crate                        101 kB   17 MBps    00s
=> rust/crates/unreachable-1.0.0.crate doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://crates.io/api/v1/crates/unreachable/1.0.0/download?dummy=/rust/crates/unreachable-1.0.0.crate
rust/crates/unreachable-1.0.0.crate                   6355  B   29 MBps    00s
===> Fetching all distfiles required by wasmer-4.1.2_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by wasmer-4.1.2_2 for building
=> SHA256 Checksum OK for rust/crates/Inflector-0.11.4.crate.
=> SHA256 Checksum OK for rust/crates/addr2line-0.20.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.7.6.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.8.3.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-1.0.4.crate.
=> SHA256 Checksum OK for rust/crates/aliasable-0.1.3.crate.
=> SHA256 Checksum OK for rust/crates/allocator-api2-0.2.16.crate.
=> SHA256 Checksum OK for rust/crates/android-tzdata-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/android_system_properties-0.1.5.crate.
=> SHA256 Checksum OK for rust/crates/anes-0.1.6.crate.
=> SHA256 Checksum OK for rust/crates/anstream-0.3.2.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-1.0.1.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-parse-0.2.1.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-query-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-wincon-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/any_ascii-0.1.7.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.75.crate.
=> SHA256 Checksum OK for rust/crates/arbitrary-1.3.0.crate.
=> SHA256 Checksum OK for rust/crates/arrayref-0.3.7.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.5.2.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.7.4.crate.
=> SHA256 Checksum OK for rust/crates/ascii-0.9.3.crate.
<snip>
   Compiling enumset v1.1.2
   Compiling wai-bindgen-rust-impl v0.2.3
   Compiling scrypt v0.11.0
   Compiling dirs-sys v0.3.7
   Compiling hashlink v0.8.3
   Compiling num_enum_derive v0.5.11
   Compiling regex-syntax v0.6.29
   Compiling derive_builder_macro v0.12.0
   Compiling fallible-streaming-iterator v0.1.9
   Compiling tower-layer v0.3.2
   Compiling slice-group-by v0.3.1
   Compiling number_prefix v0.4.0
   Compiling wai-bindgen-rust v0.2.3
   Compiling dirs v4.0.0
   Compiling indicatif v0.17.6
   Compiling derive_builder v0.12.0
   Compiling lzma-rs v0.2.0
   Compiling clap v4.3.23
   Compiling minisign v0.7.5
   Compiling rayon v1.7.0
   Compiling signal-hook-mio v0.2.3
   Compiling regalloc2 v0.5.1
   Compiling cranelift-bforest v0.91.1
   Compiling blake3 v1.4.1
   Compiling parking_lot v0.12.1
   Compiling dirs-sys-next v0.1.2
   Compiling hash32 v0.2.1
   Compiling ouroboros v0.15.6
   Compiling replace_with v0.1.7
   Compiling cynic-codegen v3.2.2
   Compiling iana-time-zone v0.1.57
   Compiling fixedbitset v0.4.2
   Compiling whoami v1.4.1
   Compiling overload v0.1.1
   Compiling camino v1.1.6
   Compiling fs_extra v1.3.0
   Compiling bumpalo v3.13.0
   Compiling http-range-header v0.3.1
   Compiling petgraph v0.6.4
   Compiling nu-ansi-term v0.46.0
   Compiling wai-bindgen-wasmer-impl v0.2.3
   Compiling num_enum v0.5.11
   Compiling chrono v0.4.26
   Compiling strum v0.24.1
   Compiling crossterm v0.26.1
   Compiling dirs-next v2.0.0
   Compiling colored v2.0.4
   Compiling linked_hash_set v0.1.4
   Compiling termios v0.3.3
   Compiling term_size v0.3.2
   Compiling csv-core v0.1.10
   Compiling tracing-log v0.1.3
   Compiling regex-automata v0.1.10
   Compiling sharded-slab v0.1.4
   Compiling thread_local v1.1.7
   Compiling shell-words v1.1.0
   Compiling arrayref v0.3.7
   Compiling futures-executor v0.3.28
   Compiling harsh v0.2.2
   Compiling cooked-waker v5.0.0
   Compiling futures v0.3.28
   Compiling waker-fn v1.1.0
   Compiling constant_time_eq v0.3.0
   Compiling weezl v0.1.7
   Compiling zeroize v1.6.0
   Compiling wasmer-compiler-cranelift v4.1.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/compiler-cranelift)
   Compiling urlencoding v2.1.3
   Compiling comfy-table v7.0.1
   Compiling dialoguer v0.10.4
   Compiling term v0.7.0
   Compiling clap-verbosity-flag v2.0.1
   Compiling matchers v0.1.0
   Compiling tracing-subscriber v0.3.17
   Compiling wast v38.0.1
   Compiling encode_unicode v1.0.0
   Compiling maplit v1.0.2
   Compiling spinoff v0.5.4
   Compiling object v0.30.4
   Compiling pathdiff v0.2.1
   Compiling opener v0.6.1
   Compiling wasmer-cli v4.1.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/cli)
   Compiling distance v0.4.0
   Compiling graphql-introspection-query v0.2.0
   Compiling cynic-proc-macros v3.2.2
   Compiling graphql_client_codegen v0.11.0
   Compiling bytes v1.4.0
   Compiling url v2.4.0
   Compiling serde_cbor v0.11.2
   Compiling serde_bytes v0.11.12
   Compiling deranged v0.3.8
   Compiling serde_yaml v0.9.25
   Compiling toml v0.5.11
   Compiling serde_urlencoded v0.7.1
   Compiling uuid v1.4.1
   Compiling serde_spanned v0.6.3
   Compiling bincode v1.3.3
   Compiling rmp-serde v0.15.5
   Compiling bytesize v1.2.0
   Compiling serde_path_to_error v0.1.14
   Compiling wasmer-wasm-interface v4.1.1
   Compiling wasmer-wasm-interface v4.1.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/wasm-interface)
   Compiling tokio v1.32.0
   Compiling http v0.2.9
   Compiling object v0.28.4
   Compiling serde_yaml v0.8.26
   Compiling shared-buffer v0.1.3
   Compiling cranelift-egraph v0.91.1
   Compiling gimli v0.26.2
   Compiling wasmparser v0.95.0
   Compiling virtual-mio v0.2.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/virtual-io)
   Compiling virtual-mio v0.2.0
   Compiling cargo-platform v0.1.3
   Compiling csv v1.2.2
   Compiling tokio-serde v0.8.0
   Compiling tldextract v0.6.0
   Compiling time v0.3.26
   Compiling http-body v0.4.5
   Compiling http-serde v1.1.3
   Compiling tungstenite v0.19.0
   Compiling wcgi v0.1.2
   Compiling prettytable-rs v0.10.0
   Compiling cargo_metadata v0.15.4
   Compiling wasmer-toml v0.7.0
   Compiling toml v0.7.6
   Compiling wasmer-toml v0.6.0
   Compiling webc v5.3.0
   Compiling wasmer-types v4.1.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/types)
   Compiling tokio-util v0.7.8
   Compiling tokio-rustls v0.24.1
   Compiling async-compression v0.4.1
   Compiling wcgi-host v0.1.2
   Compiling tokio-tungstenite v0.19.0
   Compiling tokio-util v0.6.10
   Compiling tower v0.4.13
   Compiling graphql_query_derive v0.11.0
   Compiling virtual-fs v0.8.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/virtual-fs)
   Compiling wasmer-deploy-schema v0.0.12
   Compiling tower-http v0.4.3
   Compiling h2 v0.3.20
   Compiling graphql_client v0.11.0
   Compiling wasmer-vm v4.1.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/vm)
   Compiling wasmer-object v4.1.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2/lib/object)
error[E0432]: unresolved import `libc::ucontext_t`
  --> lib/vm/src/trap/traphandlers.rs:55:5
   |
55 | use libc::ucontext_t;
   |     ^^^^^^----------
   |     |     |
   |     |     help: a similar name exists in the module: `mcontext_t`
   |     no `ucontext_t` in the root

error[E0425]: cannot find value `pc` in this scope
   --> lib/vm/src/trap/traphandlers.rs:436:59
    |
436 |                     context.uc_mcontext.mc_gpregs.gp_pc = pc as libc::register_t;
    |                                                           ^^ not found in this scope

error[E0425]: cannot find value `sp` in this scope
   --> lib/vm/src/trap/traphandlers.rs:437:59
    |
437 |                     context.uc_mcontext.mc_gpregs.gp_sp = sp as libc::register_t;
    |                                                           ^^ not found in this scope

error[E0425]: cannot find value `x0` in this scope
   --> lib/vm/src/trap/traphandlers.rs:438:61
    |
438 |                     context.uc_mcontext.mc_gpregs.gp_x[0] = x0 as libc::register_t;
    |                                                             ^^ not found in this scope

error[E0425]: cannot find value `x1` in this scope
   --> lib/vm/src/trap/traphandlers.rs:439:61
    |
439 |                     context.uc_mcontext.mc_gpregs.gp_x[1] = x1 as libc::register_t;
    |                                                             ^^ not found in this scope

error[E0425]: cannot find value `x29` in this scope
   --> lib/vm/src/trap/traphandlers.rs:440:62
    |
440 |                     context.uc_mcontext.mc_gpregs.gp_x[29] = x29 as libc::register_t;
    |                                                              ^^^ not found in this scope

error[E0425]: cannot find value `lr` in this scope
   --> lib/vm/src/trap/traphandlers.rs:441:62
    |
441 |                     context.uc_mcontext.mc_gpregs.gp_x[30] = lr as libc::register_t;
    |                                                              ^^ not found in this scope

Some errors have detailed explanations: E0425, E0432.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `wasmer-vm` (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
gmake[1]: *** [Makefile:396: build-wasmer] Error 101
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.1.2'
===> 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/devel/wasmer