[package - 140i386-default][lang/mlton] Failed for mlton-20210816_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 12 Sep 2024 01:09:09 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:     beyert@cs.ucr.edu
Log URL:        https://pkg-status.freebsd.org/beefy21/data/140i386-default/117e00cbc3d2/logs/mlton-20210816_1.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=140i386-default&build=117e00cbc3d2
Log:

=>> Building lang/mlton
build started at Thu Sep 12 01:06:52 UTC 2024
port directory: /usr/ports/lang/mlton
package name: mlton-20210816_1
building for: FreeBSD 140i386-default-job-39 14.0-RELEASE-p10 FreeBSD 14.0-RELEASE-p10 i386
maintained by: beyert@cs.ucr.edu
Makefile datestamp: -rw-r--r--  1 root wheel 6503 May 21 01:02 /usr/ports/lang/mlton/Makefile
Ports top last git commit: 117e00cbc3
Ports top unclean checkout: no
Port dir last git commit: a40e262549
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1400097
Job Id: 39

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1400097
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.0-RELEASE-p10
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p10
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/140i386-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/140i386-default/39/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140i386-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 mlton-20210816_1:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
====> Options available for the single BOOTSTRAP: you have to select exactly one of them
     MLTON=on: Bootstrap with MLton (ideal if supported)
     POLYML=off: Bootstrap with PolyML
     SMLNJ=off: Bootstrap with SML/NJ (can take many hours)
====> Options available for the single TARGET: you have to select exactly one of them
     NATIVE=on: Use default target for given architecture
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
beyert@cs.ucr.edu
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/lang/mlton/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/mlton/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/mlton/work/.cache  HOME=/wrkdirs/usr/ports/lang/mlton/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/mlton/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/mlton/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/lang/mlton/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/mlton/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/mlton/work/.cache  HOME=/wrkdirs/usr/ports/lang/mlton/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/mlton/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/mlton/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="" PORTEXAMPLES="" TEXMFDIR="share/texmf" TEXMFDISTDIR="share/texmf-dist" TEXMFLOCALDIR="share/texmf-local" TEXMFVARDIR="share/texmf-var" TEXMFCONFIGDIR="share/texmf-config" FMTUTIL_CNF="share/texmf-config/web2c/fmtutil.cnf" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mlton"  EXAMPLESDIR="share/examples/mlton"  DATADIR="share/mlton"  WWWDIR="www/mlton"  ETCDIR="etc/mlton"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mlton DOCSDIR=/usr/local/share/doc/mlton EXAMPLESDIR=/usr/local/share/examples/mlton  WWWDIR=/usr/local/www/mlton ETCDIR=/usr/local/etc/mlton
--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}
####  ####
# 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
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)  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 HPND accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mlton-20210816_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[140i386-default-job-39] Installing pkg-1.21.3...
[140i386-default-job-39] Extracting pkg-1.21.3: .......... done
===>   mlton-20210816_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mlton-20210816_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 HPND accepted by the user
===> Fetching all distfiles required by mlton-20210816_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License HPND accepted by the user
===> Fetching all distfiles required by mlton-20210816_1 for building
=> SHA256 Checksum OK for mlton-20210816.i386-freebsd-13.txz.
=> SHA256 Checksum OK for mlton-20210816.amd64-freebsd-13.txz.
=> SHA256 Checksum OK for MLton-mlton-20210816-b2fca3d_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License HPND accepted by the user
===> Fetching all distfiles required by mlton-20210816_1 for building
===>  Extracting for mlton-20210816_1
=> SHA256 Checksum OK for mlton-20210816.i386-freebsd-13.txz.
=> SHA256 Checksum OK for mlton-20210816.amd64-freebsd-13.txz.
=> SHA256 Checksum OK for MLton-mlton-20210816-b2fca3d_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for mlton-20210816_1
===>  Applying FreeBSD patches for mlton-20210816_1 from /usr/ports/lang/mlton/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mlton-20210816_1 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.2.32.pkg
[140i386-default-job-39] Installing bash-5.2.32...
[140i386-default-job-39] `-- Installing gettext-runtime-0.22.5...
[140i386-default-job-39] |   `-- Installing indexinfo-0.3.1...
[140i386-default-job-39] |   `-- Extracting indexinfo-0.3.1: .... done
<snip>
./gc/gc_state.h:116:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
PRIVATE GC_state MLton_gcState ();
                               ^
                                void
2 warnings generated.
cc -std=gnu11 -m32 -I/usr/local/include -I. -fno-common -pedantic -Wall -Wextra -fvisibility=hidden -g -DASSERT=1 -Wno-uninitialized -O0 -fno-pic -fno-pie -c -o basis/Real/IEEEReal-dbg-npi.o basis/Real/IEEEReal.c
In file included from basis/Real/IEEEReal.c:1:
In file included from ./platform.h:91:
In file included from ./gc.h:61:
./gc/signals.h:39:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void GC_initSignalStack ();
                        ^
                         void
In file included from basis/Real/IEEEReal.c:1:
In file included from ./platform.h:91:
In file included from ./gc.h:70:
./gc/gc_state.h:116:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
PRIVATE GC_state MLton_gcState ();
                               ^
                                void
2 warnings generated.
cc -std=gnu11 -m32 -I/usr/local/include -I. -fno-common -pedantic -Wall -Wextra -fvisibility=hidden -g -DASSERT=1 -Wno-uninitialized -O0 -fno-pic -fno-pie -c -o basis/Real/IEEEReal-consts-dbg-npi.o basis/Real/IEEEReal-consts.c
In file included from basis/Real/IEEEReal-consts.c:1:
In file included from ./platform.h:91:
In file included from ./gc.h:61:
./gc/signals.h:39:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void GC_initSignalStack ();
                        ^
                         void
In file included from basis/Real/IEEEReal-consts.c:1:
In file included from ./platform.h:91:
In file included from ./gc.h:70:
./gc/gc_state.h:116:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
PRIVATE GC_state MLton_gcState ();
                               ^
                                void
2 warnings generated.
cc -std=gnu11 -m32 -I/usr/local/include -I. -fno-common -pedantic -Wall -Wextra -fvisibility=hidden -g -DASSERT=1 -Wno-uninitialized -O0 -fno-pic -fno-pie -c -o basis/Real/Real-dbg-npi.o basis/Real/Real.c
In file included from basis/Real/Real.c:1:
In file included from ./platform.h:91:
In file included from ./gc.h:61:
./gc/signals.h:39:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void GC_initSignalStack ();
                        ^
                         void
In file included from basis/Real/Real.c:1:
In file included from ./platform.h:91:
In file included from ./gc.h:70:
./gc/gc_state.h:116:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
PRIVATE GC_state MLton_gcState ();
                               ^
                                void
2 warnings generated.
cc -std=gnu11 -m32 -I/usr/local/include -I. -fno-common -pedantic -Wall -Wextra -fvisibility=hidden -g -DASSERT=1 -Wno-uninitialized -O0 -fno-pic -fno-pie -c -o basis/IntInf/int-inf-dbg-npi.o basis/IntInf/int-inf.c
In file included from basis/IntInf/int-inf.c:3:
In file included from ./platform.h:91:
In file included from ./gc.h:61:
./gc/signals.h:39:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void GC_initSignalStack ();
                        ^
                         void
In file included from basis/IntInf/int-inf.c:3:
In file included from ./platform.h:91:
In file included from ./gc.h:70:
./gc/gc_state.h:116:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
PRIVATE GC_state MLton_gcState ();
                               ^
                                void
2 warnings generated.
rm -rf libmlton-dbg-npi.a
ar rc libmlton-dbg-npi.a gc-dbg-npi.o platform-dbg-npi.o platform/freebsd-dbg-npi.o util-dbg-npi.o basis/MLton/Syslog/Syslog-consts-dbg-npi.o basis/MLton/Syslog/Syslog-dbg-npi.o basis/MLton/Process/spawnp-dbg-npi.o basis/MLton/Process/spawne-dbg-npi.o basis/MLton/Itimer/itimer-consts-dbg-npi.o basis/MLton/Itimer/set-dbg-npi.o basis/MLton/Rlimit/rlimit-dbg-npi.o basis/MLton/Rlimit/rlimit-consts-dbg-npi.o basis/MLton/Rusage/rusage-dbg-npi.o basis/MLton/bug-dbg-npi.o basis/Net/NetProtDB-dbg-npi.o basis/Net/NetHostDB-consts-dbg-npi.o basis/Net/NetServDB-dbg-npi.o basis/Net/Socket/Socket-dbg-npi.o basis/Net/Socket/GenericSock-dbg-npi.o basis/Net/Socket/INetSock-consts-dbg-npi.o basis/Net/Socket/UnixSock-dbg-npi.o basis/Net/Socket/Socket-consts-dbg-npi.o basis/Net/Socket/INetSock-dbg-npi.o basis/Net/Socket/select-dbg-npi.o basis/Net/Net-dbg-npi.o basis/Net/NetHostDB-dbg-npi.o basis/Stdio-dbg-npi.o basis/cpointer-dbg-npi.o basis/Word/Word-dbg-npi.o basis/Posix/IO/fcntl3-dbg-npi.o b
asis/Posix/IO/fcntl-consts-dbg-npi.o basis/Posix/IO/write-dbg-npi.o basis/Posix/IO/pipe-dbg-npi.o basis/Posix/IO/close-dbg-npi.o basis/Posix/IO/dup2-dbg-npi.o basis/Posix/IO/read-dbg-npi.o basis/Posix/IO/lseek-dbg-npi.o basis/Posix/IO/FLock-dbg-npi.o basis/Posix/IO/fcntl2-dbg-npi.o basis/Posix/IO/lseek-consts-dbg-npi.o basis/Posix/IO/dup-dbg-npi.o basis/Posix/IO/FLock-consts-dbg-npi.o basis/Posix/IO/fsync-dbg-npi.o basis/Posix/Process/kill-dbg-npi.o basis/Posix/Process/stopSig-dbg-npi.o basis/Posix/Process/ifStopped-dbg-npi.o basis/Posix/Process/waitpid-dbg-npi.o basis/Posix/Process/fork-dbg-npi.o basis/Posix/Process/exitStatus-dbg-npi.o basis/Posix/Process/exece-dbg-npi.o basis/Posix/Process/alarm-dbg-npi.o basis/Posix/Process/execp-dbg-npi.o basis/Posix/Process/sleep-dbg-npi.o basis/Posix/Process/exit-dbg-npi.o basis/Posix/Process/waitpid-consts-dbg-npi.o basis/Posix/Process/ifExited-dbg-npi.o basis/Posix/Process/system-dbg-npi.o basis/Posix/Process/pause-dbg-npi.o basis/P
osix/Process/nanosleep-dbg-npi.o basis/Posix/Process/ifSignaled-dbg-npi.o basis/Posix/Process/termSig-dbg-npi.o basis/Posix/TTY-dbg-npi.o basis/Posix/Error-consts-dbg-npi.o basis/Posix/FileSys/unlink-dbg-npi.o basis/Posix/FileSys/rmdir-dbg-npi.o basis/Posix/FileSys/Stat-dbg-npi.o basis/Posix/FileSys/open2-dbg-npi.o basis/Posix/FileSys/fchmod-dbg-npi.o basis/Posix/FileSys/symlink-dbg-npi.o basis/Posix/FileSys/link-dbg-npi.o basis/Posix/FileSys/mkfifo-dbg-npi.o basis/Posix/FileSys/fchdir-dbg-npi.o basis/Posix/FileSys/access-dbg-npi.o basis/Posix/FileSys/chdir-dbg-npi.o basis/Posix/FileSys/pathconf-dbg-npi.o basis/Posix/FileSys/umask-dbg-npi.o basis/Posix/FileSys/chown-dbg-npi.o basis/Posix/FileSys/readlink-dbg-npi.o basis/Posix/FileSys/open3-dbg-npi.o basis/Posix/FileSys/ftruncate-dbg-npi.o basis/Posix/FileSys/Utimbuf-dbg-npi.o basis/Posix/FileSys/fpathconf-dbg-npi.o basis/Posix/FileSys/getcwd-dbg-npi.o basis/Posix/FileSys/Dirstream-dbg-npi.o basis/Posix/FileSys/mkdir-dbg-npi.
o basis/Posix/FileSys/truncate-dbg-npi.o basis/Posix/FileSys/ST-dbg-npi.o basis/Posix/FileSys/fchown-dbg-npi.o basis/Posix/FileSys/rename-dbg-npi.o basis/Posix/FileSys/FileSys-consts-dbg-npi.o basis/Posix/FileSys/chmod-dbg-npi.o basis/Posix/Signal-consts-dbg-npi.o basis/Posix/ProcEnv/setenv-dbg-npi.o basis/Posix/ProcEnv/isatty-dbg-npi.o basis/Posix/ProcEnv/Times-dbg-npi.o basis/Posix/ProcEnv/setgroups-dbg-npi.o basis/Posix/ProcEnv/ProcEnv-dbg-npi.o basis/Posix/ProcEnv/getgroups-dbg-npi.o basis/Posix/ProcEnv/Uname-dbg-npi.o basis/Posix/ProcEnv/getenv-dbg-npi.o basis/Posix/ProcEnv/sysconf-consts-dbg-npi.o basis/Posix/ProcEnv/getlogin-dbg-npi.o basis/Posix/ProcEnv/ttyname-dbg-npi.o basis/Posix/ProcEnv/environ-dbg-npi.o basis/Posix/ProcEnv/sysconf-dbg-npi.o basis/Posix/TTY-consts-dbg-npi.o basis/Posix/SysDB/Group-dbg-npi.o basis/Posix/SysDB/Passwd-dbg-npi.o basis/Posix/Signal-dbg-npi.o basis/Posix/Error-dbg-npi.o basis/coerce-dbg-npi.o basis/System/OS/IO/poll-consts-dbg-npi.o ba
sis/System/OS/IO/poll-dbg-npi.o basis/System/Date-dbg-npi.o basis/System/Time-dbg-npi.o basis/System/CommandLine-dbg-npi.o basis/Real/gdtoa-dbg-npi.o basis/Real/strtor-dbg-npi.o basis/Real/IEEEReal-dbg-npi.o basis/Real/IEEEReal-consts-dbg-npi.o basis/Real/Real-dbg-npi.o basis/IntInf/int-inf-dbg-npi.o
ranlib libmlton-dbg-npi.a
cp -fpR libmlton-dbg-npi.a libmlton-dbg.a
cc -std=gnu11 -m32 -I/usr/local/include -I. -fno-common -pedantic -Wall -Wextra -fvisibility=hidden -Wdisabled-optimization -O2 -c -o gen/gen-constants.o gen/gen-constants.c
In file included from gen/gen-constants.c:10:
In file included from ./platform.h:91:
In file included from ./gc.h:61:
./gc/signals.h:39:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void GC_initSignalStack ();
                        ^
                         void
In file included from gen/gen-constants.c:10:
In file included from ./platform.h:91:
In file included from ./gc.h:70:
./gc/gc_state.h:116:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
PRIVATE GC_state MLton_gcState ();
                               ^
                                void
2 warnings generated.
cc -std=gnu11 -m32 -L/usr/local/lib -o gen/gen-constants gen/gen-constants.o libmlton.a
./gen/gen-constants > gen/constants
./gen/gen-types c-types.sml > gen/c-types.sml
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime'
cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/include/"*.h "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/include/"
cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime/"*.a "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/targets/self/"
cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime/gen/constants" "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/targets/self/"
cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime/gen/c-types.sml" "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/targets/self/sml/"
echo "freebsd" > "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/targets/self/os"
echo "x86" > "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/targets/self/arch"
cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime/gen/basis-ffi.sml" \
	basis-library/primitive/basis-ffi.sml
cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime/"*.h "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/include/"
mv -f "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/include/c-types.h" "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/targets/self/include"
for d in basis basis/Real basis/Word gc platform util; do	\
	mkdir -p "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/include/$d";					\
	cp -fpR "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/runtime/$d/"*.h "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/lib/include/$d";		\
done
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d'
gmake compiler CHECK_FIXPOINT=false                     # tools0 + mlton0 -> mlton1
gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d'
gmake -C "/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/mlton"
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/mlton'
rm -rf front-end/ml.lex.*
/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/bin/mllex front-end/ml.lex

Number of states = 418
Number of distinct rows = 290
Approx. memory size of trans. table = 593920 bytes
mv -f front-end/ml.lex.sml front-end/ml.lex.sml.in
sed -e 's/val s = List.map f (List.rev (tl (List.rev s)))/val s = Pervasive.List.map f (Pervasive.List.rev (tl (Pervasive.List.rev s)))/' front-end/ml.lex.sml.in > front-end/ml.lex.sml
mv -f front-end/ml.lex.sml front-end/ml.lex.sml.in
sed -e 's/in Vector.fromList(List.map g/in Vector.fromList(Pervasive.List.map g/' front-end/ml.lex.sml.in > front-end/ml.lex.sml
rm -rf front-end/ml.lex.sml.in
chmod -w front-end/ml.lex.*
rm -rf front-end/ml.grm.*
/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/bin/mlyacc front-end/ml.grm
1 shift/reduce conflict
mv -f front-end/ml.grm.sml front-end/ml.grm.sml.in
sed -e 's/in f 0 handle General.Subscript => ()/in f 0 handle Pervasive.General.Subscript => ()/' front-end/ml.grm.sml.in > front-end/ml.grm.sml
mv -f front-end/ml.grm.sml front-end/ml.grm.sml.in
sed -e 's/in Array.fromList(List.map actionRowLookUp actionRowNumbers)/in Array.fromList(Pervasive.List.map actionRowLookUp actionRowNumbers)/' front-end/ml.grm.sml.in > front-end/ml.grm.sml
rm -rf front-end/ml.grm.sml.in
chmod -w front-end/ml.grm.*
rm -rf front-end/mlb.lex.*
/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/bin/mllex front-end/mlb.lex

Number of states = 197
Number of distinct rows = 117
Approx. memory size of trans. table = 29952 bytes
mv -f front-end/mlb.lex.sml front-end/mlb.lex.sml.in
sed -e 's/val s = List.map f (List.rev (tl (List.rev s)))/val s = Pervasive.List.map f (Pervasive.List.rev (tl (Pervasive.List.rev s)))/' front-end/mlb.lex.sml.in > front-end/mlb.lex.sml
mv -f front-end/mlb.lex.sml front-end/mlb.lex.sml.in
sed -e 's/in Vector.fromList(List.map g/in Vector.fromList(Pervasive.List.map g/' front-end/mlb.lex.sml.in > front-end/mlb.lex.sml
rm -rf front-end/mlb.lex.sml.in
chmod -w front-end/mlb.lex.*
rm -rf front-end/mlb.grm.*
/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/bin/mlyacc front-end/mlb.grm
mv -f front-end/mlb.grm.sml front-end/mlb.grm.sml.in
sed -e 's/in f 0 handle General.Subscript => ()/in f 0 handle Pervasive.General.Subscript => ()/' front-end/mlb.grm.sml.in > front-end/mlb.grm.sml
mv -f front-end/mlb.grm.sml front-end/mlb.grm.sml.in
sed -e 's/in Array.fromList(List.map actionRowLookUp actionRowNumbers)/in Array.fromList(Pervasive.List.map actionRowLookUp actionRowNumbers)/' front-end/mlb.grm.sml.in > front-end/mlb.grm.sml
rm -rf front-end/mlb.grm.sml.in
chmod -w front-end/mlb.grm.*
sed \
	-e "s/MLTON_NAME/MLton/" \
	-e "s/MLTON_VERSION/20210816/" \
	< control/version_sml.src \
	> control/version.sml
(cat control/version_sml.src; echo 'MLton' '20210816'; cat control/version.sml) | sha1sum | sed 's/.*\([a-z0-9]\{40\}\).*/\1/' > control/version_sml.chk
Compiling mlton
"/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/build/bin/mlton" \
	@MLton ram-slop 0.71  gc-summary -- \
	-polyvariance false -default-ann 'sequenceNonUnit warn' -default-ann 'warnUnused true' -disable-pass zone -verbose 2 	\
	-target self -output mlton-compile			\
	mlton.mlb
MLton 20210816 starting
   Compile SML starting
      frontend starting
         parseAndElaborate starting
         parseAndElaborate finished in 18.58 + 16.39 (47% GC)
         deadCode starting
         deadCode finished in 0.16 + 0.00 (0% GC)
         defunctorize starting
         defunctorize finished in 2.02 + 3.11 (61% GC)
         frontend:typeCheck starting
         frontend:typeCheck finished in 1.27 + 0.79 (38% GC)
      frontend finished in 22.03 + 20.29 (48% GC)
      xmlSimplify starting
         xmlShrink starting
         xmlShrink finished in 0.71 + 2.02 (74% GC)
         xmlSimplifyTypes starting
         xmlSimplifyTypes finished in 0.76 + 0.00 (0% GC)
         xmlSimplify:typeCheck starting
         xmlSimplify:typeCheck finished in 1.29 + 0.00 (0% GC)
      xmlSimplify finished in 2.76 + 2.02 (42% GC)
      monomorphise starting
         monomorphise:typeCheck starting
         monomorphise:typeCheck finished in 1.13 + 0.00 (0% GC)
      monomorphise finished in 2.63 + 0.00 (0% GC)
      sxmlSimplify starting
         sxmlShrink1 starting
gmake[2]: *** [Makefile:74: mlton-compile] Segmentation fault (core dumped)
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d/mlton'
gmake[1]: *** [Makefile:75: compiler] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/mlton/work/mlton-b2fca3d'
gmake: *** [Makefile:19: all] Error 2
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/mlton