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

python36Packages.cvxopt: 1.2.1 -> 1.2.2 #49994

Merged
merged 3 commits into from Nov 20, 2018

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Nov 9, 2018

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-cvxopt/versions.

meta.description for python36Packages.cvxopt is: '"Python Software for Convex Optimization"'.

Checks done (click to expand)
Outpath report (click to expand)

Outpath difference report
10 total rebuild paths

4 package rebuilds

4 x86_64-linux rebuilds
2 i686-linux rebuilds
2 x86_64-darwin rebuilds
2 aarch64-linux rebuilds

First ten rebuilds by attrpath
python27Packages.cvxopt
python36Packages.cvxopt
sage
sageWithDoc

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/qzrxzj1q6lrph2dzqz6g3mzg9l8nvx53-python3.6-cvxopt-1.2.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A python36Packages.cvxopt https://github.com/r-ryantm/nixpkgs/archive/2df88cb6f93d55a72c8f660a4fc063c9f7a56a88.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/qzrxzj1q6lrph2dzqz6g3mzg9l8nvx53-python3.6-cvxopt-1.2.2
ls -la /nix/store/qzrxzj1q6lrph2dzqz6g3mzg9l8nvx53-python3.6-cvxopt-1.2.2/bin

cc @edwtjo for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-cvxopt/versions
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python36Packages.cvxopt

Partial log (click to expand)


22: -3.1548e+02 -3.1553e+02  7e-01  1e-06  8e-05  1e-03
23: -3.1537e+02 -3.1540e+02  5e-01  7e-07  5e-05  9e-04
24: -3.1536e+02 -3.1540e+02  9e-01  9e-07  7e-05  2e-03
25: -3.1533e+02 -3.1536e+02  5e-01  7e-07  6e-05  1e-03
26: -3.1515e+02 -3.1517e+02  3e-01  3e-07  2e-05  7e-04
27: -3.1503e+02 -3.1504e+02  3e-02  3e-08  2e-06  8e-05
28: -3.1502e+02 -3.1502e+02  3e-04  3e-10  3e-08  8e-07
29: -3.1502e+02 -3.1502e+02  3e-06  3e-12  3e-10  8e-09
Optimal solution found.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python36Packages.cvxopt

Partial log (click to expand)

removing redundant constraint 'LF1100B4'
removing redundant constraint 'LF1100B5'
removing redundant constraint 'LF1102B1'
removing redundant constraint 'LF1102B2'
removing redundant constraint 'LF1102B3'
removing redundant constraint 'LF1102B4'
removing redundant constraint 'LF1200B1'
removing redundant constraint 'LF1201B1'
builder for '/nix/store/zx2sg6xf9ifkwsp7wsj7vya6i1k30023-python3.6-cvxopt-1.2.2.drv' failed with exit code 1
error: build of '/nix/store/zx2sg6xf9ifkwsp7wsj7vya6i1k30023-python3.6-cvxopt-1.2.2.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python36Packages.cvxopt

Partial log (click to expand)

21: -3.1605e+02 -3.1621e+02  2e+00  4e-06  3e-04  5e-03
22: -3.1548e+02 -3.1553e+02  7e-01  1e-06  8e-05  1e-03
23: -3.1537e+02 -3.1540e+02  5e-01  7e-07  5e-05  9e-04
24: -3.1536e+02 -3.1540e+02  9e-01  9e-07  7e-05  2e-03
25: -3.1533e+02 -3.1536e+02  5e-01  7e-07  6e-05  1e-03
26: -3.1515e+02 -3.1517e+02  3e-01  3e-07  2e-05  7e-04
27: -3.1503e+02 -3.1504e+02  3e-02  3e-08  2e-06  8e-05
28: -3.1502e+02 -3.1502e+02  3e-04  3e-10  3e-08  8e-07
29: -3.1502e+02 -3.1502e+02  3e-06  3e-12  3e-10  8e-09
Optimal solution found.

@timokau
Copy link
Member

timokau commented Nov 10, 2018

Darwin failure is not a regression: https://hydra.nixos.org/job/nixpkgs/trunk/python36Packages.cvxopt.x86_64-darwin

CC @jbaum98 who I think originally added darwin support.

@timokau
Copy link
Member

timokau commented Nov 12, 2018

@NixOS/darwin-maintainers anyone interested in debugging the cvxopt darwin failure or should I just disable support?

@LnL7
Copy link
Member

LnL7 commented Nov 12, 2018

Looks like the libraries in suitesparse are the actual issue, the install_name are pointing to the build directory instead of the output.

The build created libraries with an install_name that points to the
build directory instead of the installation prefix.  Causing errors like
this when other packages try to link against it's libraries.

    Library not loaded: /private/tmp/nix-build-suitesparse-5.3.0.drv-0/SuiteSparse/lib/libcholmod.3.0.12.dylib
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python36Packages.cvxopt, suitesparse

Partial log (click to expand)

21: -3.1605e+02 -3.1621e+02  2e+00  4e-06  3e-04  5e-03
22: -3.1548e+02 -3.1553e+02  7e-01  1e-06  8e-05  1e-03
23: -3.1537e+02 -3.1540e+02  5e-01  7e-07  5e-05  9e-04
24: -3.1536e+02 -3.1540e+02  9e-01  9e-07  7e-05  2e-03
25: -3.1533e+02 -3.1536e+02  5e-01  7e-07  6e-05  1e-03
26: -3.1515e+02 -3.1517e+02  3e-01  3e-07  2e-05  7e-04
27: -3.1503e+02 -3.1504e+02  3e-02  3e-08  2e-06  8e-05
28: -3.1502e+02 -3.1502e+02  3e-04  3e-10  3e-08  8e-07
29: -3.1502e+02 -3.1502e+02  3e-06  3e-12  3e-10  8e-09
Optimal solution found.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python36Packages.cvxopt, suitesparse

Partial log (click to expand)

23: -3.1537e+02 -3.1540e+02  5e-01  7e-07  5e-05  9e-04
24: -3.1536e+02 -3.1540e+02  9e-01  9e-07  7e-05  2e-03
25: -3.1533e+02 -3.1536e+02  5e-01  7e-07  6e-05  1e-03
26: -3.1515e+02 -3.1517e+02  3e-01  3e-07  2e-05  7e-04
27: -3.1503e+02 -3.1504e+02  3e-02  3e-08  2e-06  8e-05
28: -3.1502e+02 -3.1502e+02  3e-04  3e-10  3e-08  8e-07
29: -3.1502e+02 -3.1502e+02  3e-06  3e-12  3e-10  8e-09
Optimal solution found.
/nix/store/11zvbpdga7yh2mkx6jb5acax1xylim8i-python3.6-cvxopt-1.2.2
/nix/store/ggh3f0kgm987ccryhwxspzzal0jr6jrb-suitesparse-5.3.0

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python36Packages.cvxopt, suitesparse

Partial log (click to expand)

removing redundant constraint 'LF1100B4'
removing redundant constraint 'LF1100B5'
removing redundant constraint 'LF1102B1'
removing redundant constraint 'LF1102B2'
removing redundant constraint 'LF1102B3'
removing redundant constraint 'LF1102B4'
removing redundant constraint 'LF1200B1'
removing redundant constraint 'LF1201B1'
builder for '/nix/store/db1wan6jvq090l742q0lx8jymwqys4l1-python3.6-cvxopt-1.2.2.drv' failed with exit code 1
error: build of '/nix/store/db1wan6jvq090l742q0lx8jymwqys4l1-python3.6-cvxopt-1.2.2.drv' failed

@LnL7
Copy link
Member

LnL7 commented Nov 13, 2018

Hrm, looks like that's too late since the libraries reference each other. Not sure how much work it is to fix the build system, previous versions worked fine tho.

@timokau
Copy link
Member

timokau commented Nov 13, 2018

Yes it used to work. I don't really understand the problem but if there is a concrete issue in the build system we could report that upstream.

Thank you for looking into it :)

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: suitesparse

Partial log (click to expand)

these paths will be fetched (14.28 MiB download, 68.82 MiB unpacked):
  /nix/store/1mr5kl3nx74plgwyp99lmjr08x13m1zw-gfortran-7.3.0-lib
  /nix/store/j0fbs9gz178cknpzrpvngald2ca5msvy-suitesparse-5.3.0
  /nix/store/k7q2kh3mhfsd53wiy0fyxcm02klq2i0k-openblas-0.3.3
  /nix/store/wcg2bimzqhqza2vz86hbf2q904pkfy85-glibc-2.27
copying path '/nix/store/wcg2bimzqhqza2vz86hbf2q904pkfy85-glibc-2.27' from 'https://cache.nixos.org'...
copying path '/nix/store/1mr5kl3nx74plgwyp99lmjr08x13m1zw-gfortran-7.3.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/k7q2kh3mhfsd53wiy0fyxcm02klq2i0k-openblas-0.3.3' from 'https://cache.nixos.org'...
copying path '/nix/store/j0fbs9gz178cknpzrpvngald2ca5msvy-suitesparse-5.3.0' from 'https://cache.nixos.org'...
/nix/store/j0fbs9gz178cknpzrpvngald2ca5msvy-suitesparse-5.3.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: suitesparse

Partial log (click to expand)

/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/libldl.2.2.6.dylib: fixing dylib
/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/libmetis.dylib: fixing dylib
/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/librbio.2.2.6.dylib: fixing dylib
/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/libspqr.2.0.8.dylib: fixing dylib
/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/libsuitesparse.dylib: fixing dylib
/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/libsuitesparseconfig.5.3.0.dylib: fixing dylib
/nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib/libumfpack.5.7.7.dylib: fixing dylib
strip is /nix/store/rk3p99jbj4idl3dkkg1rxja5gz0qgs98-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0/lib
patching script interpreter paths in /nix/store/rpy2fxqjx1p9znl02qs8zjr982a6icl0-suitesparse-5.3.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: suitesparse

Partial log (click to expand)

shrinking /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib/libcamd.so.2.4.6
shrinking /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib/libccolamd.so.2.9.6
shrinking /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib/libbtf.so.1.2.6
shrinking /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib/libamd.so.2.4.6
shrinking /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib/libmetis.so
shrinking /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib/libsuitesparseconfig.so.5.3.0
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0/lib
patching script interpreter paths in /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0
checking for references to /build in /nix/store/i5iqdd4y450x69idx7xh9f75gasgndjn-suitesparse-5.3.0...

@timokau timokau merged commit 6059bf8 into NixOS:master Nov 20, 2018
@r-ryantm r-ryantm deleted the auto-update/python3.6-cvxopt branch December 8, 2018 22:27
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

4 participants