ubuntu / ubuntu-report

Report hardware and other collected metrics like installer or upgrade information
GNU General Public License v3.0
68 stars 29 forks source link

Failure to build on riscv64 #37

Open xypron opened 3 years ago

xypron commented 3 years ago

ubuntu-report has an indirect dependency on an outdated version of x/sys which does not support riscv64:

github.com/ubuntu/ubuntu-report github.com/sirupsen/logrus@v1.4.1
github.com/sirupsen/logrus@v1.4.1 golang.org/x/sys@v0.0.0-20180905080454-ebe1bf3edb33

This leads to a build error for riscv64 impish:

../../../vendor/golang.org/x/sys/unix/affinity_linux.go:13:20: undefined: _CPU_SETSIZE
../../../vendor/golang.org/x/sys/unix/affinity_linux.go:13:35: undefined: _NCPUBITS
../../../vendor/golang.org/x/sys/unix/affinity_linux.go:16:25: undefined: cpuMask

Please, adjust the dependencies.

Best regards

Heinrich