[exp - 143amd64-default-build-as-user][math/lean4] Failed for lean4-4.25.2 in fetch

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 02 Dec 2025 02:48:03 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/package19/data/143amd64-default-build-as-user/ac0d6e5009d2/logs/lean4-4.25.2.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=143amd64-default-build-as-user&build=ac0d6e5009d2
Log:

=>> Building math/lean4
build started at Tue Dec  2 02:47:51 -00 2025
port directory: /usr/ports/math/lean4
package name: lean4-4.25.2
building for: FreeBSD 143amd64-default-build-as-user-job-08 14.3-RELEASE-p6 FreeBSD 14.3-RELEASE-p6 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2828 Nov 27 00:03 /usr/ports/math/lean4/Makefile
Ports top last git commit: ac0d6e5009d2f6748717870e3d2cb015761dde4f
Ports top unclean checkout: no
Port dir last git commit: 9ca498edefb1e63803aa3dbb1abca96fbf603dc5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-6-gd1913ec3
Host OSVERSION: 1600000
Jail OSVERSION: 1403000
Job Id: 08

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1403000
UNAME_v=FreeBSD 14.3-RELEASE-p6
UNAME_r=14.3-RELEASE-p6
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.4-6-gd1913ec3
MASTERMNT=/poudriere/data/.m/143amd64-default-build-as-user/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/poudriere/data/.m/143amd64-default-build-as-user/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=143amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/poudriere/data/.m/143amd64-default-build-as-user/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4-6-gd1913ec3
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---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/math/lean4/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/lean4/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/lean4/work/.cache  HOME=/wrkdirs/usr/ports/math/lean4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/lean4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/lean4/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--
LD_LIBRARY_PATH=/wrkdirs/usr/ports/math/lean4/work/.build/stage0/lib/lean XDG_DATA_HOME=/wrkdirs/usr/ports/math/lean4/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/lean4/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/lean4/work/.cache  HOME=/wrkdirs/usr/ports/math/lean4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/lean4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/lean4/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  -fPIC -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing  -fPIC " 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--
CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lean4"  EXAMPLESDIR="share/examples/lean4"  DATADIR="share/lean4"  WWWDIR="www/lean4"  ETCDIR="etc/lean4"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lean4 DOCSDIR=/usr/local/share/doc/lean4 EXAMPLESDIR=/usr/local/share/examples/lean4  WWWDIR=/usr/local/www/lean4 ETCDIR=/usr/local/etc/lean4
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534

Please note that build Lean requires /proc to be mounted.

  The usual way to do this is to add this line to /etc/fstab:
  proc /proc procfs rw 0 0

  and then run this command as root:
  # mount /proc

===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lean4-4.25.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.4.2_1.pkg
[143amd64-default-build-as-user-job-08] Installing pkg-2.4.2_1...
[143amd64-default-build-as-user-job-08] Extracting pkg-2.4.2_1: .......... done
===>   lean4-4.25.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lean4-4.25.2
===========================================================================
=======================<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

Please note that build Lean requires /proc to be mounted.

  The usual way to do this is to add this line to /etc/fstab:
  proc /proc procfs rw 0 0

  and then run this command as root:
  # mount /proc

===>  License APACHE20 accepted by the user
=> leanprover-lean4-v4.25.2_GH0.tar.gz doesn't seem to exist in /portdistfiles.
=> Attempting to fetch https://codeload.github.com/leanprover/lean4/tar.gz/v4.25.2?dummy=/leanprover-lean4-v4.25.2_GH0.tar.gz
fetch: https://codeload.github.com/leanprover/lean4/tar.gz/v4.25.2?dummy=/leanprover-lean4-v4.25.2_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/leanprover/lean4/tar.gz/v4.25.2?dummy=/leanprover-lean4-v4.25.2_GH0.tar.gz: size of remote file is not known
leanprover-lean4-v4.25.2_GH0.tar.gz                     47 MB 4646 kBps    10s
=> Fetched file size mismatch (expected 50069767, actual 50069813)
=> Trying next site
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leanprover-lean4-v4.25.2_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/leanprover-lean4-v4.25.2_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/lean4