notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-tensorflow Computation using data flow graphs for scalable machine learning
1.15.5_2 science on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.14.0_18Version of this port present on the latest quarterly branch.
Maintainer: amzo1337@gmail.com search for ports maintained by this maintainer
Port Added: 2017-08-15 12:08:16
Last Update: 2021-07-21 18:12:13
Commit Hash: 6582405
Also Listed In: python
License: APACHE20
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py-tensorflow@${PY_FLAVOR}
To install the port: cd /usr/ports/science/py-tensorflow/ && make install clean
To add the package, run one of these commands:
  • pkg install science/py-tensorflow
  • pkg install py38-tensorflow
NOTE: This is a Python port. Instead of py38-tensorflow listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-tensorflow
Package flavors (<flavor>: <package>)
  • py38: py38-tensorflow
ONLY_FOR_ARCHS: amd64
distinfo:
Packages (timestamps in pop-ups are UTC):
py38-tensorflow
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.15.5_1-
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd641.15.5_1-
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd641.15.5_2-
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd641.15.5_2-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-absl>=0.7.0 : devel/py-absl@py38
  2. py38-astor>=0.5 : devel/py-astor@py38
  3. py38-gast>=0.2.2 : devel/py-gast@py38
  4. py38-numpy>=1.11.2 : math/py-numpy@py38
  5. py38-google-pasta>=0.1.7 : devel/py-google-pasta@py38
  6. py38-protobuf>=3.7.1 : devel/py-protobuf@py38
  7. py38-six>=1.10.0 : devel/py-six@py38
  8. py38-termcolor>=1.1.0 : devel/py-termcolor@py38
  9. py38-grpcio>=1.22.0 : devel/py-grpcio@py38
  10. py38-keras>=2.2.4 : math/py-keras@py38
  11. py38-wrapt>=1.11.2 : devel/py-wrapt@py38
  12. py38-wheel>=0.30.0 : devel/py-wheel@py38
  13. py38-setuptools>0 : devel/py-setuptools@py38
  14. python3.8 : lang/python38
  15. py38-grpcio-tools>=1.22.0 : devel/py-grpcio-tools@py38
  16. bash : shells/bash
  17. cython : lang/cython
  18. swig : devel/swig
  19. bazel : devel/bazel029
  20. git : devel/git
  21. py38-setuptools>0 : devel/py-setuptools@py38
  22. python3.8 : lang/python38
Runtime dependencies:
  1. py38-absl>=0.7.0 : devel/py-absl@py38
  2. py38-astor>=0.5 : devel/py-astor@py38
  3. py38-gast>=0.2.2 : devel/py-gast@py38
  4. py38-numpy>=1.11.2 : math/py-numpy@py38
  5. py38-google-pasta>=0.1.7 : devel/py-google-pasta@py38
  6. py38-protobuf>=3.7.1 : devel/py-protobuf@py38
  7. py38-six>=1.10.0 : devel/py-six@py38
  8. py38-termcolor>=1.1.0 : devel/py-termcolor@py38
  9. py38-grpcio>=1.22.0 : devel/py-grpcio@py38
  10. py38-keras>=2.2.4 : math/py-keras@py38
  11. py38-wrapt>=1.11.2 : devel/py-wrapt@py38
  12. py38-wheel>=0.30.0 : devel/py-wheel@py38
  13. py38-setuptools>0 : devel/py-setuptools@py38
  14. python3.8 : lang/python38
Library dependencies:
  1. libsnappy.so : archivers/snappy
  2. liblmdb.so : databases/lmdb
  3. libsqlite3.so : databases/sqlite3
  4. libicuio.so : devel/icu
  5. libjsoncpp.so : devel/jsoncpp
  6. libpcre.so : devel/pcre
  7. libnsync.so : devel/nsync
  8. libprotobuf.so : devel/protobuf
  9. libprotobuf-c.so : devel/protobuf-c
  10. libre2.so : devel/re2
  11. libgif.so : graphics/giflib
  12. libpng.so : graphics/png
  13. libgpr.so : devel/grpc
  14. libcurl.so : ftp/curl
  15. libgoogle_cloud_cpp_common.so : devel/google-cloud-cpp117
  16. libflatbuffers.so : devel/flatbuffers
  17. libdouble-conversion.so : devel/double-conversion
  18. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. science/py-tensorflow-estimator*
  2. Collapse this list of deleted ports.
for Run
  1. misc/py-tflearn

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/tensorflow/tensorflow/tar.gz/v1.15.5?dummy=/
Collapse this list.

Number of commits found: 40

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
21 Jul 2021 18:12:13
 files touched by this commit commit hash:65824056063718696f10c0a2f08d5c0bd6a9d737  1.15.5_2
sunpoet search for other commits by this committer
science/py-tensorflow: Fix build with protobuf 3.17.3
21 Jul 2021 18:11:52
 files touched by this commit commit hash:f4acead6367a692af17431cc233565e8f1149366  1.15.5_2
sunpoet search for other commits by this committer
devel/protobuf: Update to 3.17.3

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		257026
Exp-run by:	antoine
09 Jul 2021 00:31:37
 files touched by this commit commit hash:3dccfaa0cdd58e4ba5cde9d68ddf1351b55db1ef  1.15.5_1
yuri search for other commits by this committer
science/py-tensorflow: Update 1.14.0 -> 1.15.5

PR:		250646
26 May 2021 12:54:17
 files touched by this commit commit hash:42eda02a8b7658dc6b43c697960b80c76934824e  1.14.0_18
sunpoet search for other commits by this committer
devel/grpc: Update to 1.38.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/grpc/grpc/releases
11 May 2021 19:49:07
 files touched by this commit commit hash:454ec5251bda5fc33c94368d9f90527fc857ac3e  1.14.0_17
yuri search for other commits by this committer
devel/flatbuffers: Update 1.12.0 -> 2.0.0

Reported by:	portscout
08 Apr 2021 23:33:31
 files touched by this commit commit hash:69d24a727d44d398f7357cb844386f3ec4750a4f  1.14.0_16
jbeich search for other commits by this committer
devel/icu: update to 69.1

Changes:	https://github.com/unicode-org/icu/releases/tag/release-69-1
Reported by:	GitHub (watch releases)
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  1.14.0_15
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.14.0_15
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
07 Mar 2021 22:10:48
Original commit files touched by this commit Revision:567615  1.14.0_15
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/grpc shlib change
03 Feb 2021 19:46:36
Original commit files touched by this commit Revision:563913  1.14.0_14
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/re2 shlib change
26 Jan 2021 14:01:09
Original commit files touched by this commit Revision:562671  1.14.0_13
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
03 Nov 2020 00:56:27
Original commit files touched by this commit Revision:553940  1.14.0_12
jbeich search for other commits by this committer
devel/icu: update to 68.1

Changes:	http://site.icu-project.org/download/68
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
30 Aug 2020 20:19:42
Original commit files touched by this commit Revision:547081  1.14.0_11
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
30 Jun 2020 17:46:18
Original commit files touched by this commit Revision:540909  1.14.0_10
tcberner search for other commits by this committer
Bump devel/jsoncpp consumers after r540853.

Reported by:	Kevin Oberman <rkoberman@gmail.com>
17 Jun 2020 18:17:45
Original commit files touched by this commit Revision:539491  1.14.0_9
sunpoet search for other commits by this committer
Move devel/swig30 to devel/swig and update to 4.0.1

- Do not silence installation message
- Update dependent ports:
  - Fix build with swig 4.0.1
  - Update *_DEPENDS
  - Remove BINARY_ALIAS

Changes:	http://www.swig.org/news.php
PR:		246613
Exp-run by:	antoine
03 Jun 2020 18:32:06
Original commit files touched by this commit Revision:537830  1.14.0_9
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
23 Apr 2020 20:14:49
Original commit files touched by this commit Revision:532707  1.14.0_8
jbeich search for other commits by this committer
devel/icu: update to 67.1

Changes:	http://site.icu-project.org/download/67
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
12 Apr 2020 12:56:52
Original commit files touched by this commit Revision:531513  1.14.0_7
antoine search for other commits by this committer
Mark BROKEN: fails to build

Reported by:	pkg-fallout
04 Apr 2020 07:23:30
Original commit files touched by this commit Revision:530566  1.14.0_7
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/re2 shlib change
13 Mar 2020 09:47:17
Original commit files touched by this commit Revision:528343  1.14.0_6
jbeich search for other commits by this committer
devel/icu: update to 66.1

Changes:	http://site.icu-project.org/download/66
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
22 Jan 2020 05:53:20
Original commit files touched by this commit Revision:523788  1.14.0_5
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
13 Jan 2020 21:38:36
Original commit files touched by this commit Revision:522975  1.14.0_4
yuri search for other commits by this committer
devel/jsoncpp: Update 1.8.1 -> 1.9.2

PR:		229677
Differential Revision:	D22905
20 Nov 2019 14:42:36
Original commit files touched by this commit Revision:518023  1.14.0_3
antoine search for other commits by this committer
Unbreak bulk -a with non default versions of python3
04 Nov 2019 17:27:00
Original commit files touched by this commit Revision:516729  1.14.0_3
mat search for other commits by this committer
Don't put magic strings where they are not needed.
03 Nov 2019 17:14:48
Original commit files touched by this commit Revision:516444  1.14.0_3
yuri search for other commits by this committer
science/py-tensorflow: Fix the option CPU_OPTS=ON, it wasn't passing options to
bazel.

The BAZEL_COPT variable was always left blank, while docs recommend passing
optimization options to bazel.

Also replace .include with option helpers.

Testing performed:	Ran with CPU_OPTS=ON on a simple computation and observed
that warnings about missing SSE4.2 optimizations are gone.
Approved by:	portmgr (unbreak the option; change to the recommended format)
31 Oct 2019 15:10:47
Original commit files touched by this commit Revision:516173  1.14.0_2
yuri search for other commits by this committer
science/py-tensorflow: Fix build by using the version of devel/bazel (0.29.0)
that is known to be able to build it

One of the previous commits to devel/bazel broke tensorflow.

Fun fact: the latest version of tensorflow-2.0.0 also fails to build with the
latest version of bazel-1.1.0.
27 Oct 2019 21:48:25
Original commit files touched by this commit Revision:515825  1.14.0_2
antoine search for other commits by this committer
Mark BROKEN: fails to build

ERROR:
/wrkdirs/usr/ports/science/py-tensorflow/work-py36/bazel_out/c4d2d4417b4eb41713ce6dd52d587dc4/external/protobuf_archive/protobuf.bzl:274:40:
The value 'REPOSITORY_NAME' has been removed in favor of 'repository_name()',
please use the latter
(https://docs.bazel.build/versions/master/skylark/lib/native.html#repository_name).
ERROR: Skipping '//tensorflow:libtensorflow.so': error loading package
'tensorflow': in
/wrkdirs/usr/ports/science/py-tensorflow/work-py36/tensorflow-1.14.0/tensorflow/core/platform/default/build_config.bzl:
Extension 'protobuf.bzl' has errors
ERROR: error loading package 'tensorflow': in
/wrkdirs/usr/ports/science/py-tensorflow/work-py36/tensorflow-1.14.0/tensorflow/core/platform/default/build_config.bzl:
Extension 'protobuf.bzl' has errors

Reported by:	pkg-fallout
06 Oct 2019 06:47:52
Original commit files touched by this commit Revision:513871  1.14.0_2
yuri search for other commits by this committer
science/py-tensorflow: Unbreak by fixing dependencies

PR:		240578
Submitted by:	amzo1337@gmail.com (maintainer)
03 Oct 2019 20:35:30
Original commit files touched by this commit Revision:513733  1.14.0_1
jbeich search for other commits by this committer
devel/icu: update to 65.1

Changes:	http://site.icu-project.org/download/65
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
08 Sep 2019 05:49:32
Original commit files touched by this commit Revision:511540  1.14.0
antoine search for other commits by this committer
Mark BROKEN

WARNING: Download from
https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip
failed: class java.net.ConnectException Can't assign requested address (connect
failed)
WARNING: Download from
https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip
failed: class java.net.ConnectException Can't assign requested address (connect
failed)
ERROR: An error occurred during the fetch of repository 'rules_cc':
   java.io.IOException: Error downloading
[https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip,
https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip]
to
/wrkdirs/usr/ports/science/py-tensorflow/work-py36/bazel_out/c4d2d4417b4eb41713ce6dd52d587dc4/external/rules_cc/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip:
Can't assign requested address (connect failed)
ERROR: While resolving toolchains for target
//tensorflow:libtensorflow.so.1.14.0:
com.google.devtools.build.lib.packages.RepositoryFetchException: no such package
'@rules_cc//cc': java.io.IOException: Error downloading
[https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip,
https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip]
to
/wrkdirs/usr/ports/science/py-tensorflow/work-py36/bazel_out/c4d2d4417b4eb41713ce6dd52d587dc4/external/rules_cc/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip:
Can't assign requested address (connect failed)
ERROR: Analysis of target '//tensorflow:libtensorflow.so' failed; build aborted:
com.google.devtools.build.lib.packages.RepositoryFetchException: no such package
'@rules_cc//cc': java.io.IOException: Error downloading
[https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip,
https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip]
to
/wrkdirs/usr/ports/science/py-tensorflow/work-py36/bazel_out/c4d2d4417b4eb41713ce6dd52d587dc4/external/rules_cc/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip:
Can't assign requested address (connect failed)

Reported by:	pkg-fallout
06 Aug 2019 15:28:01
Original commit files touched by this commit Revision:508257  1.14.0
yuri search for other commits by this committer
Re-add science/py-tensorflow: Computation using data flow graphs for scalable
machine learning

Many thanks to Anthony who was highly persistent and skillful in getting the
Tensorflow build on FreeBSD!

PR:		226400
Submitted by:	Anthony <amzo1337@gmail.com>
08 Aug 2018 19:09:09
Original commit files touched by this commit Revision:476658  1.2.1_1
brooks search for other commits by this committer
Remove broken and expired port which also depends on clang38 (on 10).
22 Jun 2018 08:28:00
Original commit files touched by this commit Revision:473023  1.2.1_1
yuri search for other commits by this committer
Correction to r473019: Revert the unintended change to the 'Created by' headers.
22 Jun 2018 08:04:39
Original commit files touched by this commit Revision:473019  1.2.1_1
yuri search for other commits by this committer
Reset MAINTAINER on ports maintained by amutu@amutu.com

Based on the new policy of all maintained ports reset
when maintaner is absent for 3 months.

Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months).
portscout database indicates that 48.94% of his ports aren't updated.
20 Jun 2018 17:05:44
Original commit files touched by this commit Revision:472884  1.2.1_1
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
05 May 2018 10:49:36
Original commit files touched by this commit Revision:469100  1.2.1_1
antoine search for other commits by this committer
Deprecate ports broken for more than 6 months
10 Mar 2018 17:46:06
Original commit files touched by this commit Revision:464084  1.2.1_1
gerald search for other commits by this committer
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
30 Nov 2017 15:50:34
Original commit files touched by this commit Revision:455210  1.2.1  Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Nov 2017 16:43:30
Original commit files touched by this commit Revision:453552  1.2.1
antoine search for other commits by this committer
Mark BROKEN: fails to build

Extracting Bazel installation...
ERROR:
/wrkdirs/usr/ports/science/py-tensorflow/work/tensorflow-1.2.1/bazel_ot/f4693a59cc0f39b12832b03860533e20/external/io_bazel_rules_closure/closure/private/defs.bzl:27:16:
The `set` constructor for depsets is deprecated and will be removed. Please use
the `depset` constructor instead. You can temporarily enable the deprecated
`set` constructor by passing the flag
--incompatible_disallow_set_constructor=false
ERROR: error loading package '': Extension file 'closure/private/defs.bzl' has
errors

Reported by:	pkg-fallout
15 Aug 2017 12:08:02
Original commit files touched by this commit Revision:447979  1.2.1
lwhsu search for other commits by this committer
Ad TensorFlow 1.2.1

PR:		219609
Submitted by:	Jov <amutu@amutu.com>

Number of commits found: 40