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

pyslurm: bump to unbreak (master) #33656

Merged
merged 1 commit into from Jan 9, 2018
Merged

pyslurm: bump to unbreak (master) #33656

merged 1 commit into from Jan 9, 2018

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Jan 9, 2018

Fixes: bd9512f ('slurm: 17.02.6 -> 17.02.9 for CVE-2017-15566')
(cherry picked from commit e5aa746)

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.

Fixes: bd9512f ('slurm: 17.02.6 -> 17.02.9 for CVE-2017-15566')
(cherry picked from commit e5aa746)
@veprbl veprbl requested a review from FRidh as a code owner January 9, 2018 16:58
@veprbl
Copy link
Member Author

veprbl commented Jan 9, 2018

@GrahamcOfBorg build python3Packages.pyslurm python2Packages.pyslurm

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 ‘slurm-17.02.9’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/servers/computing/slurm/default.nix:45 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.

@veprbl veprbl mentioned this pull request Jan 9, 2018
8 tasks
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

gcc -pthread -shared build/temp.linux-x86_64-3.6/pyslurm/pyslurm.o -L -L/slurm -L/nix/store/4wqa1whb42khic67rv9jgip30nxmaii8-python3-3.6.4/lib -Wl,--enable-new-dtags,-R/ -Wl,--enable-new-dtags,-R/slurm -lslurmdb -lslurm -lpython3.6m -o /tmp/nix-build-python3.6-pyslurm-20171102.drv-0/source/pyslurm/pyslurm.cpython-36m-x86_64-linux-gnu.so
/nix/store/a7g1z3cbip7gsd8qwnd3w8qmng9jh43x-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/dist.py:349: UserWarning: Normalizing '17.02.0' to '17.2.0'
  normalized_version,

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/nma4m8d1i127hqlkb9fp17fy20ds8jcs-python3.6-pyslurm-20171102
/nix/store/ixnl04qipfgkb1nmpniaapffyabmp8h2-python2.7-pyslurm-20171102

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: aarch64-linux


OK
gcc -pthread -shared -lgcc_s build/temp.linux-aarch64-2.7/pyslurm/pyslurm.o -L -L/slurm -L/nix/store/m7b50lpkgb5jgdxrzgqay9z5jc61mgvb-python-2.7.14/lib -Wl,-R/ -Wl,-R/slurm -lslurmdb -lslurm -lpython2.7 -o /build/source/pyslurm/pyslurm.so

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/apxvd33sl4xypg2fzgl0s4jjmqf7ivhd-python3.6-pyslurm-20171102
/nix/store/n5hvn64m3fg0dg5rqik0lfih76rlp70p-python2.7-pyslurm-20171102

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