Source: golang-github-kardianos-service Version: 1.2.0-2 Severity: important X-Debbugs-Cc: debian-wb-team@lists.debian.org Usertags: unshare
Hi, golang-github-kardianos-service fails to build when it can't detect the OS platform: === RUN TestPlatformName name_test.go:15: Platform is unix-systemv name_test.go:18: Platform() want: /^linux-.*$/, got: unix-systemv --- FAIL: TestPlatformName (0.00s) This happens for example in the sbuild unshare bachend. The problem is that in the test: https://sources.debian.org/src/golang-github-kardianos-service/1.2.1-1/name_test.go/?hl=13#L13 runtime.GOOS is hard coded to linux. Cheers Jochen