Bug 257053 - devel/google-cloud-cpp: Patch to create a downgraded version to fix tensorflow build
Summary: devel/google-cloud-cpp: Patch to create a downgraded version to fix tensorflo...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
Depends on:
Blocks: 250646
  Show dependency treegraph
Reported: 2021-07-08 15:06 UTC by Anthony Donnelly
Modified: 2021-07-09 00:32 UTC (History)
2 users (show)

See Also:

Create a port of version 117 for google-cloud-cpp (36.39 KB, patch)
2021-07-08 15:06 UTC, Anthony Donnelly
no flags Details | Diff
Remove duplicate functool patch (41.27 KB, patch)
2021-07-08 17:44 UTC, Anthony Donnelly
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Donnelly 2021-07-08 15:06:22 UTC
Created attachment 226300 [details]
Create a port of version 117 for google-cloud-cpp

I've fixed the tensorflow building but for it to successfully build it needs an older version of google-cloud-cpp. I've attached a patch which creates a port in devel/google-cloud-cpp117 and creates the correct version to successfully build tensorflow 1.15.x

I propose having the older version as well as the new version as I hope to also create a tensorflow2 port when I have the time and be able to have both compile from within the port tree.
Comment 1 Anthony Donnelly 2021-07-08 17:44:34 UTC
Created attachment 226309 [details]
Remove duplicate functool patch

I had an error in my previous patch, and accidentally had a duplicate patch within it. This patch should remedy the problem. If not, I pushed the full changes to my git.

Comment 2 Yuri Victorovich freebsd_committer 2021-07-09 00:31:29 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer 2021-07-09 00:32:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0acc413f3a76e04fa5be1d30c7af1104a438549e

commit 0acc413f3a76e04fa5be1d30c7af1104a438549e
Author:     Anthony Donnelly <amzo1337@gmail.com>
AuthorDate: 2021-07-09 00:24:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-09 00:31:36 +0000

    devel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google Cloud Platform services (frozen at version 1.17.0 to support science/py-tensorflow)

    PR:             257053

 devel/Makefile                            |   1 +
 devel/google-cloud-cpp117/Makefile (new)  |  47 +++
 devel/google-cloud-cpp117/distinfo (new)  |   5 +
 devel/google-cloud-cpp117/pkg-descr (new) |   5 +
 devel/google-cloud-cpp117/pkg-plist (new) | 636 ++++++++++++++++++++++++++++++
 5 files changed, 694 insertions(+)