[MacPorts] #68475: thrift @0.18.1 fails to build on Sonoma: error: variable 'j' set but not used [-Werror, -Wunused-but-set-variable]

MacPorts noreply at macports.org
Sun Oct 15 20:06:29 UTC 2023


#68475: thrift @0.18.1 fails to build on Sonoma: error: variable 'j' set but not
used [-Werror,-Wunused-but-set-variable]
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  sonoma
      Port:  thrift        |
---------------------------+--------------------

Comment (by ryandesign):

 A good example for why we don't like to use `-Werror` in MacPorts.

 The problem was already reported upstream:

 https://github.com/apache/thrift/pull/2855

 And the unused variable was removed:

 https://github.com/apache/thrift/commit/bc9c04d8049d7d5f5cf4e63a25226c1fb8c930bf

 We could apply this patch to the port.

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


More information about the macports-tickets mailing list