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

MacPorts noreply at macports.org
Thu Aug 12 15:19:55 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):

 > Not quite. As per your first bug report, you already had abseil
 installed, because the header was there. And your build failed.

 Since Macports does not include ''all'' of the PyPI packages, some Python
 stuff on my machine(s) was/is installed via {{{pip}}} rather than
 Macports. So, the {{{abseil}}} copy that was present at the time of the
 bug report, was from PyPI rather than Macports.

 > You then said you installed abseil (which was apparently already
 installed) and it fixed your build, which is not adding up.

 It does, because I replaced the PyPI copy of {{{abseil}}} with Macports
 copy of {{{abseil}}}. Apparently, they differed.

 > In fact I thought having it installed might break rather than fix the
 build, but when I tried that, it didn't.

 What having it explicitly installed did was ensuring version consistency
 between the packages in question.

 > How about we close your ticket here as "works for me" for now, and see
 if anyone else finds this same issue?

 Sure. I'm OK with that - except that I strongly urge reconsidering
 addition of {{{abseil}}} as a dependency for {{{py-3x-grpcio}}} to ensure
 it flushes out any possible "other" versions of {{{abseil}}} on the
 machine.

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


More information about the macports-tickets mailing list