[package - 135amd64-default][math/py-keras] Failed for py311-keras-2.9.0_2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Sep 2025 00:09:02 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/beefy16/data/135amd64-default/964e59282a49/logs/py311-keras-2.9.0_2.log Build URL: https://pkg-status.freebsd.org/beefy16/build.html?mastername=135amd64-default&build=964e59282a49 Log: =>> Building math/py-keras build started at Tue Sep 23 00:07:45 -00 2025 port directory: /usr/ports/math/py-keras package name: py311-keras-2.9.0_2 building for: FreeBSD 135amd64-default-job-06 13.5-RELEASE-p3 FreeBSD 13.5-RELEASE-p3 amd64 maintained by: yuri@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3616 Sep 4 01:03 /usr/ports/math/py-keras/Makefile Ports top last git commit: 964e59282a4 Ports top unclean checkout: no Port dir last git commit: b304d8ab18a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.3 Host OSVERSION: 1600000 Jail OSVERSION: 1305000 Job Id: 06 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p3 UNAME_r=13.5-RELEASE-p3 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/135amd64-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/135amd64-default/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=135amd64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/135amd64-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-- yuri@FreeBSD.org --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=freebsd13 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=13.5 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=freebsd13 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 ---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 --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_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [135amd64-default-job-06] Installing pkg-2.3.1... [135amd64-default-job-06] Extracting pkg-2.3.1: .......... done ===> py311-keras-2.9.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py311-keras-2.9.0_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 ===> License MIT accepted by the user ===> Fetching all distfiles required by py311-keras-2.9.0_2 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_2 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_2 for building ===> Extracting for py311-keras-2.9.0_2 => 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_2 ===> Applying FreeBSD patches for py311-keras-2.9.0_2 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_2 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 [135amd64-default-job-06] Installing py311-numpy-1.26.4_7,1... [135amd64-default-job-06] `-- Installing gcc13-13.3.0_3... [135amd64-default-job-06] | `-- Installing binutils-2.44,1... [135amd64-default-job-06] | | `-- Installing indexinfo-0.3.1_1... [135amd64-default-job-06] | | `-- Extracting indexinfo-0.3.1_1: .... done [135amd64-default-job-06] | | `-- Installing zstd-1.5.7... [135amd64-default-job-06] | | `-- Installing liblz4-1.10.0,1... [135amd64-default-job-06] | | `-- Extracting liblz4-1.10.0,1: .......... done [135amd64-default-job-06] | | `-- Extracting zstd-1.5.7: .......... done [135amd64-default-job-06] | `-- Extracting binutils-2.44,1: .......... done [135amd64-default-job-06] | `-- Installing gmp-6.3.0... [135amd64-default-job-06] | `-- Extracting gmp-6.3.0: .......... done [135amd64-default-job-06] | `-- Installing mpc-1.3.1_1... [135amd64-default-job-06] | | `-- Installing mpfr-4.2.2,1... [135amd64-default-job-06] | | `-- Extracting mpfr-4.2.2,1: .......... done [135amd64-default-job-06] | `-- Extracting mpc-1.3.1_1: ......... done [135amd64-default-job-06] `-- Extracting gcc13-13.3.0_3: .......... done <snip> verification of the problematic urllib3 consumer to see if that approach will remedy the issue. ===> py311-keras-2.9.0_2 depends on package: py311-tensorflow>=2.9.0 - found ===> Returning to build of py311-keras-2.9.0_2 ===> py311-keras-2.9.0_2 depends on executable: bazel - not found ===> Installing existing package /packages/All/bazel5-5.4.1.pkg [135amd64-default-job-06] Installing bazel5-5.4.1... [135amd64-default-job-06] `-- Installing openjdk11-11.0.27+6.1_2... [135amd64-default-job-06] | `-- Installing alsa-lib-1.2.14... [135amd64-default-job-06] | `-- Extracting alsa-lib-1.2.14: .......... done [135amd64-default-job-06] | `-- Installing javavmwrapper-2.7.10... [135amd64-default-job-06] | `-- Extracting javavmwrapper-2.7.10: .......... done [135amd64-default-job-06] | `-- Installing libXi-1.8.2,1... [135amd64-default-job-06] | | `-- Installing libXfixes-6.0.1... [135amd64-default-job-06] | | `-- Extracting libXfixes-6.0.1: .......... done [135amd64-default-job-06] | `-- Extracting libXi-1.8.2,1: .......... done [135amd64-default-job-06] | `-- Installing libXrandr-1.5.4... [135amd64-default-job-06] | `-- Extracting libXrandr-1.5.4: .......... done [135amd64-default-job-06] | `-- Installing libXt-1.3.0,1... [135amd64-default-job-06] | | `-- Installing libICE-1.1.2,1... [135amd64-default-job-06] | | `-- Extracting libICE-1.1.2,1: .......... done [135amd64-default-job-06] | | `-- Installing libSM-1.2.6,1... [135amd64-default-job-06] | | `-- Extracting libSM-1.2.6,1: .......... done [135amd64-default-job-06] | `-- Extracting libXt-1.3.0,1: .......... done [135amd64-default-job-06] | `-- Installing libXtst-1.2.5... [135amd64-default-job-06] | `-- Extracting libXtst-1.2.5: .......... done [135amd64-default-job-06] | `-- Installing xorg-fonts-truetype-7.7_1... [135amd64-default-job-06] | | `-- Installing dejavu-2.37_3... [135amd64-default-job-06] | | `-- Installing mkfontscale-1.2.3... [135amd64-default-job-06] | | | `-- Installing libfontenc-1.1.8... [135amd64-default-job-06] | | | `-- Extracting libfontenc-1.1.8: ......... done [135amd64-default-job-06] | | `-- Extracting mkfontscale-1.2.3: ....... done [135amd64-default-job-06] | | `-- Extracting dejavu-2.37_3: .......... done [135amd64-default-job-06] | | `-- Installing encodings-1.1.0,1... [135amd64-default-job-06] | | `-- Extracting encodings-1.1.0,1: .......... done [135amd64-default-job-06] | | `-- Installing font-bh-ttf-1.0.3_5... [135amd64-default-job-06] | | `-- Extracting font-bh-ttf-1.0.3_5: .......... done [135amd64-default-job-06] | | `-- Installing font-misc-ethiopic-1.0.4... [135amd64-default-job-06] | | `-- Extracting font-misc-ethiopic-1.0.4: ...... done [135amd64-default-job-06] | | `-- Installing font-misc-meltho-1.0.3_5... [135amd64-default-job-06] | | `-- Extracting font-misc-meltho-1.0.3_5: .......... done [135amd64-default-job-06] | `-- Extracting xorg-fonts-truetype-7.7_1: ... done [135amd64-default-job-06] `-- Extracting openjdk11-11.0.27+6.1_2: .......... done [135amd64-default-job-06] Extracting bazel5-5.4.1: ..... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from dejavu-2.37_3: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===== Message from openjdk11-11.0.27+6.1_2: -- This OpenJDK implementation may require procfs(5) mounted on /proc for some applications. If you have not done it yet, please do the following: mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: proc /proc procfs rw 0 0 ===> py311-keras-2.9.0_2 depends on executable: bazel - found ===> Returning to build of py311-keras-2.9.0_2 ===> py311-keras-2.9.0_2 depends on executable: bash - not found ===> Installing existing package /packages/All/bash-5.3.3_1.pkg [135amd64-default-job-06] Installing bash-5.3.3_1... [135amd64-default-job-06] Extracting bash-5.3.3_1: .......... done ===> py311-keras-2.9.0_2 depends on executable: bash - found ===> Returning to build of py311-keras-2.9.0_2 ===> py311-keras-2.9.0_2 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_2 =========================================================================== =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for py311-keras-2.9.0_2 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) Analyzing: target //keras/tools/pip_package:build_pip_package (1 packages loaded, 0 targets configured) Analyzing: target //keras/tools/pip_package:build_pip_package (57 packages loaded, 393 targets configured) INFO: Analyzed target //keras/tools/pip_package:build_pip_package (90 packages loaded, 1217 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [21 / 24] Executing genrule //keras/api:keras_python_api_gen_compat_v2; 1s local ... (3 actions running) 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-09-23 00:08:55.152252: 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 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 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' 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-09-23 00:08:55.231588: 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 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 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' 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: 18.823s, Critical Path: 11.70s 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