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
Conversation
@GrahamcOfBorg build distrho |
There was a problem hiding this 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.
There was a problem hiding this 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
There was a problem hiding this 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
@GrahamcOfBorg build distrho |
There was a problem hiding this 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.
There was a problem hiding this 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
There was a problem hiding this 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
This is still work in progress? |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)cc @magnetophon