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:     [email protected]
Log URL:        
https://pkg-status.freebsd.org/beefy22/data/142amd64-default/41e3c046e7bc/logs/py311-keras-2.9.0_1.log
Build URL:      
https://pkg-status.freebsd.org/beefy22/build.html?mastername=142amd64-default&build=41e3c046e7bc
Log:

=>> Building math/py-keras
build started at Sat Aug 16 22:27:55 UTC 2025
port directory: /usr/ports/math/py-keras
package name: py311-keras-2.9.0_1
building for: FreeBSD 142amd64-default-job-04 14.2-RELEASE-p5 FreeBSD 
14.2-RELEASE-p5 amd64
maintained by: [email protected]
Makefile datestamp: -rw-r--r--  1 root wheel 3616 Feb 20 01:01 
/usr/ports/math/py-keras/Makefile
Ports top last git commit: 41e3c046e7
Ports top unclean checkout: no
Port dir last git commit: 1bb147345d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500052
Jail OSVERSION: 1402000
Job Id: 04

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1402000
UNAME_v=FreeBSD 14.2-RELEASE-p5
UNAME_r=14.2-RELEASE-p5
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.3
MASTERMNT=/usr/local/poudriere/data/.m/142amd64-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/142amd64-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
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--
[email protected]
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" 
XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-keras/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-keras/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-keras/work/.cache  
HOME=/wrkdirs/usr/ports/math/py-keras/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/math/py-keras/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/py-keras/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/math/py-keras/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-keras/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-keras/work/.cache  
HOME=/wrkdirs/usr/ports/math/py-keras/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/math/py-keras/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/py-keras/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=" " 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--
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.2 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 
DOCSDIR="share/doc/keras"  EXAMPLESDIR="share/examples/keras"  
DATADIR="share/keras"  WWWDIR="www/keras"  ETCDIR="etc/keras"
--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/keras DOCSDIR=/usr/local/share/doc/keras 
EXAMPLESDIR=/usr/local/share/examples/keras  WWWDIR=/usr/local/www/keras 
ETCDIR=/usr/local/etc/keras
--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
####  ####
# 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)  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=root UID=0 GID=0
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-keras-2.9.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.2.pkg
[142amd64-default-job-04] Installing pkg-2.2.2...
[142amd64-default-job-04] Extracting pkg-2.2.2: .......... done
===>   py311-keras-2.9.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-keras-2.9.0_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 MIT accepted by the user
===> Fetching all distfiles required by py311-keras-2.9.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by py311-keras-2.9.0_1 for building
=> SHA256 Checksum OK for b1c40e1de81913a3c40e5948f78719c28152486d.zip.
=> SHA256 Checksum OK for 7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip.
=> SHA256 Checksum OK for keras-team-keras-2.9.0-r2.9_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 MIT accepted by the user
===> Fetching all distfiles required by py311-keras-2.9.0_1 for building
===>  Extracting for py311-keras-2.9.0_1
=> SHA256 Checksum OK for b1c40e1de81913a3c40e5948f78719c28152486d.zip.
=> SHA256 Checksum OK for 7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip.
=> SHA256 Checksum OK for keras-team-keras-2.9.0-r2.9_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 py311-keras-2.9.0_1
===>  Applying FreeBSD patches for py311-keras-2.9.0_1 from 
/usr/ports/math/py-keras/files
Moving b1c40e1de81913a3c40e5948f78719c28152486d.zip to 
/wrkdirs/usr/ports/math/py-keras/work/bazel-dist
Moving 7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip to 
/wrkdirs/usr/ports/math/py-keras/work/bazel-dist
/bin/ln -s /usr/local/bin/python3.11 
/wrkdirs/usr/ports/math/py-keras/work/.bin/python3
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-keras-2.9.0_1 depends on package: py311-numpy>=1.16,1<1.27,1 - not 
found
===>   Installing existing package /packages/All/py311-numpy-1.26.4_7,1.pkg
[142amd64-default-job-04] Installing py311-numpy-1.26.4_7,1...
[142amd64-default-job-04] `-- Installing gcc13-13.3.0_3...
[142amd64-default-job-04] |   `-- Installing binutils-2.44,1...
[142amd64-default-job-04] |   | `-- Installing indexinfo-0.3.1_1...
[142amd64-default-job-04] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[142amd64-default-job-04] |   | `-- Installing zstd-1.5.7...
[142amd64-default-job-04] |   |   `-- Installing liblz4-1.10.0,1...
[142amd64-default-job-04] |   |   `-- Extracting liblz4-1.10.0,1: .......... 
done
[142amd64-default-job-04] |   | `-- Extracting zstd-1.5.7: .......... done
[142amd64-default-job-04] |   `-- Extracting binutils-2.44,1: .......... done
[142amd64-default-job-04] |   `-- Installing gmp-6.3.0...
[142amd64-default-job-04] |   `-- Extracting gmp-6.3.0: .......... done
[142amd64-default-job-04] |   `-- Installing mpc-1.3.1_1...
[142amd64-default-job-04] |   | `-- Installing mpfr-4.2.2,1...
[142amd64-default-job-04] |   | `-- Extracting mpfr-4.2.2,1: .......... done
<snip>
===>   Installing existing package /packages/All/bash-5.3.3_1.pkg
[142amd64-default-job-04] Installing bash-5.3.3_1...
[142amd64-default-job-04] Extracting bash-5.3.3_1: .......... done
===>   py311-keras-2.9.0_1 depends on executable: bash - found
===>   Returning to build of py311-keras-2.9.0_1
===>   py311-keras-2.9.0_1 depends on file: /usr/local/bin/python3.11 - found
===========================================================================
=======================<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 py311-keras-2.9.0_1
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py311-keras-2.9.0_1
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
WARNING: The following configs were expanded more than once: [freebsd]. For 
repeatable flags, repeats are counted twice and may lead to unexpected behavior.
INFO: Reading 'startup' options from 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/bazelrc: 
--output_user_root=/wrkdirs/usr/ports/math/py-keras/work/.cache/
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'build' from /usr/local/etc/bazel/bazel.bazelrc:
  'build' options: --strategy=Javac=standalone --java_runtime_version=11 
--tool_java_runtime_version=11 --action_env=PATH=/bin:/usr/bin/:/usr/local/bin
INFO: Reading rc options for 'build' from 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/.bazelrc:
  'build' options: --apple_platform_type=macos --define open_source_build=true 
--define=use_fast_cpp_protos=false 
--define=tensorflow_enable_mlir_generated_gpu_kernels=0 
--define=allow_oversize_protos=true --spawn_strategy=standalone -c opt 
--announce_rc --define=grpc_no_ares=true --config=short_logs --config=v2
INFO: Reading rc options for 'build' from 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/bazelrc:
  'build' options: 
--repository_cache=/wrkdirs/usr/ports/math/py-keras/work/bazel-cache/ 
--distdir=/wrkdirs/usr/ports/math/py-keras/work/bazel-dist/ 
--define=PREFIX=/usr/local --define=LIBDIR=/usr/local/lib 
--define=INCLUDEDIR=/usr/local/include 
--define=PROTOBUF_INCLUDE_PATH=/usr/local/include 
--extra_toolchains=//freebsd:cc-toolchain-freebsd 
--action_env=PATH=/wrkdirs/usr/ports/math/py-keras/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
--host_action_env=PATH=/wrkdirs/usr/ports/math/py-keras/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 --config=freebsd
INFO: Found applicable config definition build:short_logs in file 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/.bazelrc: 
--output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/.bazelrc: 
--define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:freebsd in file 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/.bazelrc: --define 
force_libcpp=enabled --action_env=CXXFLAGS=-stdlib=libc++
INFO: Found applicable config definition build:freebsd in file 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/.bazelrc: --define 
force_libcpp=enabled --action_env=CXXFLAGS=-stdlib=libc++
Loading: 
Loading: 0 packages loaded
Analyzing: target //keras/tools/pip_package:build_pip_package (1 packages 
loaded, 0 targets configured)
INFO: Analyzed target //keras/tools/pip_package:build_pip_package (90 packages 
loaded, 1217 targets configured).

INFO: Found 1 target...
[0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (5 actions, 0 
running)
[21 / 24] Executing genrule //keras/api:keras_python_api_gen_compat_v1; 1s 
local ... (3 actions running)
ERROR: /wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/keras/api/BUILD:187:19: 
Executing genrule //keras/api:keras_python_api_gen_compat_v2 failed: (Exit 1): 
bash failed: error executing command /usr/local/bin/bash -c ... (remaining 1 
argument skipped)
2025-08-16 22:29:28.276442: I 
tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is 
optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX512F 
AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate 
compiler flags.
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/function.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/attr_value.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/tensor.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/resource_handle.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/tensor_shape.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/types.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/node_def.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/full_type.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/op_def.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/protobuf/config.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/cost_graph.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/graph.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/graph_debug_info.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/versions.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/step_stats.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/allocation_description.proto. Please update the 
gencode to avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/tensor_description.proto. Please update the gencode 
to avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/protobuf/cluster.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/protobuf/debug.proto. Please 
update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/protobuf/rewriter_config.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
Traceback (most recent call last):
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/api/create_python_api_wrapper.py",
 line 26, in <module>
    import keras  # pylint: disable=unused-import
    ^^^^^^^^^^^^
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/__init__.py",
 line 24, in <module>
    from keras import models
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/models/__init__.py",
 line 18, in <module>
    from keras.engine.functional import Functional
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/engine/functional.py",
 line 23, in <module>
    from keras import backend
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/backend.py",
 line 43, in <module>
    from keras.engine import keras_tensor
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/engine/keras_tensor.py",
 line 17, in <module>
    from keras.utils import object_identity
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/utils/__init__.py",
 line 18, in <module>
    from keras.utils.data_utils import get_file
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/utils/data_utils.py",
 line 42, in <module>
    from keras.utils import tf_inspect
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_2_keras_python_api_gen_compat_v2.runfiles/org_keras/keras/utils/tf_inspect.py",
 line 23, in <module>
    ArgSpec = _inspect.ArgSpec
              ^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'ArgSpec'
ERROR: /wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/keras/api/BUILD:173:19: 
Executing genrule //keras/api:keras_python_api_gen_compat_v1 failed: (Exit 1): 
bash failed: error executing command /usr/local/bin/bash -c ... (remaining 1 
argument skipped)
2025-08-16 22:29:28.672835: I 
tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is 
optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX512F 
AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate 
compiler flags.
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/function.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/attr_value.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/tensor.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/resource_handle.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/tensor_shape.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/types.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/node_def.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/full_type.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/op_def.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/protobuf/config.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/cost_graph.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/graph.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/graph_debug_info.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/versions.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/framework/step_stats.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/allocation_description.proto. Please update the 
gencode to avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/framework/tensor_description.proto. Please update the gencode 
to avoid compatibility violations in the next runtime release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/protobuf/cluster.proto. 
Please update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at tensorflow/core/protobuf/debug.proto. Please 
update the gencode to avoid compatibility violations in the next runtime 
release.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py:98: 
UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older 
than the runtime version 6.31.1 at 
tensorflow/core/protobuf/rewriter_config.proto. Please update the gencode to 
avoid compatibility violations in the next runtime release.
  warnings.warn(
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard 
installation.
Traceback (most recent call last):
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/api/create_python_api_wrapper.py",
 line 26, in <module>
    import keras  # pylint: disable=unused-import
    ^^^^^^^^^^^^
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/__init__.py",
 line 24, in <module>
    from keras import models
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/models/__init__.py",
 line 18, in <module>
    from keras.engine.functional import Functional
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/engine/functional.py",
 line 23, in <module>
    from keras import backend
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/backend.py",
 line 43, in <module>
    from keras.engine import keras_tensor
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/engine/keras_tensor.py",
 line 17, in <module>
    from keras.utils import object_identity
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/utils/__init__.py",
 line 18, in <module>
    from keras.utils.data_utils import get_file
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/utils/data_utils.py",
 line 42, in <module>
    from keras.utils import tf_inspect
  File 
"/wrkdirs/usr/ports/math/py-keras/work/.cache/5c91d5411fc096d72015b136575dab1f/execroot/org_keras/bazel-out/freebsd-opt-exec-2B5CBBC6/bin/keras/api/create_keras_api_1_keras_python_api_gen_compat_v1.runfiles/org_keras/keras/utils/tf_inspect.py",
 line 23, in <module>
    ArgSpec = _inspect.ArgSpec
              ^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'ArgSpec'
Target //keras/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: 
/wrkdirs/usr/ports/math/py-keras/work/keras-r2.9/keras/tools/pip_package/BUILD:39:10
 Middleman _middlemen/keras_Stools_Spip_Upackage_Sbuild_Upip_Upackage-runfiles 
failed: (Exit 1): bash failed: error executing command /usr/local/bin/bash -c 
... (remaining 1 argument skipped)
INFO: Elapsed time: 11.869s, Critical Path: 7.13s
INFO: 24 processes: 17 internal, 7 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-keras


Reply via email to