-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Attempting to run the makefile to compile the program on a linux machine, the compiler gets to the first task and segment faults.
Steps to reproduce the behavior
In the top-level directory type go build \./cmd/gh make manpages
Expected vs actual behavior
Instead of compiling the man-pages and the program, the compiler spits out a sigsegv instead.
Logs
go build -o script/build script/build.go
go run ./cmd/gen-docs --man-page --doc-path ./share/man/man1/
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x56136f01c2fb]
goroutine 1 [running]:
github.com/cli/cli/pkg/cmd/pr/comment.NewCmdComment(0xc0002406e0, 0x0, 0x1)
github.com/cli/cli/pkg/cmd/pr/comment/comment.go:23 +0xfb
github.com/cli/cli/pkg/cmd/pr.NewCmdPR(0xc0002406e0, 0xc00030f3e0)
github.com/cli/cli/pkg/cmd/pr/pr.go:58 +0x5d0
github.com/cli/cli/pkg/cmd/root.NewCmdRoot(0xc000536000, 0x0, 0x0, 0x0, 0x0, 0x0)
github.com/cli/cli/pkg/cmd/root/root.go:101 +0x9ec
main.main()
github.com/cli/cli/cmd/gen-docs/main.go:40 +0x3eb
exit status 2
exit status 1
build.go: building task `manpages` failed.
make: *** [Makefile:23: manpages] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working