Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: "gomote ssh" to plan9-386 instance fails due to a "drawterm" loading error #42117

Open
bcmills opened this issue Oct 21, 2020 · 3 comments
Labels
Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Plan9
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Oct 21, 2020

~/go-review/src$ go version
go version devel +9848e93cb7 Wed Oct 21 09:34:39 2020 +0000 linux/amd64

~/go-review/src$ go version -m $(which gomote)
/usr/local/google/home/bcmills/bin/gomote: devel +1f48afe8db Fri Oct 16 14:26:34 2020 -0400
        path    golang.org/x/build/cmd/gomote
        mod     golang.org/x/build      (devel)
        dep     cloud.google.com/go     v0.54.0 h1:3ithwDMr7/3vpAMXiH+ZQnYbuIsh+OPhUPMFC9enmn0=
        dep     github.com/aws/aws-sdk-go       v1.30.15        h1:Sd8QDVzzE8Sl+xNccmdj0HwMrFowv6uVUx9tGsCE1ZE=
        dep     github.com/golang/groupcache    v0.0.0-20200121045136-8c9f03a8e57e      h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=
        dep     github.com/golang/protobuf      v1.3.4  h1:87PNWwrRvUSnqS4dlcBU/ftvOIBep4sYuBLlh6rX2wk=
        dep     github.com/googleapis/gax-go/v2 v2.0.5  h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM=
        dep     github.com/jmespath/go-jmespath v0.3.0  h1:OS12ieG61fsCg5+qLJ+SsW9NicxNkg3b25OyT2yCeUc=
        dep     go.opencensus.io        v0.22.3 h1:8sGtKOrtQqkN1bp2AtX+misvLIlOmsEsNd+9NIcPEm8=
        dep     golang.org/x/net        v0.0.0-20200301022130-244492dfa37a      h1:GuSPYbZzB5/dcLNCwLQLsg3obCJtX9IJhpXkvY7kzk0=
        dep     golang.org/x/oauth2     v0.0.0-20200107190931-bf48bf16ab8d      h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw=
        dep     golang.org/x/sync       v0.0.0-20190911185100-cd5d95a43a6e      h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
        dep     golang.org/x/sys        v0.0.0-20200302150141-5c8b2ff67527      h1:uYVVQ9WP/Ds2ROhcaGPeIdVq0RIXVLwsHlnvJ+cT1So=
        dep     golang.org/x/text       v0.3.2  h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
        dep     google.golang.org/api   v0.20.0 h1:jz2KixHX7EcCPiQrySzPdnYT7DbINAypCqKZ1Z7GM40=
        dep     google.golang.org/genproto      v0.0.0-20200305110556-506484158171      h1:xes2Q2k+d/+YNXVw0FpZkIDJiaux4OVrRKXRAzH6A0U=
        dep     google.golang.org/grpc  v1.27.1 h1:zvIju4sqAGvwKspUQOhwnpcqSbzi7/H6QomNNjTL4sk=
        dep     gopkg.in/inf.v0 v0.9.1  h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=

~/go-review/src$ gomote ssh user-bcmills-plan9-386-0
$ ssh -p 2222 user-bcmills-plan9-386-0@farmer.golang.org # auth using https://github.com/bcmills.keys
Enter passphrase for key '/usr/local/google/home/bcmills/.ssh/id_rsa':
# Welcome to the gomote ssh proxy, bcmills.
# Connecting to/starting remote ssh...
#
# `gomote push` and the builders use:
# - workdir: /tmp/workdir
# - GOROOT: /tmp/workdir/go
# - GOPATH: /tmp/workdir/gopath
# - env: GO_BUILDER_NAME=plan9-386 GO_TEST_TIMEOUT_SCALE=3
# Happy debugging.
# Plan9 user/pass: …
/usr/local/bin/drawterm: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
Connection to farmer.golang.org closed.

CC @0intro @millerresearch @fhs @golang/release

@bcmills bcmills added OS-Plan9 Builders x/build issues (builders, bots, dashboards) labels Oct 21, 2020
@bcmills bcmills added this to the Backlog milestone Oct 21, 2020
@0intro
Copy link
Member

0intro commented Oct 21, 2020

I think you have to install the X11 library on the machine where drawterm is run.

@dmitshur dmitshur added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 21, 2020
@0intro
Copy link
Member

0intro commented Jun 27, 2022

conterm has a dependency on libX11.
If it's not possible to install libX11 on the ssh gateway, I could probably change conterm to remove dependency on libX11, but that would be a lot more work.

@0intro
Copy link
Member

0intro commented Jun 27, 2022

I've looked a the conterm code again, and the change was trivial.
I got rid of the libX11 dependency in conterm.
You can pull the latest changes and rebuild conterm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Plan9
Projects
None yet
Development

No branches or pull requests

3 participants