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.14.0_3 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 1.14.0Version 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: 2019-11-20 14:42:36
SVN Revision: 518023
Also Listed In: python
License: APACHE20
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py36-tensorflow>0:science/py-tensorflow
To install the port: cd /usr/ports/science/py-tensorflow/ && make install clean
To add the package: pkg install py36-tensorflow
PKGNAME: py36-tensorflow
Package flavors (<flavor>: <package>)
  • py36: py36-tensorflow
ONLY_FOR_ARCHS: amd64
distinfo:

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py36-absl>=0.7.1 : devel/py-absl@py36
  2. py36-astor>=0.5 : devel/py-astor@py36
  3. py36-gast>=0.2.2 : devel/py-gast@py36
  4. py36-numpy>=1.11.2 : math/py-numpy@py36
  5. py36-google-pasta>=0.1.7 : devel/py-google-pasta@py36
  6. py36-protobuf>=3.7.1 : devel/py-protobuf@py36
  7. py36-six>=1.10.0 : devel/py-six@py36
  8. py36-termcolor>=1.1.0 : devel/py-termcolor@py36
  9. py36-grpcio>=1.22.0 : devel/py-grpcio@py36
  10. py36-keras>=2.2.4 : math/py-keras@py36
  11. py36-wrapt>=1.11.2 : devel/py-wrapt@py36
  12. py36-wheel>=0.30.0 : devel/py-wheel@py36
  13. py36-setuptools>0 : devel/py-setuptools@py36
  14. python3.6 : lang/python36
  15. py36-grpcio-tools>=1.22.0 : devel/py-grpcio-tools@py36
  16. bash : shells/bash
  17. cython : lang/cython
  18. swig3.0 : devel/swig30
  19. bazel : devel/bazel029
  20. py36-setuptools>0 : devel/py-setuptools@py36
  21. python3.6 : lang/python36
Runtime dependencies:
  1. py36-absl>=0.7.1 : devel/py-absl@py36
  2. py36-astor>=0.5 : devel/py-astor@py36
  3. py36-gast>=0.2.2 : devel/py-gast@py36
  4. py36-numpy>=1.11.2 : math/py-numpy@py36
  5. py36-google-pasta>=0.1.7 : devel/py-google-pasta@py36
  6. py36-protobuf>=3.7.1 : devel/py-protobuf@py36
  7. py36-six>=1.10.0 : devel/py-six@py36
  8. py36-termcolor>=1.1.0 : devel/py-termcolor@py36
  9. py36-grpcio>=1.22.0 : devel/py-grpcio@py36
  10. py36-keras>=2.2.4 : math/py-keras@py36
  11. py36-wrapt>=1.11.2 : devel/py-wrapt@py36
  12. py36-wheel>=0.30.0 : devel/py-wheel@py36
  13. py36-setuptools>0 : devel/py-setuptools@py36
  14. python3.6 : lang/python36
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-cpp
  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
  1. science/py-tensorflow-estimator

Configuration Options

USES:

Master Sites:
  1. https://codeload.github.com/tensorflow/tensorflow/tar.gz/v1.14.0?dummy=/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 18

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
20 Nov 2019 14:42:36
Original commit files touched by this commit  1.14.0_3
Revision:518023
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  1.14.0_3
Revision:516729
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  1.14.0_3
Revision:516444
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  1.14.0_2
Revision:516173
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  1.14.0_2
Revision:515825
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  1.14.0_2
Revision:513871
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  1.14.0_1
Revision:513733
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  1.14.0
Revision:511540
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  1.14.0
Revision:508257
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  1.2.1_1
Revision:476658
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  1.2.1_1
Revision:473023
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  1.2.1_1
Revision:473019
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  1.2.1_1
Revision:472884
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  1.2.1_1
Revision:469100
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  1.2.1_1
Revision:464084
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  1.2.1
Revision:455210  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  1.2.1
Revision:453552
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  1.2.1
Revision:447979
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: 18

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
drm-current-kmodNov 20
drm-devel-kmodNov 20
drm-fbsd12.0-kmodNov 20
squidNov 19
libidn2Nov 18
gcpioNov 15
libmadNov 13
chromiumNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
nexus2-ossNov 07
php71Nov 06

9 vulnerabilities affecting 115 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-11-20 10:58:20


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 38084
Broken 777
Deprecated 95
Ignore 1047
Forbidden 3
Restricted 157
No CDROM 72
Vulnerable 33
Expired 7
Set to expire 65
Interactive 0
new 24 hours 3
new 48 hours7
new 7 days26
new fortnight63
new month132

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.