[MacPorts] #68918: telegraf @1.28.4: please build with CGO enabled

MacPorts noreply at macports.org
Sat Dec 16 07:05:28 UTC 2023


#68918: telegraf @1.28.4: please build with CGO enabled
-------------------------+-------------------------
  Reporter:  FranklinYu  |      Owner:  herbygillot
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  telegraf    |
-------------------------+-------------------------
Description changed by FranklinYu:

Old description:

> According to GitHub issue
> [https://github.com/influxdata/telegraf/issues/8837 8837] and
> [https://github.com/influxdata/telegraf/issues/14182 14182], if it is
> compiled on macOS without CGO, then the CPU module (one of the most
> popular modules) will not work, because it is not yet implemented. It is
> only implemented with CGO target (with the help of Mach system call). The
> upstream Makefile only supports no-CGO build; they seem to suggest that
> we use `go build` instead of the Makefile.

New description:

 According to GitHub issue
 [https://github.com/influxdata/telegraf/issues/8837 8837] and
 [https://github.com/influxdata/telegraf/issues/14182 14182], if it is
 compiled on macOS without CGO, then the CPU plugin (one of the most
 popular plugins) will not work, because it is not yet implemented. It is
 only implemented with CGO target (with the help of Mach system call). The
 upstream Makefile only supports no-CGO build; they seem to suggest that we
 use `go build` instead of the Makefile.

--

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


More information about the macports-tickets mailing list