[package - 124i386-quarterly][graphics/ocaml-cairo] Failed for ocaml-cairo-0.6.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 22 Aug 2023 09:39:08 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:     madpilot@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy4/data/124i386-quarterly/f3d8c4bf5c40/logs/ocaml-cairo-0.6.1.log
Build URL:      https://pkg-status.freebsd.org/beefy4/build.html?mastername=124i386-quarterly&build=f3d8c4bf5c40
Log:

=>> Building graphics/ocaml-cairo
build started at Tue Aug 22 09:38:49 UTC 2023
port directory: /usr/ports/graphics/ocaml-cairo
package name: ocaml-cairo-0.6.1
building for: FreeBSD 124i386-quarterly-job-01 12.4-RELEASE-p4 FreeBSD 12.4-RELEASE-p4 i386
maintained by: madpilot@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1204000
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p4
UNAME_r=12.4-RELEASE-p4
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/124i386-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/124i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/124i386-quarterly/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---
===> The following configuration options are available for ocaml-cairo-0.6.1:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
madpilot@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work/.cache  HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/ocaml-cairo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/ocaml-cairo/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work/.cache  HOME=/wrkdirs/usr/ports/graphics/ocaml-cairo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/ocaml-cairo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/ocaml-cairo/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OCAML_SITELIBDIR="lib/ocaml/site-lib" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ocaml/cairo2"  EXAMPLESDIR="share/examples/ocaml/cairo"  DATADIR="share/cairo"  WWWDIR="www/cairo"  ETCDIR="etc/cairo"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/cairo DOCSDIR=/usr/local/share/doc/ocaml/cairo2 EXAMPLESDIR=/usr/local/share/examples/ocaml/cairo  WWWDIR=/usr/local/www/cairo ETCDIR=/usr/local/etc/cairo
--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-freebsd12.4 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-freebsd12.4 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_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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.4-RELEASE-p4
OSREL=12.4
OSVERSION=1204000
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 LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ocaml-cairo-0.6.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.2.pkg
[124i386-quarterly-job-01] Installing pkg-1.19.2...
[124i386-quarterly-job-01] Extracting pkg-1.19.2: .......... done
===>   ocaml-cairo-0.6.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ocaml-cairo-0.6.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by ocaml-cairo-0.6.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by ocaml-cairo-0.6.1 for building
=> SHA256 Checksum OK for Chris00-ocaml-cairo-0.6.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===>   ocaml-cairo-0.6.1 depends on file: /usr/local/bin/ocamlc - not found
===>   Installing existing package /packages/All/ocaml-4.07.1.pkg
[124i386-quarterly-job-01] Installing ocaml-4.07.1...
[124i386-quarterly-job-01] `-- Installing libX11-1.8.6,1...
[124i386-quarterly-job-01] |   `-- Installing libxcb-1.15_1...
[124i386-quarterly-job-01] |   | `-- Installing libXau-1.0.9...
[124i386-quarterly-job-01] |   | `-- Extracting libXau-1.0.9: .......... done
[124i386-quarterly-job-01] |   | `-- Installing libXdmcp-1.1.3...
[124i386-quarterly-job-01] |   |   `-- Installing xorgproto-2022.1_1...
[124i386-quarterly-job-01] |   |   `-- Extracting xorgproto-2022.1_1: .......... done
[124i386-quarterly-job-01] |   | `-- Extracting libXdmcp-1.1.3: ......... done
[124i386-quarterly-job-01] |   `-- Extracting libxcb-1.15_1: .......... done
[124i386-quarterly-job-01] `-- Extracting libX11-1.8.6,1: .......... done
[124i386-quarterly-job-01] Extracting ocaml-4.07.1: .......... done
===>   ocaml-cairo-0.6.1 depends on file: /usr/local/bin/ocamlc - found
===>   Returning to build of ocaml-cairo-0.6.1
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by ocaml-cairo-0.6.1 for building
===>  Extracting for ocaml-cairo-0.6.1
=> SHA256 Checksum OK for Chris00-ocaml-cairo-0.6.1_GH0.tar.gz.
<snip>
===>   Installing existing package /packages/All/pkgconf-1.8.1,1.pkg
[124i386-quarterly-job-01] Installing pkgconf-1.8.1,1...
[124i386-quarterly-job-01] Extracting pkgconf-1.8.1,1: .......... done
===>   ocaml-cairo-0.6.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of ocaml-cairo-0.6.1
===========================================================================
=======================<phase: lib-depends    >============================
===>   ocaml-cairo-0.6.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   ocaml-cairo-0.6.1 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   ocaml-cairo-0.6.1 depends on shared library: libcairo.so - not found
===>   Installing existing package /packages/All/cairo-1.17.4_2,3.pkg
[124i386-quarterly-job-01] Installing cairo-1.17.4_2,3...
[124i386-quarterly-job-01] `-- Installing gettext-runtime-0.21.1...
[124i386-quarterly-job-01] |   `-- Installing indexinfo-0.3.1...
[124i386-quarterly-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[124i386-quarterly-job-01] `-- Extracting gettext-runtime-0.21.1: .......... done
[124i386-quarterly-job-01] `-- Installing glib-2.76.4_1,2...
[124i386-quarterly-job-01] |   `-- Installing libffi-3.4.4...
[124i386-quarterly-job-01] |   `-- Extracting libffi-3.4.4: .......... done
[124i386-quarterly-job-01] |   `-- Installing libiconv-1.17...
[124i386-quarterly-job-01] |   `-- Extracting libiconv-1.17: .......... done
[124i386-quarterly-job-01] |   `-- Installing libxml2-2.10.4...
[124i386-quarterly-job-01] |   | `-- Installing readline-8.2.1...
[124i386-quarterly-job-01] |   | `-- Extracting readline-8.2.1: .......... done
[124i386-quarterly-job-01] |   `-- Extracting libxml2-2.10.4: .......... done
[124i386-quarterly-job-01] |   `-- Installing pcre2-10.42...
[124i386-quarterly-job-01] |   `-- Extracting pcre2-10.42: .......... done
[124i386-quarterly-job-01] |   `-- Installing python39-3.9.17...
[124i386-quarterly-job-01] |   | `-- Installing mpdecimal-2.5.1...
[124i386-quarterly-job-01] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[124i386-quarterly-job-01] |   `-- Extracting python39-3.9.17: .......... done
[124i386-quarterly-job-01] `-- Extracting glib-2.76.4_1,2: .......... done
[124i386-quarterly-job-01] `-- Installing libglvnd-1.6.0...
[124i386-quarterly-job-01] `-- Extracting libglvnd-1.6.0: .......... done
[124i386-quarterly-job-01] `-- Installing pixman-0.42.2...
[124i386-quarterly-job-01] `-- Extracting pixman-0.42.2: .......... done
[124i386-quarterly-job-01] Extracting cairo-1.17.4_2,3: .......... done
Generating GIO modules cache
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from python39-3.9.17:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
===>   ocaml-cairo-0.6.1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   Returning to build of ocaml-cairo-0.6.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ocaml-cairo-0.6.1
===========================================================================
=======================<phase: build          >============================
===>  Building for ocaml-cairo-0.6.1
cd /wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1 && dune build --verbose -j 2 -p cairo2
# Workspace root: /wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1
Running[0]: /usr/local/bin/ocamlfind printconf path > /tmp/dunec8818c.output
Running[1]: /usr/local/bin/ocamlc.opt -config > /tmp/dunea2d205.output
# # Workspace root: /wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1
# Dune context:
#  {name = "default";
#    kind = "default";
#    profile = "release";
#    merlin = true;
#    for_host = None;
#    build_dir = "default";
#    toplevel_path = None;
#    ocaml_bin = External "/usr/local/bin";
#    ocaml = External "/usr/local/bin/ocaml";
#    ocamlc = External "/usr/local/bin/ocamlc.opt";
#    ocamlopt = Some External "/usr/local/bin/ocamlopt.opt";
#    ocamldep = External "/usr/local/bin/ocamldep.opt";
#    ocamlmklib = External "/usr/local/bin/ocamlmklib.opt";
#    env =
#      map {"CAML_LD_LIBRARY_PATH" :
#           "/wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1/_build/install/default/lib/stublibs";
#      "DUNE_CONFIGURATOR" : "/usr/local/bin/ocamlc.opt"; "INSIDE_DUNE" : "1";
#      "MANPATH" :
#      "/wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1/_build/install/default/bin";
#      "OCAMLFIND_IGNORE_DUPS_IN" :
#      "/wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1/_build/install/default/lib";
#      "OCAMLPATH" :
#      "/wrkdirs/usr/ports/graphics/ocaml-cairo/work/ocaml-cairo-0.6.1/_build/install/default/lib"};
#    findlib_path =
#      [External "/usr/local/lib/ocaml/site-lib";
#      External "/usr/local/lib/ocaml"];
#    arch_sixtyfour = false;
#    natdynlink_supported = true;
#    supports_shared_libraries = true;
#    opam_vars = map {};
#    ocaml_config =
#      {version = "4.07.1";
#        standard_library_default = "/usr/local/lib/ocaml";
#        standard_library = "/usr/local/lib/ocaml";
#        standard_runtime = "/usr/local/bin/ocamlrun";
#        ccomp_type = "cc";
#        c_compiler = "cc";
#        ocamlc_cflags = ["-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-fPIC"];
#        ocamlopt_cflags = ["-O2"; "-fno-strict-aliasing"; "-fwrapv"];
#        bytecomp_c_compiler =
#          ["cc"; "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-fPIC";
#          "-D_FILE_OFFSET_BITS=64"; "-D_REENTRANT"; "-D_THREAD_SAFE"];
#        bytecomp_c_libraries = ["-lm"; "-pthread"];
#        native_c_compiler =
#          ["cc"; "-O2"; "-fno-strict-aliasing"; "-fwrapv";
#          "-D_FILE_OFFSET_BITS=64"; "-D_REENTRANT"; "-D_THREAD_SAFE"];
#        native_c_libraries = ["-lm"];
#        cc_profile = ["-pg"];
#        architecture = "i386";
#        model = "default";
#        int_size = 31;
#        word_size = 32;
#        system = "bsd_elf";
#        asm = ["as"];
#        asm_cfi_supported = true;
#        with_frame_pointers = false;
#        ext_exe = "";
#        ext_obj = ".o";
#        ext_asm = ".s";
#        ext_lib = ".a";
#        ext_dll = ".so";
#        os_type = "Unix";
#        default_executable_name = "a.out";
#        systhread_supported = true;
#        host = "i386-unknown-freebsd12.4";
#        target = "i386-unknown-freebsd12.4";
#        profiling = true;
#        flambda = false;
#        spacetime = false;
#        safe_string = false;
#        exec_magic_number = "Caml1999X023";
#        cmi_magic_number = "Caml1999I024";
#        cmo_magic_number = "Caml1999O023";
#        cma_magic_number = "Caml1999A023";
#        cmx_magic_number = "Caml1999Y023";
#        cmxa_magic_number = "Caml1999Z023";
#        ast_impl_magic_number = "Caml1999M023";
#        ast_intf_magic_number = "Caml1999N023";
#        cmxs_magic_number = "Caml1999D023";
#        cmt_magic_number = "Caml1999T024";
#        natdynlink_supported = true;
#        supports_shared_libraries = true;
#        windows_unicode = false};
#    which =
#      map {"ocaml" : Some External "/usr/local/bin/ocaml";
#      "ocamlc" : Some External "/usr/local/bin/ocamlc.opt";
#      "ocamlfind" : Some External "/usr/local/bin/ocamlfind";
#      "ocamlobjinfo" : Some External "/usr/local/bin/ocamlobjinfo.opt"}}
# Actual targets:
# - alias @@./default
Running[2]: (cd _build/default && /usr/local/bin/ocamldep.opt -modules -intf src/cairo.mli) > _build/default/src/.cairo.objs/cairo.mli.d
Running[3]: (cd _build/default && /usr/local/bin/ocamldep.opt -modules -impl src/cairo.ml) > _build/default/src/.cairo.objs/cairo.ml.d
Running[4]: (cd _build/default && /usr/local/bin/ocamldep.opt -modules -impl config/discover.ml) > _build/default/config/.discover.eobjs/discover.ml.d
Running[5]: (cd _build/default && /usr/local/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -I src/.cairo.objs/byte -no-alias-deps -o src/.cairo.objs/byte/cairo.cmi -c -intf src/cairo.mli)
Running[6]: (cd _build/default && /usr/local/bin/ocamlc.opt -w -40 -g -bin-annot -I config/.discover.eobjs/byte -I /usr/local/lib/ocaml/site-lib/dune/_caml -I /usr/local/lib/ocaml/site-lib/dune/_dune_lang -I /usr/local/lib/ocaml/site-lib/dune/_ocaml_config -I /usr/local/lib/ocaml/site-lib/dune/_result -I /usr/local/lib/ocaml/site-lib/dune/_stdune -I /usr/local/lib/ocaml/site-lib/dune/configurator -no-alias-deps -o config/.discover.eobjs/byte/discover.cmo -c -impl config/discover.ml)
Running[7]: (cd _build/default && /usr/local/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -I src/.cairo.objs/byte -intf-suffix .ml -no-alias-deps -o src/.cairo.objs/byte/cairo.cmo -c -impl src/cairo.ml)
Running[8]: (cd _build/default && /usr/local/bin/ocamlopt.opt -w -40 -g -I config/.discover.eobjs/byte -I config/.discover.eobjs/native -I /usr/local/lib/ocaml/site-lib/dune/_caml -I /usr/local/lib/ocaml/site-lib/dune/_dune_lang -I /usr/local/lib/ocaml/site-lib/dune/_ocaml_config -I /usr/local/lib/ocaml/site-lib/dune/_result -I /usr/local/lib/ocaml/site-lib/dune/_stdune -I /usr/local/lib/ocaml/site-lib/dune/configurator -intf-suffix .ml -no-alias-deps -o config/.discover.eobjs/native/discover.cmx -c -impl config/discover.ml)
Running[9]: (cd _build/default && /usr/local/bin/ocamlopt.opt -w -40 -w -50 -g -I src/.cairo.objs/byte -I src/.cairo.objs/native -intf-suffix .ml -no-alias-deps -o src/.cairo.objs/native/cairo.cmx -c -impl src/cairo.ml)
Running[10]: (cd _build/default && /usr/local/bin/ocamlopt.opt -w -40 -g -o config/discover.exe -I /usr/local/lib/ocaml/site-lib/dune/_caml -I /usr/local/lib/ocaml/site-lib/dune/_dune_lang -I /usr/local/lib/ocaml/site-lib/dune/_ocaml_config -I /usr/local/lib/ocaml/site-lib/dune/_result -I /usr/local/lib/ocaml/site-lib/dune/_stdune -I /usr/local/lib/ocaml/site-lib/dune/configurator /usr/local/lib/ocaml/site-lib/dune/_result/dune_result.cmxa /usr/local/lib/ocaml/site-lib/dune/_caml/dune_caml.cmxa /usr/local/lib/ocaml/unix.cmxa /usr/local/lib/ocaml/site-lib/dune/_stdune/stdune.cmxa /usr/local/lib/ocaml/site-lib/dune/_ocaml_config/ocaml_config.cmxa /usr/local/lib/ocaml/site-lib/dune/_dune_lang/dune_lang.cmxa /usr/local/lib/ocaml/site-lib/dune/configurator/configurator.cmxa /usr/local/lib/ocaml/str.cmxa config/.discover.eobjs/native/discover.cmx)
Running[11]: (cd _build/default/src && ../config/discover.exe)
Running[12]: (cd _build/default/src && /usr/local/bin/ocamlc.opt -g -ccopt -O2 -ccopt -fno-strict-aliasing -ccopt -fwrapv -ccopt -fPIC -ccopt -I/usr/local/include -ccopt -I/usr/local/include/freetype -ccopt -I/usr/local/include/libpng16 -ccopt -I/usr/local/include/libpng16/freetype -ccopt -I/usr/local/include/freetype2 -ccopt -I/usr/local/include/freetype2/freetype -ccopt -I/usr/local/include/freetype2 -ccopt -I/usr/local/include/libpng16 -ccopt -I/usr/local/include -ccopt -I/usr/local/include/cairo -ccopt -I/usr/local/include -ccopt -I/usr/local/include/glib-2.0 -ccopt -I/usr/local/lib/glib-2.0/include -ccopt -I/usr/local/include/pixman-1 -ccopt -I/usr/local/include/freetype2 -ccopt -I/usr/local/include/libpng16 -ccopt -D_THREAD_SAFE -ccopt -g -o cairo_stubs.o cairo_stubs.c)
Running[13]: (cd _build/default && /usr/local/bin/ocamlc.opt -w -40 -w -50 -g -a -o src/cairo.cma -dllib -lcairo_stubs -cclib -lcairo_stubs -cclib -L/usr/local/lib -cclib -lfreetype -cclib -L/usr/local/lib -cclib -lfontconfig -cclib -lfreetype -cclib -L/usr/local/lib -cclib -lcairo src/.cairo.objs/byte/cairo.cmo)
Running[14]: (cd _build/default && /usr/local/bin/ocamlopt.opt -w -40 -w -50 -g -a -o src/cairo.cmxa -cclib -lcairo_stubs -cclib -L/usr/local/lib -cclib -lfreetype -cclib -L/usr/local/lib -cclib -lfontconfig -cclib -lfreetype -cclib -L/usr/local/lib -cclib -lcairo src/.cairo.objs/native/cairo.cmx)
Command [12] exited with code 2:
$ (cd _build/default/src && /usr/local/bin/ocamlc.opt -g -ccopt -O2 -ccopt -fno-strict-aliasing -ccopt -fwrapv -ccopt -fPIC -ccopt -I/usr/local/include -ccopt -I/usr/local/include/freetype -ccopt -I/usr/local/include/libpng16 -ccopt -I/usr/local/include/libpng16/freetype -ccopt -I/usr/local/include/freetype2 -ccopt -I/usr/local/include/freetype2/freetype -ccopt -I/usr/local/include/freetype2 -ccopt -I/usr/local/include/libpng16 -ccopt -I/usr/local/include -ccopt -I/usr/local/include/cairo -ccopt -I/usr/local/include -ccopt -I/usr/local/include/glib-2.0 -ccopt -I/usr/local/lib/glib-2.0/include -ccopt -I/usr/local/include/pixman-1 -ccopt -I/usr/local/include/freetype2 -ccopt -I/usr/local/include/libpng16 -ccopt -D_THREAD_SAFE -ccopt -g -o cairo_stubs.o cairo_stubs.c)
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: cc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -c -g -O2 -fno-strict-aliasing -fwrapv -fPIC -I/usr/local/include -I/usr/local/include/freetype -I/usr/local/include/libpng16 -I/usr/local/include/libpng16/freetype -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/freetype -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE -g -I/usr/local/lib/ocaml cairo_stubs.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'cairo_stubs.c'.
4.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@caml_cairo_cairo_finalize'
#0 0x049f5de4 (/usr/bin/cc+0x49f5de4)
#1 0x049f62c0 (/usr/bin/cc+0x49f62c0)
#2 0x049f40ae (/usr/bin/cc+0x49f40ae)
#3 0x049f8103 (/usr/bin/cc+0x49f8103)
#4 0x05b70969 (/usr/bin/cc+0x5b70969)
cc: error: clang frontend command failed with exit code 139 (use -v to see invocation)
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
Target: i386-unknown-freebsd12.4
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/cairo_stubs-737ea5.c
cc: note: diagnostic msg: /tmp/cairo_stubs-737ea5.sh
cc: note: diagnostic msg: 

********************
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/ocaml-cairo