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

clickhouse: 18.14.9 -> 18.14.18 #52345

Merged
merged 2 commits into from Dec 20, 2018
Merged

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/clickhouse/versions.

meta.description for clickhouse is: '"Column-oriented database management system"'.

Compare changes on GitHub

Checks done (click to expand)
  • built on NixOS
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-report had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-server had a zero exit code or showed the expected version
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-client passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-local passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-benchmark passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-performance-test passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-copier passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-extract-from-config passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-compressor passed the binary check.
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-format had a zero exit code or showed the expected version
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-obfuscator passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-odbc-bridge passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-clang passed the binary check.
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-lld passed the binary check.
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-test had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-test-server had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/config-processor had a zero exit code or showed the expected version
  • /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/corrector_utf8 passed the binary check.
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse-zookeeper-cli had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin/clickhouse had a zero exit code or showed the expected version
  • 12 of 20 passed binary check by having a zero exit code.
  • 2 of 20 passed binary check by having the new version present in output.
  • found 18.14.18 with grep in /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18
  • directory tree listing: https://gist.github.com/87160b8da3952522296ee5a3b4b1c19b
  • du listing: https://gist.github.com/689dd7f3bea1fe97f0b8d0e7bdd2a248
Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
clickhouse

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A clickhouse https://github.com/r-ryantm/nixpkgs/archive/4852a6c9522927dff0ddceea9c2eb4d894cb6952.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18
ls -la /nix/store/vm87ngzyw68dnkvc1iydy5zc8dzpxabr-clickhouse-18.14.18/bin

cc @orivej for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
@Ma27
Copy link
Member

Ma27 commented Dec 19, 2018

The package itself seems fine, but the module breaks (obviously for a while now) as the package tries to log everything to /var/log. Currently working on a fix, I'll push it tomorrow :)

@Ma27
Copy link
Member

Ma27 commented Dec 20, 2018

@orivej I added some minor fixes to fix the module. Unless you have anything to add I'd merge tomorrow :)

Although the package itself builds fine, the module fails because it
tries to log into a non-existant file in `/var/log` which breaks the
service. Patching to default config to log to stdout by default fixes
the issue. Additionally this is the better solution as NixOS heavily
relies on systemd (and thus journald) for logging.

Also, the runtime relies on `/etc/localtime` to start, as it's not
required by the module system we set UTC as sensitive default when using
the module.

To ensure that the service's basic functionality is available, a simple
NixOS test has been added.
@Ma27 Ma27 self-assigned this Dec 20, 2018
@Ma27
Copy link
Member

Ma27 commented Dec 20, 2018

@Mic92 anything to add from your side? Otherwise I'd merge this PR to master :)

@Ma27
Copy link
Member

Ma27 commented Dec 20, 2018

merging for now (as the module is also broken on master).

@Ma27 Ma27 merged commit 87ebc2a into NixOS:master Dec 20, 2018
@r-ryantm r-ryantm deleted the auto-update/clickhouse branch December 24, 2018 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants