-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
blendfarm: init at 1.1.6; nixos/blendfarm: init #306516
Conversation
da04f4d
to
c5630bf
Compare
BTW, the title of the PR by convention should look more like `blenderfarm: init at 1.1.6; nixos/blenderfarm: init" or something like that |
Result of 2 packages blacklisted:
1 package failed to build:
|
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.
Looks like there are some missing dependencies:
error: 1 dependencies of derivation '/nix/store/ax98w9ms9yam8x2g5639ilcraxpp1qa3-review-shell.drv' failed to build
┏━ 1 Errors:
⋮
┃ > libpng12.so.0 -> found: /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm
┃ > libexif.so.12 -> found: /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm
┃ > libfontconfig.so.1 -> found: /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm
┃ > setting RPATH to: /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm
┃ > searching for dependencies of /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm/libpixman-1.so.0
┃ > searching for dependencies of /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm/libexif.so.12
┃ > auto-patchelf: 10 dependencies could not be satisfied
┃ > warn: auto-patchelf ignoring missing libpcre.so.3 wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm/libgl…
┃ > error: auto-patchelf could not satisfy dependency libssl.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blender…
┃ > error: auto-patchelf could not satisfy dependency libgssapi_krb5.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib…
┃ > error: auto-patchelf could not satisfy dependency libicui18n.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/ble…
┃ > error: auto-patchelf could not satisfy dependency libicuuc.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blend…
┃ > warn: auto-patchelf ignoring missing liblzma.so.5 wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blenderfarm/libti…
┃ > error: auto-patchelf could not satisfy dependency libssl.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blender…
┃ > error: auto-patchelf could not satisfy dependency libgssapi_krb5.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib…
┃ > error: auto-patchelf could not satisfy dependency libicui18n.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/ble…
┃ > error: auto-patchelf could not satisfy dependency libicuuc.so wanted by /nix/store/17f6ig92mhhz0wyxc8d8mz0m08jiixka-blenderfarm-1.1.6/lib/blend…
┃ > auto-patchelf failed to find all the required dependencies.
┃ > Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.
┃ For full logs, run 'nix log /nix/store/k3xb7978r226kif4r4zi1jy8yggzr4hr-blenderfarm-1.1.6.drv'.
That is really interessting! |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package blacklisted:
1 package built:
|
Result of 1 package built:
|
Result of 2 packages blacklisted:
1 package built:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1724 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1760 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4161 |
Result of 2 packages blacklisted:
1 package built:
|
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.
Is this blendfarm or blenderfarm? According to https://github.com/LogicReinc/LogicReinc.BlendFarm it is the former.
Result of 1 package blacklisted:
1 package built:
|
Darn, you're absolutely right. I changed it. Thanks for your review! |
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.
LGTM
f6a5d16
to
a0f9023
Compare
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
a0f9023
to
f312bdb
Compare
Description of changes
Init of blendfarm
blendfarm
is an "open-source, cross-platform, stand-alone, Network Renderer for Blender".It can support chunking and rendering of still-images as well as animations over the network.
Due to its architecture it needs some workarounds for the client (which is basically the master and has a GUI) and the server (which is a headless worker).
For the server part this PR implements a nixos systemd service which the client can connect to.
The workarounds are necessary due to
blendfarm
reading and writing to the directory it is executed from. This can have some undesired sideeffects (such as having renders and setting files in different directories). By adding a custom scriptblendfarm-nix
this is fixed by changing the directory before executing the client.Also
blendfarm
wants to download blender on all systems by itself and tries to use this downloaded vanilla version. This obviously doesn't work for nixos. Thereforeblendfarm-nix
links to blender and installs a version callednix-blender
. The server systemd service also installs such anix-blender
version. By doing so,blendfarm
can use this version on the client and server and both are agreeing on this version.Tested locally on several nixos x86_64-linux machines and VM's.
Still to do: Build and test for darwin.✔️Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.