[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Mar 2023 22:25:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270411 Bug ID: 270411 Summary: science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ivan@drm.su CC: amzo1337@gmail.com Flags: maintainer-feedback?(amzo1337@gmail.com) CC: amzo1337@gmail.com Hello! Here is an information for whom it can help and also for the port maintainer. To fix the build add path /usr/local/llvm-devel/lib/clang/16/include to /usr/ports/science/py-tensorflow/files/freebsd/cc_toolchain_config.bzl on line 228 So it looks now like this: cxx_builtin_include_directories = ["/usr/local/llvm-devel/lib/clang/16.0.0", "/usr/local/llvm-devel/lib/clang/16/include", "/usr/include/c++/v1", "/usr/local/include", "/usr/include"] That path contains builtin headers for native optimizations. I also did a hack for abseil library: fetch https://raw.githubusercontent.com/abseil/abseil-cpp/master/absl/meta/type_traits.h -o /usr/local/include/absl/meta/type_traits.h Because that file was almost completely rewritten by authors. And current ports version does not support clang 16. -- You are receiving this mail because: You are the assignee for the bug.