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

[18.03]: Cherry-pick various fixes from master #38823

Merged
merged 8 commits into from Apr 12, 2018

Conversation

xeji
Copy link
Contributor

@xeji xeji commented Apr 12, 2018

Motivation for this change

ZHF #36453 . Fix various builds on 18.03 by cherry-picking from master, mostly version bumps.


Ma27 and others added 8 commits April 12, 2018 08:19
The `1822-release` build breaks on Hydra, some days ago the stable
`2.2.0` release has been tagged on upstream.

It required some new build inputs (zlib, curl, SDL2_mixer, python3) and
some minor changes in the cmakeFlags and makeFlags for the build.

See https://hydra.nixos.org/build/71818713/log
See ticket NixOS#36453 and NixOS#31747

(cherry picked from commit d7894d0)
(cherry picked from commit 00823f0)
(cherry picked from commit fbf29e5)
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/hpx/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/xg48bc9gkcq2hyk51hxy5s7x8l0s70r9-hpx-1.1.0/bin/hpxrun.py -h` got 0 exit code
- ran `/nix/store/xg48bc9gkcq2hyk51hxy5s7x8l0s70r9-hpx-1.1.0/bin/hpxrun.py --help` got 0 exit code
- found 1.1.0 with grep in /nix/store/xg48bc9gkcq2hyk51hxy5s7x8l0s70r9-hpx-1.1.0
- found 1.1.0 in filename of file in /nix/store/xg48bc9gkcq2hyk51hxy5s7x8l0s70r9-hpx-1.1.0
- directory tree listing: https://gist.github.com/377d8c673231332bb40acb55fed39e53

(cherry picked from commit e28170c)
- add ncurses: configure links against ncurses and fails otherwise
    configure: error: Could not link test program to Python.
    https://travis-ci.org/NixOS/nixpkgs/builds/48759067
    The given hint (Maybe the main Python library has been installed
    in some non-standard library path) is misleading.
    The config.log reveals that the failure is due to missing ncurses link option
- with-boost-libdir is need to find Boost::IOStreams/regex/etc.
- expat/cgal are detected in /usr/lib when not specified explicitly
- boost > boost159 is needed to have -lboost_python3 (and -lboost_python)

- set pythonModule = Python;
  => inorder to be used in python.buildEnv { extraLibs = [..]; }

tested on MacOSX and in a linux Docker container with:
> nix-shell -I nixpkgs=. -p python2.pkgs.graph-tool
> nix-shell -I nixpkgs=. -p python3.pkgs.graph-tool

(cherry picked from commit a842f0e)
* pygame_sdl2: 6.99.10.1227 -> 2.1.0-6.99.14

* renpy: 6.99.12.4 -> 6.99.14

(cherry picked from commit f83cbf2)
Also disable on Py3k due to syntax errors.

(cherry picked from commit 85e3b5b)
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: commandergenius, openshift

The following builds were skipped because they don't evaluate on aarch64-linux: hpx, opendylan

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0
shrinking /nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0/bin/oc
shrinking /nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0/bin/openshift
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0/bin
patching script interpreter paths in /nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0
checking for references to /build in /nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0...
/nix/store/wqirshh5n3d1r8fj46yl55zhwc0mq7pb-commandergenius-2.2.0
/nix/store/bh27in7v7nhishry5bqhnfbgf0vbdc3r-openshift-origin-3.9.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: commandergenius, hpx, opendylan, openshift

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/6i0ga5bqczwfz147rayc7nf0sw16w2y8-commandergenius-2.2.0
shrinking /nix/store/6i0ga5bqczwfz147rayc7nf0sw16w2y8-commandergenius-2.2.0/bin/CGeniusExe
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/6i0ga5bqczwfz147rayc7nf0sw16w2y8-commandergenius-2.2.0/bin
patching script interpreter paths in /nix/store/6i0ga5bqczwfz147rayc7nf0sw16w2y8-commandergenius-2.2.0
checking for references to /tmp/nix-build-commandergenius-2.2.0.drv-0 in /nix/store/6i0ga5bqczwfz147rayc7nf0sw16w2y8-commandergenius-2.2.0...
/nix/store/6i0ga5bqczwfz147rayc7nf0sw16w2y8-commandergenius-2.2.0
/nix/store/kzrqmpzfylaq0mll868qmgqbb24fwxwr-hpx-1.1.0
/nix/store/rbbxyvdnrck4ifa9lsgnwy4jksm54flw-opendylan-2016.1pre
/nix/store/q11jz1wzgmcc7y96cpp2a9by5h61dr91-openshift-origin-3.9.0

@xeji
Copy link
Contributor Author

xeji commented Apr 12, 2018

/cc @vcunat

@vcunat vcunat self-assigned this Apr 12, 2018
@vcunat vcunat merged commit 2a9fdf9 into NixOS:release-18.03 Apr 12, 2018
vcunat added a commit that referenced this pull request Apr 12, 2018
@vcunat
Copy link
Member

vcunat commented Apr 12, 2018

Thanks! All of them seem good.

@xeji xeji deleted the misc-fixes-18.03 branch April 12, 2018 21:09
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

10 participants