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

LizardFS: 3.11.3 -> 3.12.0, add Berkeley DB support #50904

Merged
merged 2 commits into from Nov 25, 2018

Conversation

kliu128
Copy link

@kliu128 kliu128 commented Nov 22, 2018

Motivation for this change

LizardFS 3.12.0 is out. Also, Berkeley DB is a nice name caching system that reduces the memory usage of the master server a little.

I have been using these commits for a while in a private fork of Nixpkgs.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@markuskowa
Copy link
Member

pkgs/tools/filesystems/lizardfs/spdlog.nix Outdated Show resolved Hide resolved
pkgs/tools/filesystems/lizardfs/default.nix Outdated Show resolved Hide resolved
@markuskowa
Copy link
Member

@GrahamcOfBorg build lizardfs

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: lizardfs

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: lizardfs

Partial log (click to expand)

shrinking /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/bin/lizardfs-admin
gzipping man pages under /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/share/man/
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/bin  /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/sbin
patching script interpreter paths in /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0
/nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/sbin/mfsrestoremaster: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n1kfdl37qpzh3xn6klbym1ay6xpxvmw1-bash-4.4-p23/bin/bash"
/nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/bin/mfstools.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n1kfdl37qpzh3xn6klbym1ay6xpxvmw1-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0...
moving /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/sbin/* to /nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0/bin
/nix/store/7r1rrxfhmmvaay17hwy6ydlndh7vj108-lizardfs-3.12.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: lizardfs

Partial log (click to expand)

shrinking /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/sbin/mfsmetalogger
gzipping man pages under /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/share/man/
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/bin  /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/sbin
patching script interpreter paths in /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0
/nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/bin/mfstools.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n2hjbpkf4c0m48945ivxs3lmsczzw2rg-bash-4.4-p23/bin/bash"
/nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/sbin/mfsrestoremaster: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n2hjbpkf4c0m48945ivxs3lmsczzw2rg-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0...
moving /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/sbin/* to /nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0/bin
/nix/store/1fs5s72wcvpvb7jfmd5598ll2mijsahj-lizardfs-3.12.0

@markuskowa
Copy link
Member

@GrahamcOfBorg build lizardfs

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: lizardfs

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: lizardfs

Partial log (click to expand)

shrinking /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/bin/lizardfs-admin
gzipping man pages under /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/share/man/
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/bin  /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/sbin
patching script interpreter paths in /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0
/nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/sbin/mfsrestoremaster: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n1kfdl37qpzh3xn6klbym1ay6xpxvmw1-bash-4.4-p23/bin/bash"
/nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/bin/mfstools.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n1kfdl37qpzh3xn6klbym1ay6xpxvmw1-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0...
moving /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/sbin/* to /nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0/bin
/nix/store/h5hv6la7ycbq17ccn67gkglqdag7003x-lizardfs-3.12.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: lizardfs

Partial log (click to expand)

shrinking /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/sbin/mfsmaster
gzipping man pages under /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/share/man/
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/bin  /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/sbin
patching script interpreter paths in /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0
/nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/bin/mfstools.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n2hjbpkf4c0m48945ivxs3lmsczzw2rg-bash-4.4-p23/bin/bash"
/nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/sbin/mfsrestoremaster: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/n2hjbpkf4c0m48945ivxs3lmsczzw2rg-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0...
moving /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/sbin/* to /nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0/bin
/nix/store/hpinc1viy97w9vr403n2yyg8a1dqzhj9-lizardfs-3.12.0

@markuskowa markuskowa merged commit 3a393ee into NixOS:master Nov 25, 2018
@kliu128 kliu128 deleted the lizardfs-update branch November 25, 2018 01: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

3 participants