[Bug 280234] science/py-tensorflow: upd ate 2.9.1 → 2.13.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Jul 2024 06:54:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280234

--- Comment #3 from Lars Herschke <lhersch@dssgmbh.de> ---
ERROR:
/wrkdirs/usr/ports/science/py-tensorflow/work-py39/tensorflow-2.13.1/tensorflow/cc/BUILD:673:22:
Executing genrule //tensorflow/cc:image_ops_genrule failed: (Exit 1): bash
failed: error executing command
...
ld-elf.so.1:
/wrkdirs/usr/ports/science/py-tensorflow/work-py39/bazel_out/510805f3beb273b7d5a810ae984312ce/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/cc/ops/../../../_solib_k8/_U_S_Stensorflow_Scc_Cops_Simage_Uops_Ugen_Ucc___Utensorflow/libtensorflow_framework.so.2:
Undefined symbol
"_ZN4absl12lts_202301254CordC1INSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEELi0EEEOT_"

This is probably due to the fact that devel/abseil is built in 14.1 with llvm
18. If you build py-tensorflow with llvm 18, the error is gone. However, the
build then fails under FreeBSD older than 14.1.
With the current change py-tensorflow always builds with the system compiler.
So I could build jet successfully under 14.1, 14.0 , 13.3 and even under 13.2
(with llvm 14!).

-- 
You are receiving this mail because:
You are the assignee for the bug.