HomeFreeBSD

sysutils/datadog-agent: Unbreak build on amd64

Description

sysutils/datadog-agent: Unbreak build on amd64

  • Regenerate distinfo:

> Giving up on fetching files: kubernetes-component-base-039242c015a9_GH0.tar.gz

Make sure the Makefile and distinfo file (/usr/ports/sysutils/datadog-agent/distinfo)
are up to date. If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".

  • Adjust CGO_CFLAGS:

vendor/github.com/DataDog/zstd/zstd_stream.go:61:22: could not determine kind of name for C.ZSTD_compressBegin
vendor/github.com/DataDog/zstd/zstd_stream.go:64:22: could not determine kind of name for C.ZSTD_compressBegin_usingDict
vendor/github.com/DataDog/zstd/zstd_stream.go:94:13: could not determine kind of name for C.ZSTD_compressContinue
vendor/github.com/DataDog/zstd/zstd_stream.go:120:13: could not determine kind of name for C.ZSTD_compressEnd

  • Mark BROKEN on i386:

vendor/github.com/DataDog/gopsutil/process/process_freebsd.go:95:9: cannot use k.Start.Sec * 1000 (value of type int32) as type int64 in return statement
vendor/github.com/DataDog/gopsutil/process/process_freebsd.go:383:17: cannot use k.Start.Sec * 1000 (value of type int32) as type int64 in struct literal

PR: 260522
Approved by: portmgr (blanket, build fix)

Details

Provenance
dmgkAuthored on Sat, May 14, 1:13 PM
Parents
R11:67af9b9188dd: www/chromium: update to 101.0.4951.67
Branches
Unknown
Tags
Unknown