[MacPorts] #62944: grpc: py-grpcio port build failures, when compiler wrapping enabled

MacPorts noreply at macports.org
Sun May 23 16:33:29 UTC 2021


#62944: grpc: py-grpcio port build failures, when compiler wrapping enabled
-----------------------------+------------------------------------
  Reporter:  mascguy         |      Owner:  cjones051073
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  portgroup compilerwrap
      Port:  grpc py-grpcio  |
-----------------------------+------------------------------------

Comment (by josephsacco):

 I got py37-grpcio to build by applying the "hammer and tongs" approach to
 the Portfile, manually setting MACOSX_DEPLOYMENT_TARGET to 11.2
 {{{
 cavandish:grpc jsacco$ diff -u Portfile- Portfile
 --- Portfile-   2021-05-21 15:06:24.000000000 -0400
 +++ Portfile    2021-05-23 12:00:23.000000000 -0400
 @@ -28,6 +28,9 @@

  set name_io         ${name}io

 +# JES
 +macosx_deployment_target 11.2
 +
  # error: constexpr function never produces a constant expression
  # Requires c++17 support
  compiler.cxx_standard  2017
 }}}

 So... Something is amiss.

 -Joseph

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


More information about the macports-tickets mailing list