Bug 248550

Summary: devel/py-grpcio: fix build on powerpc(64)
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Vanilla I. Shu <vanilla>
Status: Closed FIXED    
Severity: Affects Some People CC: powerpc, vanilla
Priority: --- Flags: vanilla: maintainer-feedback+
Version: Latest   
Hardware: powerpc   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (vanilla)

Description Piotr Kubaj freebsd_committer freebsd_triage 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 freebsd_triage 2020-08-09 11:26:19 UTC
approved, please help to commit, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 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 freebsd_triage 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