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

distrho: Fix build on non x86_64 platforms #34316

Closed
wants to merge 1 commit into from

Conversation

adisbladis
Copy link
Member

@adisbladis adisbladis commented Jan 27, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.

cc @magnetophon

@adisbladis
Copy link
Member Author

@GrahamcOfBorg build distrho

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: x86_64-darwin

Package ‘distrho-ports-unstable-2017-10-10’ in /tmp/nix-ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/audio/distrho/default.nix:40 is not supported on ‘x86_64-darwin’, refusing to evaluate.

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

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

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: aarch64-linux

     AudioProcessorEditor *editor = getActiveEditor();
                                                    ^
make[3]: *** [Dexed.lv2/Dexed.make:123: intermediate/Release/PluginProcessor.o] Error 1
make[2]: *** [Makefile:22: Dexed.lv2/Dexed] Error 2
make[2]: Leaving directory '/build/DISTRHO-Ports-e11e2b2/ports/dexed/LV2'
make[1]: *** [Makefile:24: lv2] Error 2
make[1]: Leaving directory '/build/DISTRHO-Ports-e11e2b2/ports'
make: *** [Makefile:102: lv2] Error 2
builder for '/nix/store/jvx6kg46dpfa1mj33w8ny23v7dvifjcm-distrho-ports-unstable-2017-10-10.drv' failed with exit code 2
error: build of '/nix/store/jvx6kg46dpfa1mj33w8ny23v7dvifjcm-distrho-ports-unstable-2017-10-10.drv' failed

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Success for system: x86_64-linux

shrinking /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/lib/lv2/JuceDemoPlugin.lv2/JuceDemoPlugin.so
shrinking /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/lib/lv2/Wolpertinger.lv2/Wolpertinger.so
shrinking /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/lib/lv2/drumsynth.lv2/drumsynth.so
shrinking /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/lib/lv2/drowaudio-distortion.lv2/drowaudio-distortion.so
shrinking /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/lib/lv2/Obxd.lv2/Obxd.so
strip is /nix/store/mdyy001q67hiks0g24ra53z7ckm4jfr4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/lib  /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10/bin 
patching script interpreter paths in /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10
checking for references to /tmp/nix-build-distrho-ports-unstable-2017-10-10.drv-0 in /nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10...
/nix/store/4kh2fqdicljbw0bgdj5z5fxsf9l3naym-distrho-ports-unstable-2017-10-10

@adisbladis
Copy link
Member Author

@GrahamcOfBorg build distrho

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: x86_64-darwin

Package ‘distrho-ports-unstable-2018-01-01’ in /tmp/nix-ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/audio/distrho/default.nix:41 is not supported on ‘x86_64-darwin’, refusing to evaluate.

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

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

Full log: https://logs.nix.gsc.io/?key=nixos/nixpkgs.34316

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: aarch64-linux

     AudioProcessorEditor *editor = getActiveEditor();
                                                    ^
make[3]: *** [Dexed.lv2/Dexed.make:123: intermediate/Release/PluginProcessor.o] Error 1
make[2]: *** [Makefile:22: Dexed.lv2/Dexed] Error 2
make[2]: Leaving directory '/build/source/ports/dexed/LV2'
make[1]: *** [Makefile:24: lv2] Error 2
make[1]: Leaving directory '/build/source/ports'
make: *** [Makefile:102: lv2] Error 2
builder for '/nix/store/ydh9zvyn7fpd0z0avxnkd0iaxjxfpxci-distrho-ports-unstable-2018-01-01.drv' failed with exit code 2
error: build of '/nix/store/ydh9zvyn7fpd0z0avxnkd0iaxjxfpxci-distrho-ports-unstable-2018-01-01.drv' failed

Full log: https://logs.nix.gsc.io/?key=nixos/nixpkgs.34316

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Success for system: x86_64-linux

shrinking /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/lib/lv2/JuceDemoPlugin.lv2/JuceDemoPlugin.so
shrinking /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/lib/lv2/Wolpertinger.lv2/Wolpertinger.so
shrinking /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/lib/lv2/drumsynth.lv2/drumsynth.so
shrinking /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/lib/lv2/drowaudio-distortion.lv2/drowaudio-distortion.so
shrinking /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/lib/lv2/Obxd.lv2/Obxd.so
strip is /nix/store/mdyy001q67hiks0g24ra53z7ckm4jfr4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/lib  /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01/bin 
patching script interpreter paths in /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01
checking for references to /tmp/nix-build-distrho-ports-unstable-2018-01-01.drv-0 in /nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01...
/nix/store/03g1m4rpxcjynbh4kw8zpsrw0f7q5q4x-distrho-ports-unstable-2018-01-01

Full log: https://logs.nix.gsc.io/?key=nixos/nixpkgs.34316

@Mic92
Copy link
Member

Mic92 commented Feb 10, 2018

This is still work in progress?

@adisbladis adisbladis closed this Jun 3, 2018
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