Skip to content

Instantly share code, notes, and snippets.

@MatthewCroughan
Created October 29, 2020 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatthewCroughan/a010b16d551f079d1e46b4e0301ba5f7 to your computer and use it in GitHub Desktop.
Save MatthewCroughan/a010b16d551f079d1e46b4e0301ba5f7 to your computer and use it in GitHub Desktop.
matthew@thinkpad ~ $ ssh -p 8022 -l nix-on-droid 192.168.1.243
Enter passphrase for key '/home/matthew/.ssh/id_rsa':
X11 forwarding request failed on channel 0
-bash-4.4$ top
-bash: top: command not found
-bash-4.4$ htop
-bash: htop: command not found
-bash-4.4$ ^C
-bash-4.4$ source ~/.nix-profile/etc/profile.d/nix.sh
-bash-4.4$ ls
ssh_host_rsa_key ssh_host_rsa_key.pub sshd_config
-bash-4.4$ htop
-bash-4.4$ vim ~/.nix-profile/etc/profile.d/nix.sh^C
-bash-4.4$ ~/.nix-profile/etc/profile.d/nix.sh
-bash: /data/data/com.termux.nix/files/home/.nix-profile/etc/profile.d/nix.sh: Permission denied
-bash-4.4$ ~/.nix-profile/etc/profile.d/nix.sh;5D;5D;5D;5D;5D;5D;5D;5D;5D;5D;5D;5D;5D^C
-bash-4.4$ vim ~/.nix-profile/etc/profile.d/nix.sh
-bash-4.4$ ls
ssh_host_rsa_key ssh_host_rsa_key.pub sshd_config
(reverse-i-search)`env': nix-^Cv -iA nixpkgs.tmux
-bash-4.4$ nix-env -iA nixpkgs.podman
installing 'podman-1.8.0'
these derivations will be built:
/nix/store/1czj1li4id5bxfmvck3di0byh5bk6x8f-podman-1.8.0.drv
building '/nix/store/1czj1li4id5bxfmvck3di0byh5bk6x8f-podman-1.8.0.drv'...
unpacking sources
unpacking source archive /nix/store/k6yxz9i5qxq51n998d88lhdrg5fnsmrl-source
source root is source
patching sources
applying patch /nix/store/71d4hap4nmb8x7i6s1s57fxfbi9gwhxj-CVE-2020-14370.patch
patching file cmd/podman/shared/create.go
updateAutotoolsGnuConfigScriptsPhase
configuring
building
/tmp/nix-build-podman-1.8.0.drv-0/go/src/github.com/containers/libpod /tmp/nix-build-podman-1.8.0.drv-0
patching script interpreter paths in .
./docker: interpreter directive changed from "/bin/sh" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/sh"
./dependencies/analyses/dependency-tree.sh: interpreter directive changed from "/usr/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./dependencies/analyses/nm-symbols-analysis.sh: interpreter directive changed from "/usr/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./dependencies/analyses/go-archive-analysis.sh: interpreter directive changed from "/usr/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/gate/entrypoint.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/imgts/entrypoint.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/upldrel/entrypoint.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/build_rpm.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/script/size.sh: interpreter directive changed from "/bin/sh" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/sh"
./contrib/cirrus/upload_release_archive.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/rootless_test.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/logcollector.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/build_release.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/unit_test.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/integration_test.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/setup_environment.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/setup_container_environment.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/success.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/check_image.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/notice_branch_failure.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/update_meta.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/build_vm_images.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/packer/systemd_banish.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/lib.sh.t: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/ooe.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/networking.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/cirrus/build_swagger.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./contrib/imgprune/entrypoint.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./test/e2e/hooks/checkhook.sh: interpreter directive changed from "/bin/sh" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/sh"
./test/system/helpers.t: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./test/test_podman_baseline.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./test/apiv2/test-apiv2: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./test/test_podman_pods.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/btrfs_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/get_ci_vm.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/apparmor_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/install_catatonit.sh: interpreter directive changed from "/bin/bash -e" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash -e"
./hack/man-page-checker: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/tree_status.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/systemd_tag.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/get_release_info.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/btrfs_installed_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/install_golangci.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/release.sh: interpreter directive changed from "/bin/sh" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/sh"
./hack/podman-commands.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/selinux_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./hack/libdm_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash"
./docs/remote-docs.sh: interpreter directive changed from "/bin/bash -e" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash -e"
./docs/dckrman.sh: interpreter directive changed from "/bin/sh" to "/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/sh"
touch .gopathok
# Only generate the varlink code on Linux (see issue #4814).
GO111MODULE=off go generate ./cmd/podman/varlink/...
make: git: Command not found
GO111MODULE=on go build -mod=vendor -gcflags 'all=-trimpath=/tmp/nix-build-podman-1.8.0.drv-0/go/src/github.com/containers/libpod' -asmflags 'all=-trimpath=/tmp/nix-build-podman-1.8.0.drv-0/go/src/github.com/containers/libpod' -ldflags '-X github.com/containers/libpod/libpod/define.gitCommit= -X github.com/containers/libpod/libpod/define.buildInfo=1 -X github.com/containers/libpod/libpod/config._installPrefix=/usr/local -X github.com/containers/libpod/libpod/config._etcDir=/etc -extldflags ""' -tags " systemd exclude_graphdriver_devicemapper seccomp varlink" -o bin/podman github.com/containers/libpod/cmd/podman
make: git: Command not found
GO111MODULE=on go build -mod=vendor -gcflags 'all=-trimpath=/tmp/nix-build-podman-1.8.0.drv-0/go/src/github.com/containers/libpod' -asmflags 'all=-trimpath=/tmp/nix-build-podman-1.8.0.drv-0/go/src/github.com/containers/libpod' -ldflags '-X github.com/containers/libpod/libpod/define.gitCommit= -X github.com/containers/libpod/libpod/define.buildInfo=1 -X github.com/containers/libpod/libpod/config._installPrefix=/usr/local -X github.com/containers/libpod/libpod/config._etcDir=/etc -extldflags ""' -tags " systemd exclude_graphdriver_devicemapper seccomp varlink remoteclient" -o bin/podman-remote github.com/containers/libpod/cmd/podman
if [ ! -x "/nix/store/49xaa4jdkw50jidlzy11iq548sxibb1h-go-md2man-1.0.6-bin/bin/go-md2man" ]; then \
env GO111MODULE=off go get -u github.com/cpuguy83/go-md2man; \
fi
mkdir -p docs/build/man
open /dev/stdin: no such file or directory
make: *** [Makefile:368: docs/source/markdown/podman-search.1] Error 1
builder for '/nix/store/1czj1li4id5bxfmvck3di0byh5bk6x8f-podman-1.8.0.drv' failed with exit code 2
error: build of '/nix/store/1czj1li4id5bxfmvck3di0byh5bk6x8f-podman-1.8.0.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment