Opened 9 months ago

Last modified 9 months ago

#68918 assigned defect

telegraf @1.28.4: please build with CGO enabled — at Initial Version

Reported by: FranklinYu (Franklin Yu) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: telegraf

Description

According to GitHub issue 8837 and 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.

Change History (0)

Note: See TracTickets for help on using tickets.