Closed dimpase closed 5 years ago
Description changed:
---
+++
@@ -1 +1,7 @@
+```
+SAGE_SPKG_CONFIGURE([arb], [
+ AC_CHECK_HEADER(arb.h, [], [sage_spkg_install_arb=yes])
+dnl below function added in version 2.16 of arb
+ AC_SEARCH_LIBS([acb_mat_eig_simple], [arb], [break], [sage_spkg_install_arb=yes])
+```
Dependencies: #27264
this does not implement --with-arb=...
, as I hope it's not needed.
And no other packages have --with-arb=
, too.
Last 10 new commits:
50aebab | implement --with-mpfr=system/install |
0fc433f | update for Sage 8.7.rc0, a typo fix |
38427e1 | spkg-configure for mpc, adjustments for its dependees |
ec32471 | Merge branch 'u/dimpase/packages/mpc-config' of trac.sagemath.org:sage into mpf |
91f423f | rebase, deal with --with-mpc |
33edfa8 | Merge branch 'mpf' into flintconf - no spkg-configure yet |
82772d7 | spkg-configure for flint |
24f17d5 | testi for GC enabled |
c1ac4f2 | proper nesting of tests |
46b529e | spkg-configure for arb |
Branch: u/dimpase/packages/arbconfig
Tests pass, apart from this amusing doctest failure:
File "src/sage/misc/package.py", line 282, in sage.misc.package.installed_packages
Failed example:
installed_packages()
Expected:
{...'arb': ...'pynac': ...}
Got:
{'.dummy': '',
'alabaster': '0.7.12',
'appnope': '0.1.0.p0',
...
Less amusing is that with arb manually installed to /usr/local on Gentoo Linux, I get a import error upon Sage startup, from deep inside sagelib.
I have to start Sage as LD_LIBRARY_PATH=/usr/local/lib64 ./sage
, otherwise
I get
ImportError: libarb.so.2: cannot open shared object file: No such file or directory
I do have /usr/local/lib64
in /etc/ld.so.conf
, by the way.
Does this mean we need do jump through some linking hoops here?
I certainly can add a proper runtime test in spkg-configure.m4
, but why?
Replying to @dimpase:
Less amusing is that with arb manually installed to /usr/local on Gentoo Linux, I get a import error upon Sage startup, from deep inside sagelib.
oops, my fault. Forgot to run ldconfig after the installation. (maybe arb should do it for you, cf. https://github.com/fredrik-johansson/arb/issues/273).
Branch pushed to git repo; I updated commit sha1. New commits:
961886d | arb can be dummy, don't mention it in packages doctest |
Upstream: Reported upstream. No feedback yet.
upstream report not directly relevant to this ticket, bit OK.
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually)
Branch pushed to git repo; I updated commit sha1. New commits:
7a9c768 | typo in parameter |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
1357bef | implement --with-mpfr=system/install |
e7d04e7 | spkg-configure for mpc, adjustments for its dependees |
fb3aec7 | rebase, deal with --with-mpc |
30b85f7 | spkg-configure for flint |
e17167e | testi for GC enabled |
d7f3747 | proper nesting of tests |
88209e0 | typo in parameter |
329b835 | rebase, deal with --with-mpc |
447ab2d | spkg-configure for arb |
1ed5dbb | arb can be dummy, don't mention it in packages doctest |
OK, so this branch has mpfr (#27258) mpc (#27259) ntl (#27265) flint (#27264) and, naturally, arb. Would be great to have it all reviewed in one go...
Branch pushed to git repo; I updated commit sha1. New commits:
c09667d | configure bump |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
0392e76 | rebase, deal with --with-mpc |
73ce2a9 | spkg-configure for flint |
37fa1a1 | testi for GC enabled |
4f6434c | proper nesting of tests |
a672706 | typo in parameter |
013dfbe | typo |
e698ffc | corrected rebase |
8fc4fb6 | add dependency checks, remove unneeded `-with` handling |
1ad182d | SAGE_CONFIGURE_MPFR, fix sage-env-config.in, arb can be dummy |
9de7419 | added dependency check |
rebased over #27264, added dependency check
Description changed:
---
+++
@@ -5,3 +5,5 @@
dnl below function added in version 2.16 of arb
AC_SEARCH_LIBS([acb_mat_eig_simple], [arb], [break], [sage_spkg_install_arb=yes])
+ +configure tarball https://github.com/sagemath/sage-prod/files/10659249/configure-323.tar.gz
Attachment: configure-323.tar.gz
this is now bundled with flint ticket. New configure tarball attached. I also squashed some commits, and rebased over 8.8.beta7
Branch pushed to git repo; I updated commit sha1. New commits:
fc876ed | configure bump |
How come that 8.8.rc0 needs configure-323, which is here, not yet merged ??
EDIT:
And how can this depend on a duplicate/invalid/wontfix ticket ??
version numbers of these tarballs are autogenerated. they are otherwise pretty much meaningless.
it is merely a bug in our release process that is needed to be workedaround, as builbots don’t have autotools and cannot generate the stuff on the fly...
Needs a new confball. I'd suggest to merge this in 8.9.beta0 so hold the horses until 8.8 is out.
You should remove the dependency on tickets that cannot be merged, the release script will wait until the dependencies are merged which, right now, is never.
Changed dependencies from #27264 to none
the branch here bundles the work done on #27264.
rebased over 8.8.rc0 (without configure bump, for the time being)
Tickets still needing working or clarification should be moved to the next release milestone at the soonest (please feel free to revert if you think the ticket is close to being resolved).
Replying to @vbraun:
Needs a new confball. I'd suggest to merge this in 8.9.beta0 so hold the horses until 8.8 is out.
Would you like to get #27978 first?
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
d91e84a | add SAGE_CONFIGURE_MPFR, fix sage-env-config.in |
f7b77df | testi for GC enabled |
22100a4 | proper nesting of tests |
f7826c4 | SAGE_CONFIGURE_MPFR, fix sage-env-config.in, arb can be dummy |
5cd4aac | added dependency check |
8d1a647 | configure bump |
Description changed:
---
+++
@@ -6,4 +6,4 @@
AC_SEARCH_LIBS([acb_mat_eig_simple], [arb], [break], [sage_spkg_install_arb=yes])
-configure tarball https://github.com/sagemath/sage-prod/files/10659249/configure-323.tar.gz +configure tarball http://users.ox.ac.uk/~coml0531/sage/configure-328.tar.gz
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
d0cdca7 | add SAGE_CONFIGURE_MPFR, fix sage-env-config.in |
370e481 | testi for GC enabled |
032620d | proper nesting of tests |
e6b3d53 | SAGE_CONFIGURE_MPFR, fix sage-env-config.in, arb can be dummy |
13235f9 | added dependency check |
45cb1e4 | configure version bump |
Description changed:
---
+++
@@ -6,4 +6,5 @@
AC_SEARCH_LIBS([acb_mat_eig_simple], [arb], [break], [sage_spkg_install_arb=yes])
-configure tarball http://users.ox.ac.uk/~coml0531/sage/configure-328.tar.gz +configure tarball +http://users.ox.ac.uk/~coml0531/sage/configure-13235f9997462c2349a452f2dfb6b2097deb7d56.tar.gz
now rebased over 8.9.beta1, using sha1-based configure tarball
Please test!
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
46f2ba9 | add SAGE_CONFIGURE_MPFR, fix sage-env-config.in |
456ad04 | testi for GC enabled |
52c3ae4 | proper nesting of tests |
37d2d12 | SAGE_CONFIGURE_MPFR, fix sage-env-config.in, arb can be dummy |
1f53beb | added dependency check |
32f294b | sage should be called with ./ in bootstrap |
c758851 | Debian names the arb library differently |
54d45ba | mention flint and arb (and one more forgotten package) for debian |
605260c | configure version bump |
rebased, config bump, added another name for the arb library (in Debian), mention it and flint in docs
we also take care of non-standard naming of arb's dylib here.
configure tarball http://users.ox.ac.uk/~coml0531/sage/configure-b5de8991395bbf58e663e69d6250de656897c4e2.tar.gz
Upstream: Reported upstream. No feedback yet.
CC: @embray @jdemeyer @tobihan @kiwifb
Component: build
Author: Dima Pasechnik, Isuru Fernando
Branch:
29d4ce2
Reviewer: François Bissey, Isuru Fernando
Issue created by migration from https://trac.sagemath.org/ticket/27270