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

HybridReverb2: init at 2.1.1 #49080

Merged
merged 1 commit into from Nov 1, 2018
Merged

HybridReverb2: init at 2.1.1 #49080

merged 1 commit into from Nov 1, 2018

Conversation

magnetophon
Copy link
Member

@magnetophon magnetophon commented Oct 24, 2018

Motivation for this change
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.

};

src = fetchFromGitHub {
owner = owner;
Copy link
Member

Choose a reason for hiding this comment

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

if you prefer, you can write inherit owner;

};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake lv2 alsaLib libjack2 freetype libX11 gtk3 pcre
Copy link
Member

Choose a reason for hiding this comment

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

cmake is probably a nativeBuildInput

@magnetophon
Copy link
Member Author

@symphorien Thanks, done!

@xeji
Copy link
Contributor

xeji commented Oct 29, 2018

@GrahamcOfBorg build hybridreverb2

@GrahamcOfBorg
Copy link

Unexpected error: command failed with exit code 1 on aarch64-linux (full log)

Attempted: hybridreverb2

Partial log (click to expand)

remote: Total 2793 (delta 558), reused 854 (delta 259), pack-reused 0
Receiving objects: 100% (2793/2793), 8.82 MiB | 6.60 MiB/s, done.
Resolving deltas: 100% (558/558), done.
From https://github.com/jpcima/JUCE
 * branch            develop+lv2-HybridReverb2 -> FETCH_HEAD
 * [new branch]      develop+lv2-HybridReverb2 -> origin/develop+lv2-HybridReverb2
Switched to a new branch 'fetchgit'
removing `.git'...
cannot build derivation '/nix/store/6q2q1lj68znbzzk6yasvh7pkpd8dq3jx-HybridReverb2-2.1.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/6q2q1lj68znbzzk6yasvh7pkpd8dq3jx-HybridReverb2-2.1.1.drv' failed

@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: hybridreverb2

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

Unexpected error: command failed with exit code 1 on x86_64-linux (full log)

Attempted: hybridreverb2

Partial log (click to expand)


trying https://github.com/jpcima/HybridReverb2-impulse-response-database/archive/v1.0.0.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151    0   151    0     0    275      0 --:--:-- --:--:-- --:--:--   275
100 25.3M    0 25.3M    0     0  11.3M      0 --:--:--  0:00:02 --:--:-- 18.7M
unpacking source archive /build/v1.0.0.zip
fixed-output derivation produced path '/nix/store/jq3imbfd825izhwc91394k24fs93js1l-source' with sha256 hash '1hlfxbbkahm1k2sk3c3n2mjaz7k80ky3r55xil8nfbvbv0qan89z' instead of the expected hash '1dha2kra50i86wvwbx7k1wgr2ws742583y1cnk2p8h58cdi4ynsl'
cannot build derivation '/nix/store/0vja2xm6sg7fvllg5sc2p76adnqfg7j9-HybridReverb2-2.1.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/0vja2xm6sg7fvllg5sc2p76adnqfg7j9-HybridReverb2-2.1.1.drv' failed

xeji
xeji previously requested changes Oct 29, 2018
Copy link
Contributor

@xeji xeji left a comment

Choose a reason for hiding this comment

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

Fix hash mismatch.

@magnetophon
Copy link
Member Author

@xeji Thanks, done.

@xeji
Copy link
Contributor

xeji commented Oct 31, 2018

@GrahamcOfBorg build hybridreverb2

@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: hybridreverb2

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

Failure on x86_64-linux (full log)

Attempted: hybridreverb2

Partial log (click to expand)

-- Installing: /nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/applications/hybridreverb2.desktop
-- Installing: /nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/pixmaps/HybridReverb2.png
-- Installing: /nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/icons/hicolor/32x32/apps/HybridReverb2.png
-- Installing: /nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/icons/hicolor/96x96/apps/HybridReverb2.png
-- Installing: /nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/man/man1/hybridreverb2.1
-- Installing: /nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/man/fr/man1/hybridreverb2.1
cp: missing destination file operand after '/nix/store/3piabi5ffyf5s3508kc74ynngqyqncz6-HybridReverb2-2.1.1/share/HybridReverb2/'
Try 'cp --help' for more information.
builder for '/nix/store/fms2ipg50m8r55mymwi5gzakdq3ff17x-HybridReverb2-2.1.1.drv' failed with exit code 1
error: build of '/nix/store/fms2ipg50m8r55mymwi5gzakdq3ff17x-HybridReverb2-2.1.1.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: hybridreverb2

Partial log (click to expand)

-- Installing: /nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/applications/hybridreverb2.desktop
-- Installing: /nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/pixmaps/HybridReverb2.png
-- Installing: /nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/icons/hicolor/32x32/apps/HybridReverb2.png
-- Installing: /nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/icons/hicolor/96x96/apps/HybridReverb2.png
-- Installing: /nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/man/man1/hybridreverb2.1
-- Installing: /nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/man/fr/man1/hybridreverb2.1
cp: missing destination file operand after '/nix/store/jxjh21k5v10vf4nwmi9yjzmkx1f9ghkf-HybridReverb2-2.1.1/share/HybridReverb2/'
Try 'cp --help' for more information.
builder for '/nix/store/nwjpmwkmps60ybznmcczbigl2blk80xs-HybridReverb2-2.1.1.drv' failed with exit code 1
error: build of '/nix/store/nwjpmwkmps60ybznmcczbigl2blk80xs-HybridReverb2-2.1.1.drv' failed

Copy link
Contributor

@xeji xeji left a comment

Choose a reason for hiding this comment

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

Build fails, looks like a bug in postInstall.

@magnetophon
Copy link
Member Author

@xeji: Fixed. Sorry for not testing my other fix.

@xeji
Copy link
Contributor

xeji commented Nov 1, 2018

@GrahamcOfBorg build hybridreverb2

@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: hybridreverb2

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: hybridreverb2

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1
shrinking /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1/bin/HybridReverb2
shrinking /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1/lib/lv2/HybridReverb2.lv2/HybridReverb2_LV2.so
shrinking /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1/lib/vst/HybridReverb2_VST2.so
gzipping man pages under /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1/lib  /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1/bin
patching script interpreter paths in /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1
checking for references to /build in /nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1...
/nix/store/h9h693xysbsjfpkn00k7kzl00r6g48f3-HybridReverb2-2.1.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: hybridreverb2

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1
shrinking /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1/lib/vst/HybridReverb2_VST2.so
shrinking /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1/lib/lv2/HybridReverb2.lv2/HybridReverb2_LV2.so
shrinking /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1/bin/HybridReverb2
gzipping man pages under /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1/lib  /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1/bin
patching script interpreter paths in /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1
checking for references to /build in /nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1...
/nix/store/2pki6i66qnyv0fivmc7jz0g66ymkhm05-HybridReverb2-2.1.1

Copy link
Contributor

@xeji xeji left a comment

Choose a reason for hiding this comment

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

Thank you.

@xeji xeji merged commit 5a5ef43 into NixOS:master Nov 1, 2018
@magnetophon magnetophon deleted the hybridreverb2 branch November 1, 2018 20:56
DBversion = "1.0.0";
in

stdenv.mkDerivation rec {
Copy link
Contributor

Choose a reason for hiding this comment

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

rec is probably not needed, since you have a let block. I have not thoroughly checked though.

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