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

CockroachDB: 20.1.8 -> {20.2.18, 21.1.13, 21.2.4} #152626

Closed
wants to merge 2 commits into from

Conversation

ankhers
Copy link
Contributor

@ankhers ankhers commented Dec 29, 2021

Motivation for this change

The current version of cockroachdb has reached EOL about a month ago.

Things done
  • Removed the EOL version
  • Added a generic builder to support multiple versions
  • Added the three versions that are still supported in some way
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ankhers
Copy link
Contributor Author

ankhers commented Dec 29, 2021

This is meant to supersede #124378.

I'm also having issues building 21.2. I'm not sure if the build process has changed or if it is something else. I would appreciate the help of someone a little more knowledgeable than I am.

cc @turion

@turion
Copy link
Contributor

turion commented Dec 30, 2021

@ofborg build cockroachdb

inherit (import ../servers/sql/cockroachdb pkgs)
cockroachdb_20_2 cockroachdb_21_1 cockroachdb_21_2;

cockroachdb = cockroachdb_21_2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going a bit quick. Previously, the version was 20.1. Now we're deleting 20.1. and jumping 4 major versions. Can we maybe instead keep 20.1 at least for a few months, mark it as deprecated by adding cockroachdb_20_1 to pkgs/top-level/aliases.nix in the right place? We can bump the default cockroachdb to 20.2, and then bump the default version once with every nixpkgs LTS or so, until we're roughly in sync again.

Just saying because otherwise this is a possibly breaking change that comes unannounced.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thought process here is that the current version (20.1) has already reached EOL. This means there will be no more updates and (according to their release policy) have stopped helping people move to newer versions. With this, I assumed the package was out of date enough that it would be okay to make a major version change while skipping some intermediate versions. I also skipped 20.2 because the maintenance period is already over (2020-11-10) which means there are no more patches for it and they are just helping people move to newer versions (until 2022-05-10).

If it is preferable to go the longer way with version updates, I am more than happy to do that. Though, I should deprecate 20.2 as well because it will no longer receive patches.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just realized it is expecting a throw alias and that you cannot use this to also build the package? It has to be one or the other? I would rather find a different way considering 20.2 is not longer receiving patches, but still officially supported. Can we do something in the generic builder that will throw a warning about the version no longer receiving patches?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is preferable to go the longer way with version updates

I don't know about an official guideline, but as a cockroach user I'd expect from a good distribution that it's possible to update without leaving out versions.

I just realized it is expecting a throw alias and that you cannot use this to also build the package?

That seems right, I misunderstood that.

Can we do something in the generic builder that will throw a warning about the version no longer receiving patches?

If you throw a warning in the generic builder it will give a CI failure. But maybe you can put a warning in aliases.nix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with aliases.nix is that it will not allow me to build that version while the warning is there. If we give some kind of deprecation message, it needs to be in a way that still builds.

The biggest problem is that there is a soft and hard deprecation from cockroach. The soft being "no more patches, but we still support it while you move" and the hard being "zero support". It would be nice to give some kind of message that you are building a soft deprecated version of cockroach. But I'm entirely unsure how to do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about an official guideline, but as a cockroach user I'd expect from a good distribution that it's possible to update without leaving out versions.

Going forward we can do a more sensible upgrade path. The biggest problem is that this has been left unmaintained for a while. So users should expect a large upgrade in one go.

Copy link
Contributor

@turion turion Jan 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the deprecation messages either. If its ok for you, let's go for a compromise, bump the cockroachdb version as you did, but still keep the old version around until the next LTS, and add a deprecation message simply to the package description.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The message can simply be "Deprecated upstream, will be removed next nixpkgs LTS" or so.

@turion
Copy link
Contributor

turion commented Dec 30, 2021

Maybe add an entry to the release notes that the major version of Cockroachdb was bumped, and further versions have been made available.

@turion turion closed this Dec 30, 2021
@turion
Copy link
Contributor

turion commented Dec 30, 2021

Accidentally closed, sorry.

@turion turion reopened this Dec 30, 2021
@turion
Copy link
Contributor

turion commented Dec 30, 2021

Ofborg doesn't build the package. See NixOS/ofborg#194.

@ofborg ofborg bot requested a review from turion December 30, 2021 10:52
@turion
Copy link
Contributor

turion commented Dec 30, 2021

I'm also having issues building 21.2. I'm not sure if the build process has changed or if it is something else. I would appreciate the help of someone a little more knowledgeable than I am.

I find this when building it:

make -C src/github.com/cockroachdb/cockroach buildoss
make[1]: Entering directory '/build/cockroach-v21.2.3/src/github.com/cockroachdb/cockroach'
sh: line 1: ps: command not found
GOPATH set to /build/cockroach-v21.2.3
which: no ccache in (/nix/store/7b83ibcsxmnp56xs8cvv08f1ywpn53rw-go-1.16.12/bin:/nix/store/pp60a4yd9bq1r09ijhnxyina31xwzmik-cmake-3.21.2/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin:/nix/store/xd1fp10xks3nsy3ly91xf64qp7av959v-which-2.21/bin:/nix/store/khilbv2w0ixj55clcpsjzpaq0l1bhh2j-autoconf-2.71/bin:/nix/store/f1n2zyq47sjn0qfhxvrdawyzlgk4sgax-patchelf-0.13/bin:/nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin:/nix/store/v819nrv8d33ns36gm4v9vqydq1v95axi-gcc-10.3.0/bin:/nix/store/dhj23pp1sld19shjslkzw3y9pr3qpi61-glibc-2.33-59-bin/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/gxd0gvw88wyl9bqjc03ypm5zs7qbaf74-binutils-wrapper-2.35.2/bin:/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/r87rxnys39173q5nrlqq46vpa2203rmk-findutils-4.8.0/bin:/nix/store/xgqrjhz9sx8bllvayz18sql2dfd89q4g-diffutils-3.8/bin:/nix/store/aw3vgxn4fdrjqgmc94fr582hjhr2z3p3-gnused-4.8/bin:/nix/store/rvdb7057bmg3rasbqq8lzl10dffy3p31-gnugrep-3.7/bin:/nix/store/3qmgmnz3msrk0cf0qgcyja0wzyfhpxc2-gawk-5.1.1/bin:/nix/store/xc1dbg8mc8hd6bq7zizxf5nyrljk8az0-gnutar-1.34/bin:/nix/store/1wads5y31dky89hxnn5zmiri3c72kdpc-gzip-1.11/bin:/nix/store/l8d7zz3ninmgg71738q485anfjh5yd6q-bzip2-1.0.6.0.2-bin/bin:/nix/store/ba439awj33pw4l4bj95k4dy58nx69b8v-gnumake-4.3/bin:/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin:/nix/store/22avws4xw0chqniqym3q0w4nhdcr0hh2-patch-2.7.6/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin)
Warning: 'ccache' not found, consider installing it for faster builds
which: no bazel in (/nix/store/7b83ibcsxmnp56xs8cvv08f1ywpn53rw-go-1.16.12/bin:/nix/store/pp60a4yd9bq1r09ijhnxyina31xwzmik-cmake-3.21.2/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin:/nix/store/xd1fp10xks3nsy3ly91xf64qp7av959v-which-2.21/bin:/nix/store/khilbv2w0ixj55clcpsjzpaq0l1bhh2j-autoconf-2.71/bin:/nix/store/f1n2zyq47sjn0qfhxvrdawyzlgk4sgax-patchelf-0.13/bin:/nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin:/nix/store/v819nrv8d33ns36gm4v9vqydq1v95axi-gcc-10.3.0/bin:/nix/store/dhj23pp1sld19shjslkzw3y9pr3qpi61-glibc-2.33-59-bin/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/gxd0gvw88wyl9bqjc03ypm5zs7qbaf74-binutils-wrapper-2.35.2/bin:/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/r87rxnys39173q5nrlqq46vpa2203rmk-findutils-4.8.0/bin:/nix/store/xgqrjhz9sx8bllvayz18sql2dfd89q4g-diffutils-3.8/bin:/nix/store/aw3vgxn4fdrjqgmc94fr582hjhr2z3p3-gnused-4.8/bin:/nix/store/rvdb7057bmg3rasbqq8lzl10dffy3p31-gnugrep-3.7/bin:/nix/store/3qmgmnz3msrk0cf0qgcyja0wzyfhpxc2-gawk-5.1.1/bin:/nix/store/xc1dbg8mc8hd6bq7zizxf5nyrljk8az0-gnutar-1.34/bin:/nix/store/1wads5y31dky89hxnn5zmiri3c72kdpc-gzip-1.11/bin:/nix/store/l8d7zz3ninmgg71738q485anfjh5yd6q-bzip2-1.0.6.0.2-bin/bin:/nix/store/ba439awj33pw4l4bj95k4dy58nx69b8v-gnumake-4.3/bin:/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin:/nix/store/22avws4xw0chqniqym3q0w4nhdcr0hh2-patch-2.7.6/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin)
Warning: 'bazel' not found (`brew install bazelisk` for macs)
bash: line 1: git: command not found
Detected change in build system. Rebooting make.
sh: line 1: ps: command not found
Running make with -j8
GOPATH set to /build/cockroach-v21.2.3
which: no ccache in (/nix/store/7b83ibcsxmnp56xs8cvv08f1ywpn53rw-go-1.16.12/bin:/nix/store/pp60a4yd9bq1r09ijhnxyina31xwzmik-cmake-3.21.2/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin:/nix/store/xd1fp10xks3nsy3ly91xf64qp7av959v-which-2.21/bin:/nix/store/khilbv2w0ixj55clcpsjzpaq0l1bhh2j-autoconf-2.71/bin:/nix/store/f1n2zyq47sjn0qfhxvrdawyzlgk4sgax-patchelf-0.13/bin:/nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin:/nix/store/v819nrv8d33ns36gm4v9vqydq1v95axi-gcc-10.3.0/bin:/nix/store/dhj23pp1sld19shjslkzw3y9pr3qpi61-glibc-2.33-59-bin/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/gxd0gvw88wyl9bqjc03ypm5zs7qbaf74-binutils-wrapper-2.35.2/bin:/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/r87rxnys39173q5nrlqq46vpa2203rmk-findutils-4.8.0/bin:/nix/store/xgqrjhz9sx8bllvayz18sql2dfd89q4g-diffutils-3.8/bin:/nix/store/aw3vgxn4fdrjqgmc94fr582hjhr2z3p3-gnused-4.8/bin:/nix/store/rvdb7057bmg3rasbqq8lzl10dffy3p31-gnugrep-3.7/bin:/nix/store/3qmgmnz3msrk0cf0qgcyja0wzyfhpxc2-gawk-5.1.1/bin:/nix/store/xc1dbg8mc8hd6bq7zizxf5nyrljk8az0-gnutar-1.34/bin:/nix/store/1wads5y31dky89hxnn5zmiri3c72kdpc-gzip-1.11/bin:/nix/store/l8d7zz3ninmgg71738q485anfjh5yd6q-bzip2-1.0.6.0.2-bin/bin:/nix/store/ba439awj33pw4l4bj95k4dy58nx69b8v-gnumake-4.3/bin:/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin:/nix/store/22avws4xw0chqniqym3q0w4nhdcr0hh2-patch-2.7.6/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin)
Warning: 'ccache' not found, consider installing it for faster builds
which: no bazel in (/nix/store/7b83ibcsxmnp56xs8cvv08f1ywpn53rw-go-1.16.12/bin:/nix/store/pp60a4yd9bq1r09ijhnxyina31xwzmik-cmake-3.21.2/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin:/nix/store/xd1fp10xks3nsy3ly91xf64qp7av959v-which-2.21/bin:/nix/store/khilbv2w0ixj55clcpsjzpaq0l1bhh2j-autoconf-2.71/bin:/nix/store/f1n2zyq47sjn0qfhxvrdawyzlgk4sgax-patchelf-0.13/bin:/nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin:/nix/store/v819nrv8d33ns36gm4v9vqydq1v95axi-gcc-10.3.0/bin:/nix/store/dhj23pp1sld19shjslkzw3y9pr3qpi61-glibc-2.33-59-bin/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/gxd0gvw88wyl9bqjc03ypm5zs7qbaf74-binutils-wrapper-2.35.2/bin:/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin:/nix/store/abc8hz0v47jzsf048j1qx7m94bxfhpl7-coreutils-9.0/bin:/nix/store/r87rxnys39173q5nrlqq46vpa2203rmk-findutils-4.8.0/bin:/nix/store/xgqrjhz9sx8bllvayz18sql2dfd89q4g-diffutils-3.8/bin:/nix/store/aw3vgxn4fdrjqgmc94fr582hjhr2z3p3-gnused-4.8/bin:/nix/store/rvdb7057bmg3rasbqq8lzl10dffy3p31-gnugrep-3.7/bin:/nix/store/3qmgmnz3msrk0cf0qgcyja0wzyfhpxc2-gawk-5.1.1/bin:/nix/store/xc1dbg8mc8hd6bq7zizxf5nyrljk8az0-gnutar-1.34/bin:/nix/store/1wads5y31dky89hxnn5zmiri3c72kdpc-gzip-1.11/bin:/nix/store/l8d7zz3ninmgg71738q485anfjh5yd6q-bzip2-1.0.6.0.2-bin/bin:/nix/store/ba439awj33pw4l4bj95k4dy58nx69b8v-gnumake-4.3/bin:/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin:/nix/store/22avws4xw0chqniqym3q0w4nhdcr0hh2-patch-2.7.6/bin:/nix/store/aq0v28n1ka8m1ayg6wrpbjy00bb7fj3k-xz-5.2.5-bin/bin)
Warning: 'bazel' not found (`brew install bazelisk` for macs)
bash: line 1: git: command not found

This does not happen for 21.1.

@turion
Copy link
Contributor

turion commented Dec 30, 2021

My vague guess is that the vendor git submodules are not initialised, and it's trying to do that manually in the make file.

@turion
Copy link
Contributor

turion commented Dec 30, 2021

If you just want to get it merged, leave version 21.2 out of this MR, and we can have a look at it in a separate MR.

@ankhers ankhers changed the title CockroachDB: 20.1.8 -> {20.2.18, 21.1.12, 21.2.3} CockroachDB: 20.1.8 -> {20.2.18, 21.1.12} Dec 30, 2021
@ofborg ofborg bot requested a review from turion January 13, 2022 02:39
@ankhers
Copy link
Contributor Author

ankhers commented Jan 13, 2022

Just leaving a comment here to not merge this. There is an issue with the service that prevents it from starting. I will look into fixing it another time.

@turion
Copy link
Contributor

turion commented Jan 13, 2022

How can I reproduce the issue?

@ofborg test cockroachdb

@turion
Copy link
Contributor

turion commented Jan 18, 2022

It seems this breaks the integration test :(

node1 # [  313.323987] systemd[1]: cockroachdb.service: start-pre operation timed out. Terminating.
node1 # [  313.337251] systemd[1]: cockroachdb.service: Control process exited, code=killed, status=15/TERM
node1 # [  313.344168] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.353165] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.359737] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.362835] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.364356] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.365969] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.367521] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.368882] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.370666] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.372152] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.373558] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.374858] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.376229] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.377505] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.379085] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.380397] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.381971] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.383461] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.384888] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.386272] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.387548] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.389135] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.390735] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.392142] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.393355] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.394633] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.395888] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.397162] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.398409] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.399758] cockroachdb-pre-start[852]: 506 Cannot talk to daemon
node1 # [  313.401239] systemd[1]: cockroachdb.service: Failed with result 'timeout'.
node1 # [  313.402810] systemd[1]: Failed to start CockroachDB Server.
node1 # [  313.404202] systemd[1]: cockroachdb.service: Consumed 39ms CPU time, no IO, received 0B IP traffic, sent 852B IP traffic.
node1 # [  313.406727] systemd[1]: Reached target Multi-User System.
node1 # [  313.407957] systemd[1]: Startup finished in 6.683s (kernel) + 5min 6.678s (userspace) = 5min 13.362s.
node1 # [  323.385640] systemd[1]: cockroachdb.service: Scheduled restart job, restart counter is at 1.
node1 # [  323.391351] systemd[1]: Stopped CockroachDB Server.
node1 # [  323.393529] systemd[1]: cockroachdb.service: Consumed 39ms CPU time, no IO, received 0B IP traffic, sent 852B IP traffic.
node1 # [  323.399894] systemd[1]: Starting CockroachDB Server...
node1 # [  623.441617] systemd[1]: cockroachdb.service: start-pre operation timed out. Terminating.
node1 # [  623.468289] systemd[1]: cockroachdb.service: Control process exited, code=killed, status=15/TERM
node1 # [  623.471552] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.473355] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.475179] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.476786] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.478417] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.480156] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.481804] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.483639] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.485336] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.487302] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.488960] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.490561] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.492558] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.494468] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.496156] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.497688] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.499240] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.500827] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.502505] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.504464] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.506236] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.507785] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.509354] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.510968] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.512872] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.514423] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.516229] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.517897] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.519519] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.521440] cockroachdb-pre-start[2244]: 506 Cannot talk to daemon
node1 # [  623.523180] systemd[1]: cockroachdb.service: Failed with result 'timeout'.
node1 # [  623.525167] systemd[1]: Failed to start CockroachDB Server.
node1 # [  623.526692] systemd[1]: cockroachdb.service: Consumed 19ms CPU time, no IO, received 0B IP traffic, sent 852B IP traffic.
node1 # [  633.695870] systemd[1]: cockroachdb.service: Scheduled restart job, restart counter is at 2.
node1 # [  633.719973] systemd[1]: Stopped CockroachDB Server.
node1 # [  633.743877] systemd[1]: cockroachdb.service: Consumed 19ms CPU time, no IO, received 0B IP traffic, sent 852B IP traffic.
node1 # [  633.783954] systemd[1]: Starting CockroachDB Server...
node1 # [  689.135607] hrtimer: interrupt took 2179048 ns
node1 # [  900.077461] systemd[1]: Starting Cleanup of Temporary Directories...
node1 # [  900.146800] systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
node1 # [  900.150009] systemd[1]: Finished Cleanup of Temporary Directories.
node1 # [  933.942495] systemd[1]: cockroachdb.service: start-pre operation timed out. Terminating.
node1 # [  933.979556] systemd[1]: cockroachdb.service: Control process exited, code=killed, status=15/TERM
node1 # [  933.985409] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  933.990316] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  933.994786] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  933.998482] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.002713] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.006825] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.010920] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.014427] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.017899] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.021294] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.025589] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.029888] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.034240] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.038180] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.040919] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.043526] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.045901] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.048314] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.050900] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.053460] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.055926] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.057982] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.060164] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.062258] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.064343] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.066225] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.067966] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.069713] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.071451] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.073230] cockroachdb-pre-start[3579]: 506 Cannot talk to daemon
node1 # [  934.075150] systemd[1]: cockroachdb.service: Failed with result 'timeout'.
node1 # [  934.077284] systemd[1]: Failed to start CockroachDB Server.

@ankhers
Copy link
Contributor Author

ankhers commented Jan 18, 2022

I also apparently am unable to connect to the cockroach web dashboard (localhost:8080). I'm getting errors in my console because various javascript files have the mime type of text/plain.

@rail
Copy link

rail commented Jan 19, 2022

see also cockroachdb/cockroach#75117

I also apparently am unable to connect to the cockroach web dashboard (localhost:8080). I'm getting errors in my console because various javascript files have the mime type of text/plain.

Apparently, the console (web UI) code is not properly built if you use the tarball :/
I wonder if we should use fetchFromGitHub with fetchSubmodules = true and add git to buildDependencies. What do you think?

@turion
Copy link
Contributor

turion commented Jan 19, 2022

I wonder if we should use fetchFromGitHub with fetchSubmodules = true and add git to buildDependencies. What do you think?

Sounds like worth a try!

@ankhers
Copy link
Contributor Author

ankhers commented Jan 19, 2022

Trying to use fetchFromGitHub, and I get an error about not being able to find the GOPATH. I'm not familiar enough with buildGoModule or go in general to be able to fix this one.

unpacking 'https://github.com/nix-community/emacs-overlay/archive/master.tar.gz'... these derivations will be built: /nix/store/ga5687srqs64ibvwsxmzifxrdrxx1iwz-source.drv /nix/store/ccb1hbbx5cfc2q08kk1dhvcq93i5qwn0-cockroach-21.2.4.drv these paths will be fetched (129.40 MiB download, 589.05 MiB unpacked): /nix/store/024i1sj14fvrwc0clc3c2pygqbi1csad-rhash-1.4.2 /nix/store/09p46l574659cb274igyi7s7r7xzicc7-install-shell-files /nix/store/0cywfss0l0711v3pxvfsagba554r6gay-bash-interactive-5.1-p12 /nix/store/1sq250plvj582iicyc410iwrwgry1wha-perl5.34.0-Encode-Locale-1.05 /nix/store/4my5m9zl0pk13d0ibphflq3mj3g0ya2i-util-linux-2.37.2-bin /nix/store/4nk1xb2mbjlkgn2z7jzbsn1wjk1jraxd-libcap-ng-0.8.2 /nix/store/538abjapjskkwgh0shsg1jj0bcy6xi8g-xz-5.2.5-dev /nix/store/59vvfrgdz7qr28zhlxsymkgdk3k4dins-perl5.34.0-HTML-TagCloud-0.38 /nix/store/5gqkfhr9whfw7y34zlx5ym2cw7lpgmzd-perl5.34.0-HTML-Parser-3.75 /nix/store/650j8qkm37kw5yj6p5vm6zha9x7w8vmi-perl5.34.0-CGI-Fast-2.15 /nix/store/7b83ibcsxmnp56xs8cvv08f1ywpn53rw-go-1.16.12 /nix/store/7k0jknqjnihhg0lrxzys15ymxn06ilyp-zstd-1.5.0-bin /nix/store/7lzda8xh8byscdg2k0jwwk085341lsna-audit-2.8.5 /nix/store/7y2frdc7sfn9k6cixs5fjfrvd7jpgsn3-perl5.34.0-FCGI-ProcManager-0.28 /nix/store/8058l1pxir5vx4ww82m1l5190vf4vj1l-perl5.34.0-Test-RequiresInternet-0.05 /nix/store/8d7740ms8mi9fhkfhbjliyzzzvlr1qq9-perl5.34.0-URI-5.05 /nix/store/8fa60wf5y9z5vp0qwgayz5zyvkphz009-nghttp2-1.43.0-lib /nix/store/8gdz1yz9ng3gbs6ddpz8mgkn9rq1wd9f-git-2.34.1 /nix/store/8mymbxbql5lkwy5darqhfar0sxka74f1-expat-2.4.1 /nix/store/9vy9s4kx641g10s9340dsn5f0dffdwyh-libxml2-2.9.12 /nix/store/a70bf0dfbklpg3py8hq174szxdf55vid-kbd-2.4.0 /nix/store/azf6r83nbmj23r23sgkyvw5z9a6asyzg-kexec-tools-2.0.23 /nix/store/bar71a8vy9cr9ydyq71y7dvzfpqxglxc-perl5.34.0-File-Listing-6.14 /nix/store/bvi8x1dyr5176yiz7qzfm1xv69azhfx6-libfido2-1.8.0 /nix/store/c1skrr1naciakl9diqqz1am7v7q71q8a-openssh-8.8p1 /nix/store/c3vykan6w63zx3dr1pbjv8fyaidqmrqg-perl5.34.0-Test-Needs-0.002006 /nix/store/cjzxv962yy7pszwk2h433zydah68yn4d-perl5.34.0-Try-Tiny-0.30 /nix/store/cw4pcva6yanikjchnjrsqgaaj8dkw20r-zstd-1.5.0 /nix/store/d05978bddilwywyjx3xhrzjiam5v0v0p-perl5.34.0-WWW-RobotRules-6.02 /nix/store/dnvx4sa11z2d13jrl7sggc0iq1inhax4-curl-7.80.0 /nix/store/fh0jqg9p3c0ad9iiz41a6dxf46273372-kmod-29 /nix/store/ggqkxkqjn8hf7h1kgv5qz8lwas9i5z6k-nss-cacert-3.71 /nix/store/gs7jc3gii4yshkp5af8b1bgmzcjm323l-perl5.34.0-HTTP-Negotiate-6.01 /nix/store/h2y7lx264xcwbnzhmpsgbfpxcrm846ss-perl5.34.0-CGI-4.51 /nix/store/hi71gw6srrkx9mdljmk5bb8sg2m9crrc-perl5.34.0-LWP-MediaTypes-6.04 /nix/store/hsiixp3jk1c276xvqi6xpcri9b86k4qm-openssl-1.1.1l /nix/store/hyly4hjfxpj40anz5yyjqmkzi4bz20nj-libssh2-1.10.0 /nix/store/j663m9rdlnmfc3gdjzvayxslqaa74sjj-perl5.34.0-Net-HTTP-6.19 /nix/store/ji2ffvh650p2pabqj3y0crl29iv1jpix-perl5.34.0-libwww-perl-6.49 /nix/store/jnn8cs1l205xqq33xpzpraiwin1szqha-keyutils-1.6.3-lib /nix/store/k23bxbf20iaa019pnpvyn32dribq0mmh-brotli-1.0.9-lib /nix/store/khilbv2w0ixj55clcpsjzpaq0l1bhh2j-autoconf-2.71 /nix/store/kplfb61hq67x928gmib59drfqps7lz79-perl5.34.0-HTML-Tagset-3.20 /nix/store/kv020p6sq83ijq04mia19dxy3x4hff8y-ncurses-6.2-man /nix/store/l22kn6ljd9hnq7y8vk333n963mg5fy6b-linux-pam-1.5.1 /nix/store/lirvmv5wqv6hk27a0vlk460684ixkxmw-perl5.34.0-IO-HTML-1.004 /nix/store/m282q0dpc5pg4hc6ian7xynn8y22bng9-libkrb5-1.18 /nix/store/mhqi0nl41y3mrvzvqajn4n3xcb1pyzch-perl5.34.0-HTTP-Daemon-6.01 /nix/store/mwlifc1nqw4aj3jxh3j9vg0wx8gxb9fl-libedit-20210714-3.1 /nix/store/nds85bn3hvrm6kspw8i6vazydzy1ylbn-db-4.8.30 /nix/store/nsi46cw8ac74lkszkjkaly5h8p6i43dw-remove-references-to /nix/store/pp60a4yd9bq1r09ijhnxyina31xwzmik-cmake-3.21.2 /nix/store/qlc946cgm2imhncqa9d4h926nkcp5xws-perl5.34.0-Test-Fatal-0.016 /nix/store/qyxdmik46470hzn5b4cs36hm2xfnnl4x-curl-7.80.0 /nix/store/r417374f3l2l93chq3jijrisf2hnq6kg-perl-5.34.0 /nix/store/rbrmcjppqwa6r818l6111403a2p4hs3b-util-linux-2.37.2-lib /nix/store/sbj5q601janhvsc4x76n6nyq85xrmpx3-perl5.34.0-HTTP-Cookies-6.09 /nix/store/sdsx061j6bbsh1yrv7a29kg7s5dmqgar-perl5.34.0-HTTP-Date-6.05 /nix/store/shv8hvhagfzpw7sm9a0qaxxgdvvngnzp-gettext-0.21 /nix/store/ssb4zi8k9p8x0pdk115c0sqvfwlrqlqz-stdenv-linux /nix/store/syy1gcwq29nzh4x9rmvcf1fd3y955fib-readline-8.1p0 /nix/store/vp3ccg1qa4486g8qgkjpvmjpi5p3yv5s-gnum4-1.4.19 /nix/store/w3m8fjd8lchpv54sd4rvf6f5m5hg0dyy-libuv-1.42.0 /nix/store/w3mclqjn3nrjcwvblsz5388d3iikvm39-perl5.34.0-TimeDate-2.33 /nix/store/wabm2q2ygkrws3fzi32b1dm9f3a5bd5y-systemd-minimal-249.5 /nix/store/xd1fp10xks3nsy3ly91xf64qp7av959v-which-2.21 /nix/store/xd1vyg48narask35vcigflihgd259bdb-libcap-2.49-lib /nix/store/xhpxz5vng6x4fp56lfdm2sx2rkxi6sl8-libcbor-0.8.0 /nix/store/xmcmv37fs5xjfd2cspnycldch2sb1nzm-perl5.34.0-HTTP-Message-6.26 /nix/store/xs0n04x1aqdzp112g3j4aziwam0rndrl-libarchive-3.5.2-lib /nix/store/xsmcwlp1vgkbp8m9mbcyfsklb58xs6ak-libseccomp-2.5.2-lib /nix/store/y2frhh7g0wc3pz391izqpz3aan6472xb-shadow-4.8.1 /nix/store/y6zs6pd2gala463bm0sspxig27m70yh0-perl5.34.0-FCGI-0.79 /nix/store/y8q2rw1icw6pmbz2xx5pgrapk9m4xga0-ncurses-6.2-dev /nix/store/yv04xcf6ql069d9m6xy1wxl2kj3hkrw7-perl5.34.0-TermReadKey-2.38 copying path '/nix/store/09p46l574659cb274igyi7s7r7xzicc7-install-shell-files' from 'https://cache.nixos.org'... copying path '/nix/store/kv020p6sq83ijq04mia19dxy3x4hff8y-ncurses-6.2-man' from 'https://cache.nixos.org'... copying path '/nix/store/8mymbxbql5lkwy5darqhfar0sxka74f1-expat-2.4.1' from 'https://cache.nixos.org'... copying path '/nix/store/nsi46cw8ac74lkszkjkaly5h8p6i43dw-remove-references-to' from 'https://cache.nixos.org'... copying path '/nix/store/xd1fp10xks3nsy3ly91xf64qp7av959v-which-2.21' from 'https://cache.nixos.org'... copying path '/nix/store/538abjapjskkwgh0shsg1jj0bcy6xi8g-xz-5.2.5-dev' from 'https://cache.nixos.org'... copying path '/nix/store/vp3ccg1qa4486g8qgkjpvmjpi5p3yv5s-gnum4-1.4.19' from 'https://cache.nixos.org'... copying path '/nix/store/w3m8fjd8lchpv54sd4rvf6f5m5hg0dyy-libuv-1.42.0' from 'https://cache.nixos.org'... copying path '/nix/store/7lzda8xh8byscdg2k0jwwk085341lsna-audit-2.8.5' from 'https://cache.nixos.org'... copying path '/nix/store/k23bxbf20iaa019pnpvyn32dribq0mmh-brotli-1.0.9-lib' from 'https://cache.nixos.org'... copying path '/nix/store/nds85bn3hvrm6kspw8i6vazydzy1ylbn-db-4.8.30' from 'https://cache.nixos.org'... copying path '/nix/store/shv8hvhagfzpw7sm9a0qaxxgdvvngnzp-gettext-0.21' from 'https://cache.nixos.org'... copying path '/nix/store/azf6r83nbmj23r23sgkyvw5z9a6asyzg-kexec-tools-2.0.23' from 'https://cache.nixos.org'... copying path '/nix/store/jnn8cs1l205xqq33xpzpraiwin1szqha-keyutils-1.6.3-lib' from 'https://cache.nixos.org'... copying path '/nix/store/xd1vyg48narask35vcigflihgd259bdb-libcap-2.49-lib' from 'https://cache.nixos.org'... copying path '/nix/store/xhpxz5vng6x4fp56lfdm2sx2rkxi6sl8-libcbor-0.8.0' from 'https://cache.nixos.org'... copying path '/nix/store/4nk1xb2mbjlkgn2z7jzbsn1wjk1jraxd-libcap-ng-0.8.2' from 'https://cache.nixos.org'... copying path '/nix/store/mwlifc1nqw4aj3jxh3j9vg0wx8gxb9fl-libedit-20210714-3.1' from 'https://cache.nixos.org'... copying path '/nix/store/m282q0dpc5pg4hc6ian7xynn8y22bng9-libkrb5-1.18' from 'https://cache.nixos.org'... copying path '/nix/store/xsmcwlp1vgkbp8m9mbcyfsklb58xs6ak-libseccomp-2.5.2-lib' from 'https://cache.nixos.org'... copying path '/nix/store/9vy9s4kx641g10s9340dsn5f0dffdwyh-libxml2-2.9.12' from 'https://cache.nixos.org'... copying path '/nix/store/8fa60wf5y9z5vp0qwgayz5zyvkphz009-nghttp2-1.43.0-lib' from 'https://cache.nixos.org'... copying path '/nix/store/ggqkxkqjn8hf7h1kgv5qz8lwas9i5z6k-nss-cacert-3.71' from 'https://cache.nixos.org'... copying path '/nix/store/y8q2rw1icw6pmbz2xx5pgrapk9m4xga0-ncurses-6.2-dev' from 'https://cache.nixos.org'... copying path '/nix/store/hsiixp3jk1c276xvqi6xpcri9b86k4qm-openssl-1.1.1l' from 'https://cache.nixos.org'... copying path '/nix/store/r417374f3l2l93chq3jijrisf2hnq6kg-perl-5.34.0' from 'https://cache.nixos.org'... copying path '/nix/store/1sq250plvj582iicyc410iwrwgry1wha-perl5.34.0-Encode-Locale-1.05' from 'https://cache.nixos.org'... copying path '/nix/store/y6zs6pd2gala463bm0sspxig27m70yh0-perl5.34.0-FCGI-0.79' from 'https://cache.nixos.org'... copying path '/nix/store/7y2frdc7sfn9k6cixs5fjfrvd7jpgsn3-perl5.34.0-FCGI-ProcManager-0.28' from 'https://cache.nixos.org'... copying path '/nix/store/l22kn6ljd9hnq7y8vk333n963mg5fy6b-linux-pam-1.5.1' from 'https://cache.nixos.org'... copying path '/nix/store/59vvfrgdz7qr28zhlxsymkgdk3k4dins-perl5.34.0-HTML-TagCloud-0.38' from 'https://cache.nixos.org'... copying path '/nix/store/kplfb61hq67x928gmib59drfqps7lz79-perl5.34.0-HTML-Tagset-3.20' from 'https://cache.nixos.org'... copying path '/nix/store/lirvmv5wqv6hk27a0vlk460684ixkxmw-perl5.34.0-IO-HTML-1.004' from 'https://cache.nixos.org'... copying path '/nix/store/hi71gw6srrkx9mdljmk5bb8sg2m9crrc-perl5.34.0-LWP-MediaTypes-6.04' from 'https://cache.nixos.org'... copying path '/nix/store/yv04xcf6ql069d9m6xy1wxl2kj3hkrw7-perl5.34.0-TermReadKey-2.38' from 'https://cache.nixos.org'... copying path '/nix/store/c3vykan6w63zx3dr1pbjv8fyaidqmrqg-perl5.34.0-Test-Needs-0.002006' from 'https://cache.nixos.org'... copying path '/nix/store/8058l1pxir5vx4ww82m1l5190vf4vj1l-perl5.34.0-Test-RequiresInternet-0.05' from 'https://cache.nixos.org'... copying path '/nix/store/w3mclqjn3nrjcwvblsz5388d3iikvm39-perl5.34.0-TimeDate-2.33' from 'https://cache.nixos.org'... copying path '/nix/store/cjzxv962yy7pszwk2h433zydah68yn4d-perl5.34.0-Try-Tiny-0.30' from 'https://cache.nixos.org'... copying path '/nix/store/8d7740ms8mi9fhkfhbjliyzzzvlr1qq9-perl5.34.0-URI-5.05' from 'https://cache.nixos.org'... copying path '/nix/store/syy1gcwq29nzh4x9rmvcf1fd3y955fib-readline-8.1p0' from 'https://cache.nixos.org'... copying path '/nix/store/024i1sj14fvrwc0clc3c2pygqbi1csad-rhash-1.4.2' from 'https://cache.nixos.org'... copying path '/nix/store/sdsx061j6bbsh1yrv7a29kg7s5dmqgar-perl5.34.0-HTTP-Date-6.05' from 'https://cache.nixos.org'... copying path '/nix/store/qlc946cgm2imhncqa9d4h926nkcp5xws-perl5.34.0-Test-Fatal-0.016' from 'https://cache.nixos.org'... copying path '/nix/store/y2frhh7g0wc3pz391izqpz3aan6472xb-shadow-4.8.1' from 'https://cache.nixos.org'... copying path '/nix/store/j663m9rdlnmfc3gdjzvayxslqaa74sjj-perl5.34.0-Net-HTTP-6.19' from 'https://cache.nixos.org'... copying path '/nix/store/0cywfss0l0711v3pxvfsagba554r6gay-bash-interactive-5.1-p12' from 'https://cache.nixos.org'... copying path '/nix/store/bar71a8vy9cr9ydyq71y7dvzfpqxglxc-perl5.34.0-File-Listing-6.14' from 'https://cache.nixos.org'... copying path '/nix/store/xmcmv37fs5xjfd2cspnycldch2sb1nzm-perl5.34.0-HTTP-Message-6.26' from 'https://cache.nixos.org'... copying path '/nix/store/d05978bddilwywyjx3xhrzjiam5v0v0p-perl5.34.0-WWW-RobotRules-6.02' from 'https://cache.nixos.org'... copying path '/nix/store/hyly4hjfxpj40anz5yyjqmkzi4bz20nj-libssh2-1.10.0' from 'https://cache.nixos.org'... copying path '/nix/store/ssb4zi8k9p8x0pdk115c0sqvfwlrqlqz-stdenv-linux' from 'https://cache.nixos.org'... copying path '/nix/store/rbrmcjppqwa6r818l6111403a2p4hs3b-util-linux-2.37.2-lib' from 'https://cache.nixos.org'... copying path '/nix/store/cw4pcva6yanikjchnjrsqgaaj8dkw20r-zstd-1.5.0' from 'https://cache.nixos.org'... copying path '/nix/store/5gqkfhr9whfw7y34zlx5ym2cw7lpgmzd-perl5.34.0-HTML-Parser-3.75' from 'https://cache.nixos.org'... copying path '/nix/store/sbj5q601janhvsc4x76n6nyq85xrmpx3-perl5.34.0-HTTP-Cookies-6.09' from 'https://cache.nixos.org'... copying path '/nix/store/mhqi0nl41y3mrvzvqajn4n3xcb1pyzch-perl5.34.0-HTTP-Daemon-6.01' from 'https://cache.nixos.org'... copying path '/nix/store/dnvx4sa11z2d13jrl7sggc0iq1inhax4-curl-7.80.0' from 'https://cache.nixos.org'... copying path '/nix/store/qyxdmik46470hzn5b4cs36hm2xfnnl4x-curl-7.80.0' from 'https://cache.nixos.org'... copying path '/nix/store/h2y7lx264xcwbnzhmpsgbfpxcrm846ss-perl5.34.0-CGI-4.51' from 'https://cache.nixos.org'... copying path '/nix/store/gs7jc3gii4yshkp5af8b1bgmzcjm323l-perl5.34.0-HTTP-Negotiate-6.01' from 'https://cache.nixos.org'... copying path '/nix/store/4my5m9zl0pk13d0ibphflq3mj3g0ya2i-util-linux-2.37.2-bin' from 'https://cache.nixos.org'... copying path '/nix/store/fh0jqg9p3c0ad9iiz41a6dxf46273372-kmod-29' from 'https://cache.nixos.org'... copying path '/nix/store/xs0n04x1aqdzp112g3j4aziwam0rndrl-libarchive-3.5.2-lib' from 'https://cache.nixos.org'... copying path '/nix/store/7k0jknqjnihhg0lrxzys15ymxn06ilyp-zstd-1.5.0-bin' from 'https://cache.nixos.org'... copying path '/nix/store/650j8qkm37kw5yj6p5vm6zha9x7w8vmi-perl5.34.0-CGI-Fast-2.15' from 'https://cache.nixos.org'... copying path '/nix/store/a70bf0dfbklpg3py8hq174szxdf55vid-kbd-2.4.0' from 'https://cache.nixos.org'... copying path '/nix/store/pp60a4yd9bq1r09ijhnxyina31xwzmik-cmake-3.21.2' from 'https://cache.nixos.org'... copying path '/nix/store/wabm2q2ygkrws3fzi32b1dm9f3a5bd5y-systemd-minimal-249.5' from 'https://cache.nixos.org'... copying path '/nix/store/bvi8x1dyr5176yiz7qzfm1xv69azhfx6-libfido2-1.8.0' from 'https://cache.nixos.org'... copying path '/nix/store/c1skrr1naciakl9diqqz1am7v7q71q8a-openssh-8.8p1' from 'https://cache.nixos.org'... copying path '/nix/store/khilbv2w0ixj55clcpsjzpaq0l1bhh2j-autoconf-2.71' from 'https://cache.nixos.org'... copying path '/nix/store/ji2ffvh650p2pabqj3y0crl29iv1jpix-perl5.34.0-libwww-perl-6.49' from 'https://cache.nixos.org'... copying path '/nix/store/7b83ibcsxmnp56xs8cvv08f1ywpn53rw-go-1.16.12' from 'https://cache.nixos.org'... copying path '/nix/store/8gdz1yz9ng3gbs6ddpz8mgkn9rq1wd9f-git-2.34.1' from 'https://cache.nixos.org'... building '/nix/store/ga5687srqs64ibvwsxmzifxrdrxx1iwz-source.drv'... exporting https://github.com/cockroachdb/cockroach.git (rev v21.2.4) into /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/.git/ remote: Enumerating objects: 11779, done. remote: Counting objects: 100% (11779/11779), done. remote: Compressing objects: 100% (10031/10031), done. remote: Total 11779 (delta 2438), reused 4623 (delta 1206), pack-reused 0 Receiving objects: 100% (11779/11779), 67.71 MiB | 14.64 MiB/s, done. Resolving deltas: 100% (2438/2438), done. From https://github.com/cockroachdb/cockroach * tag v21.2.4 -> FETCH_HEAD Switched to a new branch 'fetchgit' Submodule 'c-deps/geos' (https://github.com/cockroachdb/geos.git) registered for path 'c-deps/geos' Submodule 'c-deps/jemalloc' (https://github.com/cockroachdb/jemalloc.git) registered for path 'c-deps/jemalloc' Submodule 'c-deps/krb5' (https://github.com/cockroachdb/krb5.git) registered for path 'c-deps/krb5' Submodule 'c-deps/libedit' (https://github.com/cockroachdb/libedit.git) registered for path 'c-deps/libedit' Submodule 'c-deps/proj' (https://github.com/cockroachdb/PROJ.git) registered for path 'c-deps/proj' Submodule 'pkg/ui/yarn-vendor' (https://github.com/cockroachdb/yarn-vendored.git) registered for path 'pkg/ui/yarn-vendor' Submodule 'vendor' (https://github.com/cockroachdb/vendored) registered for path 'vendor' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/c-deps/geos/.git/ remote: Enumerating objects: 1429, done. remote: Counting objects: 100% (1429/1429), done. remote: Compressing objects: 100% (1376/1376), done. remote: Total 1429 (delta 242), reused 274 (delta 37), pack-reused 0 Receiving objects: 100% (1429/1429), 2.49 MiB | 10.39 MiB/s, done. Resolving deltas: 100% (242/242), done. From https://github.com/cockroachdb/geos * branch read_m -> FETCH_HEAD * [new branch] read_m -> origin/read_m Switched to a new branch 'fetchgit' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/c-deps/jemalloc/.git/ remote: Enumerating objects: 251, done. remote: Counting objects: 100% (251/251), done. remote: Compressing objects: 100% (224/224), done. remote: Total 251 (delta 30), reused 94 (delta 18), pack-reused 0 Receiving objects: 100% (251/251), 482.40 KiB | 4.27 MiB/s, done. Resolving deltas: 100% (30/30), done. From https://github.com/cockroachdb/jemalloc * branch crl-release-4.5.0 -> FETCH_HEAD * [new branch] crl-release-4.5.0 -> origin/crl-release-4.5.0 Switched to a new branch 'fetchgit' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/c-deps/krb5/.git/ remote: Enumerating objects: 2839, done. remote: Counting objects: 100% (2839/2839), done. remote: Compressing objects: 100% (2665/2665), done. remote: Total 2839 (delta 542), reused 846 (delta 118), pack-reused 0 Receiving objects: 100% (2839/2839), 5.99 MiB | 11.80 MiB/s, done. Resolving deltas: 100% (542/542), done. From https://github.com/cockroachdb/krb5 * branch text_fix -> FETCH_HEAD * [new branch] text_fix -> origin/text_fix Switched to a new branch 'fetchgit' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/c-deps/libedit/.git/ remote: Enumerating objects: 99, done. remote: Counting objects: 100% (99/99), done. remote: Compressing objects: 100% (84/84), done. remote: Total 99 (delta 16), reused 75 (delta 12), pack-reused 0 Unpacking objects: 100% (99/99), 434.30 KiB | 2.93 MiB/s, done. From https://github.com/cockroachdb/libedit * branch crl-release-20190324-3.1 -> FETCH_HEAD * [new branch] crl-release-20190324-3.1 -> origin/crl-release-20190324-3.1 Switched to a new branch 'fetchgit' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/c-deps/proj/.git/ remote: Enumerating objects: 411, done. remote: Counting objects: 100% (411/411), done. remote: Compressing objects: 100% (398/398), done. remote: Total 411 (delta 51), reused 141 (delta 7), pack-reused 0 Receiving objects: 100% (411/411), 16.11 MiB | 25.22 MiB/s, done. Resolving deltas: 100% (51/51), done. From https://github.com/cockroachdb/PROJ * branch 493_crdb -> FETCH_HEAD * [new branch] 493_crdb -> origin/493_crdb Switched to a new branch 'fetchgit' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/pkg/ui/yarn-vendor/.git/ remote: Enumerating objects: 4989, done. remote: Counting objects: 100% (4989/4989), done. remote: Compressing objects: 100% (4988/4988), done. remote: Total 4989 (delta 1), reused 4988 (delta 1), pack-reused 0 Receiving objects: 100% (4989/4989), 334.57 MiB | 22.17 MiB/s, done. Resolving deltas: 100% (1/1), done. From https://github.com/cockroachdb/yarn-vendored * branch add-react-testing-library -> FETCH_HEAD * [new branch] add-react-testing-library -> origin/add-react-testing-library Switched to a new branch 'fetchgit' Initialized empty Git repository in /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source/vendor/.git/ remote: Enumerating objects: 10918, done. remote: Counting objects: 100% (10918/10918), done. remote: Compressing objects: 100% (8134/8134), done. remote: Total 10918 (delta 2233), reused 7899 (delta 1728), pack-reused 0 Receiving objects: 100% (10918/10918), 17.51 MiB | 13.01 MiB/s, done. Resolving deltas: 100% (2233/2233), done. From https://github.com/cockroachdb/vendored * branch release-21.2 -> FETCH_HEAD * [new branch] release-21.2 -> origin/release-21.2 Switched to a new branch 'fetchgit' removing `.git'... building '/nix/store/ccb1hbbx5cfc2q08kk1dhvcq93i5qwn0-cockroach-21.2.4.drv'... unpacking sources unpacking source archive /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source source root is source patching sources patching script interpreter paths in . ./scripts/azworker.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/bench: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/diff-example.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/purge-terraform.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/verify-release-binaries.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/plandiff: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/log2html.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/roachtest-gobench.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/pprof: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/torch: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/ls-files.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/localmetrics/import-csv.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./scripts/goescape: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/tag-custom-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/git-blame-stats.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./scripts/winworker.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/deplicense.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/gceworker.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/authors.sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./tools/bazel: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/testdata/psql/test-psql.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/testdata/psql/test-psql-unix.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/testdata/psql/test-psql-notls.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/prepare.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/compose/gss/kdc/start.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/acceptance/compose/gss/psql/start.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/acceptance/compose/gss/python/start.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/run.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachtest/roachstress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachprod/docker/entrypoint.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachprod/docker/build.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachprod/docker/push.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/bazci/testdata/bazel-bin/pkg/cmd/fake_bin/fake_bin_/fake_bin: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/geo/wkt/generate.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/geo/geomfn/bench.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/compose/prepare.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/compose/run.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/util/leaktest/add-leaktest.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/util/leaktest/check-leaktest.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/util/fsm/gen/reports.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/util/interval/generic/gen.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/ui/workspaces/db-console/scripts/font-gen: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/security/securitytest/test_certs/regenerate.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/roachprod/install/scripts/start_test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/pgwire/pgcode/generate.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/sql/parser/help_gen_test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/parser/sql-gen.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/catalog/catalogkv/testdata/unwrap_validation/fkupgrade/generate.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/opt/testutils/opttester/testfixtures/rewrite_stats.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/ccl/sqlproxyccl/run_proxy.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-random-syntax.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-nightly-pebble-metamorphic.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-assert-clean.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-testrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/bootstrap-ssd.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/install-azure-cli.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/bootstrap-debian.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/autoshutdown.cron.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/bootstrap-unison.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/testrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/maybe_stressrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/lint_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/maybe_stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/unit_tests_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/unit_tests.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/lint.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/bench_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/testrace_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/bench.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/maybe_stress_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_linux_x86_64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_windows_x86_64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_linux_arm64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_macos_x86_64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-testlogic-verbose.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/go-version-check.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-publish-s3-binaries.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/verify-archive.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-verify-archive.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-weekly-roachtest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/bazel-generate.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/check.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/generate_redact_safe.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/stamp.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/deploy/cockroach.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./build/release/teamcity-mark-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-build-internal-rc.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-publish-release.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-make-and-publish-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-build-qualified.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-update-latest-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-roachtest-qualification.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-publish-redhat-release.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-build-internal-test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-as-tested.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-publish-artifacts.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/toolchains/toolchainbuild/buildtoolchains.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/toolchains/toolchainbuild/perform-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-rebuild-agent.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/builder/mkrelease.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/builder/entrypoint.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-urlcheck.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/disable-hyperv-timesync.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-roachtest-invoke.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-compile-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-docs-issue-generation.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-build-test-binary.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-build-toolchains.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-nightly-roachtest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-compile-builds.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-testlogicrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-trigger.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-reset-nightlies.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-compose.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-maybe-stressrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-bless-provisional-binaries.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-check.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-check-genfiles.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/werror.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelbuilder/autom4te: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-maybe-stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-nightly-pebble.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-local-roachtest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-roachtest-stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/node-run.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-sqllogictest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-go-test-precompiled.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-acceptance.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-test-deadlock.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/vendor_rebuild.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-bench.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/builder.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/post-checkout: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/prepare-commit-msg: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/post-rewrite: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/post-merge: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/commit-msg: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./cloud/kubernetes/demo.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/geos/tools/findclassfiles: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/tools/ci/script_autotools.sh: interpreter directive changed from "#!/bin/bash -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash -e" ./c-deps/geos/tools/ci/script_cmake.sh: interpreter directive changed from "#!/bin/bash -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash -e" ./c-deps/geos/tools/ci/script.sh: interpreter directive changed from "#!/bin/bash -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash -e" ./c-deps/geos/tools/astyle.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/debian/rules: interpreter directive changed from "#!/usr/bin/make -f" to "/nix/store/ba439awj33pw4l4bj95k4dy58nx69b8v-gnumake-4.3/bin/make -f" ./c-deps/geos/debian/makedoc: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/tests/xmltester/safe_to_xml.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/tests/xmltester/JTSXMLTester.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/doc/example.tosql: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/lib/krb5/krb/transit-tests: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/lib/rpc/unit-test/rpc_test_setup.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kdc/rtscript: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/scripts/inst-hdrs.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/cli/k5srvutil.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/find-make.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/init_db: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/start_servers: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/env-setup.shin: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/stop_servers: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/stop_servers_local: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/start_servers_local: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/ren2long: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/mkinstalldirs: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/move-if-changed: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/check-ac-syms: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/getsyms: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/krb5-send-pr.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/lndir: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/trim-valgrind-logs: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/mkrel: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/ss/config_script: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/ss/mk_cmds.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/et/compile_et.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/et/config_script: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/tests/dejagnu/pkinit-certs/make-certs.sh: interpreter directive changed from "#!/bin/sh -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh -e" ./c-deps/krb5/src/tests/dejagnu/proxy-certs/make-certs.sh: interpreter directive changed from "#!/bin/sh -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh -e" ./c-deps/krb5/src/build-tools/krb5-config.in: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/proj/src/runmultistresstest.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/proj/travis/add_deploy_key.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/before_install.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/docker.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/build_docs.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/deploy_website.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/build-aux/install-sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/build-aux/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/build-aux/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/coverage.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/jemalloc_mangle.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/jemalloc.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/private_namespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/smoothstep.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/size_classes.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/public_namespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/jemalloc_rename.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/missing: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/compile: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/depcomp: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./monitoring/demo/config/roach-init.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./dev: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" configuring building sh: line 1: ps: command not found Makefile:248: *** GOPATH is not set and could not be automatically determined. Stop. builder for '/nix/store/ccb1hbbx5cfc2q08kk1dhvcq93i5qwn0-cockroach-21.2.4.drv' failed with exit code 2 error: build of '/nix/store/ccb1hbbx5cfc2q08kk1dhvcq93i5qwn0-cockroach-21.2.4.drv' failed

@turion
Copy link
Contributor

turion commented Jan 19, 2022

From looking through other usages in nixpkgs for buildGoModule, some differences to cockroachdb seem to be:

  • Typically there is no custom buildPhase. Maybe this is what messes up GOPATH?
  • Nearly everyone uses fetchFromGithHub, so this is the standard way to go.

So maybe try with fetchFromGitHub + no custom buildPhase?

Or at least compare the custom buildPhase to pkgs/development/go-modules/generic/default.nix. In there, we have export GOPATH="$TMPDIR/go" in the configurePhase, so maybe this is in contradiction to some assumptions in the custom buildPhase?

@rail
Copy link

rail commented Jan 19, 2022

GOPATH is a red herring. The issue is "missing" ps. Try to apply the patch again and it should work (TM) :)

@turion
Copy link
Contributor

turion commented Jan 19, 2022

FWIW, the git repo and the tarball differ in that the tarball has the contents of the repo in a subdirectory src/github.com/cockroachdb/cockroach/, but it also contains an additional top level Makefile with these contents:

$ cat cockroach-v21.2.4/Makefile 
export GOPATH = $(CURDIR)
export BUILDCHANNEL := source-archive

.PHONY: all build buildoss check clean install test
all build buildoss check clean install test:
        $(MAKE) -C src/github.com/cockroachdb/cockroach $@

So this is where it sets GOPATH. And maybe the inner Makefile gets confused when it's not called that way?

@ankhers
Copy link
Contributor Author

ankhers commented Jan 19, 2022

https://github.com/cockroachdb/cockroach/blob/master/Makefile#L246-L249 -- This looks like it fails the build if GOPATH is not set?

I can add my own GOPATH just to see if it works.

@ankhers
Copy link
Contributor Author

ankhers commented Jan 19, 2022

GOPATH is a red herring. The issue is "missing" ps. Try to apply the patch again and it should work (TM) :)

Applying the patch still ended up with an error about the GOPATH.

So maybe try with fetchFromGitHub + no custom buildPhase

these derivations will be built: /nix/store/6b7j06423fzjbrqcssc6638f6iy5h5l1-cockroach-21.2.4.drv building '/nix/store/6b7j06423fzjbrqcssc6638f6iy5h5l1-cockroach-21.2.4.drv'... unpacking sources unpacking source archive /nix/store/rr350ldvxy9h0k823k0vg6xskz2bx3jl-source source root is source patching sources patching script interpreter paths in . ./scripts/azworker.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/bench: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/diff-example.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/purge-terraform.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/verify-release-binaries.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/plandiff: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/log2html.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/roachtest-gobench.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/pprof: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/torch: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/ls-files.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/localmetrics/import-csv.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./scripts/goescape: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/tag-custom-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/git-blame-stats.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./scripts/winworker.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/deplicense.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/gceworker.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./scripts/authors.sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./tools/bazel: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/testdata/psql/test-psql.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/testdata/psql/test-psql-unix.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/testdata/psql/test-psql-notls.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/prepare.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/compose/gss/kdc/start.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/acceptance/compose/gss/psql/start.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/acceptance/compose/gss/python/start.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/acceptance/run.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachtest/roachstress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachprod/docker/entrypoint.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachprod/docker/build.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/roachprod/docker/push.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/cmd/bazci/testdata/bazel-bin/pkg/cmd/fake_bin/fake_bin_/fake_bin: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/geo/wkt/generate.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/geo/geomfn/bench.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/compose/prepare.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/compose/run.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/util/leaktest/add-leaktest.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/util/leaktest/check-leaktest.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/util/fsm/gen/reports.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/util/interval/generic/gen.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/ui/workspaces/db-console/scripts/font-gen: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/security/securitytest/test_certs/regenerate.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/roachprod/install/scripts/start_test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/pgwire/pgcode/generate.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./pkg/sql/parser/help_gen_test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/parser/sql-gen.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/catalog/catalogkv/testdata/unwrap_validation/fkupgrade/generate.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/sql/opt/testutils/opttester/testfixtures/rewrite_stats.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./pkg/ccl/sqlproxyccl/run_proxy.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-random-syntax.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-nightly-pebble-metamorphic.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-assert-clean.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-testrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/bootstrap-ssd.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/install-azure-cli.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/bootstrap-debian.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/autoshutdown.cron.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bootstrap/bootstrap-unison.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/testrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/maybe_stressrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/lint_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/maybe_stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/unit_tests_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/unit_tests.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/lint.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/bench_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/testrace_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/bench.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/tests/maybe_stress_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_impl.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_linux_x86_64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_windows_x86_64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_linux_arm64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity/cockroach/ci/builds/build_macos_x86_64.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-testlogic-verbose.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/go-version-check.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-publish-s3-binaries.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/verify-archive.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-verify-archive.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-weekly-roachtest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/bazel-generate.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/check.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/generate_redact_safe.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelutil/stamp.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/deploy/cockroach.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./build/release/teamcity-mark-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-build-internal-rc.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-publish-release.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-make-and-publish-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-build-qualified.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-update-latest-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-roachtest-qualification.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-publish-redhat-release.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-build-internal-test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/release/teamcity-mark-as-tested.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-publish-artifacts.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/toolchains/toolchainbuild/buildtoolchains.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/toolchains/toolchainbuild/perform-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-rebuild-agent.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/builder/mkrelease.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/builder/entrypoint.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-urlcheck.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/disable-hyperv-timesync.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-roachtest-invoke.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-compile-build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-docs-issue-generation.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-build-test-binary.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-build-toolchains.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-nightly-roachtest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-compile-builds.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-testlogicrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-trigger.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-reset-nightlies.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-compose.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-maybe-stressrace.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-bless-provisional-binaries.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-check.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-check-genfiles.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/werror.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/bazelbuilder/autom4te: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-maybe-stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-nightly-pebble.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-local-roachtest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-roachtest-stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/node-run.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-sqllogictest.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-stress.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-go-test-precompiled.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-acceptance.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-test-deadlock.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/vendor_rebuild.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/teamcity-bench.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./build/builder.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/post-checkout: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/prepare-commit-msg: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/post-rewrite: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/post-merge: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./githooks/commit-msg: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./cloud/kubernetes/demo.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/geos/tools/findclassfiles: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/tools/ci/script_autotools.sh: interpreter directive changed from "#!/bin/bash -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash -e" ./c-deps/geos/tools/ci/script_cmake.sh: interpreter directive changed from "#!/bin/bash -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash -e" ./c-deps/geos/tools/ci/script.sh: interpreter directive changed from "#!/bin/bash -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash -e" ./c-deps/geos/tools/astyle.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/debian/rules: interpreter directive changed from "#!/usr/bin/make -f" to "/nix/store/ba439awj33pw4l4bj95k4dy58nx69b8v-gnumake-4.3/bin/make -f" ./c-deps/geos/debian/makedoc: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/tests/xmltester/safe_to_xml.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/tests/xmltester/JTSXMLTester.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/geos/doc/example.tosql: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/lib/krb5/krb/transit-tests: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/lib/rpc/unit-test/rpc_test_setup.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kdc/rtscript: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/scripts/inst-hdrs.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/cli/k5srvutil.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/find-make.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/init_db: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/start_servers: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/env-setup.shin: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/stop_servers: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/stop_servers_local: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/kadmin/testing/scripts/start_servers_local: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/ren2long: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/mkinstalldirs: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/move-if-changed: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/config/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/check-ac-syms: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/getsyms: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/krb5-send-pr.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/lndir: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/trim-valgrind-logs: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/mkrel: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/ss/config_script: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/ss/mk_cmds.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/et/compile_et.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/util/et/config_script: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/krb5/src/tests/dejagnu/pkinit-certs/make-certs.sh: interpreter directive changed from "#!/bin/sh -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh -e" ./c-deps/krb5/src/tests/dejagnu/proxy-certs/make-certs.sh: interpreter directive changed from "#!/bin/sh -e" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh -e" ./c-deps/krb5/src/build-tools/krb5-config.in: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/proj/src/runmultistresstest.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/proj/travis/add_deploy_key.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/before_install.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/docker.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/build_docs.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/travis/deploy_website.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./c-deps/proj/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/build-aux/install-sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/build-aux/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/build-aux/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/coverage.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/jemalloc_mangle.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/jemalloc.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/private_namespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/smoothstep.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/size_classes.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/internal/public_namespace.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/jemalloc/include/jemalloc/jemalloc_rename.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/missing: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/compile: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./c-deps/libedit/depcomp: interpreter directive changed from "#! /bin/sh" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/sh" ./monitoring/demo/config/roach-init.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" ./dev: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iqprjr5k5385bhf1dzj07zwd5p43py1n-bash-5.1-p12/bin/bash" configuring building Building subPackage ./pkg/acceptance github.com/cockroachdb/errors/stdstrings github.com/cockroachdb/cockroach/pkg/build/bazel github.com/cockroachdb/cockroach/pkg/util/encoding/encodingtype golang.org/x/sys/internal/unsafeheader github.com/cockroachdb/cockroach/pkg/util/jsonbytes google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set github.com/cockroachdb/cockroach/pkg/util/ring google.golang.org/grpc/serviceconfig github.com/jaegertracing/jaeger/model/json github.com/lightstep/lightstep-tracer-go/constants github.com/eapache/queue github.com/cockroachdb/redact/internal/rfmt/fmtsort github.com/cockroachdb/cockroach/pkg/util/syncutil github.com/dustin/go-humanize github.com/cockroachdb/redact/interfaces github.com/spf13/pflag github.com/cockroachdb/redact/internal/fmtforward github.com/gogo/protobuf/sortkeys github.com/gogo/protobuf/proto github.com/kr/text github.com/cockroachdb/redact/internal/markers github.com/pkg/errors github.com/cockroachdb/redact/internal/redact github.com/cockroachdb/logtags github.com/cockroachdb/redact/internal/escape github.com/cockroachdb/sentry-go golang.org/x/tools/container/intsets github.com/kr/pretty github.com/cockroachdb/apd/v2 github.com/cockroachdb/redact/internal/buffer github.com/cockroachdb/cockroach/pkg/util/caller github.com/cockroachdb/redact/internal/rfmt golang.org/x/sys/unix gopkg.in/yaml.v2 github.com/cockroachdb/cockroach/pkg/util/log/logflags google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire github.com/cockroachdb/redact/builder google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/internal/version github.com/grpc-ecosystem/grpc-gateway/utilities google.golang.org/protobuf/reflect/protoreflect google.golang.org/grpc/codes github.com/cockroachdb/cockroach/pkg/util/humanizeutil google.golang.org/grpc/internal/grpclog github.com/cockroachdb/redact google.golang.org/grpc/metadata github.com/opentracing/opentracing-go/log google.golang.org/grpc/grpclog github.com/cockroachdb/cockroach/pkg/util/envutil github.com/cockroachdb/cockroach/pkg/cli/exit golang.org/x/net/context github.com/opentracing/opentracing-go github.com/cockroachdb/cockroach/pkg/util/randutil golang.org/x/net/internal/timeseries google.golang.org/grpc/backoff google.golang.org/grpc/connectivity google.golang.org/grpc/attributes google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/json github.com/opentracing/opentracing-go/ext golang.org/x/net/trace google.golang.org/grpc/internal/credentials google.golang.org/grpc/internal/grpcrand google.golang.org/protobuf/proto google.golang.org/grpc/encoding google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/balancerload google.golang.org/protobuf/internal/encoding/defval google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/grpcsync golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/net/http2/hpack google.golang.org/grpc/internal/syscall google.golang.org/grpc/keepalive google.golang.org/grpc/stats google.golang.org/grpc/tap github.com/shirou/gopsutil/internal/common github.com/lightstep/lightstep-tracer-go/lightstep/rand golang.org/x/text/unicode/norm github.com/davecgh/go-spew/spew google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc golang.org/x/text/secure/bidirule github.com/eapache/go-resiliency/breaker github.com/golang/snappy github.com/jcmturner/gofork/encoding/asn1 github.com/shirou/gopsutil/cpu github.com/shirou/gopsutil/mem github.com/shirou/gopsutil/net github.com/gogo/protobuf/protoc-gen-gogo/descriptor github.com/gogo/protobuf/types golang.org/x/net/idna github.com/lightstep/lightstep-tracer-common/golang/gogo/lightsteppb github.com/eapache/go-xerial-snappy github.com/jcmturner/gokrb5/v8/asn1tools github.com/jcmturner/dnsutils/v2 github.com/shirou/gopsutil/process github.com/jcmturner/gokrb5/v8/iana/etypeID github.com/hashicorp/go-uuid github.com/jcmturner/gokrb5/v8/iana/nametype github.com/jcmturner/gokrb5/v8/config github.com/jcmturner/gokrb5/v8/crypto/etype github.com/jcmturner/aescts/v2 golang.org/x/net/http/httpguts github.com/jcmturner/gokrb5/v8/crypto/common github.com/jcmturner/gofork/x/crypto/pbkdf2 github.com/jcmturner/gokrb5/v8/crypto/rfc3961 golang.org/x/net/http2 google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson github.com/jcmturner/gokrb5/v8/crypto/rfc3962 github.com/gogo/protobuf/gogoproto golang.org/x/crypto/md4 golang.org/x/crypto/pbkdf2 github.com/jcmturner/gokrb5/v8/iana/chksumtype github.com/jcmturner/gokrb5/v8/crypto/rfc8009 google.golang.org/protobuf/internal/impl github.com/cockroachdb/cockroach/pkg/geo/geopb github.com/cockroachdb/cockroach/pkg/kv/kvserver/concurrency/lock github.com/cockroachdb/cockroach/pkg/util/log/logpb github.com/jcmturner/gokrb5/v8/crypto/rfc4757 github.com/jcmturner/gokrb5/v8/iana/patype github.com/jcmturner/gokrb5/v8/iana github.com/jcmturner/gokrb5/v8/iana/addrtype github.com/jcmturner/gokrb5/v8/iana/asnAppTag github.com/jcmturner/gokrb5/v8/iana/errorcode github.com/jcmturner/gokrb5/v8/iana/flags github.com/jcmturner/gokrb5/v8/types github.com/jcmturner/gokrb5/v8/iana/keyusage github.com/jcmturner/gokrb5/v8/krberror github.com/jcmturner/gokrb5/v8/iana/adtype github.com/cockroachdb/cockroach/pkg/util/log/channel github.com/cockroachdb/cockroach/pkg/util/log/severity github.com/jcmturner/gokrb5/v8/iana/msgtype github.com/jcmturner/rpc/v2/ndr github.com/klauspost/compress/fse github.com/jcmturner/gokrb5/v8/crypto github.com/klauspost/compress/zstd/internal/xxhash github.com/pierrec/lz4/internal/xxh32 github.com/pierrec/lz4 github.com/klauspost/compress/huff0 github.com/jcmturner/rpc/v2/mstypes github.com/jcmturner/gokrb5/v8/keytab github.com/jcmturner/gokrb5/v8/gssapi github.com/cockroachdb/errors/errorspb github.com/gogo/protobuf/jsonpb github.com/cockroachdb/cockroach/pkg/util/tracing/tracingpb github.com/jcmturner/gokrb5/v8/credentials github.com/jcmturner/gokrb5/v8/pac github.com/klauspost/compress/zstd github.com/rcrowley/go-metrics golang.org/x/net/internal/socks github.com/jcmturner/gokrb5/v8/messages github.com/apache/thrift/lib/go/thrift github.com/cockroachdb/errors/errbase golang.org/x/net/proxy github.com/go-logfmt/logfmt github.com/opentracing-contrib/go-observer github.com/jcmturner/gokrb5/v8/kadmin github.com/openzipkin-contrib/zipkin-go-opentracing/flag github.com/openzipkin-contrib/zipkin-go-opentracing/types github.com/openzipkin-contrib/zipkin-go-opentracing/wire github.com/jcmturner/gokrb5/v8/client github.com/petermattis/goid github.com/cockroachdb/errors/markers github.com/cockroachdb/errors/barriers github.com/cockroachdb/errors/assert github.com/cockroachdb/errors/contexttags github.com/cockroachdb/errors/domains github.com/cockroachdb/errors/secondary github.com/cockroachdb/errors/withstack github.com/cockroachdb/errors/hintdetail github.com/cockroachdb/errors/issuelink github.com/cockroachdb/errors/safedetails github.com/cockroachdb/errors/telemetrykeys github.com/pmezard/go-difflib/difflib gopkg.in/DataDog/dd-trace-go.v1/ddtrace github.com/cockroachdb/errors/errutil github.com/cockroachdb/errors/report google.golang.org/protobuf/internal/filetype gopkg.in/DataDog/dd-trace-go.v1/ddtrace/ext gopkg.in/DataDog/dd-trace-go.v1/ddtrace/internal github.com/Shopify/sarama github.com/DataDog/datadog-go/statsd github.com/philhofer/fwd golang.org/x/time/rate golang.org/x/xerrors/internal github.com/openzipkin-contrib/zipkin-go-opentracing/thrift/gen-go/scribe google.golang.org/protobuf/runtime/protoimpl github.com/cockroachdb/errors github.com/openzipkin-contrib/zipkin-go-opentracing/thrift/gen-go/zipkincore github.com/tinylib/msgp/msgp google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb github.com/cockroachdb/cockroach/pkg/util/version github.com/cockroachdb/cockroach/pkg/util github.com/cockroachdb/cockroach/pkg/util/sysutil github.com/cockroachdb/cockroach/pkg/build github.com/cockroachdb/cockroach/pkg/util/log/eventpb github.com/cockroachdb/cockroach/pkg/util/log/logconfig github.com/cockroachdb/cockroach/pkg/util/fileutil github.com/cockroachdb/cockroach/pkg/util/timeutil github.com/cockroachdb/cockroach/pkg/testutils/skip github.com/cockroachdb/cockroach/pkg/settings github.com/cockroachdb/cockroach/pkg/util/iterutil github.com/cockroachdb/cockroach/pkg/util/uint128 google.golang.org/protobuf/reflect/protodesc github.com/golang/protobuf/protoc-gen-go/descriptor github.com/cockroachdb/cockroach/pkg/util/uuid github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration google.golang.org/protobuf/types/known/timestamppb github.com/golang/protobuf/ptypes/timestamp google.golang.org/protobuf/types/known/wrapperspb google.golang.org/genproto/googleapis/api/httpbody github.com/golang/protobuf/proto google.golang.org/protobuf/types/known/fieldmaskpb google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/api/annotations github.com/golang/protobuf/ptypes/wrappers golang.org/x/xerrors google.golang.org/genproto/protobuf/field_mask gopkg.in/DataDog/dd-trace-go.v1/internal github.com/google/uuid gopkg.in/DataDog/dd-trace-go.v1/internal/version github.com/cockroachdb/errors/oserror github.com/cockroachdb/ttycolor gopkg.in/DataDog/dd-trace-go.v1/internal/log gopkg.in/DataDog/dd-trace-go.v1/internal/globalconfig github.com/cockroachdb/cockroach/pkg/sql/pgwire/pgcode github.com/lib/pq/oid gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer github.com/lib/pq/scram github.com/cockroachdb/cockroach/pkg/util/arith github.com/golang/protobuf/descriptor github.com/golang/protobuf/jsonpb github.com/grpc-ecosystem/grpc-gateway/internal github.com/golang/protobuf/ptypes google.golang.org/grpc/credentials google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/status google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/resolver google.golang.org/grpc/internal google.golang.org/grpc/status google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/balancer google.golang.org/grpc/internal/channelz google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/binarylog google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/internal/resolver/dns github.com/grpc-ecosystem/grpc-gateway/runtime google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/resolver/passthrough github.com/cockroachdb/cockroach/pkg/docs google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/metadata google.golang.org/grpc/peer github.com/openzipkin-contrib/zipkin-go-opentracing gopkg.in/DataDog/dd-trace-go.v1/ddtrace/opentracer google.golang.org/grpc/internal/resolver/unix github.com/lib/pq github.com/cockroachdb/cockroach/pkg/cli/cliflags google.golang.org/grpc/internal/transport github.com/biogo/store/llrb github.com/gogo/googleapis/google/rpc github.com/cockroachdb/cockroach/pkg/util/interval github.com/golang/mock/gomock go.etcd.io/etcd/raft/v3/raftpb github.com/cockroachdb/cockroach/pkg/util/protoutil github.com/VividCortex/ewma github.com/codahale/hdrhistogram github.com/beorn7/perks/quantile github.com/cespare/xxhash/v2 github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs github.com/gogo/status github.com/cockroachdb/cockroach/pkg/sql/pgwire/pgerror github.com/prometheus/procfs/internal/util github.com/cockroachdb/cockroach/pkg/util/stringencoding github.com/prometheus/client_golang/prometheus/internal google.golang.org/grpc github.com/cockroachdb/cockroach/pkg/util/leaktest github.com/cockroachdb/cockroach/pkg/sql/lexbase github.com/cockroachdb/errors/extgrpc github.com/prometheus/procfs golang.org/x/crypto/blowfish # github.com/cockroachdb/cockroach/pkg/sql/lexbase pkg/sql/lexbase/predicates.go:45:17: undefined: reservedKeywords golang.org/x/crypto/ocsp golang.org/x/sync/errgroup github.com/prometheus/common/expfmt github.com/cockroachdb/cockroach/pkg/util/netutil/addr golang.org/x/crypto/bcrypt github.com/cockroachdb/cockroach/pkg/util/bitarray github.com/cockroachdb/cockroach/pkg/util/duration github.com/cockroachdb/cockroach/pkg/util/ipaddr github.com/cockroachdb/cockroach/pkg/util/errorutil/unimplemented github.com/cockroachdb/pebble/internal/invariants github.com/cockroachdb/pebble/internal/fastrand github.com/cockroachdb/pebble/vfs golang.org/x/exp/rand github.com/cockroachdb/cockroach/pkg/util/timeutil/pgdate github.com/cockroachdb/pebble/internal/rawalloc github.com/cockroachdb/cockroach/pkg/util/timeofday github.com/cockroachdb/pebble/internal/bytealloc github.com/cockroachdb/pebble/internal/manual github.com/cockroachdb/pebble/internal/humanize github.com/cockroachdb/pebble/internal/rate github.com/cockroachdb/pebble/internal/crc github.com/DataDog/zstd github.com/cockroachdb/pebble/internal/intern github.com/golang/geo/s1 github.com/cockroachdb/pebble/internal/base github.com/cockroachdb/pebble/vfs/atomicfs github.com/golang/geo/r1 github.com/cockroachdb/cockroach/pkg/util/timetz github.com/golang/geo/r3 github.com/golang/geo/r2 github.com/prometheus/client_golang/prometheus github.com/cockroachdb/cockroach/pkg/util/encoding github.com/cockroachdb/pebble/internal/arenaskl github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc github.com/lightstep/lightstep-tracer-common/golang/gogo/collectorpb github.com/cockroachdb/pebble/internal/batchskl github.com/cockroachdb/pebble/internal/manifest github.com/cockroachdb/pebble/internal/rangedel github.com/cockroachdb/pebble/record github.com/golang/geo/s2 github.com/twpayne/go-geom github.com/pierrre/geohash github.com/lightstep/lightstep-tracer-common/golang/gogo/metricspb github.com/twpayne/go-kml github.com/lightstep/lightstep-tracer-go/internal/metrics github.com/prometheus/client_golang/prometheus/graphite github.com/cockroachdb/pebble/internal/private github.com/lightstep/lightstep-tracer-go github.com/cockroachdb/cockroach/pkg/geo/geos github.com/twpayne/go-geom/xy/orientation github.com/twpayne/go-geom/xy/internal/robustdeterminate github.com/twpayne/go-geom/xy/location github.com/cockroachdb/cockroach/pkg/geo/wkt github.com/twpayne/go-geom/encoding/wkbcommon github.com/twpayne/go-geom/encoding/geojson github.com/twpayne/go-geom/encoding/ewkb github.com/twpayne/go-geom/encoding/kml github.com/cockroachdb/pebble/internal/cache github.com/twpayne/go-geom/encoding/wkb github.com/twpayne/go-geom/encoding/wkt github.com/twpayne/go-geom/encoding/ewkbhex github.com/twpayne/go-geom/bigxy github.com/twpayne/go-geom/sorting github.com/twpayne/go-geom/transform github.com/twpayne/go-geom/xy/internal github.com/twpayne/go-geom/xy/internal/raycrossing github.com/twpayne/go-geom/xy/internal/hcoords github.com/twpayne/go-geom/xy/lineintersection github.com/cockroachdb/cockroach/pkg/util/tracing github.com/twpayne/go-geom/xy/internal/centralendpoint github.com/cockroachdb/cockroach/pkg/kv/kvbase github.com/twpayne/go-geom/encoding/wkbhex gopkg.in/yaml.v3 golang.org/x/text/internal/tag github.com/twpayne/go-geom/xy/lineintersector github.com/cockroachdb/cockroach/pkg/sql/pgwire/pgnotice golang.org/x/text/internal/language github.com/cockroachdb/cockroach/pkg/sql/privilege github.com/twpayne/go-geom/xy github.com/cockroachdb/cockroach/pkg/sql/oidext github.com/cockroachdb/cockroach/pkg/util/treeprinter github.com/cockroachdb/cockroach/pkg/geo/geographiclib github.com/cockroachdb/cockroach/pkg/geo/geodist github.com/cockroachdb/cockroach/pkg/util/unique github.com/cockroachdb/cockroach/pkg/util/pretty github.com/google/go-cmp/cmp/internal/flags github.com/cockroachdb/cockroach/pkg/util/log github.com/google/go-cmp/cmp/internal/diff golang.org/x/text/internal/language/compact github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value github.com/containerd/containerd/errdefs golang.org/x/text/language github.com/sirupsen/logrus github.com/google/go-cmp/cmp github.com/stretchr/testify/assert golang.org/x/text/internal/colltab github.com/containerd/containerd/log github.com/opencontainers/go-digest golang.org/x/text/collate github.com/opencontainers/image-spec/specs-go github.com/stretchr/testify/require github.com/docker/docker/api/types/blkiodev github.com/opencontainers/image-spec/specs-go/v1 github.com/docker/distribution/digestset github.com/containerd/containerd/platforms github.com/docker/distribution/reference github.com/cockroachdb/cockroach/pkg/util/hlc github.com/cockroachdb/cockroach/pkg/util/metric github.com/cockroachdb/cockroach/pkg/util/contextutil github.com/cockroachdb/cockroach/pkg/util/quotapool github.com/cockroachdb/cockroach/pkg/util/log/logcrash github.com/cockroachdb/cockroach/pkg/util/errorutil github.com/cockroachdb/cockroach/pkg/util/retry github.com/cockroachdb/cockroach/pkg/util/cache github.com/docker/docker/api/types/mount github.com/docker/docker/api/types/strslice github.com/docker/go-connections/nat github.com/docker/go-units github.com/cockroachdb/cockroach/pkg/server/telemetry github.com/docker/docker/api/types/versions github.com/docker/docker/api/types/container github.com/docker/docker/api/types/filters github.com/cockroachdb/cockroach/pkg/sql/sqltelemetry github.com/docker/docker/api/types/network github.com/docker/docker/api/types/registry github.com/cockroachdb/cockroach/pkg/sql/roleoption github.com/docker/docker/api/types/swarm/runtime github.com/docker/docker/api/types/events github.com/docker/docker/api github.com/docker/docker/api/types/image github.com/docker/docker/api/types/time github.com/docker/distribution/registry/api/errcode github.com/docker/docker/api/types/swarm github.com/docker/go-connections/sockets github.com/docker/docker/api/types github.com/docker/docker/errdefs github.com/docker/go-connections/tlsconfig github.com/moby/term github.com/morikuni/aec github.com/docker/docker/api/types/volume github.com/docker/docker/pkg/stdcopy github.com/docker/docker/client github.com/mattn/go-isatty github.com/docker/docker/pkg/jsonmessage github.com/cockroachdb/cockroach/pkg/storage/enginepb github.com/cockroachdb/cockroach/pkg/kv/kvserver/readsummary/rspb github.com/cockroachdb/cockroach/pkg/geo/geoprojbase github.com/cockroachdb/cockroach/pkg/roachpb github.com/cockroachdb/cockroach/pkg/util/stop github.com/cockroachdb/cockroach/pkg/sql/inverted github.com/cockroachdb/cockroach/pkg/clusterversion github.com/cockroachdb/cockroach/pkg/keys github.com/cockroachdb/cockroach/pkg/settings/cluster github.com/cockroachdb/cockroach/pkg/util/mon github.com/cockroachdb/cockroach/pkg/sql/catalog/catconstants github.com/cockroachdb/cockroach/pkg/geo github.com/cockroachdb/cockroach/pkg/geo/geosegmentize github.com/cockroachdb/cockroach/pkg/util/json github.com/cockroachdb/cockroach/pkg/geo/geogfn github.com/cockroachdb/cockroach/pkg/geo/geomfn github.com/cockroachdb/cockroach/pkg/geo/geoindex github.com/cockroachdb/pebble/sstable github.com/cockroachdb/pebble builder for '/nix/store/6b7j06423fzjbrqcssc6638f6iy5h5l1-cockroach-21.2.4.drv' failed with exit code 1 error: build of '/nix/store/6b7j06423fzjbrqcssc6638f6iy5h5l1-cockroach-21.2.4.drv' failed

I really don't know why it failed here.

I'm really not familiar enough with golang here to know where to go from here. Even the default buildPhase, I'm not familiar with what any of the go * commands actually do.

@rail
Copy link

rail commented Jan 19, 2022

No worries. I can try poking around later today.

@rail
Copy link

rail commented Jan 20, 2022

I made some progress last night, but still not there.

This is my current patch against the last commit in this PR.

It builds until yarn tries to download some files that are missing in the pkg/ui/yarn-vendor directory. Probably there may be a workaround, but better to solve the issue upstream.

Also found this one: cockroachdb/cockroach#75137

@turion
Copy link
Contributor

turion commented Jan 21, 2022

Does someone have a Mac to build this with? We can't build 21.1.* on a Mac anymore because of cockroachdb/cockroach#70819, it seems.

@ankhers
Copy link
Contributor Author

ankhers commented Jan 21, 2022

Unfortunately I do not have a mac to test this with.

It builds until yarn tries to download some files that are missing in the pkg/ui/yarn-vendor directory. Probably there may be a workaround, but better to solve the issue upstream.

Also found this one: cockroachdb/cockroach#75137

Any idea on a time frame to have this fixed upstream @rail?

@turion
Copy link
Contributor

turion commented Feb 4, 2022

@ankhers We should go forward with this somehow. Maybe we can merge with 20.2 & 21.1, and open issues for everything that's not yet working? Such as:

  • 21.2
  • 22.* (coming soon)
  • integration tests
  • 21.1 on macos

@ankhers
Copy link
Contributor Author

ankhers commented Apr 12, 2022

Sorry for the huge delay on this. I will get 20.2 and 21.1 merged and then look into the other issues. Give me a bit of time to clean it up and I will push something in the next few days.

@turion
Copy link
Contributor

turion commented Jun 9, 2022

@ankhers how is it going? Can you resolve the conflict?

@turion
Copy link
Contributor

turion commented Nov 4, 2022

@Rain we tried to build with your patch, but it didn't work with nix-build . -A cockroachdb_21_1:

[...]
make protobufjs-cli-fix-deps
make[1]: Entering directory '/build/go/src/github.com/cockroachdb/cockroach'
sh: line 1: ps: command not found
Running make with -j12
GOPATH set to /build/go
which: no ccache in (/build/go/src/github.com/cockroachdb/cockroach/bin:/nix/store/wy3nidvssv59q0yrxcmn8wyjk9xk6bxz-go-1.18.5/bin:/nix/store/rqabgfsx9hs3imzvgcnldjsa9zbdaasp-yarn-1.22.19/bin:/nix/store/lkpq4lvgjvcm2sb8lpwccjfj3v7hd5yj-git-2.37.2/bin:/nix/store/xjg2fzw513iig1cghd4mvcq5fh2cyv4y-cmake-3.24.0/bin:/nix/store/x167mv1qdkmk1s4mw1kb56s3rfw1ff9h-xz-5.2.5-bin/bin:/nix/store/5a1dvjmgdxcm6jp10s0xxic3n0q3d4rl-which-2.21/bin:/nix/store/8wawpsramclcwsdyd9b4zwz56kz8j42d-autoconf-2.71/bin:/nix/store/zwd4xhxsklsqsqn5vgz4zdw33wkmiw77-patchelf-0.15.0/bin:/nix/store/n95cd4q1dqzdvsiy1hmrkx9shwi3n4sh-gcc-wrapper-11.3.0/bin:/nix/store/8rx9i9c5lh5rmz31y6ndh7j3nslnk8cp-gcc-11.3.0/bin:/nix/store/kjknajcldbcfwz92lq92njk5b52y5vzv-glibc-2.35-163-bin/bin:/nix/store/mj6wiv9gbbydh06x2i4fl5a9ksdck7c5-coreutils-9.1/bin:/nix/store/n73cfcbgf1bs3rvcp8bgcfgi9dr5bbgc-binutils-wrapper-2.38/bin:/nix/store/frriydwnf7v3dpayy5a6ki00qsp95iiy-binutils-2.38/bin:/nix/store/mj6wiv9gbbydh06x2i4fl5a9ksdck7c5-coreutils-9.1/bin:/nix/store/nqwkgzay3m6ynr4qz42ypx576s7ckp24-findutils-4.9.0/bin:/nix/store/kdjh27abb5zqy267vh4jyg5hifkgls04-diffutils-3.8/bin:/nix/store/n62963g6w2fj8hnka006wycqwx9pqw5q-gnused-4.8/bin:/nix/store/zpjn33mx0pbfc71ddfi9sc8pdfqrsh8z-gnugrep-3.7/bin:/nix/store/7rd34k5jnjwhpk7i9dwjc9xd93psp4gg-gawk-5.1.1/bin:/nix/store/a9g8ybypk5a7id2w733zysimy7iflrqx-gnutar-1.34/bin:/nix/store/j19qj61afxq0bvw2m2pdzhxbwwmbhsqw-gzip-1.12/bin:/nix/store/fkwmqzinrwwj56ch0zn2lzsbpn16am1s-bzip2-1.0.8-bin/bin:/nix/store/3nb49dj29gxmbmbx9r7a5l4sqcxclhgk-gnumake-4.3/bin:/nix/store/1b9p07z77phvv2hf6gm9f28syp39f1ag-bash-5.1-p16/bin:/nix/store/vd6dg2052y5vmfknb7pv9zr1n1pp58yb-patch-2.7.6/bin:/nix/store/x167mv1qdkmk1s4mw1kb56s3rfw1ff9h-xz-5.2.5-bin/bin:/nix/store/j752yi6l87bfdblcxjcpisn6ynb7izw7-file-5.42/bin)
Warning: 'ccache' not found, consider installing it for faster builds
which: no bazel in (/build/go/src/github.com/cockroachdb/cockroach/bin:/nix/store/wy3nidvssv59q0yrxcmn8wyjk9xk6bxz-go-1.18.5/bin:/nix/store/rqabgfsx9hs3imzvgcnldjsa9zbdaasp-yarn-1.22.19/bin:/nix/store/lkpq4lvgjvcm2sb8lpwccjfj3v7hd5yj-git-2.37.2/bin:/nix/store/xjg2fzw513iig1cghd4mvcq5fh2cyv4y-cmake-3.24.0/bin:/nix/store/x167mv1qdkmk1s4mw1kb56s3rfw1ff9h-xz-5.2.5-bin/bin:/nix/store/5a1dvjmgdxcm6jp10s0xxic3n0q3d4rl-which-2.21/bin:/nix/store/8wawpsramclcwsdyd9b4zwz56kz8j42d-autoconf-2.71/bin:/nix/store/zwd4xhxsklsqsqn5vgz4zdw33wkmiw77-patchelf-0.15.0/bin:/nix/store/n95cd4q1dqzdvsiy1hmrkx9shwi3n4sh-gcc-wrapper-11.3.0/bin:/nix/store/8rx9i9c5lh5rmz31y6ndh7j3nslnk8cp-gcc-11.3.0/bin:/nix/store/kjknajcldbcfwz92lq92njk5b52y5vzv-glibc-2.35-163-bin/bin:/nix/store/mj6wiv9gbbydh06x2i4fl5a9ksdck7c5-coreutils-9.1/bin:/nix/store/n73cfcbgf1bs3rvcp8bgcfgi9dr5bbgc-binutils-wrapper-2.38/bin:/nix/store/frriydwnf7v3dpayy5a6ki00qsp95iiy-binutils-2.38/bin:/nix/store/mj6wiv9gbbydh06x2i4fl5a9ksdck7c5-coreutils-9.1/bin:/nix/store/nqwkgzay3m6ynr4qz42ypx576s7ckp24-findutils-4.9.0/bin:/nix/store/kdjh27abb5zqy267vh4jyg5hifkgls04-diffutils-3.8/bin:/nix/store/n62963g6w2fj8hnka006wycqwx9pqw5q-gnused-4.8/bin:/nix/store/zpjn33mx0pbfc71ddfi9sc8pdfqrsh8z-gnugrep-3.7/bin:/nix/store/7rd34k5jnjwhpk7i9dwjc9xd93psp4gg-gawk-5.1.1/bin:/nix/store/a9g8ybypk5a7id2w733zysimy7iflrqx-gnutar-1.34/bin:/nix/store/j19qj61afxq0bvw2m2pdzhxbwwmbhsqw-gzip-1.12/bin:/nix/store/fkwmqzinrwwj56ch0zn2lzsbpn16am1s-bzip2-1.0.8-bin/bin:/nix/store/3nb49dj29gxmbmbx9r7a5l4sqcxclhgk-gnumake-4.3/bin:/nix/store/1b9p07z77phvv2hf6gm9f28syp39f1ag-bash-5.1-p16/bin:/nix/store/vd6dg2052y5vmfknb7pv9zr1n1pp58yb-patch-2.7.6/bin:/nix/store/x167mv1qdkmk1s4mw1kb56s3rfw1ff9h-xz-5.2.5-bin/bin:/nix/store/j752yi6l87bfdblcxjcpisn6ynb7izw7-file-5.42/bin)
Warning: 'bazel' not found (`brew install bazel` for macs)
make[1]: warning: -j12 forced in makefile: resetting jobserver mode.
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
github.com/gogo/protobuf/protoc-gen-gogo/descriptor
fatal: not a git repository (or any of the parent directories): .git
# Prevent ProtobufJS from trying to install its own packages because a) the
# the feature is buggy, and b) it introduces an unnecessary dependency on NPM.
# See: https://github.com/dcodeIO/protobuf.js/issues/716.
# We additionally pin the dependencies by linking in a lock file for
# reproducable builds.
build/node-run.sh pkg/ui/bin/gen-protobuf-cli-deps.js > pkg/ui/node_modules/protobufjs/cli/package.json
make[1]: *** [Makefile:365: protobufjs-cli-fix-deps] Error 126
make[1]: Leaving directory '/build/go/src/github.com/cockroachdb/cockroach'
make: *** [Makefile:378: pkg/ui/yarn.protobuf.installed] Error 2
build/node-run.sh: pkg/ui/bin/gen-protobuf-cli-deps.js: /usr/bin/env: bad interpreter: No such file or directory
-- Looking for include file unistd.h - found
-- Looking for 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - found
-- Looking for localeconv
google.golang.org/protobuf/internal/filetype
github.com/mwitkow/go-proto-validators
google.golang.org/protobuf/runtime/protoimpl
-- Looking for localeconv - found
-- Looking for ceil in m
google.golang.org/protobuf/types/known/durationpb
google.golang.org/protobuf/types/known/timestamppb
google.golang.org/protobuf/types/descriptorpb
github.com/golang/protobuf/proto
github.com/golang/protobuf/ptypes/timestamp
github.com/golang/protobuf/ptypes/duration
honnef.co/go/tools/functions
honnef.co/go/tools/internal/passes/buildir
honnef.co/go/tools/ir/irutil
honnef.co/go/tools/facts
-- Looking for ceil in m - found
CMake Deprecation Warning at cmake/policies.cmake:2 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  CMakeLists.txt:44 (include)


-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
honnef.co/go/tools/lint
github.com/golang/protobuf/protoc-gen-go/descriptor
google.golang.org/protobuf/types/pluginpb
github.com/golang/protobuf/jsonpb
google.golang.org/genproto/googleapis/api/annotations
github.com/pseudomuto/protoc-gen-doc/extensions/validator_field
github.com/envoyproxy/protoc-gen-validate/validate
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test HAVE_PTHREAD_MUTEX_RECURSIVE
github.com/golang/protobuf/protoc-gen-go/plugin
github.com/grpc-ecosystem/grpc-gateway/codegenerator
github.com/pseudomuto/protokit
honnef.co/go/tools/lint/lintutil/format
honnef.co/go/tools/code
honnef.co/go/tools/pattern
honnef.co/go/tools/report
github.com/pseudomuto/protoc-gen-doc/extensions/google_api_http
honnef.co/go/tools/lint/lintutil
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor
-- Performing Test HAVE_PTHREAD_MUTEX_RECURSIVE - Success
-- PROJ_PLATFORM_NAME                       = x64 
-- PROJ_COMPILER_NAME                       = gcc-11.3.0 
-- PROJ4_TESTS                              = ON 
-- 
honnef.co/go/tools/unused
-- Configuring proj library: 
-- 
-- JNI_SUPPORT                              = OFF 
-- PROJ_CORE_TARGET                         = proj 
-- PROJ_CORE_TARGET_OUTPUT_NAME             = proj 
-- PROJ_LIBRARY_TYPE                        = STATIC 
-- PROJ_LIBRARIES                           = proj 
-- Configuring done
github.com/pseudomuto/protoc-gen-doc
github.com/pseudomuto/protoc-gen-doc/extensions/envoyproxy_validate
-- Generating done
-- Build files have been written to: /build/go/native/x86_64-unknown-linux-gnu/proj
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway
github.com/pseudomuto/protoc-gen-doc/extensions/lyft_validate
github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
honnef.co/go/tools/edit
honnef.co/go/tools/lint/lintdsl
honnef.co/go/tools/internal/sharedcheck
honnef.co/go/tools/stylecheck
honnef.co/go/tools/simple
honnef.co/go/tools/staticcheck
honnef.co/go/tools/cmd/staticcheck
touch bin/.bootstrap

There are several things here that might be errors, but I don't know which are:

  • sh: line 1: ps: command not found
  • Warning: 'ccache' not found, consider installing it for faster builds
  • Warning: 'bazel' not found (brew install bazel for macs)
  • fatal: not a git repository (or any of the parent directories): .git
  • build/node-run.sh: pkg/ui/bin/gen-protobuf-cli-deps.js: /usr/bin/env: bad interpreter: No such file or directory

The first error is strange: Why would ps be needed at compile time?
I don't understand the last error. What isn't a git repository here?

@Mic92
Copy link
Member

Mic92 commented Feb 9, 2023

This is one of the most terrible bazel projects I have seen so far...

This is my escape hatch:

{ stdenv, fetchurl, autoPatchelfHook, lib }:
stdenv.mkDerivation rec {
  pname = "cockroachdb";
  version = "22.2.3";
  src = fetchurl {
    url = "https://binaries.cockroachdb.com/cockroach-v${version}.linux-amd64.tgz";
    sha256 = "sha256-CHuk4lYf6YQiOmcAcjkHuzL3PW/o55G99a5JjbKF4NY=";
  };
  buildInputs = [ stdenv.cc.cc ];
  nativeBuildInputs = [ autoPatchelfHook ];

  installPhase = ''
    install -D -m755 cockroach $out/bin/cockroach
    cp -r lib $out/lib
  '';
  meta = with lib; {
    homepage = "https://www.cockroachlabs.com";
    description = "A scalable, survivable, strongly-consistent SQL database";
    platforms = [ "x86_64-linux" ];
    maintainers = with maintainers; [ mic92 ];
  };
}

@Mic92
Copy link
Member

Mic92 commented Feb 9, 2023

They use bazelisk to pull in a custom bazel version. This can be circumvented by deleting .bazelversion and tools/bazel, than you would still need bazel 5 because newer versions will not build. Also it pulls tons of dependencies i.e. there own go compiler.

@turion
Copy link
Contributor

turion commented Feb 9, 2023

This is my escape hatch:

Actually, that could be really useful! Do you want to add a cockroach-bin package?

there own go compiler.

😨

@SuperSandro2000
Copy link
Member

Can we close this? I don't see much progress in the last year.

@ankhers ankhers closed this Jun 28, 2023
@neosimsim neosimsim mentioned this pull request Jun 30, 2023
10 tasks
@neosimsim
Copy link
Contributor

I also stopped trying to build cockroach from source but just had the idea that we could use the pre-build release. Maybe this workes better in the future

#240683

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/where-did-you-get-stuck-in-the-nix-ecosystem-tell-me-your-story/31415/48

@ankhers ankhers mentioned this pull request Aug 21, 2023
12 tasks
@aaronjheng aaronjheng mentioned this pull request Sep 29, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants