Re: [MacPorts] #68896: collectd 5.12.0: doesn’t build

MacPorts noreply at macports.org
Thu Dec 14 09:11:38 UTC 2023


#68896: collectd 5.12.0: doesn’t build
-------------------------+--------------------
  Reporter:  FranklinYu  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  collectd    |
-------------------------+--------------------

Comment (by FranklinYu):

 I feel that `-Werror` is only useful in `./configure` (to detect
 features), or during CI build (for development). Building on end-user
 machine sounds more harmful than helpful.

 I found that it was specified in `Makefile`:

 {{{
 AM_CFLAGS = -Wall -Werror
 AM_CXXFLAGS = -Wall -Werror
 }}}

 I removed `-Werror` from the `Makefile`, which allows me to build. I also
 noticed https://github.com/macports/macports-
 ports/blob/64319d031f9710587acc643b6a7eace717261a23/sysutils/collectd/Portfile#L34.
 Have we escalated to upstream about this issue (to see whether they are
 willing to make `-Werror` optional)?

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


More information about the macports-tickets mailing list