syzkaller build failed: failed to run ["gmake" "target"]: exit status 2 go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen gmake .descriptions bin/syz-sysgen touch .descriptions GOOS=openbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aea5da898f473385f3b66c94f8aa49ca9a1c9744 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221007-214935'" "-tags=syz_target syz_os_openbsd syz_arch_amd64 " -o ./bin/openbsd_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer GOOS=openbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aea5da898f473385f3b66c94f8aa49ca9a1c9744 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221007-214935'" "-tags=syz_target syz_os_openbsd syz_arch_amd64 " -o ./bin/openbsd_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog GOOS=openbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aea5da898f473385f3b66c94f8aa49ca9a1c9744 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221007-214935'" "-tags=syz_target syz_os_openbsd syz_arch_amd64 " -o ./bin/openbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/openbsd_amd64 c++ -o ./bin/openbsd_amd64/syz-executor executor/executor.cc \ -m64 -static -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -fpermissive -w -DGOOS_openbsd=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_openbsd=1 -DGIT_REVISION=\"aea5da898f473385f3b66c94f8aa49ca9a1c9744\" In file included from executor/executor.cc:404: executor/executor_bsd.h:49:9: error: use of undeclared identifier 'syscall' return __syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); ^ executor/common_bsd.h:95:19: note: expanded from macro '__syscall' #define __syscall syscall ^ 1 error generated. gmake: *** [Makefile:133: executor] Error 1 go env (err=) GO111MODULE='auto' GOARCH='amd64' GOBIN='' GOCACHE='/syzkaller/go-cache' GOENV='/syzkaller/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='openbsd' GOINSECURE='' GOMODCACHE='/syzkaller/jobs/openbsd/gopath/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='openbsd' GOPATH='/syzkaller/jobs/openbsd/gopath' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/openbsd_amd64' GOVCS='' GOVERSION='go1.22.1' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='cc' CXX='c++' CGO_ENABLED='1' GOMOD='/syzkaller/jobs/openbsd/gopath/src/github.com/google/syzkaller/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1433380800=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at aea5da898 nothing to commit, working tree clean go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen gmake .descriptions bin/syz-sysgen touch .descriptions GOOS=openbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aea5da898f473385f3b66c94f8aa49ca9a1c9744 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221007-214935'" "-tags=syz_target syz_os_openbsd syz_arch_amd64 " -o ./bin/openbsd_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer GOOS=openbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aea5da898f473385f3b66c94f8aa49ca9a1c9744 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221007-214935'" "-tags=syz_target syz_os_openbsd syz_arch_amd64 " -o ./bin/openbsd_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog GOOS=openbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aea5da898f473385f3b66c94f8aa49ca9a1c9744 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221007-214935'" "-tags=syz_target syz_os_openbsd syz_arch_amd64 " -o ./bin/openbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/openbsd_amd64 c++ -o ./bin/openbsd_amd64/syz-executor executor/executor.cc \ -m64 -static -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -fpermissive -w -DGOOS_openbsd=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_openbsd=1 -DGIT_REVISION=\"aea5da898f473385f3b66c94f8aa49ca9a1c9744\" In file included from executor/executor.cc:404: executor/executor_bsd.h:49:9: error: use of undeclared identifier 'syscall' return __syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); ^ executor/common_bsd.h:95:19: note: expanded from macro '__syscall' #define __syscall syscall ^ 1 error generated. gmake: *** [Makefile:133: executor] Error 1