[package - 140releng-armv7-default][devel/ocaml-ounit] Failed for ocaml-ounit-1.0.3_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 28 Sep 2024 18:53:17 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/140releng-armv7-default/14728ba1fb78/logs/ocaml-ounit-1.0.3_5.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-armv7-default&build=14728ba1fb78
Log:

=>> Building devel/ocaml-ounit
build started at Sat Sep 28 18:53:06 UTC 2024
port directory: /usr/ports/devel/ocaml-ounit
package name: ocaml-ounit-1.0.3_5
building for: FreeBSD 140releng-armv7-default-job-02 14.0-RELEASE-p10 FreeBSD 14.0-RELEASE-p10 1400097 arm
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 864 Jun  4 01:02 /usr/ports/devel/ocaml-ounit/Makefile
Ports top last git commit: 14728ba1fb7
Ports top unclean checkout: no
Port dir last git commit: bb2bea65dba
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1400097
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p10 1400097
UNAME_r=14.0-RELEASE-p10
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/140releng-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/140releng-armv7-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-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 ocaml-ounit-1.0.3_5:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work/.cache  HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/ocaml-ounit/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/ocaml-ounit/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--
OCAMLFIND_DESTDIR=/usr/local/lib/ocaml/site-lib OCAMLFIND_DESTDIR="/wrkdirs/usr/ports/devel/ocaml-ounit/work/stage/usr/local/lib/ocaml/site-lib"  OCAMLFIND_LDCONF="/usr/local/lib/ocaml/ld.conf" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work/.cache  HOME=/wrkdirs/usr/ports/devel/ocaml-ounit/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/ocaml-ounit/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/ocaml-ounit/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="" OCAML_SITELIBDIR="lib/ocaml/site-lib" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ocaml-ounit"  EXAMPLESDIR="share/examples/ounit"  DATADIR="share/ounit"  WWWDIR="www/ounit"  ETCDIR="etc/ounit"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ounit DOCSDIR=/usr/local/share/doc/ocaml-ounit EXAMPLESDIR=/usr/local/share/examples/ounit  WWWDIR=/usr/local/www/ounit ETCDIR=/usr/local/etc/ounit
--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
===>   NOTICE:

The ounit port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[140releng-armv7-default-job-02] Installing pkg-1.21.3...
[140releng-armv7-default-job-02] Extracting pkg-1.21.3: .......... done
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ocaml-ounit-1.0.3_5
===========================================================================
=======================<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
===>   NOTICE:

The ounit port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT accepted by the user
===> Fetching all distfiles required by ocaml-ounit-1.0.3_5 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The ounit port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT accepted by the user
===> Fetching all distfiles required by ocaml-ounit-1.0.3_5 for building
=> SHA256 Checksum OK for ounit-1.0.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/bin/ocamlc - not found
===>   Installing existing package /packages/All/ocaml-4.14.2.pkg
[140releng-armv7-default-job-02] Installing ocaml-4.14.2...
[140releng-armv7-default-job-02] `-- Installing binutils-2.43,1...
[140releng-armv7-default-job-02] |   `-- Installing indexinfo-0.3.1...
[140releng-armv7-default-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[140releng-armv7-default-job-02] |   `-- Installing zstd-1.5.6...
[140releng-armv7-default-job-02] |   | `-- Installing liblz4-1.10.0,1...
[140releng-armv7-default-job-02] |   | `-- Extracting liblz4-1.10.0,1: .......... done
[140releng-armv7-default-job-02] |   `-- Extracting zstd-1.5.6: .......... done
[140releng-armv7-default-job-02] `-- Extracting binutils-2.43,1: .......... done
[140releng-armv7-default-job-02] Extracting ocaml-4.14.2: .......... done
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/bin/ocamlc - found
===>   Returning to build of ocaml-ounit-1.0.3_5
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The ounit port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT accepted by the user
===> Fetching all distfiles required by ocaml-ounit-1.0.3_5 for building
===>  Extracting for ocaml-ounit-1.0.3_5
=> SHA256 Checksum OK for ounit-1.0.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/bin/ocamlc - found
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for ocaml-ounit-1.0.3_5
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/bin/ocamlc - found
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/bin/ocamlfind - not found
===>   Installing existing package /packages/All/ocaml-findlib-1.9.6_3.pkg
[140releng-armv7-default-job-02] Installing ocaml-findlib-1.9.6_3...
[140releng-armv7-default-job-02] `-- Installing ocaml-labltk-8.06.12_1...
[140releng-armv7-default-job-02] |   `-- Installing tcl86-8.6.14_2...
[140releng-armv7-default-job-02] |   `-- Extracting tcl86-8.6.14_2: .......... done
[140releng-armv7-default-job-02] |   `-- Installing tk86-8.6.14_2...
[140releng-armv7-default-job-02] |   | `-- Installing fontconfig-2.15.0_3,1...
[140releng-armv7-default-job-02] |   |   `-- Installing expat-2.6.2...
[140releng-armv7-default-job-02] |   |   `-- Extracting expat-2.6.2: .......... done
[140releng-armv7-default-job-02] |   |   `-- Installing freetype2-2.13.2...
[140releng-armv7-default-job-02] |   |   | `-- Installing brotli-1.1.0,1...
[140releng-armv7-default-job-02] |   |   | `-- Extracting brotli-1.1.0,1: .......... done
[140releng-armv7-default-job-02] |   |   | `-- Installing png-1.6.43...
[140releng-armv7-default-job-02] |   |   | `-- Extracting png-1.6.43: .......... done
[140releng-armv7-default-job-02] |   |   `-- Extracting freetype2-2.13.2: .......... done
[140releng-armv7-default-job-02] |   | `-- Extracting fontconfig-2.15.0_3,1: .......... done
[140releng-armv7-default-job-02] |   | `-- Installing libX11-1.8.9,1...
[140releng-armv7-default-job-02] |   |   `-- Installing libxcb-1.17.0...
[140releng-armv7-default-job-02] |   |   | `-- Installing libXau-1.0.11...
[140releng-armv7-default-job-02] |   |   | `-- Extracting libXau-1.0.11: .......... done
[140releng-armv7-default-job-02] |   |   | `-- Installing libXdmcp-1.1.5...
[140releng-armv7-default-job-02] |   |   |   `-- Installing xorgproto-2024.1...
[140releng-armv7-default-job-02] |   |   |   `-- Extracting xorgproto-2024.1: .......... done
[140releng-armv7-default-job-02] |   |   | `-- Extracting libXdmcp-1.1.5: ......... done
[140releng-armv7-default-job-02] |   |   `-- Extracting libxcb-1.17.0: .......... done
[140releng-armv7-default-job-02] |   | `-- Extracting libX11-1.8.9,1: .......... done
[140releng-armv7-default-job-02] |   | `-- Installing libXScrnSaver-1.2.4_1...
[140releng-armv7-default-job-02] |   |   `-- Installing libXext-1.3.6,1...
[140releng-armv7-default-job-02] |   |   `-- Extracting libXext-1.3.6,1: .......... done
[140releng-armv7-default-job-02] |   | `-- Extracting libXScrnSaver-1.2.4_1: .......... done
[140releng-armv7-default-job-02] |   | `-- Installing libXft-2.3.8...
[140releng-armv7-default-job-02] |   |   `-- Installing libXrender-0.9.11...
[140releng-armv7-default-job-02] |   |   `-- Extracting libXrender-0.9.11: .......... done
[140releng-armv7-default-job-02] |   | `-- Extracting libXft-2.3.8: .......... done
[140releng-armv7-default-job-02] |   `-- Extracting tk86-8.6.14_2: .......... done
[140releng-armv7-default-job-02] `-- Extracting ocaml-labltk-8.06.12_1: .......... done
[140releng-armv7-default-job-02] Extracting ocaml-findlib-1.9.6_3: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
=====
Message from freetype2-2.13.2:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
===>   ocaml-ounit-1.0.3_5 depends on file: /usr/local/bin/ocamlfind - found
===>   Returning to build of ocaml-ounit-1.0.3_5
===>   ocaml-ounit-1.0.3_5 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[140releng-armv7-default-job-02] Installing gmake-4.4.1...
[140releng-armv7-default-job-02] `-- Installing gettext-runtime-0.22.5...
[140releng-armv7-default-job-02] `-- Extracting gettext-runtime-0.22.5: .......... done
[140releng-armv7-default-job-02] Extracting gmake-4.4.1: .......... done
===>   ocaml-ounit-1.0.3_5 depends on package: gmake>=4.4.1 - found
===>   Returning to build of ocaml-ounit-1.0.3_5
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for ocaml-ounit-1.0.3_5
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for ocaml-ounit-1.0.3_5
ocamldep *.mli *.ml > depend
ocamlc -c -w A oUnit.mli
{ test -d doc || mkdir doc; };
cd doc; ocamldoc -html -I .. ../oUnit.mli
ocamlc -c -w A oUnit.ml
ocamlopt -c -w A oUnit.ml
File "oUnit.ml", line 233, characters 4-14:
233 | let is_success = function
          ^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value is_success.
File "oUnit.ml", line 233, characters 4-14:
233 | let is_success = function
          ^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value is_success.
ocamlc -a -o oUnit.cma oUnit.cmo
ocamlfind ocamlc -o unittest -package unix -linkpkg \
oUnit.cmo test_OUnit.ml
ocamlopt -a -o oUnit.cmxa oUnit.cmx
ocamlfind ocamlopt -o unittest.opt -package unix -linkpkg \
oUnit.cmx test_OUnit.ml
./unittest
..........
Ran: 10 tests in: 0.00 seconds.
OK./unittest.opt
.....F....
======================================================================
Failure: OUnit:5:test_cmp_float

OUnit: expected exception Failure("OUnit: not equal"), but no exception was raised.
----------------------------------------------------------------------
Ran: 10 tests in: 0.00 seconds.
FAILED: Cases: 10 Tried: 10 Errors: 0 Failures: 1 Skip:0 Todo:0
gmake: *** [Makefile:40: testopt] Error 1
===> 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/ocaml-ounit