[MacPorts] #63351: py-grpcio fails to build

MacPorts noreply at macports.org
Wed Aug 11 22:13:42 UTC 2021


#63351: py-grpcio fails to build
-------------------------+--------------------------
  Reporter:  mouse07410  |      Owner:  emcrisostomo
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  py-grpcio   |
-------------------------+--------------------------

Comment (by mouse07410):

 > installing a the port for a different Python version is of course not
 going to solve your problem.

 Definitely not - because the very same error/problem occurs with
 Python-3.8 ''and'' Python-3.9.


 > however, when I install the {{{abseil}}} port from MacPorts, and run the
 build of py-grpcio on my Mojave system, it works.

 Thank you! This seems to be the key. And not the SDK (just like I said ;).
 After installing {{{abseil}}} port (probably versions matter, as my Python
 installation had {{{abseil}}} due to another package' needs, brought in
 via {{{pip}}}):

 {{{
 $ sudo port uninstall py38-grpcio
 Enter PIN for 'Certificate For PIV Authentication (Blumenthal, Uri
 (UR20980))':
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break:
  py38-tensorflow_macos @0.1.alpha3_0
  py38-tensorboard @2.5.0_0
 Continue? [y/N]: y
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Deactivating py38-grpcio @1.39.0_0
 --->  Cleaning py38-grpcio
 --->  Uninstalling py38-grpcio @1.39.0_0
 --->  Cleaning py38-grpcio
 $ sudo rm /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 $ sudo port install -v -sfn py38-grpcio
 --->  Computing dependencies for py38-grpcio
 --->  Fetching distfiles for py38-grpcio
 --->  Verifying checksums for py38-grpcio
 --->  Extracting py38-grpcio
 --->  Configuring py38-grpcio
 --->  Building py38-grpcio
 --->  Staging py38-grpcio into destroot
 --->  Installing py38-grpcio @1.39.0_0
 --->  Activating py38-grpcio @1.39.0_0
 --->  Cleaning py38-grpcio
 $
 }}}

 Perhaps a dependency set should be updated for {{{py38-grpcio}}} and
 {{{py39-grpcio}}} to include {{{abseil}}} port?

 > BTW: the buildbot has finished building it, it seems, and there was
 success on all systems, so you can probably download the binary now if
 you're getting tired of this...

 Yes, thanks - that too. That's what I did with {{{py39-grpcio}}}. ;-)

-- 
Ticket URL: <https://trac.macports.org/ticket/63351#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list