Skip to content

src-cli-5.1.1 fails to build #1018

@williamh

Description

@williamh

Hi all, I am the sourcegraph-cli package maintainer on Gentoo linux.
I am attempting to build sourcegraph-cli-5.1.1 with go 1.21 and getting the following:

william@linux1 src-cli $ pwd
/home/william/repos/github.com/sourcegraph/src-cli
william@linux1 src-cli $ git zap
william@linux1 src-cli $ git describe --tags
5.1.1
william@linux1 src-cli $ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
william@linux1 src-cli $ go build ./cmd/src
# golang.design/x/clipboard
clipboard_linux.c:15:10: fatal error: X11/Xlib.h: No such file or directory
   15 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
compilation terminated.
william@linux1 src-cli $

It looks like you have a dependency missing in developing.md.

Can you let me know what I'm missing?

Thanks,

William

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions