[package - main-armv7-default][lang/gleam] Failed for gleam-1.4.1_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 15 Sep 2024 19:07:24 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:     dch@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p13f486017d78_s3df987c99/logs/gleam-1.4.1_1.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p13f486017d78_s3df987c99
Log:

=>> Building lang/gleam
build started at Sun Sep 15 19:05:34 UTC 2024
port directory: /usr/ports/lang/gleam
package name: gleam-1.4.1_1
building for: FreeBSD main-armv7-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: dch@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1074 Aug 27 01:02 /usr/ports/lang/gleam/Makefile
Ports top last git commit: 13f486017d7
Ports top unclean checkout: no
Port dir last git commit: 7a55f954253
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for gleam-1.4.1_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
dch@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/lang/gleam/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/gleam/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/gleam/work/.cache  HOME=/wrkdirs/usr/ports/lang/gleam/work TMPDIR="/wrkdirs/usr/ports/lang/gleam/work" PATH=/wrkdirs/usr/ports/lang/gleam/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/gleam/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/gleam/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/gleam/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/gleam/work/.cache  HOME=/wrkdirs/usr/ports/lang/gleam/work TMPDIR="/wrkdirs/usr/ports/lang/gleam/work" PATH=/wrkdirs/usr/ports/lang/gleam/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/gleam/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  " 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="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gleam"  EXAMPLESDIR="share/examples/gleam"  DATADIR="share/gleam"  WWWDIR="www/gleam"  ETCDIR="etc/gleam"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gleam DOCSDIR=/usr/local/share/doc/gleam EXAMPLESDIR=/usr/local/share/examples/gleam  WWWDIR=/usr/local/www/gleam ETCDIR=/usr/local/etc/gleam
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   gleam-1.4.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-02] Installing pkg-1.21.3...
[main-armv7-default-job-02] Extracting pkg-1.21.3: .......... done
===>   gleam-1.4.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gleam-1.4.1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by gleam-1.4.1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by gleam-1.4.1_1 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.22.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-1.1.3.crate.
=> SHA256 Checksum OK for rust/crates/anstream-0.6.14.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-1.0.7.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-parse-0.2.4.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-query-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-wincon-3.0.3.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.86.crate.
=> SHA256 Checksum OK for rust/crates/askama-0.12.1.crate.
=> SHA256 Checksum OK for rust/crates/askama_derive-0.12.5.crate.
=> SHA256 Checksum OK for rust/crates/askama_escape-0.10.3.crate.
=> SHA256 Checksum OK for rust/crates/askama_parser-0.2.1.crate.
=> SHA256 Checksum OK for rust/crates/asn1-rs-0.5.2.crate.
=> SHA256 Checksum OK for rust/crates/asn1-rs-derive-0.4.0.crate.
=> SHA256 Checksum OK for rust/crates/asn1-rs-impl-0.1.0.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.81.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.3.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.73.crate.
=> SHA256 Checksum OK for rust/crates/base16-0.2.1.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.13.1.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.22.0.crate.
=> SHA256 Checksum OK for rust/crates/basic-toml-0.1.9.crate.
=> SHA256 Checksum OK for rust/crates/bincode-1.3.3.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-2.5.0.crate.
=> SHA256 Checksum OK for rust/crates/bitmaps-2.1.0.crate.
=> SHA256 Checksum OK for rust/crates/block-buffer-0.10.4.crate.
=> SHA256 Checksum OK for rust/crates/bstr-1.9.1.crate.
=> SHA256 Checksum OK for rust/crates/bumpalo-3.15.4.crate.
=> SHA256 Checksum OK for rust/crates/bytes-1.7.0.crate.
=> SHA256 Checksum OK for rust/crates/camino-1.1.7.crate.
=> SHA256 Checksum OK for rust/crates/capnp-0.14.11.crate.
=> SHA256 Checksum OK for rust/crates/capnpc-0.14.9.crate.
=> SHA256 Checksum OK for rust/crates/cc-1.1.6.crate.
=> SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/cfg_aliases-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/clap-4.5.13.crate.
<snip>
   Compiling futures-sink v0.3.30
   Compiling protobuf v3.4.0
   Compiling pin-utils v0.1.0
   Compiling bitflags v2.5.0
   Compiling fnv v1.0.7
   Compiling futures-task v0.3.30
   Compiling futures-io v0.3.30
   Compiling anyhow v1.0.86
   Compiling unicode-xid v0.2.4
   Compiling spin v0.9.8
   Compiling tinyvec_macros v0.1.1
   Compiling powerfmt v0.2.0
   Compiling wasm-bindgen-shared v0.2.92
   Compiling crossbeam-utils v0.8.19
   Compiling futures-channel v0.3.30
   Compiling untrusted v0.9.0
   Compiling regex-syntax v0.8.3
   Compiling num-conv v0.1.0
   Compiling smallvec v1.13.2
   Compiling aho-corasick v1.1.3
   Compiling tracing-core v0.1.32
   Compiling percent-encoding v2.3.1
   Compiling time-core v0.1.2
   Compiling minimal-lexical v0.2.1
   Compiling tinyvec v1.6.0
   Compiling deranged v0.3.11
   Compiling num-traits v0.2.18
   Compiling slab v0.4.9
   Compiling indexmap v1.9.3
   Compiling hashbrown v0.12.3
   Compiling fastrand v2.0.2
   Compiling home v0.5.9
   Compiling unicase v2.7.0
   Compiling time-macros v0.2.18
   Compiling either v1.10.0
   Compiling http v1.1.0
   Compiling form_urlencoded v1.2.1
   Compiling num-bigint v0.4.4
   Compiling nom v7.1.3
   Compiling unicode-bidi v0.3.15
   Compiling quote v1.0.35
   Compiling lazy_static v1.4.0
   Compiling bumpalo v3.15.4
   Compiling syn v2.0.58
   Compiling rustls-pki-types v1.4.1
   Compiling oid-registry v0.6.1
   Compiling heck v0.5.0
   Compiling libm v0.2.8
   Compiling rustversion v1.0.14
   Compiling mime_guess v2.0.4
   Compiling crc32fast v1.4.0
   Compiling generic-array v0.14.7
   Compiling unicode-normalization v0.1.23
   Compiling mime v0.3.17
   Compiling capnp v0.14.11
   Compiling equivalent v1.0.1
   Compiling adler v1.0.2
   Compiling wasm-bindgen v0.2.92
   Compiling httparse v1.8.0
   Compiling camino v1.1.7
   Compiling hashbrown v0.14.3
   Compiling bitmaps v2.1.0
   Compiling miniz_oxide v0.7.2
   Compiling http-body v1.0.0
   Compiling ring v0.17.8
   Compiling getrandom v0.2.12
   Compiling socket2 v0.5.6
   Compiling mio v1.0.1
   Compiling errno v0.3.8
   Compiling im v15.1.0
   Compiling bstr v1.9.1
   Compiling data-encoding v2.5.0
   Compiling unicode-width v0.1.11
   Compiling idna v0.5.0
   Compiling try-lock v0.2.5
   Compiling rand_core v0.6.4
   Compiling rustc-hash v1.1.0
   Compiling rustls v0.23.7
   Compiling strsim v0.11.1
   Compiling capnpc v0.14.9
   Compiling tokio v1.39.2
   Compiling base64 v0.13.1
   Compiling regex-syntax v0.6.29
   Compiling indexmap v2.2.6
   Compiling pulldown-cmark v0.11.0
   Compiling sized-chunks v0.6.5
   Compiling regex-automata v0.4.6
   Compiling time v0.3.36
   Compiling http-auth-basic v0.3.3
   Compiling humansize v2.1.3
   Compiling rand_xoshiro v0.6.0
   Compiling flate2 v1.0.30
   Compiling want v0.3.1
   Compiling terminal_size v0.1.17
   Compiling dirs-sys-next v0.1.2
   Compiling filetime v0.2.23
   Compiling num-integer v0.1.46
   Compiling crossbeam-channel v0.5.12
   Compiling bitflags v1.3.2
   Compiling overload v0.1.1
   Compiling tower-layer v0.3.2
   Compiling subtle v2.5.0
   Compiling utf8parse v0.2.1
   Compiling zeroize v1.7.0
   Compiling pulldown-cmark-escape v0.11.0
   Compiling base16 v0.2.1
   Compiling askama_escape v0.10.3
   Compiling smawk v0.3.2
   Compiling rusticata-macros v4.1.0
   Compiling tower-service v0.3.2
   Compiling cfg_aliases v0.1.1
   Compiling termcolor v1.4.1
   Compiling unicode-linebreak v0.1.5
   Compiling fixedbitset v0.4.2
   Compiling nix v0.28.0
   Compiling anstyle-parse v0.2.4
   Compiling itertools v0.13.0
   Compiling tempfile v3.10.1
   Compiling which v4.4.2
   Compiling xattr v1.3.1
   Compiling codespan-reporting v0.11.1
   Compiling petgraph v0.6.5
   Compiling nu-ansi-term v0.46.0
   Compiling tar v0.4.40
   Compiling textwrap v0.15.0
   Compiling dirs-next v2.0.0
   Compiling regex-automata v0.1.10
   Compiling sharded-slab v0.1.7
   Compiling tracing-log v0.2.0
   Compiling spdx v0.10.6
   Compiling thread_local v1.1.8
   Compiling anstyle v1.0.7
   Compiling is_terminal_polyfill v1.70.0
   Compiling anstyle-query v1.1.0
   Compiling debug-ignore v1.0.5
   Compiling same-file v1.0.6
   Compiling vec1 v1.12.1
   Compiling askama_parser v0.2.1
   Compiling xxhash-rust v0.8.12
   Compiling colorchoice v1.0.0
   Compiling id-arena v2.2.1
   Compiling anstream v0.6.14
   Compiling walkdir v2.5.0
   Compiling block-buffer v0.10.4
   Compiling crypto-common v0.1.6
   Compiling webpki-roots v0.26.1
   Compiling crossbeam-epoch v0.9.18
   Compiling static_vcruntime v2.0.0
   Compiling clap_lex v0.7.0
   Compiling base64 v0.22.0
   Compiling digest v0.10.7
   Compiling matchers v0.1.0
   Compiling gleam v1.4.1 (/wrkdirs/usr/ports/lang/gleam/work/gleam-1.4.1/compiler-cli)
   Compiling clap_builder v4.5.13
   Compiling crossbeam-deque v0.8.5
   Compiling synstructure v0.12.6
   Compiling rustls-pemfile v2.1.2
   Compiling http-body-util v0.1.1
   Compiling rtoolbox v0.0.2
   Compiling sync_wrapper v1.0.1
   Compiling test-package-compiler v1.4.1 (/wrkdirs/usr/ports/lang/gleam/work/gleam-1.4.1/test-package-compiler)
   Compiling winnow v0.6.13
   Compiling toml_datetime v0.6.6
error[E0428]: the name `type_of_thread_id` is defined multiple times
    --> /wrkdirs/usr/ports/lang/gleam/work/gleam-1.4.1/cargo-crates/nix-0.28.0/src/sys/signal.rs:1103:1
     |
1100 | pub type type_of_thread_id = libc::lwpid_t;
     | ------------------------------------------- previous definition of the type `type_of_thread_id` here
...
1103 | pub type type_of_thread_id = libc::pid_t;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `type_of_thread_id` redefined here
     |
     = note: `type_of_thread_id` must be defined only once in the type namespace of this module

   Compiling regex v1.10.5
   Compiling ipnet v2.9.0
   Compiling rpassword v7.3.1
   Compiling sha2 v0.10.8
   Compiling fslock v0.2.1
   Compiling hostname v0.4.0
   Compiling wasm-bindgen-backend v0.2.92
   Compiling fs_extra v1.3.0
   Compiling opener v0.7.1
error[E0609]: no field `sigev_notify_thread_id` on type `signal::sigevent::ffi::sigevent`
    --> /wrkdirs/usr/ports/lang/gleam/work/gleam-1.4.1/cargo-crates/nix-0.28.0/src/sys/signal.rs:1357:25
     |
1357 |                     sev.sigev_notify_thread_id = thread_id;
     |                         ^^^^^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `sigev_notify`, `sigev_signo`, `sigev_value`, `_sigev_un`

   Compiling wasm-bindgen-macro-support v0.2.92
Some errors have detailed explanations: E0428, E0609.
For more information about an error, try `rustc --explain E0428`.
error: could not compile `nix` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
*** Error code 101

Stop.
make: stopped making "build" in /usr/ports/lang/gleam