Bug 248550 - devel/py-grpcio: fix build on powerpc(64)
Summary: devel/py-grpcio: fix build on powerpc(64)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-09 10:49 UTC by Piotr Kubaj
Modified: 2020-08-09 12:48 UTC (History)
2 users (show)

See Also:
vanilla: maintainer-feedback+


Attachments
patch (1.71 KB, patch)
2020-08-09 10:49 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (vanilla)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2020-08-09 10:49:05 UTC
Created attachment 217108 [details]
patch

Some mingling with headers is required to build abseil properly.

BoringSSL doesn't support powerpc and powerpc64 at all, only powerpc64le (ppc64le) is supported, so use system OpenSSL. BoringSSL is used because ALPN support is required, but it was implemented back in OpenSSL 1.0.2, which even stable/11 branch has. There's no need to use external SSL library at all.
Comment 1 Vanilla I. Shu freebsd_committer 2020-08-09 11:26:19 UTC
approved, please help to commit, thanks.
Comment 2 commit-hook freebsd_committer 2020-08-09 12:17:13 UTC
A commit references this bug:

Author: pkubaj
Date: Sun Aug  9 12:16:57 UTC 2020
New revision: 544563
URL: https://svnweb.freebsd.org/changeset/ports/544563

Log:
  devel/py-grpcio: fix build on powerpc(64)

  Some mingling with headers is required to build abseil properly.

  BoringSSL doesn't support powerpc and powerpc64 at all, only powerpc64le (ppc64le) is supported, so use system OpenSSL. BoringSSL is used because ALPN support is required, but it was implemented back in OpenSSL 1.0.2, which even stable/11 branch has. There's no need to use external SSL library at all.

  Bump PORTREVISION because of package change.

  PR:		248550
  Approved by:	vanilla (maintainer)
  MFH:		2020Q3 (fix build blanket)

Changes:
  head/devel/py-grpcio/Makefile
  head/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_base_internal_unscaledcycleclock.cc
Comment 3 commit-hook freebsd_committer 2020-08-09 12:19:14 UTC
A commit references this bug:

Author: pkubaj
Date: Sun Aug  9 12:18:17 UTC 2020
New revision: 544564
URL: https://svnweb.freebsd.org/changeset/ports/544564

Log:
  MFH: r544563

  devel/py-grpcio: fix build on powerpc(64)

  Some mingling with headers is required to build abseil properly.

  BoringSSL doesn't support powerpc and powerpc64 at all, only powerpc64le (ppc64le) is supported, so use system OpenSSL. BoringSSL is used because ALPN support is required, but it was implemented back in OpenSSL 1.0.2, which even stable/11 branch has. There's no need to use external SSL library at all.

  Bump PORTREVISION because of package change.

  PR:		248550
  Approved by:	vanilla (maintainer)

  Approved by:	portmgr (fix build blanket)

Changes:
_U  branches/2020Q3/
  branches/2020Q3/devel/py-grpcio/Makefile
  branches/2020Q3/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_base_internal_unscaledcycleclock.cc