Closed
Description
By trying to build https://github.com/shirou/gopsutil which uses go-sysconf
as a dependency I keep getting this error, not sure if it's gopsutil's author mistake or if something is broken over here, just to let you know.
# github.com/tklauser/go-sysconf
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:7:24: _AIO_PRIO_DELTA_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:7:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:8:24: _BC_BASE_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:8:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:9:24: _BC_DIM_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:9:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:10:24: _BC_SCALE_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:10:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:11:24: _BC_STRING_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:11:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:12:24: _COLL_WEIGHTS_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:12:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:13:24: _DELAYTIMER_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:13:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:14:24: _EXPR_NEST_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:14:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:15:24: _HOST_NAME_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:15:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:16:24: _LINE_MAX redeclared in this block
previous declaration at ../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_amd64.go:16:24
../../../go/src/github.com/tklauser/go-sysconf/zsysconf_values_linux_riscv64.go:16:24: too many errors
Metadata
Metadata
Assignees
Labels
No labels