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

MacPorts noreply at macports.org
Sat Dec 16 07:02:50 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:
 Keywords:              |       Port:  telegraf
------------------------+-------------------------
 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.

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


More information about the macports-tickets mailing list