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
sasview: fix build #40433
sasview: fix build #40433
Conversation
/cc @xeji @rprospero |
Success on x86_64-linux (full log) Attempted: sasview Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: sasview Partial log (click to expand)
|
not an aarch64 user, should be simply restrict the build platforms? |
Did this build on aarch64 (ever) before? If not, let's restrict it. Otherwise, I'd leave it as is and maybe someone else can fix it.
|
@xeji neither x86 nor aarch64 built previously according to Hydra:
It appears to be a dependency failure ( |
Well, you just fixed sasmodels, so that shouldn't be a problem any more.
Since the aarch64 failure above is unrelated ( timeout building python), let's leave it as is and see if it builds on Hydra.
|
The package breaks currently breaks with the following message: ``` fixed-output derivation produced path '/nix/store/5dh1mdj027ad8sprk12fqa5h5bpdxs5n-sasview' with sha256 hash '12k1w4yq1mzjxcp2cqb562c7cbwzhi54rsbmgi0fax0i1660q167' instead of the expected hash '05la54wwzzlkhmj8vkr0bvzagyib6z6mgwqbddzjs5y1wd48vpcx' ``` To fix the build the following changes were applied: * Switched to latest master for now as the older releases have a broken `py.test` configuration and altering hashes. * Added `checkPhase` which invokes `py.test` directly and drops duplicated files from `dist/tmpbuild`. * Rebased the patches `pyparsing-fix.patch` and `local_config.patch` for the latest master revision. Additionally refer to the discussion in NixOS#40381 for further reference.
Success on x86_64-linux (full log) Attempted: sasview Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: sasview Partial log (click to expand)
|
Motivation for this change
The package breaks currently breaks with the following message:
To fix the build the following changes were applied:
Switched to latest master for now as the older releases have a broken
py.test
configuration and altering hashes.Added
checkPhase
which invokespy.test
directly and dropsduplicated files from
dist/tmpbuild
.Rebased the patches
pyparsing-fix.patch
andlocal_config.patch
forthe latest master revision.
Additionally refer to the discussion in #40381 for further reference.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)